Chapter I · Real variables

Quadratic surds

§13 30 min

Numbers like 3\sqrt3 and 2−52 - \sqrt5, the roots of quadratic equations, and the lengths that ruler and compasses can construct.

Why this matters

The first irrational numbers anyone meets are square roots, and the first equations whose roots are irrational are quadratics. §13 names this family, the quadratic surds, and makes a striking claim: they, together with numbers built from them by taking further square roots, are exactly the lengths that geometry with ruler and compasses can produce. That is why Hardy’s geometric motivation in §3 could only ever suggest square roots, and why a real number such as 23\sqrt[3]{2} needed a new idea, the section.

The idea

Geometry can add and subtract lengths (lay them end to end), and it can multiply and divide them (Euclid’s fourth proportional, by similar triangles). The only new thing it can do is take a square root, by the mean proportional: stand a unit segment and a segment of length xx end to end, draw a semicircle over the whole, and the perpendicular at the join reaches the circle at height x\sqrt{x}.

Explore Build a square root with ruler and compasses

Try this. Move xx and watch the height OPOP. Set x=2x = 2, x=4x = 4 and x=3x = 3. Then switch to “nested roots” and step through 2\sqrt2, 2+2\sqrt{2 + \sqrt2}, 2+2+2\sqrt{2 + \sqrt{2 + \sqrt2}}.

The mean proportional: OP2=OA⋅OBOP^2 = OA \cdot OB, so OP=2OP = \sqrt{2}
Construction
  • OA = 1
  • OB = x
  • OP, the square root
The angle APB is a right angle (angle in a semicircle), so the triangles AOP and POB are similar and OP2=OA⋅OB=1×2OP^2 = OA\cdot OB = 1 \times 2. Measured: OP=1.41421OP = 1.41421, and OP2=2OP^2 = 2. Only ruler and compasses were used.
What to notice

OP2=OA⋅OBOP^2 = OA \cdot OB because the angle at PP is a right angle, so OP=xOP = \sqrt{x} exactly. For x=4x = 4 the root is rational, for x=2x = 2 and 33 it is not, but the construction does not care. In the nested mode each new length is made from the previous one by adding 22 and taking one square root: any number of nested square roots can be built this way.

So starting from a unit length, ruler and compasses produce every number that can be written using rationals, ++, −-, ×\times, ÷\div and square roots, however deeply nested. Hardy states (and defers the proof to Ch. II) that they produce nothing else. In particular 23\sqrt[3]2, whose cube is 22, cannot be constructed: this is the classical impossibility of “duplicating the cube”.

Precise statements

Definition Quadratic surds Hardy: §13

A pure quadratic surd is a number ±a\pm\sqrt{a}, where aa is a positive rational that is not the square of a rational. A mixed quadratic surd is a number a±ba \pm \sqrt{b} with aa rational and b\sqrt b a pure quadratic surd.

Theorem Quadratic surds are the roots of quadratics Hardy: §13

The two numbers a±ba \pm \sqrt b are the roots of x2−2ax+a2−b=0x^2 - 2ax + a^2 - b = 0. Conversely, if pp and qq are rational and p2−q>0p^2 - q > 0, the roots of x2+2px+q=0x^2 + 2px + q = 0 are −p±p2−q-p \pm \sqrt{p^2 - q}, which are quadratic surds unless p2−qp^2 - q is the square of a rational.

Theorem Repeated square roots are constructible Hardy: §13

Given a unit length, every positive number that can be expressed from rational numbers by a finite number of additions, subtractions, multiplications, divisions and extractions of square roots can be constructed as a length with ruler and compasses.

The converse (constructible lengths are always of this form) is true but needs a little algebra; Hardy defers it to Chapter II, Misc. Example 22.

Proofs

Proof Roots of x2+2px+q=0x^2 + 2px + q = 0
Strategy

Complete the square, and use the fact from the last lesson that y2=dy^2 = d (with d>0d > 0) has exactly the two roots ±d\pm\sqrt d.

Complete the square

x2+2px+q=(x+p)2−(p2−q)x^2 + 2px + q = (x + p)^2 - (p^2 - q). So the equation says (x+p)2=p2−q(x + p)^2 = p^2 - q.

