Sponsored links: Algebra eBooks ### 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

sqrt(120);

Calculate

rootscontract(2^(5/2));

Calculate

sqrt(200);

Calculate

4^(n/2) / 2^n, radexp...

Calculate

Calculate

sqrt(x)*sqrt(x);

Calculate

sqrt(16*x^2);

Calculate

sqrt(120);

Calculate

sqrt(120);

Calculate 