Rational functions, conjugate roots, and geometry by algebra
§4640 min
Real-coefficient rational functions commute with conjugation, so non-real roots of real equations come in conjugate pairs; and the arithmetic of complex numbers proves theorems about lines and triangles.
Section 46 is short, but it opens onto Hardy’s longest set of examples. The short part says what happens when we feed a complex number into a polynomial or a quotient of polynomials, and draws one important consequence: for equations with real coefficients, complex roots arrive in conjugate pairs. The long part (Examples XXI) is a demonstration that complex numbers are a tool for geometry: perpendicular lines, similar triangles and the centres of a triangle all become short calculations. This lesson covers both; the next one covers the transformations of the plane at the end of Examples XXI.
The idea
A rational function of z is a quotient P(z)/Q(z) of two polynomials, exactly as for a real variable. Substituting z=x+yi and multiplying out, any polynomial becomes A+Bi where A and B are real polynomials in x and y; a quotient can then be cleared by multiplying top and bottom by C−Di. So every rational function of z splits into two real rational functions of (x,y).
Now suppose the coefficients are real. Conjugation (reflection in the real axis) respects sums and products: z+w=zˉ+wˉ and zw=zˉwˉ. It leaves real numbers alone. So it passes straight through a polynomial with real coefficients: P(zˉ)=P(z). In particular, if P(z)=0 then P(zˉ)=0ˉ=0. Roots of real equations are reflected onto roots.
ExploreRoots in mirror-image pairs
Try this.Move the sliders a, b, c (all real) and watch the purple roots and the ochre rings, which mark the reflections of the roots in the real axis. Find settings with three real roots, and with one real root. Then move the red slider, which gives the constant term an imaginary part.
ReIm
the three roots
their reflections in the real axis (conjugates)
z3−z2+z+1.5=0. Roots: −0.691,0.846−1.21i,0.846+1.21i. Real coefficients: one real root and one conjugate pair; each ring sits on a root.
What to notice
With real coefficients every ring sits on a root: the set of roots is its own mirror image, so the non-real roots form a conjugate pair and the third root must be real. Two roots can only leave the real axis together, after colliding. As soon as one coefficient is not real, the rings separate from the roots and the symmetry is gone.
Precise statements
LemmaConjugation respects arithmeticHardy: §46
For all complex z,w: z+w=zˉ+wˉ, zw=zˉwˉ, z/w=zˉ/wˉ (w=0), and aˉ=a for real a.
TheoremReal and imaginary parts of a rational functionHardy: Theorem 1, §46
Any rational function R(z) can be written X+Yi, where X and Y are rational functions of x and y with real coefficients.
TheoremConjugation passes through real rational functionsHardy: Theorem 2, §46
If R has real coefficients and R(x+yi)=X+Yi, then R(x−yi)=X−Yi. That is, R(zˉ)=R(z).
TheoremConjugate rootsHardy: Theorem 3, §46
The roots of an equation a0zn+a1zn−1+⋯+an=0 with real coefficients, so far as they are not real, can be arranged in conjugate pairs.
Compare the rational analogue from Chapter I: in an equation with rational coefficients, roots a+b come with a−b. Both are instances of one idea: a symmetry of the number system that fixes the coefficients must permute the roots.
Proofs
ProofTheorems 1–3
Strategy
Check the lemma by direct calculation. Then build up from powers to polynomials to quotients; for Theorem 3, apply Theorem 2 to a root.
The lemma
With z=x+yi, w=u+vi: zw=(xu−yv)+(xv+yu)i, while zˉwˉ=(x−yi)(u−vi)=(xu−yv)−(xv+yu)i, which is zw. Sums are similar and easier. For quotients, z/w⋅wˉ=(z/w)w=zˉ, so z/w=zˉ/wˉ.
Theorem 1
By the rules of arithmetic, P(x+yi)=A+Bi and Q(x+yi)=C+Di with A,B,C,D real polynomials in x,y. Then
C+DiA+Bi=C2+D2AC+BD+C2+D2BC−ADi, and both parts are real rational functions of x and y.
Theorem 2
For a polynomial P(z)=∑akzk with real ak, the lemma gives P(z)=∑aˉkzˉk=∑akzˉk=P(zˉ). For R=P/Q, R(z)=P(z)/Q(z)=P(zˉ)/Q(zˉ)=R(zˉ). In terms of parts: R(x−yi)=X+Yi=X−Yi.
Theorem 3: roots map to roots
If P(α)=0 with P real, then P(αˉ)=P(α)=0. So conjugation maps the set of roots to itself, and the non-real roots fall into pairs {α,αˉ} with α=αˉ.
Multiplicities match too
If α is non-real, (z−α)(z−αˉ)=z2−2(Rα)z+∣α∣2 is a real quadratic, and dividing P by it leaves a real polynomial. Repeating, a root of multiplicity m is paired with αˉ of the same multiplicity, so the pairing works with repetitions counted.
∎
A consequence worth remembering: a real equation of odd degree has at least one real root, since its n roots (Appendix II) cannot all be paired off.
Geometry by complex numbers
From now on a letter such as a stands both for a complex number and for the point it marks. The key observation of Examples XXI, 9: the displacement from b to a is a−b, so the quotient
c−da−b
has as modulus the ratio of the lengths of the two segments, and as amplitude the angle between them. Hence the lines ab and cd are perpendicular when this quotient is purely imaginary, and parallel when it is real. Hardy uses this to locate the centres of a triangle with vertices α,β,γ (Examples XXI, 10): the centroid is 31(α+β+γ); the circumcentre is the z with ∣z−α∣=∣z−β∣=∣z−γ∣; and the three altitudes meet in one point.
ExploreCentres of a triangle, computed
Try this.Drag the vertices. Make the triangle obtuse, then right-angled, then nearly flat. Watch the three centres and the three ratios in the read-out.
ReIm
vertices α, β, γ (drag)
centroid g
circumcentre o and circumcircle
orthocentre h and the altitudes
Euler line through o, g, h
g=31(α+β+γ)=0.167−0.0333i, o=0.0435−0.0392i, h=α+β+γ−2o=0.413−0.0216i. Perpendicular test (Ex. 9): β−γh−α=0.719i, γ−αh−β=0.462i, α−βh−γ=0.565i: all purely imaginary (real part 0), so the line from each vertex to h is perpendicular to the opposite side.
What to notice
The three ratios stay purely imaginary whatever you do: the computed point h really lies on all three altitudes. For a right angle, h sits on the vertex of the right angle and o at the midpoint of the hypotenuse. The points o, g, h always lie on one line with g a third of the way from o to h (Euler’s line), because h−o=3(g−o) by the formula h=α+β+γ−2o.
TheoremSimilar trianglesHardy: Examples XXI, 11
The triangles with vertices a,b,c and x,y,z are similar in the same sense (with a,b,c corresponding to x,y,z) if and only if
1ax1by1cz=0,that is,c−ab−a=z−xy−x.
The reason is the first lesson again: two triangles are similar in the same sense when the sides from corresponding vertices have the same ratio of lengths and the same angle between them, and both are recorded by one complex quotient. Expanding the determinant gives (b−a)(z−x)−(c−a)(y−x), which vanishes exactly when the two quotients are equal.
Worked examples and exercises
Exercise●○○Hardy: Examples XXI, 7 (rest)
With z=x+yi, write z+1/z and (α+βz)/(γ+δz) in the form X+Yi, where α,β,γ,δ are real.
Hint
For the quotient, multiply top and bottom by the conjugate of the bottom, γ+δx−δyi.
Solution
z+z1=x+yi+x2+y2x−yi=x(1+x2+y21)+y(1−x2+y21)i.
For the quotient, let N=(γ+δx)2+δ2y2. The numerator becomes (α+βx+βyi)(γ+δx−δyi), whose real part is (α+βx)(γ+δx)+βδy2 and imaginary part βy(γ+δx)−δy(α+βx)=(βγ−αδ)y. So
X=N(α+βx)(γ+δx)+βδy2 and Y=N(βγ−αδ)y.
Notice Y=0 when y=0: a real-coefficient function maps real numbers to real numbers, as Theorem 2 predicts.
Exercise●○○Hardy: Examples XXI, 9
The lines joining a to b and c to d are perpendicular when am{(a−b)/(c−d)}=±21π. What is the condition for them to be parallel?
Hint
Parallel lines make an angle 0 or π with each other.
Solution
The amplitude of (a−b)/(c−d) is the angle from the direction of c−d to that of a−b. The lines are parallel when it is 0 or π, that is, when (a−b)/(c−d) is real. Equivalently, (a−b)(cˉ−dˉ) is real, or I{(a−b)(cˉ−dˉ)}=0. (Perpendicular: the quotient is purely imaginary, or R{(a−b)(cˉ−dˉ)}=0, which is Hardy’s form R(a−b)R(c−d)+I(a−b)I(c−d)=0, the vanishing of a dot product.)
ExerciseThe altitudes are concurrent●●○Hardy: Examples XXI, 10 (iii)
Show that the three altitudes of the triangle αβγ pass through one point.
Hint
By the last exercise, z lies on the altitude from α when Eα(z)=R{(z−α)(βˉ−γˉ)}=0. Write down Eβ and Eγ by cycling the letters.
Hint
Add the three expressions inside R. The terms in z cancel. What kind of number is left?
Solution
The point z is on the altitude from α iff Eα(z)=0, and similarly for β,γ. Now
(z−α)(βˉ−γˉ)+(z−β)(γˉ−αˉ)+(z−γ)(αˉ−βˉ)=−{(αβˉ−αˉβ)+(βγˉ−βˉγ)+(γαˉ−γˉα)},
since the coefficient of z is 0. Each bracket on the right has the form w−wˉ, which is purely imaginary. So Eα+Eβ+Eγ=0 identically. The altitudes from α and β are not parallel (they are perpendicular to two non-parallel sides), so they meet at a point h, where Eα(h)=Eβ(h)=0. Then Eγ(h)=0 too: h is on the third altitude.
Show that the points x,y,z are collinear if and only if there are real numbers α,β,γ, not all zero, with α+β+γ=0 and αx+βy+γz=0.
Hint
Collinear means y−x is a real multiple of z−x (or z=x). Use α+β+γ=0 to eliminate α.
Solution
Substituting α=−β−γ, the second condition becomes β(y−x)+γ(z−x)=0.
If the points are collinear, either z=x (take β=0, γ=1, α=−1) or y−x=t(z−x) with t real (take β=1, γ=−t, α=t−1). Either way we have real α,β,γ, not all zero, as required.
Conversely, if β(y−x)+γ(z−x)=0 with real β,γ not both zero (if both were zero, so would be α): when β=0, y−x=−(γ/β)(z−x) is a real multiple of z−x, so y is on the line through x and z; when β=0, γ=0 and z=x. In both cases the points are collinear. (Compare the weights in Examples XX, 2: a point dividing a segment is a combination of the ends with real coefficients adding to 1.)
ExerciseCentroid and circumcentre●●○Hardy: Examples XXI, 10 (i), (ii)
Show that the medians of the triangle αβγ meet at 31(α+β+γ), and that the circumcentre o satisfies h=α+β+γ−2o, where h is the orthocentre.
Hint
For the medians, use the section formula of Examples XX, 2. For the second part, move the origin to o, so that ∣α∣=∣β∣=∣γ∣, and test the point α+β+γ with the perpendicularity condition.
Solution
The midpoint of βγ is 21(β+γ), and the point two thirds of the way from α to it is 31α+32⋅21(β+γ)=31(α+β+γ). This is symmetric in the vertices, so it lies on all three medians.
Take the origin at o; then ∣α∣=∣β∣=∣γ∣=ρ. Put s=α+β+γ. Then s−α=β+γ and
(β+γ)(βˉ−γˉ)=∣β∣2−∣γ∣2+(γβˉ−βγˉ)=γβˉ−γβˉ, which is purely imaginary. So s−α is perpendicular to β−γ (or zero), i.e. s is on the altitude from α, and by symmetry on all three: s=h. With a general origin every point is shifted by o: h−o=(α−o)+(β−o)+(γ−o), i.e. h=α+β+γ−2o.
Check yourself
Check yourselfEnter a number
A polynomial of degree 5 with real coefficients has 1+i and 2−3i among its roots. Exactly how many real roots (counted with multiplicity) does it have?
Why
By Theorem 3, 1−i and 2+3i are roots too. That accounts for four of the five roots, all non-real, so the fifth root must be real (if it were not, its conjugate would be a sixth root). Answer: 1.
Check yourselfTrue or false?
The roots of z3−i=0 can be arranged in conjugate pairs, apart from the real ones.
Why
False. The coefficient −i is not real, so Theorem 3 does not apply. Indeed −i is a root ((−i)3=i), but its conjugate i is not (i3=−i). The theorem needs every coefficient to be real.
Check yourselfChoose one
If (a−b)/(c−d)=2i, then the segments ab and cd are
Why
The modulus ∣2i∣=2 is the ratio ∣a−b∣/∣c−d∣ of the lengths, and the amplitude 21π is the angle between the directions. A real quotient would mean parallel.
Check yourselfTrue or false?
Every polynomial equation of odd degree with real coefficients has a real root.
Why
True. It has n complex roots (Appendix II), the non-real ones come in pairs of equal multiplicity, and an odd number cannot be made up of pairs alone.
Hardy’s language
Summary
Summary
A rational function of z=x+yi splits as X+Yi with X,Y real rational functions of x,y.
Conjugation respects sums, products and quotients, so for real coefficients R(zˉ)=R(z).
Hence non-real roots of real equations come in conjugate pairs; a real equation of odd degree has a real root.
(a−b)/(c−d) records the ratio of lengths and the angle between two segments: real means parallel, purely imaginary means perpendicular.
Triangle facts (centroid, circumcentre, concurrent altitudes, similar triangles) become short identities in complex numbers.