simplify/sqrt
simplify square roots
Calling Sequence
Parameters
Description
Examples
simplify(expr, sqrt)
simplify(expr, sqrt, symbolic)
expr
-
any expression
sqrt
literal name; sqrt
symbolic
(optional) literal name; symbolic
The simplify/sqrt function is used to simplify expressions which contain square roots or powers of square roots.
It extracts any square integer or polynomial factor from inside the square root.
The positive square root is used.
You can also apply sqrt(x^2); ==> csgn(x)*x or sqrt(x^2); ==> signum(x)*x if x is known to be real.
Dependent roots like sqrt(6), sqrt(2), sqrt(3) are transformed into having only sqrt(2) and sqrt(3) so as to achieve a normal form.
When the symbolic option is specified, square roots are computed without regard for possible complex or negative values of variables. No csgn() or signum() appears in the answer. The purpose of this feature is to allow simplification of expressions in contexts where the sign has no meaning, such as when x is an algebraic indeterminate. In particular, simplify( sqrt( x^2 - 2*x*y + y^2), sqrt, symbolic), returns at random either x−y or y−x. Furthermore, there is no guarantee that the choice is the same as that made by sqrt( x^2 - 2*x*y + y^2, symbolic).
simplify⁡1632,sqrt
64
simplify⁡10⁢x2+60⁢x+9012,sqrt
10⁢csgn⁡x+3⁢x+3
assume⁡0<x
10⁢x~+3
simplify⁡9012112,sqrt
3⁢1011
simplify⁡sqrt⁡6−sqrt⁡2⁢sqrt⁡3,sqrt
0
f≔4π2⁢x3⁢y2⁢y−x1−E⁢1−π212
f≔4⁢y2⁢y−x~⁢1−π2π2⁢x~3⁢1−E
simplify⁡f,sqrt
2⁢−1+π⁢−y+x~⁢y2x~⁢−1+Eπ⁢x~
simplify⁡t212,sqrt
csgn⁡t⁢t
simplify⁡t212,sqrt,symbolic
t
See Also
assume
csgn
radnormal
simplify[radical]
Download Help Document