normalize an expression containing radical numbers
(optional) sequence of one or more of the following options: rationalized, expanded
The radnormal function performs normalization of expressions containing algebraic numbers in radical notation (see type/radnum), for example, 2 and 7+5⁢213. In particular, radnormal simplifies such a number to 0 if and only if it is mathematically equal to 0.
The expression x1n is understood as the principal nth root of the object x (see log).
Note that by default, if f is an algebraic function, then the denominator of f is not always rationalized. To force rationalization of the denominator, use the option 'rationalized'.
For polynomials, radnormal attempts to preserve partial factorizations. Each factor is expanded and its coefficients are normalized. The option 'expanded' causes radnormal to expand all products.
Rational functions are expressed in the form a/b where a and b are normalized polynomials, and gcd⁡a,b=1. Again, partial factorizations are preserved and the option 'expanded' applies.
The function radnormal is mapped over sets, lists, and relations.
Note that radnormal does handle expressions involving algebraic numbers in both indexed RootOf and radical notations (see RootOf/indexed).
The function radnormal sometimes unnests radicals, but does not always find an incidence of unnesting when it exists.
After some preliminary simplifications, a basis (in indexed RootOf notation) for the field generated by the radical numbers occurring in f is constructed and the numbers are expressed in this basis (see radfield). Then, the expression is normalized by evala@Normal and the numbers are converted back to radical notation.
If infolevel[radnormal] is assigned a positive integer, then information about the execution of the program will be displayed.
a ≔ 2⁢3−6
a ≔ 7+5⁢213
a ≔ 1212+312+612
a ≔ 214⁢212+28+6⁢21212
a ≔ x2+2⁢x⁢212−212⁢x⁢612+5−2⁢212⁢312x2−2⁢x⁢312+1
a ≔ x−612⁢x−212⁢312
a ≔ 1x+y−z
a ≔ RootOf⁡_Z2+_Z+1,index=1−−123
Download Help Document
What kind of issue would you like to report? (Optional)