Polynomials s Li Dec22
Polynomials s Li Dec22
Charles Li
Polynomial problems often take the form, “here’s some problem about a function f . blah blah blah. oh and by
the way, this only works if f is a polynomial haha. so maybe assume that?”. The focus of today’s lecture is
what the ‘oh and by the way’ tells you. I guess the usual tactics for dealing with generic functions could still
be helpful.
1 Revision/Outline
You’ll already be familiar with the following tricks/results:
• Degree arguments and equal too often • Polynomial division, remainder theorem
• Roots and the fundamental theorem of algebra • Factorisations of xn ± y n
• Intermediate value theorem • a − b | P (a) − P (b) for integer polynomials
Instead of boring you and covering that again1 , today I want to look at:
2 Curve fitting
You know that any n distinct roots uniquely determine a degree n polynomial, up to scaling. You can think of
the ‘up to scaling’ as fixing some other point (c, f (c)) you want f to pass through, where f (c) 6= 0. So basically,
fixing n + 1 points of a particular form gives you a unique polynomial.
What about if I take n + 1 arbitrary points? You still can get a unique polynomial, but it will have degree ≤ n.
Theorem (Lagrange interpolation). Fix x0 , x1 , . . . , xn distinct reals, and let y0 , y1 , . . . , yn ∈ R. Then there is
a unique polynomial P of degree at most n passing through each (xi , yi ).
1 Please
ask if you’re not familiar with one of them!
2 For
every root α of a monic integer polynomial, there’s a unique monic integer polynomial mα (x) of minimal degree with α as
a root. This polynomial divides every other polynomial with α as a root.
1
Proof. Define
n
Y x − xi
P̂j (x) =
x − xi
i=0 j
i6=j
works. Moreover, it’s the unique such polynomial: If P̃ also works, P − P̃ has degree ≤ n but has n+1 roots.
Huh?? What was that? It was a mathematical proof, of the variety you’ll find at uni: slick and polished, with
all traces of intuition removed. Optimized for rote memorisation. Ugh.
An easier way to remember how to construct such polynomials is to follow the following steps – at each step
find a polynomial P satisfying:
Still, it’s a massive pain. An alternate way to construct such polynomials bit by bit is via divided differences
and Newton’s interpolation formula:
Let p[x0 , x1 , . . . , xn ] be the leading coefficient of the Lagrange polynomial interpolating (x0 , y0 ), . . . , (xn , yn ).
Then p[x0 ] = y0 and p[x1 ] = xy11 −y −x0 .
0
Proof. Consider the polynomials q, r interpolating (x0 , y0 ), . . . , (xn , yn ) and (x1 , y1 ), . . . , (xn+1 , yn+1 ), and note
that
(x − x0 )r(x) − (x − xn+1 )q(x)
p(x) =
xn+1 − x0
interpolates (x0 , y0 ), . . . , (xn+1 , yn+1 ).
Proof. Induct.
The proof is a case-bashy induction on n (divide out by a positive root and see what happens). A corresponding
result exists for the number of negative real roots by replacing x with −x.
2
4 Cyclotomic polynomials
The cyclotomic polynomials are monic integer polynomials Φn (x), for n = 1, 2, . . . , defined by
Y k
Φn (x) = x − e2iπ n .
1≤k≤n
gcd(k,n)=1
Importantly, cyclotomics are irreducible over Z (see next section for what that means!) and satisfy
Y
Φd (x) = xn − 1.
d|n
Other properties:
There exist cyclotomics with coefficients other than −1, 0, 1 such as Φ105 .
5 Reducibility
An integer polynomial P is irreducible over Z (or Q or some other ring like Z/pZ = Zp !) if you can’t factorise
it non-trivially over Z – that is, whenever P = QR where Q and R are integer polynomials, either Q or R is
constant.
A useful trick is that if f (x) = g(x + 1), then f is irreducible if and only g is irreducible.
We won’t prove this theorem – we’ll leave it for when you learn about commutative rings and fraction fields at
uni. However, note that the converse is true almost by definition. So being irreducible over Z is the same thing
as being irreducible over Q.
Proposition (Upstairs-downstairs). Let P be an integer polynomial. Let P̃ be the reduction of P mod n (so P
is the same polynomial but with coefficients reduced mod n) . If P̃ is irreducible mod n, then P is irreducible
over Z.
The ‘upstairs-downstairs’ name comes from working ‘downstairs’ mod n giving you a result about P ‘upstairs’
(over Z). Sometimes you’ll have to go back and forth upstairs and back downstairs.
Lemma (Eisenstein’s criterion). Let P (x) = an xn + · · · + a1 x1 + a0 be an integer polynomial. Let p be a prime
such that p | a0 , a1 , . . . , an−1 , p - an , p2 - a0 . Then P is irreducible over Z.
3
6 Warmups
1. Ross and Hadyn play the following game. Ross thinks of an integer polynomial p with non-negative
coefficients. Hadyn thinks of an integer a, and Ross tells him p(a). Then Hadyn thinks of another integer
b, and Ross tells him p(b). If Hadyn correctly guesses Ross’ polynomial, Ross agrees to play Keep Talking
and Nobody Explodes with the seniors in the evening. Hadyn thinks this would be hilarious. Can he devise
a winning strategy?
2. Find all polynomials P with real coefficients such that P ((x + 1)3 ) = (P (x) + 1)3 and P (0) = 0.
3. The polynomial P has integer coefficients and P (x) = 5 for five different integers x. Show that there is
no integer x such that −6 ≤ P (x) ≤ 4 or 6 ≤ P (x) ≤ 16.
4. (USAMO 1974) Let a, b, c be three distinct integers, and let P be a polynomial with integer coefficients.
Show that P (a) = b, P (b) = c, P (c) = a cannot be satisfied simultaneously.
5. (Vietnam MO 1986) The polynomial p(x) has degree n and p(1) = 2, p(2) = 4, p(3) = 8, . . . , p(n + 1) =
2n+1 . Find p(n + 2).
6. Suppose f is a non-zero polynomial with exactly r non-zero real roots, counting multiplicity. Show that
f has at least 2r + 1 non-zero coefficients.
7. Show that Φp (x) = xp−1 + · · · + x + 1 is irreducible over Q. (No using facts about cyclotomic polys!)
8. Find all polynomials P (x) that satisfy P (x2 ) = P (x)2 .
9. If a1 , a2 , a3 , . . . , an are distinct integers, prove that the polynomial P (x) = (x − a1 )(x − a2 ) . . . (x − an ) − 1
is irreducible.
10. (A useful lemma!) Let n > 0 and p(x) a polynomial of degree d < n. Show that
n
i n
X
(−1) p(i) = 0.
i=0
i
7 Problems
k
11. (USAMO 1975) If P (x) denotes a polynomial of degree n such that P (k) = k+1 for k = 0, 1, 2, . . . , n,
determine P (n + 1).
12. (ISL 1997) Let p be a prime number and f an integer polynomial of degree d such that f (0) = 0, f (1) = 1
and f (n) is congruent to 0 or 1 modulo p for every integer n. Prove that d ≥ p − 1.
13. A function f : R2 → R is such that fixing any coordinate gives a polynomial – that is, for each a ∈ R,
the functions ga (x) := f (x, a) and ha (y) := f (a, y) are polynomials. Is it necessarily the case that f is a
2-variable polynomial?
14. (BaMO SL 2020) Let P (x), Q(x) be distinct polynomials of degree 2020 with non-zero coefficients. Suppose
that they have r common real roots counting multiplicity and s common coefficients. Find the maximum
value of r + s.
15. Determine all polynomials p(x) with real coefficients such that
p(x)p(x + 1) = p(x2 )
18. Suppose polynomials p,q satisfy p(q(x)) = q(p(x)) for all x. Prove that if the equation p(x) = q(x) has no
real roots, then neither will p(p(x)) = q(q(x)).
4
19. (ISL 2017 A1) Let a1 , a2 , . . . an , k, and M be positive integers such that
1 1 1
+ + ··· + =k and a1 a2 · · · an = M.
a1 a2 an
If M > 1, prove that the polynomial
is written on the board, with 2016 linear factors on each side. What is the least possible value of k for
which it is possible to erase exactly k of these 4032 linear factors so that at least one factor remains on
each side and the resulting equation has no real solutions?
24. (ISL 2019 A5) Let x1 , x2 , . . . , xn be different real numbers. Prove that
X Y 1 − xi xj
0, if n is even;
=
xi − xj 1, if n is odd.
16i6n j6=i
25. Let P (x) be a given non-constant polynomial with complex coefficients, and let Q(x, y) = P (x) − P (y).
Assume that Q(x, y) has exactly k linear factors. Let R(x, y) be a nonconstant factor of Q(x, y) whose
degree is less than k. Prove that R(x, y) is a product of linear polynomials with complex coefficients.
26. (ISL 2019 A6) A polynomial P (x, y, z) in three variables with real coefficients satisfies the identities