Professional Documents
Culture Documents
Many thanks to Richard Stong and Adrian Andreescu for significant im-
provement of the text. We would also like to thank Alexandr Khrabrov, Peter
Boyvalenkov, Gregor Dolinar, and Bayasagalan Banzarach for their contribu-
tion.
Enjoy the problems!
The authors
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1 Basic
properties of polynomials - Part I . . . . . . . . . . . . . 1
1.1 Identities . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 The coefficients of xd in polynomial products . . . . . . 6
1.3 Factoring and its implications . . . . . . . . . . . . . . . 11
1.4 Values of polynomials . . . . . . . . . . . . . . . . . . . 18
1.5 Division, GCD of polynomials . . . . . . . . . . . . . . . 26
1.6 The composition of polynomials . . . . . . . . . . . . . 35
1.7 Odd and even polynomials . . . . . . . . . . . . . . . . 37
2 Basic
properties of polynomials - Part II . . . . . . . . . . . . . 39
2.1 Polynomial roots . . . . . . . . . . . . . . . . . . . . . . 39
2.2 Integer and rational roots of polynomials . . . . . . . . 44
2.3 Intermediate value theorem, increasing and
decreasing polynomials . . . . . . . . . . . . . . . . . . . 49
3 Second degree polynomials . . . . . . . . . . . . . . . . . . . . . 59
3.1 The form ax2 + bx + c . . . . . . . . . . . . . . . . . . . 59
3.2 The discriminant . . . . . . . . . . . . . . . . . . . . . . 61
3.3 Roots . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3.4 Vieta’s formulas . . . . . . . . . . . . . . . . . . . . . . 73
3.5 Solving inequalities . . . . . . . . . . . . . . . . . . . . . 75
3.6 Miscellaneous problems . . . . . . . . . . . . . . . . . . 78
3.7 More advanced problems . . . . . . . . . . . . . . . . . 80
4 Third degree polynomials . . . . . . . . . . . . . . . . . . . . . 85
4.1 Roots and graph . . . . . . . . . . . . . . . . . . . . . . 85
4.2 Vieta’s formulas . . . . . . . . . . . . . . . . . . . . . . 90
4.3 More advanced problems . . . . . . . . . . . . . . . . . 93
5 Fourth degree polynomials . . . . . . . . . . . . . . . . . . . . . 101
5.1 Solving equations . . . . . . . . . . . . . . . . . . . . . . 101
5.2 Vieta’s formulas . . . . . . . . . . . . . . . . . . . . . . 101
5.3 Number of real roots and graph . . . . . . . . . . . . . . 104
5.4 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . 107
6 On roots of polynomials - elementary problems . . . . . . . . . 111
x Contents
are equal if and only if ai = bi for all i (if m > n, then bn+1 = . . . = bm = 0).
Xn
We define the degree of polynomial P (x) = ai xi as the greatest integer
i=0
i such that ai 6= 0 and we denote the degree by deg P (x). If i is the greatest
integer i such that ai 6= 0, we say that ai is the leading coefficient of P (x).
If the leading coefficient is equal to 1, we say that the polynomial is monic.
Notice that the degree of a constant polynomial P (x) = a0 6= 0 is zero. We
don’t give any degree to the zero polynomial P (x) ⌘ 0 (i.e. the polynomial
whose coefficients are all zeros)1 . Usually, we omit the terms having zero as a
coefficient. For example, we write the polynomial 0x3 +1x2 +2x+0 as x2 +2x.
This is clearly an example of a monic polynomial of degree 2.
We can perform some operations on polynomials.
Xn Xm
i
For example, if P (x) = ai x and Q(x) = bj xj are two polynomials
i=0 j=0
and m n, then the sum of P (x) and Q(x) is defined by
m
X
P (x) + Q(x) = (ah + bh )xh
h=0
1
By convention, we can also assign to the zero polynomial the degree 1.
2 Basic properties of polynomials - Part I
1.1 Identities
The term identity designates an equality that holds for all allowed values of
the unknowns it contains (usually all real numbers or all complex neumbers).
When it is clear from context one often omits explicitly specifying the allowed
range for the unknowns. For example, the following equations are identities:
a2 b2 = (a b) (a + b),
a3 b3 = (a b) (a2 + ab + b2 ),
2x + 1 = 5,
1 1
+ = 3,
x 2 x
a3 + b3 + c3 = 3abc.
Identities are the pillars of our mathematical computations. They are
commonly encountered in mathematics competitions, where many problems
require such knowledge.
Here we record some of the most important identities. It is important that,
in order to enhance your strength in working with algebraic expressions, you
force yourself to learn these identities.
Basic properties of polynomials - Part I 3
Useful Identities
Conjugate Identity:
a2 b2 = (a b)(a + b)
Square Identity I:
(a + b)2 = a2 + 2ab + b2
Square Identity II:
Power Di↵erence:
an bn = (a b)(an 1
+ an 2
b + · · · + bn 1
)
Power Sum:
an + bn = (a + b)(an 1
an 2
b + · · · + bn 1
) if n is odd.
Euler’s Identity:
Binomial Identity:
✓ ◆ ✓ ◆
n n n
n 1 n n k k
(a + b) = a + a b + ··· + a b + · · · + bn .
1 k
a3 + b3 + c3 = 3abc.
Comment II. The general case of the Square Identity is of special interest.
That is, let x1 , . . . , xn be n numbers. Then,
X
(x1 + · · · + xn )2 = x21 + · · · + x2n + 2 xi xj
1i<jn
The above identity is called the Multinomial Identity. For example, when
n = m = 3 we have
(a + b + c)3 = a3 + b3 + c3 + 3 a2 b + b2 c + c2 a + b2 a + c2 b + a2 c + 6abc.
Many elementary algebra problems are greatly simplified by the above formu-
las. Nevertheless, we will also see some of their creative applications in more
complex solutions.
This is equivalent to
thus
((x y)(y z)(x z))2 = (3 3xy)(3 3yz)(3 3zx)
Basic properties of polynomials - Part I 5
27 1 xy yz zx + xyz(x + y + z) x2 y 2 z 2 = 27 4 x2 y 2 z 2
27 · 4.
p
Therefore, |(x p y)(yp z)(z x)| 6 3. Since this value is attained when
{x, y, z} = {0, 3, 3}, this is the maximum value.
Example 1.3. (Mathematics and Youth Journal 2003) Solve the system of
equations
x2 (y + z)2 = 3x2 + x + 1 y 2 z 2
y 2 (z + x)2 = 4y 2 + y + 1 z 2 x2
z 2 (x + y)2 = 5z 2 + z + 1 x2 y 2 .
(b + c)2 = 3 + a + a2
(c + a)2 = 4 + b + b2
(a + b)2 = 5 + c + c2
We prove that the equality does not occur for n > 3. Write the equality as
✓ ◆n
4 2n + 1 1
= + n.
3 3 3
6 Basic properties of polynomials - Part I
For sake of this, we need to study in which ways a monomial from first factor
and a monomial from second factor generate the term x50 . That is,
Hence, the coefficient of x50 is the sum of coefficients of the constructed mono-
mials and is equal to
51 + 50 + . . . + 26 = 1001.
1 + xk + x2k = (1 + a1 x + x2 )(1 + a2 x + x2 ) · . . . · (1 + ak x + x2 ).
1 + x2 + x4 = (1 + a1 x + x2 )(1 + a2 x + x2 ).
Basic properties of polynomials - Part I 7
a1 + a2 = 0, a1 a2 = 1
i.e.
a21 + a22 = (a1 + a2 )2 2a1 a2 = 2.
Moreover, one can find that {a1 , a2 } = {1, 1}. Hence,
1 + x2 + x4 = (1 x + x2 )(1 + x + x2 ).
(1 + a1 x + x2 )(1 + a2 x + x2 ) · . . . · (1 + ak x + x2 )
must be zero. Examining the aforementioned coefficients, one can find that
a 1 + . . . + ak = 0
and X
k+ ai aj = 0,
1i<jk
X
i.e., ai aj = k. Hence, by the generalization of the square identity,
1i<jk
we find that
X
a21 + . . . + a2k = (a1 + . . . + ak )2 2 ai aj = 2k.
1i<jk
(1 + x + x2 + . . . + x100 )3 .
Thus, a term x100 can arise from a product of the form xa xb xc from the
respective factors where a + b + c = 100 and a, b, c 0. Let a = 0. Then
b + c = 100 and there are 101 cases. If a = 1, then b + c = 99 and there are
100 cases. Similarly when a = 100, then b + c = 0, and there is only one case.
Hence the total number of cases is
1 + 2 + . . . + 101 = 5151.
8 Basic properties of polynomials - Part I
P0 (x) = x 2,
Pk (x) = Pk2 1 (x) 2 if k 1.
Pk (x) = 2 + ak x + bk x2 + . . . ,
x x2
Example 1.9. (AIME 2016) Let P (x) = 1 + and define
3 6
50
X
3 5 7 9
Q(x) = P (x) P x P x P x P x = ai xi .
i=0
50
X
Find |ai |.
i=0
Basic properties of polynomials - Part I 9
Solution. Note that all the coefficients of the polynomial P ( x) are nonneg-
ative, indeed its coefficients are the absolute values of the coefficients of the
polynomial P (x). Thus all the coefficients of the polynomial
Q( x) = P ( x)P ( x3 )P ( x7 )P ( x9 )
are nonnegative and are the absolute values of the coefficients of the polynomial
Q(x). Hence
X50 ✓ ◆5
5 3
|ai | = Q( 1) = P ( 1) = .
2
i=0
ar b1000 r
= cr d1000 r
, at b1000 t
= ct d1000 t .
Thus ✓ ◆r ✓ ◆1000 ✓ ◆t
ad d ad
= = ,
bc b bc
ad d a
so = = 1, which gives also = 1. Now it is clear that if we replace
bc b c
the polynomial ax + b with ax b, the condition does not change. Thus
without loss of generality we assume that a/c = 1 and we have two cases. If
d/b = 1, then we have (ax+b)1000 (ax+b)1000 which has only zero coefficients,
a contradiction. If d/b = 1, then we have (ax + b)1000 (ax b)1000 , which
has exactly 500 nonzero coefficients.
Example 1.11. (Tournament of Towns 2012) Let P (0) = 1 and
some polynomial R(x), which implies that there is no x99 in the expansion.
Thus there doesn’t exist any x99 in the expansion of (1 + P (x))100 too.
Example 1.12. (Moscow Mathematical Olympiad 1997) Let
1 + x + x2 + . . . + xn 1
= F (x)G(x),
where n > 1 and where F and G are polynomials, whose coefficients are zeros
and ones. Prove that one of the polynomials F and G can be represented in
the form (1 + x + x2 + . . . + xk 1 )T (x), where k > 1 and where T is also a
polynomial whose coefficients are zeros and ones.
Solution. Set F (x) = a0 + a1 x + · · · and G(x) = b0 + b1 x + · · · . From the
constant term we get a0 b0 = 1, which gives a0 = b0 = 1. From the x coefficient
we therefore get a1 + b1 = 1. Without loss of generality, assume that a1 = 1
and b1 = 0. If G(x) = 1, then we are done, so we may assume there is some
least non-zero monomial in G(x), say xk , so that G(x) = 1 + xk + · · · . Looking
at the coefficients of xi for i = 2, . . . , k, we conclude that a0 = a1 = a2 = · · · =
ak 1 = 1 and ak = 0.
Now we will show that every monomial in G is of the form xkr for some r (or in
terms of polynomials G(x) = Q(xk ) for some polynomial Q with coefficients
zero and one) and that every non-zero monomial in F occurs in a run of
nonzero monomials of the form xkr + xkr+1 + xkr+2 + · · · + xkr+(k 1) (or in
terms of polynomials F (x) = (1+x+x2 +· · ·+xk 1 )P (xk ) for some polynomial
P (x) with coefficients zero and one). Note that this will solve the problem by
setting T (x) = P (xk ).
Suppose on the contrary that this is not the case. Then there is some lowest
degree monomial where it fails. There are two ways this can happen.
If the first bad monomial is in G, then there is some monomial xkr+s in G
where 0 < s < k. Since the product F (x)G(x) contains the monomial xkr
there must be some monomial xa in F and some monomial xb in G with
a + b = kr. Since a, b < kr + s and the monomial xkr+s is the first deviation
from our proposed pattern, it follows that b = kr0 for some r0 r and hence
a = k(r r0 ). Again since this is xkr+s was the first bad monomial, this
0 0 0
must begin a run of monomials xk(r r ) + xk(r r )+1 + · · · + xk(r r )+(k 1) in
F . But then the coefficient of xkr+s in F (x)G(x) gets a contribution of 1
0 0
from xk(r r )+s · xkr and another contribution of 1 form x0 · xkr+s . Since any
additional contributions would only be positive, the coefficient of xkr+s in the
product will be at least 2, a contradiction.
If the first bad monomial is in F , then there is some r such that F contains
only a proper subset of the monomials xkr , xkr+1 , . . . , xkr+k 1 . Say it contains
xkr+i but not xkr+j for some 0 i, j < k. The monomial xkr+j must occur in
F (x)G(x), say as xa · xb . Since the run xkr , . . . , xrk+k 1 contains the smallest
degree bad monomial, we must have b = kr0 for some 1 r0 r and hence
Basic properties of polynomials - Part I 11
Now look at how many times the monomial xkr+i occurs in F (x)G(x). It
0 0
occurs once as xk(r r )+i · xkr and once as xkr+i · x0 . Thus it occurs at least
twice, a contradiction.
Example 1.13. (Moscow Mathematical Olympiad 1994) Is there a polyno-
mial P (x) with a negative coefficient while all the coefficients of any power
(P (x))n are positive for n > 1?
Solution. The answer is yes. Let P (x) = ad xd + . . . + a0 have positive
coefficients. Then all of its powers have positive coefficients.
Assume f (x) = x4 + x3 + x + 1 and set g (x) = f (x) "x2 for some " > 0
sufficiently small. Then all the coefficients of (g(x))2 and (g(x))3 are close to
the coefficients of
and
(f (x))3 = x12 +3x11 +3x10 +4x9 +9x8 +9x7 +6x6 +9x5 +9x4 +4x3 +3x2 +3x+1.
The coefficients of (f (x))2 and (f (x))3 are all positive and thus the coefficients
of (g(x))2 and (g(x))3 must be positive. Then, since all positive integers n can
be written as n = 2a + 3b for some nonnegative integers a, b, all the powers
(g(x))n have only positive coefficients.
(z + 3)(xy + 2x y 2).
The latter case refers to identities for factoring. For example, we can factor
the expression
3 3 3
a 2 b2 + b 2 c 2 + c 2 a 2 .
First, note that a2 b2 + b 2 c2 + c2 a2 = 0. Hence by Euler’s identity,
3 3 3
a2 b2 + b2 c2 + c2 a2 = 3 a2 b2 b2 c2 c2 a2 .
3 a2 b2 b2 c2 c2 a2 = 3 (a b) (b c) (c a) (a + b) (b + c) (c + a) .
Example 1.15. (Mathematics and Youth Journal 2004) Solve the system of
equations
x3 + y 3 = 4y 2 5y + 3x + 4
3 3 2
2y + z = 4z 5z + 6y + 6
3 3 2
3z + x = 4x 5x + 9z + 8.
x3 3x 2 = y 3 + 4y 2 5y + 2
3 3 2
2y 6y 4 = z + 4z 5z + 2
3 3 2
3z 9z 6 = x + 4x 5x + 2.