Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Formula Manipulation > Algebraic Transformations > Algebraic Numbers >
Mathematica > Mathematics and Algorithms > Number Theory > Algebraic Number Theory > Algebraic Numbers >
Mathematica > Mathematics and Algorithms > Mathematical Functions > Number Theoretic Functions > Algebraic Number Theory > Algebraic Numbers >

QuadraticIrrationalQ

QuadraticIrrationalQ[x]
gives True if x is a quadratic irrational and False otherwise.
  • QuadraticIrrationalQ[x] tests whether x can be expressed in the form , where a, b and c are integers.
  • Quadratic irrationals have continued fractions that are ultimately periodic.
Rational numbers are not quadratic irrationals:
Pi is a transcendental number:
QuadraticIrrationalQ threads element-wise over lists:
QuadraticIrrationalQ returns False if not given an explicit quadratic irrational:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team