Everything the Putnam Tests

Study Sheet

Everything the Putnam Tests

The complete map of the exam, and where each piece lives in this course

The Syllabus, Honestly

Concept
What the exam is

Twelve problems, two three-hour sessions of six, each scored 00–1010. The median score is usually 00 or 11; a 2020 typically ranks in the top few hundred nationwide.

Almost all scores on a problem are 00, 11, 99, or 1010 — graders reward COMPLETE, rigorous solutions and give almost nothing for partial ideas. A-1 and B-1 are accessible to anyone who has finished this course; A-6 and B-6 are research-adjacent. The winning strategy is not to attempt everything: it is to find the two or three problems you can finish, write them so cleanly that a skeptical grader cannot object, and treat the rest as bonus.

Concept
The six pools

ANALYSIS · LINEAR ALGEBRA · ALGEBRA & POLYNOMIALS · NUMBER THEORY · COMBINATORICS & PROBABILITY · GEOMETRY. Every exam samples all six.

Analysis: sequences and series, limits as Riemann sums or derivatives, the intermediate and mean value theorems, Taylor with remainder, and — the Putnam signature — definite integrals with no antiderivative. Linear algebra: structured determinants, eigenvalues and traces, rank, Cayley–Hamilton, matrices over finite fields. Algebra and polynomials: Vieta and Newton, roots of unity, interpolation, functional equations, the definitions of groups and rings. Number theory: orders, valuations, quadratic residues, Diophantine equations, divisor sums. Combinatorics and probability: bijections, generating functions, recurrences, inclusion–exclusion, expectation by indicators, random walks. Geometry: convexity, lattice points, complex numbers, vectors.

Concept
The map of this course

Topics 2–4 are the integrals. Topics 5–9 are the rest of analysis: series, sequences, limits, differential equations, inequalities. Topics 10–11 are linear algebra; 12–17 polynomials, number theory, combinatorics, probability, abstract algebra and functional equations; 18 is multivariable calculus. Topics 19–21 are the proof techniques, 22 is how to take the exam, and 23 collects the formulas.

Every unit ends with a practice pool of hand-verified Putnam-level problems; the integral units share the non-elementary pool with the Calculus course. The Linear Algebra and Multivariable courses on this site are the prerequisites this course assumes.

Side note
How to use this course

Read a topic, then do its practice pool with a timer — forty minutes per problem, the exam pace. Write full solutions on paper even for numeric answers: the Putnam grades proofs, and the habit of justifying every step is the skill being trained here. Return to the Proofs sections until you can reproduce each argument from memory.

Reading the Problem: What the Question Commits You To

Tip
The words of the question are a contract

"Find all" means: every answer you list works, AND nothing else does. "Determine whether" means: commit to yes or no and prove it. "Prove there exists" means: construct, or trap (IVT, pigeonhole). "Find the value" means: the number and a proof that it is right. "For all nn" means: including the small nn.

Reminder — The Intermediate Value Theorem:  f continuous on [a,b], f(a)<k<f(b) ⟹ f(c)=k for some c∈(a,b)f \text{ continuous on } [a,b],\ f(a)<k<f(b) \ \Longrightarrow\ f(c)=k \text{ for some } c\in(a,b)

Most lost points on the easier problems are not wrong ideas but unfinished contracts. A "find all" answer that verifies the solutions but never excludes others proves half the statement, and graders score half a proof close to zero. The first minute on a problem is well spent rewriting the question as the two or three statements you must prove, each of which will become a paragraph of the write-up.

Example
Worked: an exponential equation (folklore, A1 level)
xy−11212y = (2/5)ˣ + (3/5)ˣ
Dividing by 5ˣ turns the equation into (2/5)ˣ + (3/5)ˣ = 1; the left side is strictly decreasing, so it meets 1 exactly once, at x = 1.

Find all real xx with 2x+3x=5x2^x + 3^x = 5^x.

The contract: show that the listed values solve the equation, and that no other real xx does.

Step 1 — x=1x = 1 works: 2+3=52 + 3 = 5.

