Reduce
reduce powers of algebraic numbers and algebraic functions
Calling Sequence
Parameters
Description
Examples
evala(Reduce(a))
evala(Reduce(a), opts)
a
-
expression involving algebraic numbers or algebraic functions.
opts
(optional) an option name or a set of option names.
Options currently supported: expanded.
This function reduces powers of algebraic numbers or algebraic functions modulo their defining polynomials.
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 appearing in the coefficients are positive and lower than the degree of the defining polynomials.
By default, this function attempts to preserve partial factorization of polynomials, but algebraic numbers and functions are always expanded. If the option expanded is specified, then polynomials are also expanded.
Unlike evala@Normal, the function Reduce does not rationalize algebraic numbers and functions and does not rationalize leading coefficients of rational functions and polynomials. It also does not 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 Reduce is mapped over the object.
r1≔RootOf⁡_Z3+_Z+1
p1≔x−r13−12r13+1⁢x−r12
p1≔−RootOf⁡_Z3+_Z+13+x−12RootOf⁡_Z3+_Z+13+1⁢x−RootOf⁡_Z3+_Z+12
evala⁡Reduce⁡p1
−RootOf⁡_Z3+_Z+1+x2−x+RootOf⁡_Z3+_Z+12⁢RootOf⁡_Z3+_Z+1
evala⁡Reduce⁡p1,expanded
RootOf⁡_Z3+_Z+12+x2+2⁢x⁢RootOf⁡_Z3+_Z+1RootOf⁡_Z3+_Z+1+1+2⁢RootOf⁡_Z3+_Z+12⁢x−RootOf⁡_Z3+_Z+1⁢x2
r2≔RootOf⁡_Z2−y
evala⁡Reduce⁡t−r2t2−y
−−t+RootOf⁡_Z2−yt2−y
r3≔RootOf⁡_Z2−4
evala⁡Reduce⁡r33−8
4⁢RootOf⁡_Z2−4−8
alias⁡seq⁡s‖i=RootOf⁡_Z3−2,index=i,i=1..3
s1,s2,s3
q≔s14⁢s23⁢s32
evala⁡Reduce⁡q
4⁢s1⁢s32
See Also
evala
Expand
Gcd
gcd
normal
Normal
radnormal
RootOf
Download Help Document