RootFinding
HasRealRoots
check for real roots
Calling Sequence
Parameters
Description
Examples
HasRealRoots(sys)
HasRealRoots(sys, vars)
sys
-
list or set of polynomial equations with rational coefficients
vars
list of names; the indeterminates
The function HasRealRoots tests if the system of equations defined in sys has real roots.
It returns a boolean, true if sys has real zeroes and false otherwise.
The equations in sys must be polynomial with rational coefficients. Any polynomial p appearing in sys is interpreted as the equation p=0.
When the list of names vars is provided, it must contain all the indeterminates appearing in sys. The order in the list is used for internal computations.
with⁡RootFinding:
HasRealRoots⁡x2+y2+2
false
HasRealRoots⁡x2+y2,z−x3,x,y,z
true
HasRealRoots⁡x2+y−122
HasRealRoots⁡x4−4⁢x2+4=−1
See Also
Isolate
WitnessPoints
Download Help Document