Simplify - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Simplify

simplification rules for algebraic numbers and functions

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

evala(Simplify(a))

evala(Simplify(a), opts)

Parameters

a

-

expression involving algebraic numbers or algebraic functions

opts

-

(optional) literal name or a set of names: symmetry, expanded, eliminate, 'minpoly'

Description

• 

This function applies some simplification algorithms to an expression involving algebraic numbers or algebraic functions.

• 

Algebraic functions and algebraic numbers may be represented by radicals or with the RootOf notation (see type,algnum, type,algfun, type,radnum, type,radfun).

• 

The result will have the form P/Q, where P and Q are polynomials over the extension field. The powers of the RootOfs in the coefficients are positive and lower than the degree of the defining polynomials. In other words, the result is reduced.

• 

Each option correspond to a simplification algorithm. If an option or a set of options is specified, then only the selected algorithms will be applied. If no option is specified, then all the methods will be used.

• 

Supported options are described below:

– 

symmetry : Attempt to eliminate indexed RootOf using properties of symmetric functions of the roots. This option essentially acts on expressions which are symmetric in the roots of a polynomial.

– 

expanded : Expand the numerator P and the denominator Q. By default, partial factorization of polynomials are preserved.

– 

eliminate : Attempt to eliminate indexed RootOf using simple relations satisfied by the roots a polynomial. Roots with the highest index are eliminated first.

– 

'minpoly' : simplify the defining polynomial of the RootOfs.

• 

Unlike evala@Normal, the function Simplify does not rationalize algebraic numbers and functions and does not rationalize leading coefficients of rational functions and polynomials. It does not neither cancel the greatest common divisor of the numerator and the denominator of a rational function.

• 

If the RootOfs appearing in the input are independent, then this function will return 0 if and only if the input is mathematically equal to 0. It may not be so if the RootOfs are dependent or if the polynomial defining a RootOf is reducible.

• 

If a contains functions, their arguments are reduced recursively and the functions are frozen before the computation proceeds.

• 

Since the ordering of objects may vary from a session to another, the result may change accordingly.

• 

Other objects are frozen and considered as variables, except in the cases below.

• 

If a is a set, a list, a range, a relation, or a series, then Simplify is mapped over the object.

Examples

s1RootOf_Z2+3_Z+1,index=1

s1RootOf_Z2+3_Z+1,index=1

(1)

s2RootOf_Z2+3_Z+1,index=2

s2RootOf_Z2+3_Z+1,index=2

(2)

ps12+s22

pRootOf_Z2+3_Z+1,index=12+RootOf_Z2+3_Z+1,index=22

(3)

evalaSimplifyp,symmetry

7

(4)

ds1s22

dRootOf_Z2+3_Z+1,index=1RootOf_Z2+3_Z+1,index=22

(5)

evalaSimplifyd,symmetry

5

(6)

forito3doaliasαi=RootOf_Z3+_Z+1,index=ienddo:p1xα1xα2xα3

p1xα1xα2xα3

(7)

evalaSimplifyp1,symmetry

x3+x+1

(8)

p21α2+α1+1α1+α3+1α2+α3

p21α2+α1+1α1+α3+1α2+α3

(9)

evalaSimplifyp2,symmetry

1

(10)

p3α1α22α33

p3α1α22α33

(11)

evalaSimplifyp3,eliminate

α12α2+α21

(12)

p4xα1x2α1α1+α22

p4xα1x2α1α2+α12

(13)

evalaSimplifyp4

x+α1x2+α1α1α21

(14)

evalaSimplifyp4,expanded

x3α1x2α1x+α12α12+2α1α2+α22

(15)

evalaSimplifyp4,eliminate,expanded

x3α1x2α1x+α12α1α21

(16)

p5RootOf_Z44,index=3

p5RootOf_Z44,index=3

(17)

evalaSimplifyp5,minpoly

RootOf_Z22,index=2

(18)

p6mulRootOf_Z44,index=i,i=1..4

p6RootOf_Z44,index=1RootOf_Z44,index=2RootOf_Z44,index=3RootOf_Z44,index=4

(19)

evalaSimplifyp6,minpoly

RootOf_Z22,index=1RootOf_Z2+2,index=1RootOf_Z22,index=2RootOf_Z2+2,index=2

(20)

p7x3x2p5p5x+p52+xp5

p7RootOf_Z44,index=3x2+x3+RootOf_Z44,index=32RootOf_Z44,index=3xRootOf_Z44,index=3+x

(21)

p8RootOfp7,index=2

p8RootOf_Z3RootOf_Z44,index=3_Z2+RootOf_Z44,index=3+1_ZRootOf_Z44,index=3+2,index=2

(22)

evalaSimplifyp8

RootOf_Z22,index=2

(23)

See Also

evala

Expand

Gcd

gcd

Normal

radnormal

RootOf

simplify