Take square roots

With d=p2−q>0d = p^2 - q > 0, the equation y2=dy^2 = d has exactly the roots y=±dy = \pm\sqrt d (same argument as for d=2d = 2: (y−d)(y+d)=0(y - \sqrt d)(y + \sqrt d) = 0). With y=x+py = x + p this gives x=−p±p2−qx = -p \pm \sqrt{p^2 - q}.

When are they surds?

If p2−qp^2 - q is not the square of a rational, p2−q\sqrt{p^2 - q} is a pure quadratic surd and the roots are mixed surds (pure ones if p=0p = 0). If it is a square, the roots are rational.

The converse direction

Conversely, with p=−ap = -a and q=a2−bq = a^2 - b we get p2−q=bp^2 - q = b, so a±ba \pm \sqrt b are the roots of x2−2ax+a2−b=0x^2 - 2ax + a^2 - b = 0, an equation with rational coefficients.

Proof Repeated square roots are constructible
Strategy

Show that each of the five operations can be carried out on lengths with ruler and compasses. Then any expression is built one operation at a time.

Addition and subtraction

Lay the lengths along one line, end to end or overlapping, transferring them with compasses.

Multiplication and division

On one line through OO mark OP=1OP = 1 and OQ=aOQ = a; on another line through OO mark OR=bOR = b. The line through QQ parallel to PRPR meets the second line at SS with OS=abOS = ab, by similar triangles (Euclid’s fourth proportional). Exchanging the roles of 11 and aa gives b/ab/a.

Square roots

The mean proportional: with OA=1OA = 1, OB=xOB = x on a line and OO between them, the semicircle on ABAB meets the perpendicular at OO in a point PP with OP2=OA⋅OB=xOP^2 = OA \cdot OB = x. This is the construction in the widget.

Every rational, then every expression

Every positive rational m/nm/n comes from the unit by additions and one division. An expression in rationals, +,−,×,÷+, -, \times, \div and  \sqrt{\ } is evaluated by a finite sequence of these operations, each of which can be done with ruler and compasses.

Worked examples and exercises

Exercise ●○○ Hardy: Examples VII, 1

Give geometrical constructions for 2\sqrt2, 2+2\sqrt{2 + \sqrt2} and 2+2+2\sqrt{2 + \sqrt{2 + \sqrt2}}.

Hint
Build each from the previous one: lay off the previous length after a segment of length 22, then take a mean proportional with the unit.

Solution

2\sqrt2: the diagonal of a unit square, or the mean proportional of 11 and 22. For 2+2\sqrt{2 + \sqrt2}: on a line mark OB=2+2OB = 2 + \sqrt2 (lay 2\sqrt2 after a segment of length 22), mark OA=1OA = 1 on the other side of OO, and erect the perpendicular at OO to meet the semicircle on ABAB: its height is 2+2\sqrt{2 + \sqrt2}. Repeat with OB=2+2+2OB = 2 + \sqrt{2 + \sqrt2} to get the third number. (By the half-angle formula 2cos⁡θ2=2+2cos⁡θ2\cos\tfrac{\theta}{2} = \sqrt{2 + 2\cos\theta}, these numbers are 2cos⁡π42\cos\tfrac{\pi}{4}, 2cos⁡π82\cos\tfrac{\pi}{8}, 2cos⁡π162\cos\tfrac{\pi}{16}, and they increase towards 22.)

Exercise A circle that solves a quadratic ●●○ Hardy: Examples VII, 2

Let a,b,ca, b, c be rational with b2−ac>0b^2 - ac > 0. Take AB=1AB = 1; draw BC=−2b/aBC = -2b/a perpendicular to ABAB, and CD=c/aCD = c/a perpendicular to BCBC in the direction of BABA (lengths with sign). The circle on ADAD as diameter meets the line BCBC at XX and YY. Show that BXBX and BYBY are the roots of ax2+2bx+c=0ax^2 + 2bx + c = 0.

Hint
Use coordinates: B=(0,0)B = (0, 0), A=(0,1)A = (0, 1), the line BCBC as the xx-axis.
Hint
A point XX lies on the circle with diameter ADAD exactly when AXAX is perpendicular to DXDX (or XX is AA or DD).

