MakeMonic - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Algebraic

  

MakeMonic

  

rewrite a RootOf in terms of a monic RootOf

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

MakeMonic(r)

Parameters

r

-

algebraic expression

Description

• 

MakeMonic expresses a RootOf in terms of a monic RootOf. It pulls the leading coefficient of the defining polynomial out of the RootOf and into the denominator.

• 

MakeMonic only works on indexed, labeled, or one-argument RootOfs. For RootOfs with a numerical approximation or a range as selector, MakeMonic returns the input unchanged.

• 

Nested RootOfs that are indexed, labeled, or one-argument, are handled recursively.

• 

If r is not a RootOf or not of type algext, it is returned unchanged.

• 

For indexed RootOfs, the leading coefficient is pulled out only if its signum is 1 or −1.

Examples

> 

Algebraic:-MakeMonic⁡RootOf⁡y⁢x3−1,x

RootOf⁡_Z3−y2y

(1)
> 

Algebraic:-MakeMonic⁡1+RootOf⁡y⁢x3−1,x

1+RootOf⁡y⁢_Z3−1

(2)
> 

Algebraic:-MakeMonic⁡RootOf⁡2⁢sin⁡x−1

RootOf⁡2⁢sin⁡_Z−1

(3)
> 

Algebraic:-MakeMonic⁡RootOf⁡y⁢x3−1,x,index=1

RootOf⁡y⁢_Z3−1,index=1

(4)
> 

Algebraic:-MakeMonic⁡RootOf⁡y⁢x3−1&comma;x&comma;index=1assuming0<y

RootOf⁡_Z3−y2&comma;index=1y

(5)
> 

Algebraic:-MakeMonic⁡RootOf⁡y⁢x3−1&comma;x&comma;index=1assumingy<0

−RootOf⁡_Z3+y2&comma;index=1y

(6)
> 

Algebraic:-MakeMonic⁡RootOf⁡5⁢y2−RootOf⁡3⁢x2+1&comma;index=1&comma;index=1

RootOf⁡_Z2−15⁢RootOf⁡_Z2+3&comma;index=1&comma;index=115

(7)

Note that RootOf itself tries to get rid of non-integral leading coefficients by inverting them:

> 

RootOf⁡RootOf⁡_Z2−2⁢_Z2−2

RootOf⁡_Z2−RootOf⁡_Z2−2

(8)

In the next example, the leading coefficient is not invertible, and after pulling it out there is a zero divisor in the denominator:

> 

f≔RootOf⁡RootOf⁡x2−x⁢y2−2

f≔RootOf⁡RootOf⁡_Z2−_Z⁢_Z2−2

(9)
> 

Algebraic:-MakeMonic⁡f

RootOf⁡_Z2−2⁢RootOf⁡_Z2−_ZRootOf⁡_Z2−_Z

(10)

See Also

Algebraic

RootOf