Step 2 — divide by 5x>05^x > 0: the equation is equivalent to g(x)=(25)x+(35)x=1g(x) = \left(\tfrac25\right)^x + \left(\tfrac35\right)^x = 1.

Step 3 — each term is an exponential with base less than 11, hence strictly decreasing, so gg is strictly decreasing and takes the value 11 at most once.

Step 4 — so x=1x = 1 is the only solution. ■\blacksquare

How to find it. Guessing x=1x = 1 takes a second; the work is the uniqueness half, and dividing by the largest term is the standard way to turn a sum of exponentials into something monotone.

Example
Worked: a square root of negation? (folklore)

Determine whether there is a continuous function f:R→Rf:\mathbb R \to \mathbb R with f(f(x))=−xf(f(x)) = -x for every real xx.

The contract: answer yes or no, and prove it. The answer is no.

Step 1 — ff is injective: if f(a)=f(b)f(a) = f(b) then −a=f(f(a))=f(f(b))=−b-a = f(f(a)) = f(f(b)) = -b.

Step 2 — a continuous injective function on an interval is strictly monotone (if it went up and then down, the IVT would give two points with the same value).

Step 3 — if ff is increasing, f∘ff \circ f is increasing; if ff is decreasing, f∘ff \circ f is increasing too (two reversals). Either way f(f(x))f(f(x)) is increasing, but −x-x is decreasing: contradiction. ■\blacksquare The hypothesis "continuous" is essential: without it such ff exist, e.g. f(0)=0f(0) = 0, f(x)=x+1f(x) = x + 1 on each (2k,2k+1](2k, 2k + 1] and f(x)=−(x−1)f(x) = -(x - 1) on each (2k+1,2k+2](2k + 1, 2k + 2] for k≥0k \ge 0, and f(x)=−f(−x)f(x) = -f(-x) for x<0x < 0.

How to find it. Try to build one and watch where it fails: ff must permute the reals in cycles x→f(x)→−x→−f(x)→xx \to f(x) \to -x \to -f(x) \to x of length 44, and a continuous map cannot do that because it cannot reverse the order of the line an odd number of times in two steps.

Example
Worked: a functional equation that forces a constant (folklore, B1 level)

Find all continuous f:R→Rf:\mathbb R\to\mathbb R with f(x)=f(x2)f(x) = f(x^2) for every real xx.

The contract: show the constants work, and that nothing else does. Constants clearly satisfy the equation.

Step 1 — ff is even: f(−x)=f(x2)=f(x)f(-x) = f(x^2) = f(x).

Step 2 — for x>0x > 0, apply the equation to x,x4,…\sqrt x, \sqrt[4]x, \ldots: f(x)=f ⁣(x1/2)=f ⁣(x1/4)=⋯=f ⁣(x1/2n)f(x) = f\!\left(x^{1/2}\right) = f\!\left(x^{1/4}\right) = \cdots = f\!\left(x^{1/2^n}\right) for every nn. Since x1/2n→1x^{1/2^n} \to 1 and ff is continuous at 11, f(x)=lim⁡nf ⁣(x1/2n)=f(1)f(x) = \lim_n f\!\left(x^{1/2^n}\right) = f(1).

Step 3 — by evenness f(x)=f(1)f(x) = f(1) for x<0x < 0, and by continuity at 00, f(0)=lim⁡x→0+f(x)=f(1)f(0) = \lim_{x\to0^+}f(x) = f(1). So ff is constant. ■\blacksquare

How to find it. The equation links xx to x2x^2, so iterate it in the direction that CONVERGES: squaring sends points toward 00 or ∞\infty, but square roots send every positive number toward 11, where continuity can be applied.

Side note
Where it goes wrong

"2x+3x=5x2^x + 3^x = 5^x: try x=1x = 1: 2+3=52 + 3 = 5. Answer: x=1x = 1." This is the most common way to score 11 out of 1010 on an easy problem. The answer is right and the solution proves only that 11 IS a solution, not that it is the only one — the "all" in "find all" is the part being tested. The missing half is the monotonicity of (25)x+(35)x\left(\tfrac25\right)^x + \left(\tfrac35\right)^x, one sentence.

