Equating rational and irrational parts: proof and worked problems

Original publication: Updated:

The basic fact

Let a,ba,b be rational numbers and let α\alpha be irrational. Then

a+bα=0⟹a=b=0.\boxed{a+b\alpha=0\quad\Longrightarrow\quad a=b=0.}

Equivalently, if a+bα=c+dαa+b\alpha=c+d\alpha with all four coefficients rational, then a=ca=c and b=db=d. In linear-algebra language, 11 and α\alpha are linearly independent over the rational numbers.

Proof

If b≠0b\ne0, rearrangement gives α=−a/b\alpha=-a/b, a rational number. This contradicts the irrationality of α\alpha. Hence b=0b=0, and the original equation then gives a=0a=0.

The rationality assumptions matter. With arbitrary real coefficients the conclusion fails: −2+1⋅2=0-\sqrt2+1\cdot\sqrt2=0, for example, does not have both coefficients zero.

How to use it in a written solution

State which expressions are rational and which number is irrational. For instance, suppose rational x,yx,y satisfy

(x+y+1)+(3x+2y)2=0.(x+y+1)+(3x+2y)\sqrt2=0.

Both x+y+1x+y+1 and 3x+2y3x+2y are rational, while 2\sqrt2 is irrational. Therefore

x+y+1=0,3x+2y=0.x+y+1=0,\qquad3x+2y=0.

Solving gives

(x,y)=(2,−3).\boxed{(x,y)=(2,-3).}

Substitution verifies that the pair satisfies the original equation.

Problem 1: one equation determining two rational unknowns

Problem. Find rational x,yx,y such that

(1+2)x+(1−2)y=3+2.(1+\sqrt2)x+(1-\sqrt2)y=3+\sqrt2.

Collect the rational and irrational parts:

(x+y−3)+(x−y−1)2=0.(x+y-3)+(x-y-1)\sqrt2=0.

Since both coefficients are rational,

x+y=3,x−y=1.x+y=3,\qquad x-y=1.

Consequently

(x,y)=(2,1).\boxed{(x,y)=(2,1).}

There is no contradiction in obtaining two conditions from one equation: requiring the unknowns to be rational is an additional restriction.

Problem 2: rule out rational roots without solving explicitly

Problem. Show that

x2−(1+3)x+23=0x^2-(1+\sqrt3)x+2\sqrt3=0

has no rational root.

Suppose a rational number rr were a root. Rearrange its equation as

(r2−r)+(2−r)3=0.(r^2-r)+(2-r)\sqrt3=0.

The two coefficients are rational and 3\sqrt3 is irrational, so

r2−r=0,2−r=0.r^2-r=0,\qquad2-r=0.

The second equation requires r=2r=2, which does not satisfy the first. Hence there is no rational root.

In this particular example, the discriminant is 4−63<04-6\sqrt3<0, so the equation in fact has no real roots at all. The argument above still illustrates a useful method for equations with irrational coefficients; it does not depend on simplifying a quadratic-formula radical.

For polynomials with rational coefficients, the rational root theorem provides a different starting point.

Problem 3: why cube root of two cannot satisfy a rational quadratic

Let α=23\alpha=\sqrt[3]2.

  1. Prove that α\alpha is irrational.
  2. Prove that α\alpha is not a root of any quadratic polynomial with rational coefficients and a nonzero leading coefficient.

Part 1: irrationality

Suppose α=n/m\alpha=n/m with positive coprime integers m,nm,n. Cubing gives

n3=2m3.n^3=2m^3.

Thus nn is even. Write n=2kn=2k. Then m3=4k3m^3=4k^3, so mm is even as well. This contradicts the assumption that m,nm,n are coprime. Therefore 23\sqrt[3]2 is irrational.

Part 2: reduce a hypothetical quadratic to a linear relation

Assume for contradiction that rational a,b,ca,b,c, with a≠0a\ne0, satisfy

aα2+bα+c=0.a\alpha^2+b\alpha+c=0.

We also know α3−2=0\alpha^3-2=0. Polynomial division gives the identity

α3−2=(aα2+bα+c)(αa−ba2)+(b2a2−ca)α+bca2−2.\alpha^3-2=(a\alpha^2+b\alpha+c)\left(\frac\alpha a-\frac b{a^2}\right)+\left(\frac{b^2}{a^2}-\frac ca\right)\alpha+\frac{bc}{a^2}-2.

The first term on the right is zero. Therefore

(b2a2−ca)α+(bca2−2)=0.\left(\frac{b^2}{a^2}-\frac ca\right)\alpha+\left(\frac{bc}{a^2}-2\right)=0.

Both coefficients are rational, and α\alpha is irrational by part 1. The basic fact proved above yields

c=b2a,bca2=2.c=\frac{b^2}a,\qquad\frac{bc}{a^2}=2.

Substitute the first equation into the second:

(ba)3=2.\left(\frac ba\right)^3=2.

Since b/ab/a is real, this implies b/a=23b/a=\sqrt[3]2. The left side is rational and the right side irrational, a contradiction. No such quadratic exists.

Why not simply divide by the coefficient of alpha?

The coefficient b2/a2−c/ab^2/a^2-c/a might be zero. Dividing by it without a case distinction would leave a gap in the proof. Equating the rational and irrational parts handles the zero-coefficient case directly and safely.

Nor may we automatically equate the coefficients of α\alpha and α2\alpha^2 at the start merely because both are irrational. Two irrational numbers need not be linearly independent over the rationals. The reduction above establishes the stronger claim that is actually needed here.

What to remember

Use the method only after checking rationality of the coefficients. For more complicated powers of an irrational number, use its defining polynomial to reduce the degree. Avoid dividing by an expression before establishing that it is nonzero.

Related: simplifying nested square roots and integer equations.

Related articles

About the author

Koki Saito

Physician and graduate of the University of Tokyo Faculty of Medicine. Drawing on his entrance-exam experience, he explains how to choose mathematical methods and construct complete solutions.

Full profile →

Have a question or spotted an error? Contact us.