simplify square roots - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Expression Manipulation : Simplifying : simplify/sqrt

simplify/sqrt - simplify square roots

Calling Sequence

simplify(expr, sqrt)

simplify(expr, sqrt, symbolic)

Parameters

expr

-

any expression

sqrt

-

literal name; sqrt

symbolic

-

(optional) literal name; symbolic

Description

• 

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 xy or yx.  Furthermore, there is no guarantee that the choice is the same as that made by sqrt( x^2 - 2*x*y + y^2, symbolic).

Examples

simplify1632,sqrt

64

(1)

simplify10x2+60x+9012,sqrt

10csgnx+3x+3

(2)

assume0<x

simplify10x2&plus;60x&plus;9012&comma;sqrt

10x~&plus;3

(3)

simplify9012112&comma;sqrt

31110

(4)

simplify623&comma;sqrt

0

(5)

f:=4y2yx1&pi;2&pi;2x31E

f:=21&plus;&pi;y2yx~x~1E&pi;x~

(6)

simplifyf&comma;sqrt

21&plus;&pi;y2y&plus;x~x~E1&pi;x~

(7)

simplifyt212&comma;sqrt

csgntt

(8)

simplifyt212&comma;sqrt&comma;symbolic

t

(9)

See Also

assume, radnormal, simplify[radical], sqrt


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam