### The Maxima on-line user's manual

Algebra Calculator

#### Search:

-- 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`.

```(%o1)                                true
(%i2) ```

### Related Examples

a:1/2*sqrt(2-sqrt(2+s...

b:sqrt((1-sqrt(1-a^2)...

Calculate

sqrt(x)*sqrt(x);

Calculate

(6+sqrt(52))/8;

Calculate

sqrt(120);

Calculate

Calculate

a:1/2*sqrt(2-sqrt(2+s...

b:sqrt((1-sqrt(1-a^2)...

Calculate

sqrt(x)*sqrt(x);

Calculate

(6+sqrt(52))/8;

Calculate