Try it
Try it: count every solution

Find all real xx with x2=2xx^2 = 2^x.

Show the answer

There are exactly three: x=2x = 2, x=4x = 4, and one negative solution. For x<0x < 0: h(x)=x2−2xh(x) = x^2 - 2^x has h′(x)=2x−2xln⁡2<0h'(x) = 2x - 2^x\ln2 < 0, so hh decreases strictly from +∞+\infty to h(0)=−1h(0) = -1 and has exactly one root in (−1,0)(-1, 0) (h(−1)=12>0h(-1) = \tfrac12 > 0), numerically x≈−0.767x \approx -0.767. For x>0x > 0: the equation is equivalent to ln⁡xx=ln⁡22\tfrac{\ln x}{x} = \tfrac{\ln 2}{2}, and ln⁡xx\tfrac{\ln x}{x} increases on (0,e)(0, e) and decreases on (e,∞)(e, \infty), so it takes each value at most twice; x=2x = 2 and x=4x = 4 are those two. x=0x = 0 fails (0≠10 \ne 1).

One Problem From Each Pool

Concept
The first move in each pool

Linear algebra: row operations before any formula. Probability: indicators and linearity. Number theory: a product or recurrence that exposes common factors. Each A1/B1 problem is one standard first move plus a careful finish.

The six pools share almost nothing in content, but each has a small number of opening moves that crack its accessible problems. The three problems below are A1/B1-level representatives; notice that in each, the first move is routine and the solution's length is spent on the finish — the part a grader actually reads.

Example
Linear algebra: the matrix ∣i−j∣|i - j| (folklore)

Find the determinant of the n×nn\times n matrix AA with entries aij=∣i−j∣a_{ij} = |i - j|, for n≥2n \ge 2.

Step 1 — row operations. For i=1,…,n−1i = 1, \ldots, n - 1 replace row ii by (row ii) −- (row i+1i + 1), using the ORIGINAL rows (do it from the top down). The new row ii has entries ∣i−j∣−∣i+1−j∣|i - j| - |i + 1 - j|, which is −1-1 for j≤ij \le i and +1+1 for j≥i+1j \ge i + 1. The last row stays (n−1,n−2,…,1,0)(n - 1, n - 2, \ldots, 1, 0). The determinant is unchanged.

Step 2 — column operations: add the last column to each of the others. In rows 1,…,n−11, \ldots, n - 1 the last entry is +1+1, so the entries become 00 for j≤ij \le i and 22 for i<j<ni < j < n, with 11 in the last column; the last row, whose last entry is 00, is unchanged.

Step 3 — the first column is now zero except for the entry n−1n - 1 at the bottom. Expanding along it gives (−1)n+1(n−1)(-1)^{n+1}(n - 1) times the minor on rows 1,…,n−11, \ldots, n - 1 and columns 2,…,n2, \ldots, n, which is upper triangular with diagonal 2,2,…,2,12, 2, \ldots, 2, 1 (n−2n - 2 twos).

Step 4 — det⁡A=(−1)n−1(n−1)2n−2\det A = (-1)^{n-1}(n - 1)2^{n-2}. Check: n=2n = 2 gives det⁡(0110)=−1\det\begin{pmatrix}0&1\\1&0\end{pmatrix} = -1, and n=3n = 3 gives 44.

How to find it. Entries depending on ∣i−j∣|i - j| change by ±1\pm1 from one row to the next, so differences of adjacent rows are made of ±1\pm1 — far simpler than the rows themselves. That is the row-operation reflex from the determinants topic.

Example
Probability: fixed points, squared (folklore)
0918263041fixed points of a permutation of 4 letters
The 24 permutations of 4 letters by number of fixed points: 9, 8, 6, 0, 1. The mean is 24/24 = 1 and the mean square 48/24 = 2.

Let XX be the number of fixed points of a uniformly random permutation of {1,…,n}\{1, \ldots, n\}, n≥2n \ge 2. Find E[X]E[X] and E[X2]E[X^2].

