Enrichment Lectures 2010 Some Facts and Problems About Polynomials
Enrichment Lectures 2010 Some Facts and Problems About Polynomials
(a, b) + (c, d) = (c, d) + (a, b), (a, b)(c, d) = (c, d)(a, b), a, b, c, d R.
As well, the new operations are associative, properties which are inherited from the
real numbers. For instance, a, b, c, d, e, f R,
1
Exercise 1. Prove that
This means that we can unambiguously define the sum, u + v + w, (respectively, the
product uvw) of three complex numbers u, v, w as either u + (v + w) or (u + v) + w
(respectively, as u(vw) or (uv)w). In particular, we can define successive powers of
a complex number in a clear way.
We denote the set of complex numbers by C, and usually use the letter z as a generic
complex number. The real numbers can be thought of as forming a subset of the
complex numbers R: this is because pairs of the form (a, 0) have algebraic properties
exactly similar to the real numbers, and we simply identify such pairs with a, i.e.,
we write a in place of (a, 0). (Thus (an isomorphic copy of) R sits inside C: R C.)
In particular, we write 1 for (1, 0). The pair (0, 1) is also singled out for special
mention, and denoted by the letter i. Its square is given by
This gives the customary expression for a complex number, in which a is its real part,
and b its imaginary part. Such expressions are manipulated according to the usual
operations of real numbers with the proviso that whenever i2 occurs it is replaced
by 1. For example, treating everything as a real number,
in agreement with the definition of multiplication given at the start of this discussion.
real, its complex conjugate is defined to be z = a bi,
If z = a + bi, where a, b are
and its modulus by |z| = a2 + b2 .
Remark 1. Under the usual laws of addition and multiplication of matrices, complex
numbers can be viewed as 2 2 matrices of the form
a b
, a, b R.
b a
2
For,
a b c d a+c b+d a+c b+d
+ = = ,
b a d c b d a + c (b + d) a + c
and
a b c d ac bd ad + bc ac bd ad + bc
= = .
b a d c bc ad bd + ac (ad + bc) ac bd
Remark 2. Buoyed by his success of defining complex numbers in the above manner,
Hamilton tried for many years to find a method of defining operations on triplets of
real numbers (a, b, c) so that they could be manipulated as if they were real numbers.
But he didnt succeedin fact, no such operations can be devised. However, on
October 16, 1843, on his way to Dunsink Observatory along the Royal Canal, he
discovered a way of multiplying quadruples of real numbers (a, b, c, d), which he wrote
as a + bi + cj + dk, and called quaternions. Crucially, this was a non-commutative
operation. He scratched the defining rules that i, j, k should obey on Broom Bridge.
The year 2005 was designated the Hamilton Year by the Irish Government. The
Central Bank of Ireland issued a special 10 euro coin in his honour, and An Post
struck a special stamp which carried the rules of the non-commutative algebra of
quaternions:
i2 = j 2 = k 2 = ijk = 1.
2 Polynomials
A polynomial is a function p defined on the complex numbers C whose value at
z C is given by a linear combination of powers of z:
p(z) = a0 + a1 z + a2 z 2 + + an z n z C.
3
A complex number z0 is called a root or zero of a polynomial p if its value at z0 is
zero:
p(z0 ) = 0.
A polynomial all of whose coefficients are real numbers may not have any real roots.
The simplest example is the quadratic x2 +1. This has two complex roots, viz., i, i.
Theorem 1. A polynomial of odd degree whose coefficients are real numbers, has at
least one real root.
Intuitive solution. Consider their graphs in the plane. For instance, the graphs of
ones of degree 1 are straight lines, which consist of sets of points of the plane that
lie above and below the horizontal axis, and contain a point of it. Likewise, graphs
of cubics occupy regions of the plane that lie above and below the horizontal axis.
Since these regions are joined (??), their union must contain a point of the real axis.
Generally, if the degree of
p(x) = an xn + + a0
is odd, for all sufficiently large x > 0, the sign of the output p(x) matches that of
an , while if x is large and negative, p(x) has the same sign as an . Thus, p takes
both positive and negative values, and being a smooth function it must therefore
assume the value zero. In other words, it must have a real root.
The reality of the coefficients specified in this theorem is essential. For example, the
linear polynomial x i has no real root.
Theorem 2 (Gauss). Every non-constant polynomial has at least one root, which
may be complex. A polynomial of degree n has at most n distinct roots.
This deep result is called the Fundamental Theorem of Algebra. We take it for
granted.
Theorem 3. Suppose p has real coefficients and z is one of its a complex roots.
Then z is also one of its roots.
Proof. Suppose
p(x) = a0 + a1 x + a2 x2 + + an xn x C,
where a0 , a1 , . . . , an are real numbers. Then, by repeated application of Exercise 2,
0 = p(z)
= a0 + a1 z + a2 z 2 + + an z n
= a0 + a1 z + a2 z 2 + + an z n
= a0 + a1 z + a2 z 2 + + an z n
= a0 + a1 z + a2 z 2 + + z n
= p(z).
Thus p(z) = 0 implies p(z) = 0.
Some further information about polynomials is given in an Appendix.
4
3 Linear and quadratic polynomials
Here, we focus on linear and quadratic polynomials whose coefficients are real num-
bers, and restrict their domain of definition to be the set of real numbers. We
can then consider their graphs and thence examine their properties in a geometric
manner. These are functions of the form
ax + b, ax2 + bx + c, x R,
where a, b, c are real, and a 6= 0.
5
3.2 Distance formula
Various candidates present themselves that qualify as a distance between a pair of
points P = (x1 , y1 ), Q = (x2 , y2 ). The usual onewhich youll recogniseis given
by p
|P Q| d2 (P, Q) = (x2 x1 )2 + (y2 y1 )2 .
Another onecalled the taxi-cab metricis given by
If, for the moment, d is any one of these, L is a straight line, and P0 = (x0 , y0 ) is
any point, is there a point R in L which is nearest to P0 ? If so, is it unique? In
other words, does there exist a point R L such that
ac aby0 + b2 x0 bc + a2 y0 abx0
R=( , ),
a2 + b 2 a2 + b 2
and
|ax0 + by0 c|
|P0 R| = .
a2 + b 2
However, by contrast, while the answer to the first question is still in the affirmative
if we measure distance using either d0 or d1 , we lose uniqueness. For instance, if we
use d0 , then the distance between every point in L and P0 is 1, unless P0 L, in
which case the distance between them is 0, and R = P0 .
6
3.3 Herons problem
Given two distinct points P, Q on the same side of a line L, is there a point R L
such that
|P R| + |RQ| |P X| + |XQ|, X L?
This is another Existence and Uniqueness Problem that was first considered by
Heron1 who gave a beautiful solution based on the notion of the reflection of a point
in a line. (Recall that P 0 is the reflection of P in L if both points are equidistant
from L, and their mid-point belongs to L.)
Theorem 4 (Heron). Given two distinct points P, Q on the same side of a line L,
there is a unique point R L such that
|P R| + |RQ| |P X| + |XQ|, X L.
This result incorporates Herons Principle of the Shortest Path of Light: If a ray of
light propagates from point A to point B within the same medium, the path-length
followed is the shortest possible.
7
and Q has equation
y2 y1
y = y1 + (x x1 )
x2 x1
x2 x21
= x21 + 2 (x x1 )
x2 x1
= x21 + (x2 + x1 )(x x1 )
= (x2 + x1 )x x1 x2 .
x2 (x2 + x1 )x + x1 x2 = (x x1 )(x x2 ) 0,
x2 (x2 + x1 )x x1 x2 ,
y = ax2 + bx + c
b
= a(x2 + x) + c
a
2 b b2 b2
= a(x + x + 2 ) + c a 2
2a 4a 4a
b 2 4ac b2
= a(x + ) + .
2a 4a
Thus
4ac b2 b
y = a(x + )2 ,
4a 2a
Or, changing the coordinate axes by translating the origin, we have Y = aX 2 , where
4ac b2 b
Y =y , X =x+ .
4a 2a
Hence, the graph is convex, i.e., a smile if a > 0, and concave, i.e., a frown, if a < 0.
8
b
We can also conclude that the graph of p is symmetric about the line x = 2a ,
b 4acb2
and that it has a single turning point at ( 2a , 4a ). Moreover, this is a minimum
point if a > 0, and a maximum point if a < 0, i.e.,
2
4acb
4a
, if a > 0,
p(x) 4acb2
4a , if a < 0,
b
with equality here iff x = 2a . In other words,
4ac b2
min{p(x) : x R} =
4a
if a > 0, and
4ac b2
max{p(x) : x R} =
4a
if a < 0.
p(x) = ax2 + bx + c 0, x R,
iff a > 0, c 0 and b2 4ac. These conditions hold iff p is the square of the modulus
of a linear polynomial.
b c 1
a+ + 2 = p(x) 2 0,
x x x
and so, letting x , we deduce that a 0. But, a 6= 0. Hence, a > 0, so that
4ac b2 b
= p( ) 0,
4a 2a
whence b2 4ac. Thus the stated conditions are necessary to ensure the nonnega-
tivity of p. Conversely, if they hold, then, by completing the square, we see that
b 2 4ac b2 4ac b2
p(x) = a(x + ) + 0, x R,
2a 4a 4a
from which it also follows that p is the square of the modulus of the linear polynomial
b + 4ac b2 i
ax +
2 a
9
Example 2. The pairs of real numbers (m, c) such that y = mx + c is a line below
the graph of the square function comprise the set
{(m, c) : m2 + 4c 0}.
mx + c x2 , x R.
4 Exercises
1. Sketch the graphs of the polynomials
(x1)(x2)(x3)(x4), (x1)(x2)+(x1)(x2)(x3)(x4)+(x3)(x4).
6. Let P = (1, 1), Q = (1, 1). Show that there is a point R on the line L,
whose equation is x + y = 1, such that
10
7. Let P, Q be two points not necessarily on the same side of a line L. Prove that
there is a unique point R L such that
x2 + y 2 + 2 (x + 1)(y + 1),
9. Show that the set {(x, y) R2 : y |x|} is convex, and describe all the pairs
(m, c) such that the line y = mx + c lies below the graph of y = |x|.
10. Show that the semicircle {(x, y) : 1 x 1, y = 1 x2 } is convex, and
describe all the pairs (m, c) such that the line y = mx + c lies below its graph.
5 Quartic polynomials
A quartic is a polynomial of degree 4, i.e., a linear combination of the simple mono-
mials 1, x, x2 , x3 , x4 , and is therefore of the form
a product of two quadratics, which evidently are not unique. Conversely, its easy
to see that the product of two quadratics is a quartic.
Theorem 5. If a quartic has real coefficients, then it can be expressed as a product
of two quadratics each having real coefficients.
Proof. Suppose
p(x) = ax4 + bx3 + cx2 + dx + e,
where a, b, c, d, e are real, and a 6= 0. The result is immediate if p has only real
roots. If z is a complex root of p, then so is z, by Theorem 3. Since p has at most
4 distinct roots, either they are all complex, and come in pairs, or at most two are
non-real. If they are all complex, then we can write them as , , , , in which case
11
Since the coefficients of x in each factor are real numbers, the result follows in this
case. If exactly two are non-real, they must be each others complex conjugate, and
so, this time, the roots can be denoted by , , , , where , are real numbers. As
before,
p(x) = a(x2 ( + )x + ||2 )(x2 ( + )x + ),
and, once more, we see that each factor has real coefficients.
5.2 Exercises
1. Let p be an arbitrary quartic. Prove that
12
2. Let p be a arbitrary quartic. Use the previous exercise to show that we may
choose h so that the coefficient of x3 in the expansion of p(x + h) is zero.
4. Determine the roots of x4 12x3 + 49x2 78x + 40. Show that its graph is
symmetric about x = 3.
5. Show that
(x 1)(x 2)(x 4)(x 5) 9/4, x.
6. Prove that the quartic p(x) = ax4 + bx3 + cx2 + dx + e, a 6= 0 has no points
of inflexion iff 3b2 < 8ac.
6 Cubic polynomials
We consider cubics of the form
where a 6= 0.
Theorem 6. Suppose a, b, c, d are real numbers. Then p has at least one real root.
Proof. Weve already outlined one proof of this fact based on the fact that ap(x)
is positive for large positive x and negative for large negative x, a statement which
extends to cover the case of any polynomial of odd degree having real coefficients.
Heres another approach which uses Theorem 2 due to Gauss. According to this,
every cubic (with real or complex coefficients) has at least one root, which may be
complex, and at most three distinct roots. So, p has three roots, which may not all
be different. Since its coefficients are real, by Theorem 3, its complex roots come in
pairs. Hence, one of the roots must be real.
As the next example shows, this is the most we can say, in general.
Example 3. Find the roots of p(x) = x3 1.
Solution. Clearly 1 is a root. Hence x 1 is a factor of p. In other words, there
is a quadratic q such that p(x) = (x 1)q(x). Its straightforward to verify that
q(x) = x2 + x + 1. Now, the discriminant of the latter is b2 4ac = 1 4 = 3,
which is negative, and so, by the usual formula, the roots of q are complex, and
equal to
1 3i
.
2
Thus, p has only one real root.
13
Its standard to let
1 + 3i
= ,
2
so that
6= 1, 3 = 1, 2 + + 1 = 0.
Well refer to this later on.
Theorem 7. Suppose a cubic has three real roots. Then it has two turning points.
Proof. Suppose
p(x) = (x )(x )(x ) = x3 ( + + )x2 + ( + + )x ,
where , , are real. Then
p0 (x) = 3x2 2( + + )x + ( + + ),
which has real roots iff b2 4ac. Now
b2 4ac = 4( + + )2 12( + + )
= 4[( + + )2 3( + + )]
= 4[2 + 2 + 2 ]
= 2[( )2 + ( )2 + ( )2 ]
0,
14
with equality iff = = . Thus p0 has two real roots, which may be equal.
p0 () = p0 () = 0 = p00 ().
Then
+
= .
2
Proof. Suppose
p(x) = ax3 + bx2 + cx + d, a 6= 0.
Then
p0 (x) = 3ax2 + 2bx + c, p00 (x) = 6ax + 2b.
Hence
b
= .
3a
But also,
p0 (x) = 3a(x )(x ) = 3a(x2 ( + )x + ),
which means that
2b
3a( + ) = 2b, + = = 2.
3a
This means the if a cubic with real coefficients has two turning points, then the
mid-point of their first coordinates coincides with the point of inflexion.
x3 + 1 = (x + 1)(x2 x + 1),
x3 1 = (x 1)(x2 + x + 1).
15
More generally, the identities
x3 + y 3 = (x + y)(x2 xy + y 2 ), x3 y 3 = (x y)(x2 + xy + y 2 ),
x2 + y 2 + z 2 xy yz zx = (x + y + 2 z)(x + 2 y + z).
Proof. For,
(x + y + 2 z)(x + 2 y + z)
= x2 + xy( 2 + ) + xz( + 2 ) + 3 y 2 + yz( 2 + 4 ) + 3 z 2
= x2 xy xz + y 2 + yz( 2 + ) + z 2
= x2 + y 2 + z 2 xy yz zx.
p(x) = x3 3abx + a3 + b3
are given by
(a + b), (a + 2 b), ( 2 a + b).
We can exploit this to determine the roots of cubic polynomials of the form x3 +qx+r,
as long as we can find a, b so that
3ab = q, a3 + b3 = r. (1)
Solution. The first step is the eliminate the x2 term. We can do this by shifting the
x-axis. Noting that
2 = ab, a3 + b3 = 9.
16
Plainly, the pair a = 1, b = 2 works. Hence,
In other words,
p(x) = (x + 4)(x + 2 )(x + )
and 4, , 2 are the roots of p.
Return to (1). For these relations to hold, a3 , b3 must be the roots of the quadratic
q3
z 2 rz ,
27
and so can be determined by the usual formula,
q
4q 3
r r2 + 27
3 3
a ,b = .
2
So, a, b can be determined by extracting cube roots of possibly complex numbers.
We could, for instance, choose a to be one of the cube roots of
q
3
r + r2 + 4q 27
,
2
something we gloss over.
Turning to the determination of the roots of a general cubic p(x) = ax3 + bx2 +
cx + d, a 6= 0, since the roots dont depend on the sign of a, we can suppose, for
simplicity, that a = 1. The first step to perform is to eliminate the term involving
x2 by shifting x. In fact,
1 1 b3
x3 + bx2 + cx + d = (x + b)2 b2 x + cx + d
3 3 27
1 1 1 b3 1 1
= (x + b)2 + (c b2 )(x + b) (c b2 )( b) + d
3 3 3 27 3 3
3
1 1 2b
= X 3 + (c b2 )X + d bc +
3 3 27
= X 3 + qX + r,
where
1 1 1 2b3
X = x + b, q = c b2 , r = d bc + .
3 3 3 27
Next we select a, b so that
3ab = q, a3 + b3 = r;
this entails solving the quadratic equation z 2 rz q 3 /27 = 0. The final step is to
use the factorisation in the above Corollary.
17
6.3 Exercises
1. Determine the roots of the cubic x3 (a2 + ab + b2 )x + ab(a + b).
2. Suppose x1 6= x2 and yi = x31 , y2 = x32 . Write down the equation of the line
through the points (x1 , y1 ), (x2 , y2 ) and prove that it cuts the graph of y = x3
at three points, two of which may coincide.
7 Appendix
This contains additional information about polynomials and some IMO-type prob-
lems.
p(x) = a0 + a1 x + + an xn , q(x) = b0 + bx + + bm xm ,
2. The following are special polynomials. Let a be a fixed complex number and
n N:
n1 n
n n
X
nk+1 k
X n nk k
x a , x a , x a ,
k=0 k=0
k
where
n!
n (nk)!k!
, if 0 k n,
=
k 0, if k < 0 or k > n
are the Binomial coefficients.
Note that
n1 n
n n
X
nk+1 k n
X n
x a = (x a) x a , (x + a) = xnk ak ,
k=0 k=0
k
3. a is root (zero) of a poly p if p(a) = 0. If this is so, then we can factor p: there
is a poly q, with deg q = deg p 1, such that
p(x) = (x a)q(x).
18
Note especially that if a is rational and all the coeffs of p are rational, then
the coeffs of q are also rational.
If b is another root of p, then q(b) = 0, and so we can factor q: q(x) =
(x b)r(x), deg r = deg q 1. Thus p(x) = (x a)(x b)r(x), and so on: if
x1 , x2 , . . . , xn are roots of p, then
n
Y
p(x) = c(x x1 )(x x2 ) (x xn ) = c (x xi ).
i=1
whence
b c
x1 + x2 = , x1 x2 = .
a a
3 2
If ax + bx + cx + d is a cubic, so that a 6= 0, and its roots are x1 , x2 , x3 , then
whence
b c d
x1 + x2 + x3 = , x1 x2 + x2 x3 + x3 x1 = , x 1 x2 x3 = .
a a a
Similar relations hold for higher degree polynomials.
6. The poly xn 1 has roots k , k = 0, 1, 2, . . . , n where
2 2 i2
= cos( ) + i sin( ) = e n .
n n
Thus
n1
Y
n
x 1= (x k ),
k=0
19
The complex number , which depends on n, is never equal to 1, unless n = 1;
it is called an nth root of unity. Its powers 1, , 2 , . . . , n1 are also roots
of xn 1, and form a cyclic group under multiplication. They are also the
vertices of a regular n-gon inscribed in the unit circle. The perimeter of this
n-gon is given by
n
X
| k k1 | = n|1 | = 2n sin( ),
k=1
n
which tends to 2 as n .
are two polys of degrees m, n, their product is also a poly of degree m + n, and
X X
p(x)q(x) = ai x i bj x j
i0 j0
X
= ai bj xi+j
i,j0
X X
= ai bj xi+j
k0 i+j=k
X
= ck xk ,
k0
where
X
ck = ai bj = a0 bk + a1 bk1 + + ak b0 , k = 0, 1, . . . , m + n.
i+j=k
where
m m
c0 = b0 = c, c1 = b0 + b1 = mc + b,
1 0
20
and, for k 2,
m m m m m m
ck = b0 + b1 + b2 = c+ b+ a.
k k1 k2 k k1 k2
Again,
m n
X m i
X n
( x )( xj ) = (1 + x)m (1 + x)n
i=0
i j=0
j
= (1 + x)m+n
m+n
X m + n
= xk ,
k=0
k
and comparing coeffs of powers of x,
X mn
m+n
= , k = 0, 1, 2 . . . , m + n.
k i+j=k
i j
In particular, if k = m = n
n 2
2n X n
= .
n k=0
k
2 n n n
Since (1 x ) = (1 + x) (1 x) , we see in the same way that
n n n 2n X n
k n n iX j n j n
X X X
2k j k
(1) x = x (1) x = x (1) ,
k=0
k i=0
i j=0
j k=0 i+j=k
i j
whence
X n
0, if k is odd,
j n
(1) = k/2 n
i j (1) k/2
, if k is even.
i+j=k
In particular,
2m+1
X
2(2m + 1) i 2(2m + 1)
(1) = 0, m = 0, 1, 2, . . .
i=0
i 2m + 1 i
and
2m
X 4m i 4m m 4m
(1) = (1) , m = 0, 1, 2, . . .
i=0
i 2m i m
7.3 Interpolation
As weve mentioned, if we know the roots of a poly and their multiplicities, we can
determine the poly to within a constant multiple. What if we know the values that
a poly takes on a prescribed set? Can we determine it? In geometric terms, can we
always find a poly of smallest degree to pass through a finite set of points in the
(x, y)-plane? Since a poly is a function, the x-coordinates of the points better be
distinct, but the y-coordinates dont have to be.
21
Example 6. Suppose x1 , x2 , x3 are three distinct real numbers and y1 , y2 , y3 are any
given set of real numbers, determine the equation of the poly that passes through the
points
(x1 , y1 ), (x2 , y2 ), (x3 , y3 ).
ax21 + bx1 + c = y1 ,
ax22 + bx2 + c = y2 ,
ax23 + bx3 + c = y3 ,
three equations for three unknowns a, b, c, which can be solved by the process of
elimination.
Another approach is to solve three similar, but easier problems by letting two of the
ys be 0 and the other 1. Then, say, p1 (x2 ) = p1 (x3 ) = 0, p1 (x1 ) = 1. The first two
conditions say that x2 , x3 are roots of the quadratic p1 . So
22
2. For which n N is x2 + x + 1 a factor of x2n + xn + 1? [Hint: Say x2n + xn + 1 =
(x2 + x + 1)q(x), for some poly q.]
3. (IMO 1973) Find the minimum value of a2 + b2 , where a, b are real numbers
for which the equation
x4 + ax3 + bx2 + ax + 1 = 0
Prove that b is a positive integer if, and only if, a is a positive integer of the
form 21 n(n2 + 3), for some positive integer n.
f (x) = a0 + a1 x + + an xn
f (x) = xn + a1 xn1 + + an
f (x) = 0
are real.
23
8. Let a, b, c and d be real numbers with a 6= 0. Prove that if all the roots of the
cubic equation
az 3 + bz 2 + cz + d = 0
lie to the left of the imaginary axis in the complex plane, then
3 32 + 5 17 = 0,
3 3 2 + 5 + 11 = 0.
Find + .
10. IRMO93. Let a0 , a1 , . . . , an1 be real numbers, where n 1, and let the
polynomial
f (x) = xn + an1 xn1 + . . . + a0
be such that |f (0)| = f (1) and each root of f is real and satisfies 0 < < 1.
Prove that the product of the roots does not exceed 1/2n .
12. IRMO94. Determine, with proof, all real polynomials f satisfying the equation
24
13. IRMO95. Suppose that a, b and c are complex numbers, and that all three
roots z of the equation
x3 + ax2 + bx + c = 0
satisfy |z| = 1 (where | | denotes absolute value). Prove that all three roots w
of the equation
x3 + |a|x2 + |b|x + |c| = 0
also satisfy |w| = 1.
for all x.
16. The coeffs of the cubic ax3 + bx2 + cx + d are integers, ad is odd andbcis even.
Prove that at least one root is irrational.
18. Prove that if x3 + px2 + qx + r has three real roots, then p2 3q.
19. IMO93. Let n > 1. Show that the poly xn + 5xn1 + 3 cannot be written as a
product of two non-constant polys with integer coeffs.
20. The coeffs of p(x) = xn + + 1 are 0. Assume p has real roots. Prove that
p(2) 3n .
25
This means that for large |x|, f (x)/x3 has the same sign as a. Hence, supposing
a > 0, f (x) > 0 if x > 0 is large enough, and f (x) < 0 if x < 0 and |x| is
large enough. (If a < 0, then xf (x) < 0 if |x| is large enough.) Hence, by
the Intermediate-value theorem, the graph of y = f (x) crosses the real axis at
some point. Conclusion: f has at least one real roots.
Note that this is false without the assumption that the coeffs a, b, c, d are real.
For instance, x3 3ix2 3x i = (x i)3 has no real roots.
Notice too that the same reasoning applies to confirm that any poly of odd
degree that has real coeffs has at least one real root.
2. The previous statement tells us that a cubic with real coeffs has at least one
real root; the other roots may be complex numbers, and if they are, they are
each others complex conjugate, once more from the reality of the coeffs.
Is there a formula for finding the roots? To answer this, we begin by reducing
the general cubic to normal form. First divide across by a, obtaining a cubic
which has the same roots as f . Renaming the coeffs, if necessary, we may as
well suppose that a = 1, thereby getting a monic poly of the form f (x) =
x3 + bx2 + cx + d. Now we seek another cubic which has no term involving x2 ,
using a procedure similar to completing the square in a quadratic. Consider
f (x + t) = x3 + qx + r.
3. From now on we deal with a cubic in its the normal form x3 + qx + r. We can
proceed in two directions to solve this. Using the method previously suggested
we can let q = 3uv, r = u3 + v 3 and then use the factorization
to confirm that (u+v) is one root and the other two are roots of the quadratic
x2 (u + v)x + u2 + v 2 uv. Thus, were down to solving the pair of equations
26
q = 3uv, r = u3 + v 3 for u, v. Its easy to see that u3 , v 3 must be the roots of
the quadratic equation.
q3
z 2 rz = 0.
27
Hence, q
4q 3
r r2 + 27
3 3
u ,v = .
2
So, let u be a cube root of one of these and let v = q/(3u). Then (u + v)
3
is a root,
q possibly complex, of x + qx + r. Having selected one cube root u of
3
(r + r2 + 4q27
)/2, say, and setting v = q/3u, the remaining roots can then
be found by solving x2 q(u + v)x + u2 + v 2 uv = 0, or by figuring out the
4q 3
other cube roots of (r + r2 + 27
)/2.
Notice that u3 is real iff 27r2 + 4q 3 0. So, if this condition is satisfied,
then (u + v) is a real rootpossibly the only real root, as the following
example shows. (In fact, its not too hard to see that if 27r2 + 4q 3 > 0
holds, then (u + v) is the only real root of the cubic. What may happen if
27r2 + 4q 3 = 0?)
Example 7. Solve x3 + 3x + 1 = 0.
5. Are these conditions sufficient In other words, if they hold, will x3 +qx+r have
three real roots? (Answer: not necessarily; consider 2x3 3x + 1.) Suppose
q 0 to begin with, and see what effect this has on the shape of the graph
of y = x3 + qx + r. (It will help you to visualise p the shape of such a cubic.)
The graph has two turning points given by x = q/3. The corresponding
y values are r
2q q
+ r.
3 3
The smallest of these is r
2q q
+ r.
3 3
The graph tells us that the cubic has three real roots if this is 0. This is so
if
27r2 4q 3 .
In other words, the cubic has three real roots if 27r2 + 4q 3 0. (This implies
that q < 0.)
This, then, is a sufficient condition, which implies the necessary condition
obtained above, but the two conditions are different! Can the gap be closed
between these two conditions? Is it the case, perhaps, that 27r2 + 4q 3 0 is
true if the roots are real? To see that this is indeed the case, we revisit our
attempt to derive a necessary condition assuming the roots are real. This time
(Query: how did we factorize this expression? By the way, this also points up
that the AM-GM inequality can sometimes be a blunt instrument.)
So, to sum up: the cubic x3 + qx + r has three real roots iff 27r2 + 4q 3 0. It
has one real root and two complex roots iff 27r2 + 4q 3 > 0.
28
To utilize this, replace x by cos() and multiply through by 4 to get
x4 + ax3 + bx2 + ax + 1 = 0
Solution. Denote by the set of points (x, y) in the plane for which there is
a real number w such that
w4 + xw3 + yw2 + xw + 1 = 0.
t2 + xt + y 2 = 0.
x2 4(y 2) 0, (x, y) .
Thus,
{(x, y) : 4(y 2) x2 }.
29
Moreover, since t2 4 is a requirement,
and so
Plainly, equality holds here. What we seek is the square of the distance from
to the origin. Its clear from geometric considerations that the distance is
given by the distance from the origin to one of the tangent lines, i.e., it is
|0 + 0 + 2| 2
p = .
(2)2 + 1 5
(1)n+1 (n + 1)
p(n + 1) = .
n+2
30
Prove that b is a positive integer if, and only if, a is a positive integer of the
form 21 n(n2 + 3), for some positive integer n.
By direct computation it can be seen that b is a root of the cubic x3 + 3x 2a.
Hence, if b is a positive integer, then so is 2a = b3 + 3b. But the latter is even.
Hence, a is a positive integer. Conversely, if a is of the form 21 n(n2 + 3), for
some positive integer n, then n is also a root of the same cubic. But this cubic
has only one real root. Thus b = n.
4. IRMO95. Suppose that a, b and c are complex numbers, and that all three
roots z of the equation
x3 + ax2 + bx + c = 0
satisfy |z| = 1 (where | | denotes absolute value). Prove that all three roots w
of the equation
x3 + |a|x2 + |b|x + |c| = 0
also satisfy |w| = 1.
a = p + q + r, b = pq + qr + rp, c = pqr.
and (?) since ||a| 1| 2, the roots of the quadratic x2 + (|a| 1)x + 1 are
complex numbers of unit modulus, the result follows.
6. The coeffs of the cubic ax3 + bx2 + cx + d are integers, ad is odd and bc is even.
Prove that at least one root is irrational.
Suppose all roots are rational, and apply the rational roots theorem. According
to this, if p/q is a rational root with p, q in their lowest form, then p divides
31
d and q divides a. But ad is odd. Hence both of a, d are odd and so p, q are
odd. Next note that
The first and last terms are odd, so their sum is even, and since bc is even
one of b, c is even. Hence one of bp2 q, cpq 2 is even. But their sum is even.
Hence both are even. Hence b, c are even. Finally, if the roots are rational we
can denote them by p1 /q1 , p2 /q2 , p3 /q3 , where, for k = 1, 2, 3, pk , qk are odd
integers, with pk , qk having no common factors. Then
p1 p2 p3 b
+ + = ,
q1 q2 q3 a
7. Suppose m, n 1 and
f (x) = xn + + a1 x + a0 , g(x) = bm xm + + b1 x + b0 , bm 6= 0,
are two polynomials with integer coefficients and share a common real root.
Prove that the common root is an integer. This is false! For instance x2
2, x(x2 2) share a common real root, which is irrational.
To see whats involved, let n = 3, m = 2 and let x denote the common root.
Then
0 = x 3 + a2 x 2 + a1 x + a0 = b 2 x 2 + b 1 x + b 0 .
Then
0 = b2 x3 + a2 b2 x2 + a1 b2 x + a0 b2 = b2 x3 + b1 x2 + b0 x,
whence
then
[a0 b22 b0 (a2 b1 b1 )] = 0.
Otherwise, x is rational, and so a rational root of f . By the rational roots
theorem, it must then be an integer.g
32