Mathwords logoMathwords

Quadratic Irrational — Definition, Formula & Example

A quadratic irrational is an irrational number that solves a quadratic equation with integer coefficients. You can always write it using integers and a single square root of a non-square, such as 1+73\frac{1+\sqrt{7}}{3}.

A real number α\alpha is a quadratic irrational if α∉Q\alpha \notin \mathbb{Q} and aα2+bα+c=0a\alpha^2 + b\alpha + c = 0 for some integers a,b,ca, b, c with a≠0a \neq 0. Equivalently, the minimal polynomial of α\alpha over Q\mathbb{Q} has degree exactly 2. Some authors also allow non-real roots (negative dd in the form below), but the standard usage, including Lagrange's continued fraction theorem, refers to real numbers.

Key Formula

α=a+bdc,a,b,c∈Z,  b≠0,  c≠0\alpha = \frac{a + b\sqrt{d}}{c}, \qquad a, b, c \in \mathbb{Z},\; b \neq 0,\; c \neq 0
Where:
  • aa = An integer (the rational part, before dividing by c)
  • bb = A nonzero integer multiplying the square root
  • dd = A positive integer that is not a perfect square. You can always reduce it to a squarefree integer.
  • cc = A nonzero integer denominator

Worked Example

Problem: Show that both roots of 2x2−4x−1=02x^2 - 4x - 1 = 0 are quadratic irrationals, and write each one in the form a+bdc\frac{a + b\sqrt{d}}{c}.
Step 1: Compute the discriminant b2−4acb^2 - 4ac. It is positive but not a perfect square, so the equation has two real roots and both are irrational.
(−4)2−4(2)(−1)=16+8=24(-4)^2 - 4(2)(-1) = 16 + 8 = 24
Step 2: Apply the quadratic formula.
x=4±244x = \frac{4 \pm \sqrt{24}}{4}
Step 3: Simplify using 24=26\sqrt{24} = 2\sqrt{6}, then divide every term by 2.
x=4±264=2±62x = \frac{4 \pm 2\sqrt{6}}{4} = \frac{2 \pm \sqrt{6}}{2}
Answer: The roots are 2+62≈2.225\frac{2 + \sqrt{6}}{2} \approx 2.225 and 2−62≈−0.225\frac{2 - \sqrt{6}}{2} \approx -0.225. Each has the form a+bdc\frac{a + b\sqrt{d}}{c} with a=2a = 2, b=±1b = \pm 1, d=6d = 6, c=2c = 2, so both are quadratic irrationals. They differ only in the sign of the root, which makes them conjugates.

Why It Matters

Lagrange's theorem states that a real number has an eventually periodic continued fraction exactly when it is a quadratic irrational. That fact drives the standard method for solving Pell's equation x2−dy2=1x^2 - dy^2 = 1 in a number theory course. In abstract algebra, every element of the field Q(d)\mathbb{Q}(\sqrt{d}) that is not rational is a quadratic irrational, and each quadratic irrational belongs to Q(d)\mathbb{Q}(\sqrt{d}) for its own squarefree dd.

Common Mistakes

Mistake: Assuming any irrational number built from square roots is a quadratic irrational, for example 2+3\sqrt{2} + \sqrt{3}.
Correction: Check the degree of the simplest integer polynomial the number satisfies. 2+3\sqrt{2} + \sqrt{3} is a root of x4−10x2+1=0x^4 - 10x^2 + 1 = 0 and of no quadratic with integer coefficients, so it is algebraic of degree 4, not quadratic. A quadratic irrational involves only one square root, of a single non-square dd.

Related Terms

  • Periodic Continued Fraction — Characterizes quadratic irrationals exactly, by Lagrange's theorem
  • Algebraic Numbers — Parent class; quadratic irrationals are the irrational degree-2 cases
  • Irrational Numbers — Larger set that also contains cube roots and pi
  • Surd — Unsimplifiable radicals; square-root surds are quadratic irrationals
  • Golden Ratio — Well-known quadratic irrational, a root of x squared minus x minus 1
  • Gaussian Integer — Integers of the imaginary quadratic field built from i