Step 1 — write X=∑iIiX = \sum_iI_i, where IiI_i is 11 if ii is fixed. Each E[Ii]=1nE[I_i] = \tfrac1n, so E[X]=1E[X] = 1 by linearity.

Step 2 — square the sum: X2=∑iIi2+∑i≠jIiIj=X+∑i≠jIiIjX^2 = \sum_iI_i^2 + \sum_{i\ne j}I_iI_j = X + \sum_{i\ne j}I_iI_j, using Ii2=IiI_i^2 = I_i.

Step 3 — for i≠ji \ne j, E[IiIj]=P(i and j fixed)=(n−2)!n!=1n(n−1)E[I_iI_j] = P(i \text{ and } j \text{ fixed}) = \tfrac{(n-2)!}{n!} = \tfrac{1}{n(n-1)}, and there are n(n−1)n(n - 1) ordered pairs, so E[∑i≠jIiIj]=1E\left[\sum_{i\ne j}I_iI_j\right] = 1.

Step 4 — E[X2]=1+1=2E[X^2] = 1 + 1 = 2, and the variance is 2−12=12 - 1^2 = 1, for every n≥2n \ge 2. The case n=4n = 4 in the figure confirms both numbers.

How to find it. Linearity handles E[X]E[X]; for E[X2]E[X^2], expand the square of the indicator sum into pairs. Pairs of indicators are the standard second move, and they turn a variance into a count of pairs.

Example
Number theory: Fermat numbers are coprime (Pólya)

Let Fm=22m+1F_m = 2^{2^m} + 1. Show that FmF_m and FnF_n are coprime for m≠nm \ne n, and deduce that there are infinitely many primes.

Step 1 — claim: F0F1⋯Fn−1=Fn−2F_0F_1\cdots F_{n-1} = F_n - 2. For n=1n = 1: F0=3=5−2F_0 = 3 = 5 - 2. Inductively, (Fn−2)Fn=(22n−1)(22n+1)=22n+1−1=Fn+1−2(F_n - 2)F_n = \left(2^{2^n} - 1\right)\left(2^{2^n} + 1\right) = 2^{2^{n+1}} - 1 = F_{n+1} - 2.

Step 2 — for m<nm < n, any common divisor dd of FmF_m and FnF_n divides the product F0⋯Fn−1F_0\cdots F_{n-1} (which contains FmF_m) and FnF_n, hence divides their difference 22. The FF's are odd, so d=1d = 1.

Step 3 — each FnF_n has a prime factor, and by Step 2 these prime factors are all different: infinitely many primes. ■\blacksquare

How to find it. Coprimality questions ask for a relation that expresses one number in terms of the others plus a small constant. Products of Fermat numbers telescope through (a−1)(a+1)=a2−1(a - 1)(a + 1) = a^2 - 1, which is the relation.

Side note
Where it goes wrong

"A=[∣i−j∣]A = [|i - j|] is symmetric with zeros on the diagonal, so its determinant is 00." That rule belongs to SKEW-symmetric matrices of odd size (AT=−AA^{\mathsf T} = -A gives det⁡A=(−1)ndet⁡A\det A = (-1)^n\det A), not to symmetric ones. For n=3n = 3, det⁡(012101210)=4\det\begin{pmatrix}0&1&2\\1&0&1\\2&1&0\end{pmatrix} = 4. Quoting a theorem with the wrong hypothesis is worse than quoting none: it produces a confident wrong answer.

Try it
Try it: expected 22-cycles

What is the expected number of 22-cycles (transpositions i↔ji \leftrightarrow j) in a uniformly random permutation of {1,…,n}\{1, \ldots, n\}, n≥2n \ge 2?

Show the answer

Use an indicator for each unordered pair {i,j}\{i, j\}: it is 11 when σ(i)=j\sigma(i) = j and σ(j)=i\sigma(j) = i, which happens for (n−2)!(n - 2)! of the n!n! permutations, probability 1n(n−1)\tfrac{1}{n(n-1)}. There are (n2)=n(n−1)2\binom n2 = \tfrac{n(n-1)}{2} pairs, so the expectation is 12\tfrac12 for every n≥2n \ge 2.