Option variable
radexpand
Default value: true
radexpand
controls some simplifications of radicals.
When radexpand
is all
, causes nth roots of
factors of a product which are powers of n to be pulled outside of the
radical. E.g. if radexpand
is all
, sqrt (16*x^2)
simplifies to 4*x
.
More particularly, consider sqrt (x^2)
.
If radexpand
is all
or assume (x > 0)
has been executed,
sqrt(x^2)
simplifies to x
.
If radexpand
is true
and domain
is real
(its default),
sqrt(x^2)
simplifies to abs(x)
.
If radexpand
is false
, or radexpand
is true
and domain
is complex
,
sqrt(x^2)
is not simplified.
Note that domain
only matters when radexpand
is true
.