Proof-Level Algebra
AM–GM (with equality iff all equal: ), Cauchy–Schwarz and its Engel form , rearrangement, Chebyshev, Jensen for convex functions, Schur, and the SOS (sum of squares) method. Always locate the equality case first; it tells you which inequality to apply and where to apply it.
Substitute strategically (, , ), look for injectivity or surjectivity, and guess the form ( suggests ). Cauchy's equation has only linear solutions under any regularity (monotone, bounded, continuous). Always verify the found function satisfies the original equation.
Integer polynomials: . Roots of unity filter and symmetric-function bookkeeping ( for without touching the roots). Irreducibility via Eisenstein or reduction mod . Degree and leading-coefficient comparison to pin down polynomial identities.
Integer Polynomials:
If has integer coefficients and are integers, then . Consequences used constantly:
- an integer root of satisfies for every integer (take : );
- depends only on ;
- along an orbit each difference divides the next: .
Write . Then , and each is a multiple of ; with integer so is the sum. The three consequences are the lemma with , with , and with . Integer coefficients are essential, not integer values — the sidenote below shows the difference. The lemma turns a question about an unknown polynomial into divisibility among finitely many known numbers, which is why it opens most olympiad problems about .
has integer coefficients, and and are both odd. Prove that has no integer root. (folklore)
Step 1 — every integer is congruent mod to or to ; call that number .
Step 2 — by the lemma, divides , and is even, so .
Step 3 — is or , both odd, so is odd and in particular not .
How to find it. Information about at a complete set of residues mod controls at every integer. Two values, at and , form a complete residue system mod .
Let be three distinct integers. Prove there is no polynomial with integer coefficients such that , and . (USAMO 1974/1)
Step 1 — apply the lemma to the three pairs: , then , then .
Step 2 — all three differences are nonzero, and a nonzero number divides another nonzero number only if it is not larger in absolute value, so . All three absolute values equal some .
Step 3 — but , a sum of three terms each equal to or . Such a sum is an odd multiple of , never . Contradiction.
How to find it. A polynomial that permutes a few integers produces a closed loop of differences, each dividing the next. Going round the loop forces equal sizes, and the signs cannot then add to zero.
Let be a polynomial of degree with integer coefficients, a positive integer, and ( times). Prove that there are at most integers with . (IMO 2006/5)
Step 1 — reduce to . Let and follow the orbit , , which returns to after steps. Put . By the lemma , so all are equal, say to . If , is a fixed point of . If , the are and add up to around the loop, so two consecutive ones have opposite signs: , i.e. . Then , and applying repeatedly shows every point of the orbit, included, satisfies .
Step 2 — so it suffices to count integer solutions of . If all of them are fixed points of , they are roots of , which has degree : at most of them.
Step 3 — otherwise pick with and . Let be any integer solution and , so . The lemma gives and , so ; likewise . If both signs are , then and , forcing . So one sign is , and either way .
Step 4 — hence every integer solution is a root of , a polynomial of degree (since ), so there are at most of them.
How to find it. Iterating on integers is a walk along an orbit, and the difference lemma links consecutive steps. Divisibility round a closed loop forces equal step sizes — the same mechanism as in USAMO 1974/1 — and then the problem collapses to period , where the pair supplies a second polynomial of degree .
Tempting: " takes integer values at every integer, so ." Counterexample: is an integer at every integer, yet is not divisible by .
The proof of the lemma used integer coefficients ; has coefficients and . Integer-valued polynomials are exactly the integer combinations of the binomial polynomials , and for them only the weaker statement holds that times the leading coefficient is an integer. So when a problem says " is an integer for all integers ", do not use ; expand in the basis or use finite differences instead.
has integer coefficients and for four distinct integers . Prove that for every integer . (classic)
Show the answerHide the answer
has the four roots , so with having integer coefficients (divide by the monic factors one at a time). If , then . The four numbers are distinct nonzero integers dividing , so they lie in and are exactly these four; their product is , which does not divide . Contradiction.
Roots of Unity: Filters and Factor Tests
Let . Then
Hence for , the sum of the coefficients with is . Also: a polynomial with real coefficients is divisible by exactly when it vanishes at .
If every term is . Otherwise and the sum is the geometric series , because . Summing over and swapping the order of summation keeps exactly copies of each with and kills the rest. For the divisibility test: , and a real polynomial with also has , so both linear factors divide it. The filter trades a sum over an arithmetic progression of indices for a handful of evaluations, which is how one counts objects whose size or sum lies in a residue class.
Compute without adding them up.
Step 1 — filter with : the sum is .
Step 2 — since , , a unit complex number at (the figure). So , and likewise .
Step 3 — the sum is . Check: .
How to find it. "Every third coefficient" is a residue class of indices — the filter's job. The key computation is always the polar form of .
Find all positive integers for which divides . (folklore)
Step 1 — by the test, it suffices to evaluate at , where , so depends only on .
Step 2 — if : , so no.
Step 3 — if : is or , and is the other one, so the value is — yes. The answer is all not divisible by .
How to find it. Divisibility by a product of cyclotomic factors is a question about the values at their roots, and at a root of unity only sees modulo the order.
How many subsets of (including the empty set) have a sum divisible by ? (classic; compare IMO 1995/6)
Step 1 — the generating function has, as coefficient of , the number of subsets with sum . The answer is the sum of the coefficients with , which the filter gives as with .
Step 2 — .
Step 3 — for , is a primitive fifth root, and as runs through the powers run through all five fifth roots of unity times each, so .
Step 4 — from at : , so and .
Step 5 — the count is
How to find it. "Sum divisible by " is a residue class of exponents in a product generating function. Evaluating the product at roots of unity needs one identity, , evaluated at a convenient point.
Tempting: " is divisible by (the case above), so to test divisibility by it is enough to check ." Counterexample: vanishes at but is not divisible by .
The failing step is treating as if its roots were only and . In fact , and the second factor has the primitive sixth roots as roots. A polynomial is divisible by exactly when it vanishes at every root of (with multiplicity), so factor into cyclotomic pieces and test one root of each piece.
Compute with the roots of unity filter.
Show the answerHide the answer
Filter with the fourth roots of unity : the sum is . Since , and ; similarly . The sum is . Check: .