Solution

With B=(0,0)B = (0, 0) and A=(0,1)A = (0, 1), we have C=(−2b/a,0)C = (-2b/a, 0) and D=(−2b/a,c/a)D = (-2b/a, c/a). A point X=(t,0)X = (t, 0) of the line BCBC is on the circle with diameter ADAD exactly when the vectors A−X=(−t,1)A - X = (-t, 1) and D−X=(−2b/a−t,c/a)D - X = (-2b/a - t, c/a) are perpendicular:

(−t)(−2ba−t)+ca=t2+2bat+ca=0,(-t)\left(-\tfrac{2b}{a} - t\right) + \tfrac{c}{a} = t^2 + \tfrac{2b}{a}t + \tfrac{c}{a} = 0,

that is, at2+2bt+c=0at^2 + 2bt + c = 0. So the signed distances BX=tBX = t of the intersection points are exactly the roots. The circle meets the line in two points exactly when the quadratic has two real roots, b2>acb^2 > ac.

Exercise ●○○ Hardy: Examples VII, 3

In the construction of the previous exercise, show that the circle touches BCBC when b2=acb^2 = ac, and misses it when b2<acb^2 < ac.

Hint
Count the solutions of at2+2bt+c=0at^2 + 2bt + c = 0.

Solution

The intersection points correspond to the real roots of at2+2bt+c=0at^2 + 2bt + c = 0, which has two, one or no real roots according as b2−acb^2 - ac is positive, zero or negative. One common point means the line is a tangent; none means the line misses the circle.

Exercise ●○○ Hardy: Examples VII, 4

For positive rationals pp and qq, prove that pq=p×q\sqrt{pq} = \sqrt p \times \sqrt q and p2q=pq\sqrt{p^2 q} = p\sqrt q.

Hint
Both sides are positive. Square them.

Solution

(pq)2=(p)2(q)2=pq(\sqrt p \sqrt q)^2 = (\sqrt p)^2 (\sqrt q)^2 = pq, using the commutative and associative laws for real numbers. So pq\sqrt p\sqrt q is a positive root of x2=pqx^2 = pq. That equation has only one positive root, pq\sqrt{pq}, so the two are equal. Similarly (pq)2=p2q(p\sqrt q)^2 = p^2 q and pq>0p\sqrt q > 0, so pq=p2qp\sqrt q = \sqrt{p^2 q}. For example 8=22\sqrt8 = 2\sqrt2 and 12=23\sqrt{12} = 2\sqrt3.

Check yourself

Check yourself Choose one

Which of these is a pure quadratic surd?

Why

8=22\sqrt8 = 2\sqrt2, and 88 is not the square of a rational. 9/4=32\sqrt{9/4} = \tfrac32 is rational; 1+31 + \sqrt3 is a mixed surd; 23\sqrt[3]2 is a cube root, not a quadratic surd at all.

Check yourself Enter a number

Find the larger root of x2−4x+1=0x^2 - 4x + 1 = 0 (to three decimal places).

Why

Here p=−2p = -2 and q=1q = 1, so the roots are 2±4−1=2±32 \pm \sqrt{4 - 1} = 2 \pm \sqrt3. The larger is 2+3≈3.7322 + \sqrt3 \approx 3.732, a mixed quadratic surd.

Check yourself True or false?

Every irrational number can be constructed as a length with ruler and compasses.

Why

False. Only numbers expressible by rationals and (possibly nested) square roots can be. 23\sqrt[3]{2} cannot, nor can π\pi. That is exactly why Hardy needed a definition of real number that does not rely on geometry.

Hardy’s language

Summary

Summary
  • A pure quadratic surd is ±a\pm\sqrt a with aa a positive rational non-square; a mixed one is a±ba \pm \sqrt b.
  • The roots of x2+2px+q=0x^2 + 2px + q = 0 (rational p,qp, q, p2>qp^2 > q) are −p±p2−q-p \pm \sqrt{p^2 - q}, found by completing the square.
  • Ruler and compasses can add, subtract, multiply, divide and take square roots of lengths, and nothing more; the square root is the mean proportional.
  • So the constructible numbers are those built from rationals by these operations; 23\sqrt[3]2 and π\pi are not among them.