Algebraic
MakeMonic
rewrite a RootOf in terms of a monic RootOf
Calling Sequence
Parameters
Description
Examples
MakeMonic(r)
r
-
algebraic expression
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.
Algebraic:-MakeMonic⁡RootOf⁡y⁢x3−1,x
RootOf⁡_Z3−y2y
Algebraic:-MakeMonic⁡1+RootOf⁡y⁢x3−1,x
1+RootOf⁡y⁢_Z3−1
Algebraic:-MakeMonic⁡RootOf⁡2⁢sin⁡x−1
RootOf⁡2⁢sin⁡_Z−1
Algebraic:-MakeMonic⁡RootOf⁡y⁢x3−1,x,index=1
RootOf⁡y⁢_Z3−1,index=1
Algebraic:-MakeMonic⁡RootOf⁡y⁢x3−1,x,index=1assuming0<y
RootOf⁡_Z3−y2,index=1y
Algebraic:-MakeMonic⁡RootOf⁡y⁢x3−1,x,index=1assumingy<0
−RootOf⁡_Z3+y2,index=1y
Algebraic:-MakeMonic⁡RootOf⁡5⁢y2−RootOf⁡3⁢x2+1,index=1,index=1
RootOf⁡_Z2−15⁢RootOf⁡_Z2+3,index=1,index=115
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
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
Algebraic:-MakeMonic⁡f
RootOf⁡_Z2−2⁢RootOf⁡_Z2−_ZRootOf⁡_Z2−_Z
See Also
RootOf
Download Help Document