STEP practice · 8 questions · Free
STEP 2 Mock Paper 1
Every question carries a worked solution behind a disclosure, so you commit to an answer before you see the key.
[01] Algebra and inequalities · Pure · 20 marks
Merging two fractions into one
This is a proof question, so there is no answer key a computer can check. Everything below is asserted by the author and re-derived independently, not machine-verified.
Difficulty 10 of 18: STEP 2 core. Scored against a published rubric as independent ideas 2, ladder 1, generalisation 1, unsignposted step 2, technical load 2, argument burden 2. Each axis runs 0 to 3.
Reviewer verdict: publishable, with reservations.
On difficulty. A clean and honestly written inequality question that is easier than it looks, because two of its four parts stand on their own. Parts (i) and (ii) are a genuine pair, the induction really does need the two-term merge, but part (iii) can be done in one line by AM-GM with nothing before it, and part (iv) uses part (ii) rather than part (iii), so the last two parts are siblings rather than rungs. Budget your forty minutes accordingly: part (iv) carries the only decision in the question, which is how to force $\frac{a_i}{S-a_i}$ into the shape part (ii) accepts, and everything else follows once that is seen.
- Part (iii) does not need parts (i) or (ii). For each $i$, $\frac{a_i^2}{a_{i+1}}+a_{i+1} \ge 2a_i$, and summing over $i$ gives the whole part in one line with the same equality case. If you are short of time, part (iii) is 4 marks you can collect without having read anything before it, and part (iv) does not use part (iii) either, so being stuck on (iii) costs you nothing going into (iv).
- Part (iv) is where the question actually is. Nothing in the wording tells you to rewrite $\frac{a_i}{S-a_i}$, and the rewrite is the entire difficulty. Two work: $\frac{S}{S-a_i}-1$ followed by part (ii) with $p_i=1$, and $\frac{a_i^2}{a_i(S-a_i)}$ followed by part (ii) twice. One does not: putting $\sqrt{a_i}$ in the numerator gives a bound that provably cannot close, since part (ii) with unit weights sends $\left(\sum \sqrt{a_i}\right)^2$ the wrong way.
- The published mark scheme for part (iv) is written around the longer of the two working routes. If you take the shorter one, which is the one both independent solvers took, you will have proved exactly what was asked and will match only two of the seven results the scheme names. Read the scheme for part (iv) as one worked route rather than as a list of things your answer must contain.
- Part (i) asks you to determine the values of $p$, $q$, $x$ and $y$ for which equality holds, but the answer is a single relation, $py=qx$, with $x$ and $y$ otherwise free. Both solvers lost time on this wording. Parts (iii) and (iv) use the clearer phrasing, determine precisely when equality holds, and part (i) means the same thing.
In this question $n$ denotes an integer with $n \ge 2$.
(i) [4 marks]
Let $x$ and $y$ be positive real numbers and let $p$ and $q$ be real numbers. Find, in its simplest form, a single expression for $$\frac{p^2}{x}+\frac{q^2}{y}-\frac{(p+q)^2}{x+y},$$ and hence show that $$\frac{p^2}{x}+\frac{q^2}{y}\ \ge\ \frac{(p+q)^2}{x+y}.$$ Determine precisely the values of $p$, $q$, $x$ and $y$ for which equality holds.
Method family: Classical inequalities and equality cases
(ii) [6 marks]
Let $p_1,p_2,\dots,p_n$ be real numbers and let $x_1,x_2,\dots,x_n$ be positive real numbers. Prove by induction on $n$ that $$\frac{p_1^2}{x_1}+\frac{p_2^2}{x_2}+\cdots+\frac{p_n^2}{x_n}\ \ge\ \frac{(p_1+p_2+\cdots+p_n)^2}{x_1+x_2+\cdots+x_n},$$ and that equality holds if and only if $$\frac{p_1}{x_1}=\frac{p_2}{x_2}=\cdots=\frac{p_n}{x_n}.$$
Method family: Induction, Classical inequalities and equality cases
(iii) [4 marks]
Let $a_1,a_2,\dots,a_n$ be positive real numbers, and let $a_{n+1}$ denote $a_1$. Show that $$\frac{a_1^2}{a_2}+\frac{a_2^2}{a_3}+\cdots+\frac{a_n^2}{a_{n+1}}\ \ge\ a_1+a_2+\cdots+a_n,$$ and determine precisely when equality holds.
Method family: Classical inequalities and equality cases
(iv) [6 marks]
Let $a_1,a_2,\dots,a_n$ be positive real numbers and write $S=a_1+a_2+\cdots+a_n$. Show that $$\frac{a_1}{S-a_1}+\frac{a_2}{S-a_2}+\cdots+\frac{a_n}{S-a_n}\ \ge\ \frac{n}{n-1},$$ and determine precisely when equality holds.
Method family: Classical inequalities and equality cases
Reveal the mark scheme and the full solution. Attempt every part first.
What each part establishes
- (i) $\dfrac{p^2}{x}+\dfrac{q^2}{y}-\dfrac{(p+q)^2}{x+y}=\dfrac{(py-qx)^2}{xy(x+y)}$ for all real $p$, $q$ and all positive $x$, $y$. Since $xy(x+y) \gt 0$ this is non-negative, so $\dfrac{p^2}{x}+\dfrac{q^2}{y} \ge \dfrac{(p+q)^2}{x+y}$, with equality if and only if $py=qx$, equivalently $\dfrac{p}{x}=\dfrac{q}{y}$.
- (ii) Proved by induction on $n$, based at $n=2$: for every integer $n \ge 2$, all real $p_1,\dots,p_n$ and all positive $x_1,\dots,x_n$, $\displaystyle\sum_{i=1}^{n}\frac{p_i^2}{x_i} \ge \frac{(p_1+\cdots+p_n)^2}{x_1+\cdots+x_n}$, with equality if and only if $\dfrac{p_1}{x_1}=\dfrac{p_2}{x_2}=\cdots=\dfrac{p_n}{x_n}$.
- (iii) Proved: for all positive $a_1,\dots,a_n$ with $a_{n+1}=a_1$, $\displaystyle\sum_{i=1}^{n}\frac{a_i^2}{a_{i+1}} \ge a_1+\cdots+a_n$, with equality if and only if $a_1=a_2=\cdots=a_n$.
- (iv) Proved: for all positive $a_1,\dots,a_n$ with $S=a_1+\cdots+a_n$, $\displaystyle\sum_{i=1}^{n}\frac{a_i}{S-a_i} \ge \frac{n}{n-1}$, with equality if and only if $a_1=a_2=\cdots=a_n$. For $n=3$ this is the statement that $\dfrac{a}{b+c}+\dfrac{b}{c+a}+\dfrac{c}{a+b} \ge \dfrac{3}{2}$.
Mark scheme
The results a solution has to reach. Mark your own attempt against these rather than against the wording of the model solution: three correct write-ups of one proposition read as three different answers, which is exactly why comparing prose is useless here.
(i) [4 marks]
- The identity $\dfrac{p^2}{x}+\dfrac{q^2}{y}-\dfrac{(p+q)^2}{x+y}=\dfrac{(py-qx)^2}{xy(x+y)}$, valid for all real $p$ and $q$ and all positive $x$ and $y$.
- $xy(x+y) \gt 0$ and $(py-qx)^2 \ge 0$, hence $\dfrac{p^2}{x}+\dfrac{q^2}{y} \ge \dfrac{(p+q)^2}{x+y}$.
- Equality holds if and only if $py=qx$, equivalently $\dfrac{p}{x}=\dfrac{q}{y}$, and both directions are established.
- 2 marks: Combining the three fractions over $xy(x+y)$ and simplifying the numerator to $(py-qx)^2$ or to an equivalent perfect square. One of these two marks is for the correct expansion; the other is for recognising the numerator as a square rather than leaving it as $p^2y^2-2pqxy+q^2x^2$.
- 1 marks: Deducing the inequality, with the positivity of the denominator stated. A solution that multiplies through by $xy(x+y)$ instead earns this mark only if it says that this quantity is positive.
- 1 marks: The equality condition $py=qx$, argued in both directions: that $py=qx$ gives equality, and that equality forces $py=qx$ because the denominator cannot vanish.
- No credit: Multiplying the inequality through by $xy(x+y)$ without stating that this quantity is positive. The direction of the resulting inequality is then unjustified, and this is the standard way to lose the deduction mark.
- No credit: Quoting the Cauchy-Schwarz inequality, or naming this result as a known lemma, in place of a proof. The question asks for the difference in its simplest form, so the algebra is the required work.
- No credit: Verifying the inequality at particular values of $p,q,x,y$, or arguing from a sketch. Neither establishes a statement quantified over all real $p$ and $q$.
(ii) [6 marks]
- A stated proposition $S(n)$ quantified over all real $p_1,\dots,p_n$ and all positive $x_1,\dots,x_n$, carrying the equality criterion as part of the statement.
- The base case: $S(2)$ is part (i).
- The inductive step inequality $\sum_{i=1}^{n+1}\frac{p_i^2}{x_i} \ge \frac{P_n^2}{X_n}+\frac{p_{n+1}^2}{x_{n+1}} \ge \frac{P_{n+1}^2}{X_{n+1}}$, with the first inequality attributed to $S(n)$ and the second to part (i) applied with $p=P_n$, $q=p_{n+1}$, $x=X_n$, $y=x_{n+1}$, and with $X_n \gt 0$ noted.
- Equality in $S(n+1)$ holds if and only if it holds at both inequalities of the chain.
- If $\frac{p_1}{x_1}=\cdots=\frac{p_{n+1}}{x_{n+1}}=k$ then $P_n=kX_n$, so both inequalities are equalities.
- Conversely, equality forces $\frac{p_1}{x_1}=\cdots=\frac{p_n}{x_n}=k$ by $S(n)$, hence $\frac{P_n}{X_n}=k$, and then part (i) forces $\frac{p_{n+1}}{x_{n+1}}=\frac{P_n}{X_n}=k$.
- 1 marks: A correctly stated proposition, quantified over all admissible lists of length $n$ and including the equality clause, together with the base case identified as part (i).
- 2 marks: The two-step chain of the inductive step, with each inequality attributed to the result that justifies it and with the positivity of $X_n$ stated where part (i) is invoked.
- 1 marks: The direction: equal ratios imply equality. The mark requires the intermediate observation $P_n=kX_n$, not just an assertion.
- 2 marks: The converse direction: equality implies equal ratios. One mark for using the equality clause of the inductive hypothesis to get the first $n$ ratios equal, one for the deduction $\frac{p_{n+1}}{x_{n+1}}=\frac{P_n}{X_n}=k$ from the equality case of part (i).
- No credit: Proving the inequality and asserting the equality criterion. The criterion carries half the marks in this part, and the converse direction is the half that is not routine.
- No credit: An inductive hypothesis stated for one fixed list of $n$ numbers. The step applies the hypothesis to the first $n$ entries of a longer list, so the hypothesis has to be quantified over all lists of that length.
- No credit: An inductive step written as a chain of equivalences starting from the statement to be proved and ending at something true, with no remark that the steps are reversible.
- No credit: Omitting the base case, or checking it at $n=1$ while claiming the equality criterion holds there in the stated form: with one term the chain of ratios has a single entry and asserts nothing.
(iii) [4 marks]
- The choice $p_i=a_i$, $x_i=a_{i+1}$ with $a_{n+1}=a_1$, and the observation that $x_1+\cdots+x_n=a_1+\cdots+a_n$ because the denominators are a rearrangement of the numerators' bases.
- Part (ii) then gives $\sum_{i=1}^{n}\frac{a_i^2}{a_{i+1}} \ge \frac{(a_1+\cdots+a_n)^2}{a_1+\cdots+a_n}=a_1+\cdots+a_n$.
- Equality holds if and only if $\frac{a_1}{a_2}=\frac{a_2}{a_3}=\cdots=\frac{a_n}{a_1}$.
- Writing that common value as $k$, the product of the $n$ equal fractions is $1$, so $k^n=1$; since $k \gt 0$ this gives $k=1$ and hence $a_1=\cdots=a_n$. The converse is checked.
- 1 marks: Choosing the cyclic weights and stating why the sum of the denominators equals the sum of the $a_i$.
- 1 marks: The resulting inequality, correctly quoted from part (ii).
- 2 marks: The equality argument. One mark for reducing to the equal-ratio condition and forming the product of the $n$ ratios; one for $k^n=1$ with $k \gt 0$ giving $k=1$, and for checking the converse.
- No credit: Deducing $a_1=\cdots=a_n$ directly from the equal-ratio condition without using the ratio that closes the cycle. Equality of $\frac{a_1}{a_2},\dots,\frac{a_{n-1}}{a_n}$ alone says only that the $a_i$ form a geometric progression, which does not force them to be equal.
- No credit: Taking $k^n=1$ to give $k=1$ without noting that $k$ is positive. Over the reals with $n$ even, $k=-1$ also satisfies $k^n=1$.
- No credit: Applying part (ii) with $x_i=a_i$, which yields $a_1+\cdots+a_n$ on both sides and proves nothing about the stated sum.
(iv) [6 marks]
- $S-a_i \gt 0$ for every $i$, because $n \ge 2$ and every $a_j$ is positive.
- The construction $\frac{a_i}{S-a_i}=\frac{a_i^2}{a_i(S-a_i)}$ with $a_i(S-a_i) \gt 0$.
- $\sum_{i=1}^{n}a_i(S-a_i)=S^2-Q$ where $Q=a_1^2+\cdots+a_n^2$, and $S^2-Q \gt 0$.
- By part (ii), $\sum_{i=1}^{n}\frac{a_i}{S-a_i} \ge \frac{S^2}{S^2-Q}$.
- $Q \ge \frac{S^2}{n}$, obtained from part (ii) with $p_i=a_i$ and $x_i=1$.
- $S^2-Q \le \frac{(n-1)S^2}{n}$, both sides positive, hence $\frac{S^2}{S^2-Q} \ge \frac{n}{n-1}$.
- Equality holds if and only if $a_1=a_2=\cdots=a_n$, established in both directions.
- 2 marks: The construction that puts each term in the form (square) over (positive), and the application of part (ii) to it. One mark for the construction, one for the correct resulting bound.
- 1 marks: Evaluating $\sum_i a_i(S-a_i)$ as $S^2-Q$ and stating that this is positive.
- 2 marks: The lower bound $Q \ge \frac{S^2}{n}$ and the correctly directed deduction to $\frac{n}{n-1}$. One mark for obtaining the bound on $Q$, one for turning a lower bound on $Q$ into a lower bound on $\frac{S^2}{S^2-Q}$ with the reversal explained.
- 1 marks: Equality precisely when all the $a_i$ are equal, with both the forward deduction from the two equality criteria and the verification that equal values give $\frac{n}{n-1}$.
- No credit: Writing $\frac{a_i}{S-a_i}=\frac{(\sqrt{a_i})^2}{S-a_i}$ and applying part (ii) to reach $\frac{(\sqrt{a_1}+\cdots+\sqrt{a_n})^2}{(n-1)S}$. The step is valid but the bound is too weak to finish: closing it would need $(\sum\sqrt{a_i})^2 \ge nS$, and part (ii) with $p_i=\sqrt{a_i}$, $x_i=1$ gives the opposite inequality. Work that stops here scores nothing beyond the positivity of the denominators.
- No credit: Bounding $Q$ above rather than below. An upper bound for $Q$ gives an upper bound for $\frac{S^2}{S^2-Q}$, which is the wrong direction and settles nothing.
- No credit: Assuming $S=1$ without saying why that is permitted. The claim is homogeneous of degree $0$ in the $a_i$, so the normalisation is legitimate, but the sentence justifying it has to be there.
- No credit: Verifying the inequality only at $a_1=\cdots=a_n$ and concluding that this is the minimum.
What each part was for
- (ii) uses (i): The inductive step reduces a sum of $n+1$ fractions to a sum of two, and part (i) is what merges those two, both for the inequality and for the equality criterion. Without (i) the candidate has to prove it inside the induction, which is the whole content of (i).
- (iii) uses (ii): Without the $n$-term result the candidate would have to run the induction again for this particular sum. The equality half also consumes the criterion in (ii): it is what converts the inequality into the ratio chain that the cyclic product argument then closes.
- (iv) uses (ii): Part (ii) is used twice with different weights: once with $x_i=a_i(S-a_i)$ to produce $\frac{S^2}{S^2-Q}$, and once with $x_i=1$ to bound $Q$ below. Neither bound is available from (i) alone, since both involve all $n$ terms at once, and the equality statement uses the criterion from (ii) for each application.
(i)
The three denominators $x$, $y$ and $x+y$ are all positive, so $xy(x+y)$ is a common denominator and is positive. Putting the difference over it, $$\frac{p^2}{x}+\frac{q^2}{y}-\frac{(p+q)^2}{x+y}=\frac{p^2y(x+y)+q^2x(x+y)-(p+q)^2xy}{xy(x+y)}.$$ Expanding the numerator, $$p^2xy+p^2y^2+q^2x^2+q^2xy-(p^2+2pq+q^2)xy=p^2y^2-2pq\,xy+q^2x^2=(py-qx)^2 .$$ So, for all real $p$ and $q$ and all positive $x$ and $y$, $$\frac{p^2}{x}+\frac{q^2}{y}-\frac{(p+q)^2}{x+y}=\frac{(py-qx)^2}{xy(x+y)}. \qquad (\star)$$
Two things are worth saying about how this was obtained, because both are places where marks are lost. First, $(\star)$ is an identity: it holds whenever the denominators are non-zero, and no inequality has been used to reach it. Replace with: Second, the two hypotheses on $x$ and $y$ do different jobs and are used at different points. Forming the common denominator needs only that $x$, $y$ and $x+y$ are non-zero, which is why $(\star)$ is an identity rather than an inequality; the sign of $x$ and $y$ is used only now, to say that $xy(x+y) \gt 0$, and $(py-qx)^2 \ge 0$ because a real square is never negative, so the right-hand side of $(\star)$ is at least $0$.: since $x \gt 0$ and $y \gt 0$ we have $xy(x+y) \gt 0$, and $(py-qx)^2 \ge 0$ because a real square is never negative, so the right-hand side of $(\star)$ is at least $0$. Hence $$\frac{p^2}{x}+\frac{q^2}{y}\ \ge\ \frac{(p+q)^2}{x+y}.$$ The alternative route, multiplying the inequality through by $xy(x+y)$ from the start, reaches the same place but only if the solution states that this quantity is positive, Replace with: since multiplying an inequality by a negative quantity reverses it, so a solution that multiplies through by $xy(x+y)$ without first establishing that this quantity is positive has established neither direction..
Equality holds exactly when the right-hand side of $(\star)$ is zero, and since its denominator is positive that happens exactly when $(py-qx)^2=0$, that is exactly when $py=qx$. As $x$ and $y$ are positive this may be written $\dfrac{p}{x}=\dfrac{q}{y}$.
(ii)
Write $P_k=p_1+\cdots+p_k$ and $X_k=x_1+\cdots+x_k$. Every $X_k$ is a sum of positive numbers and so is positive, which is what allows part (i) to be applied to it later.
Let $S(n)$ be the statement: for all real numbers $p_1,\dots,p_n$ and all positive real numbers $x_1,\dots,x_n$, $$\sum_{i=1}^{n}\frac{p_i^2}{x_i}\ \ge\ \frac{P_n^2}{X_n},$$ with equality if and only if $\dfrac{p_1}{x_1}=\cdots=\dfrac{p_n}{x_n}$.
The quantifiers matter and are a choice worth making explicit: $S(n)$ is a statement about every admissible list of length $n$, not about one fixed list. The inductive step below applies $S(n)$ to the first $n$ entries of a longer list, which is a different list from the one being studied, so a proposition stated for a fixed list would not support the step.
Base case. $S(2)$ is exactly part (i), with $(p,q,x,y)=(p_1,p_2,x_1,x_2)$, and the equality condition $p_1x_2=p_2x_1$ is the same as $\dfrac{p_1}{x_1}=\dfrac{p_2}{x_2}$ because $x_1$ and $x_2$ are positive. So $S(2)$ is true.
(The induction is started at $n=2$ rather than $n=1$ deliberately. At $n=1$ the inequality is an identity and the chain of ratios has a single entry, so the equality criterion asserts nothing there.)
Inductive step. Suppose $S(n)$ holds for some $n \ge 2$. Let $p_1,\dots,p_{n+1}$ be real and $x_1,\dots,x_{n+1}$ positive. Split off the last term: this is the one free choice in the step, and it is made because part (i) merges exactly two fractions, so the sum must first be reduced to two fractions. $$\sum_{i=1}^{n+1}\frac{p_i^2}{x_i}=\left(\sum_{i=1}^{n}\frac{p_i^2}{x_i}\right)+\frac{p_{n+1}^2}{x_{n+1}}\ \overset{(1)}{\ge}\ \frac{P_n^2}{X_n}+\frac{p_{n+1}^2}{x_{n+1}}\ \overset{(2)}{\ge}\ \frac{(P_n+p_{n+1})^2}{X_n+x_{n+1}}=\frac{P_{n+1}^2}{X_{n+1}}.$$ Step (1) is $S(n)$ applied to $p_1,\dots,p_n$ and $x_1,\dots,x_n$. Step (2) is part (i) applied with $p=P_n$, $q=p_{n+1}$, $x=X_n$ and $y=x_{n+1}$; this is legitimate because $X_n \gt 0$ and $x_{n+1} \gt 0$. That proves the inequality in $S(n+1)$.
For the equality criterion, note first that in a chain $A \ge B \ge C$ the statement $A=C$ forces $A=B=C$, since $A=C$ gives $C \ge B \ge C$. Insert after the chain remark: equality at (1) says $\left(\sum_{i=1}^{n}\frac{p_i^2}{x_i}\right)+\frac{p_{n+1}^2}{x_{n+1}}=\frac{P_n^2}{X_n}+\frac{p_{n+1}^2}{x_{n+1}}$, and since $x_{n+1} \gt 0$ the common term $\frac{p_{n+1}^2}{x_{n+1}}$ is a finite real and may be subtracted from both sides, giving $\sum_{i=1}^{n}\frac{p_i^2}{x_i}=\frac{P_n^2}{X_n}$, which is exactly equality in $S(n)$.
Suppose $\dfrac{p_1}{x_1}=\cdots=\dfrac{p_{n+1}}{x_{n+1}}=k$. Then $p_i=kx_i$ for every $i$, so $P_n=kX_n$. The first $n$ ratios are equal, so $S(n)$ gives equality at (1). And $P_n\,x_{n+1}=kX_nx_{n+1}=p_{n+1}X_n$, which is the equality condition of part (i) for step (2). So equality holds throughout.
Conversely, suppose equality holds. Equality at (1) forces, by the equality criterion in $S(n)$, that $\dfrac{p_1}{x_1}=\cdots=\dfrac{p_n}{x_n}=k$ for some $k$; then $P_n=kX_n$, and since $X_n \gt 0$ this says $\dfrac{P_n}{X_n}=k$. Equality at (2) forces, by part (i), $P_n\,x_{n+1}=p_{n+1}X_n$, that is $\dfrac{p_{n+1}}{x_{n+1}}=\dfrac{P_n}{X_n}=k$. Hence all $n+1$ ratios equal $k$. This converse direction is the delicate half: it is not enough to observe that equal ratios give equality, because the criterion claims the two conditions are the same condition.
Therefore $S(n)$ implies $S(n+1)$, and since $S(2)$ holds, $S(n)$ holds for every integer $n \ge 2$ by induction.
(iii)
Part (ii) applies to any sum whose terms are a square divided by a positive number, and here the terms are already in that shape. The choice to be made is which quantities to call $p_i$ and which to call $x_i$, and the choice is guided by wanting the right-hand side of (ii) to simplify. Take $p_i=a_i$ and $x_i=a_{i+1}$ for $i=1,\dots,n$, with $a_{n+1}$ meaning $a_1$; every $x_i$ is positive. The reason this choice is the useful one is that $x_1,\dots,x_n$ is a rearrangement of $a_1,\dots,a_n$, so $$x_1+\cdots+x_n=a_2+a_3+\cdots+a_n+a_1=a_1+a_2+\cdots+a_n=p_1+\cdots+p_n .$$ Part (ii) therefore gives $$\sum_{i=1}^{n}\frac{a_i^2}{a_{i+1}}\ \ge\ \frac{(a_1+\cdots+a_n)^2}{a_1+\cdots+a_n}=a_1+a_2+\cdots+a_n,$$ the cancellation being legitimate because $a_1+\cdots+a_n \gt 0$.
By the equality criterion in (ii), equality holds if and only if $$\frac{a_1}{a_2}=\frac{a_2}{a_3}=\cdots=\frac{a_n}{a_1}.$$ Call this common value $k$; it is positive, being a quotient of positive numbers. It is tempting to say at once that all the $a_i$ are equal, but that does not follow from the ratios being equal: a geometric progression $a_i=a_1t^{\,i-1}$ makes $\dfrac{a_1}{a_2}=\cdots=\dfrac{a_{n-1}}{a_n}$ for any $t \gt 0$. What rules it out is the last ratio, the one that closes the cycle. Multiplying all $n$ equal fractions together, the numerators are $a_1a_2\cdots a_n$ and the denominators are the same $n$ numbers in a different order, so the product is $1$; on the other hand the product is $k^n$. Hence $k^n=1$. Since $k \gt 0$ and $t \mapsto t^n$ is strictly increasing on the positive reals, $k=1$ is the only positive solution, so $k=1$ and therefore $a_1=a_2=\cdots=a_n$.
Conversely, if all the $a_i$ are equal then both sides equal $na_1$. So equality holds precisely when $a_1=a_2=\cdots=a_n$.
(iv)
Since $n \ge 2$ and every $a_j$ is positive, $S-a_i=\sum_{j \ne i}a_j$ is a sum of at least one positive number, so $S-a_i \gt 0$ and every term is defined and positive.
The construction. Part (ii) needs each term written as a square over a positive number, and $\dfrac{a_i}{S-a_i}$ is not in that form. Multiplying numerator and denominator by $a_i$ puts it in that form: $$\frac{a_i}{S-a_i}=\frac{a_i^2}{a_i(S-a_i)},$$ with $a_i(S-a_i) \gt 0$. This is a choice, and it is the step the question does not signpost. It is not the only way to force the terms into the required shape: one could instead write $\dfrac{a_i}{S-a_i}=\dfrac{(\sqrt{a_i})^2}{S-a_i}$, which is legal and gives $$\sum_{i=1}^{n}\frac{a_i}{S-a_i}\ \ge\ \frac{\left(\sqrt{a_1}+\cdots+\sqrt{a_n}\right)^2}{(n-1)S},$$ since $\sum_i (S-a_i)=nS-S=(n-1)S$. Replace the closing sentence of that paragraph with: dividing $\left(\sum\sqrt{a_i}\right)^2 \le nS$ by the positive quantity $(n-1)S$ gives $\frac{\left(\sum\sqrt{a_i}\right)^2}{(n-1)S} \le \frac{n}{n-1}$, with equality only when all the $a_i$ are equal. So the bound that route produces is never larger than the target, and no further argument from it can reach $\frac{n}{n-1}$: the square roots have to go in the denominator, not the numerator.: closing it would need $\left(\sum\sqrt{a_i}\right)^2 \ge nS$, whereas part (ii) applied with $p_i=\sqrt{a_i}$ and $x_i=1$ gives $\sum a_i \ge \frac{1}{n}\left(\sum \sqrt{a_i}\right)^2$, that is $\left(\sum\sqrt{a_i}\right)^2 \le nS$, the opposite inequality. So the square roots have to go in the denominator, not the numerator: the useful choice is the one that makes the numerators $a_i^2$, whose bases $a_i$ add up to $S$, the only quantity in the problem that is under control.
First application of (ii). With $p_i=a_i$ and $x_i=a_i(S-a_i) \gt 0$, $$\sum_{i=1}^{n}\frac{a_i}{S-a_i}=\sum_{i=1}^{n}\frac{a_i^2}{a_i(S-a_i)}\ \ge\ \frac{(a_1+\cdots+a_n)^2}{\sum_{i=1}^{n}a_i(S-a_i)}=\frac{S^2}{S^2-Q},\qquad Q:=a_1^2+\cdots+a_n^2,$$ because $\sum_i a_i(S-a_i)=S\sum_i a_i-\sum_i a_i^2=S^2-Q$. This denominator is positive: $S^2-Q=2\sum_{i \lt j}a_ia_j \gt 0$, since $n \ge 2$ and all the $a_i$ are positive. Without that remark the next step would be manipulating a fraction that might have a negative denominator.
What is now needed. The bound $\dfrac{S^2}{S^2-Q}$ is large when $Q$ is large, so to finish we need a lower bound for $Q$. Getting the direction right is the point at which a plausible piece of work proves nothing: an upper bound for $Q$ would give an upper bound for the fraction, which is useless here.
Second application of (ii). Apply part (ii) again, this time with $p_i=a_i$ and $x_i=1$, all of which are positive: $$Q=\sum_{i=1}^{n}\frac{a_i^2}{1}\ \ge\ \frac{(a_1+\cdots+a_n)^2}{1+1+\cdots+1}=\frac{S^2}{n}.$$ Hence $S^2-Q \le S^2-\dfrac{S^2}{n}=\dfrac{(n-1)S^2}{n}$. Both $S^2-Q$ and $\dfrac{(n-1)S^2}{n}$ are positive, so taking reciprocals reverses the inequality and $$\frac{S^2}{S^2-Q}\ \ge\ \frac{S^2}{(n-1)S^2/n}=\frac{n}{n-1}.$$ Combining the two displayed bounds, $$\frac{a_1}{S-a_1}+\frac{a_2}{S-a_2}+\cdots+\frac{a_n}{S-a_n}\ \ge\ \frac{n}{n-1}.$$
Equality. The argument is a chain of two inequalities, so equality in the conclusion forces equality in both. Equality in the first application of (ii) requires the ratios $\dfrac{p_i}{x_i}=\dfrac{a_i}{a_i(S-a_i)}=\dfrac{1}{S-a_i}$ to be equal for all $i$, that is all the $S-a_i$ equal, that is all the $a_i$ equal. Replace with: equality in the second link means $\frac{S^2}{S^2-Q}=\frac{n}{n-1}$, which cross-multiplies to $(n-1)S^2=n(S^2-Q)$ and so to $Q=\frac{S^2}{n}$, that is equality in the second application of part (ii), which requires the ratios $\frac{a_i}{1}$ to be equal. That is the same condition again, so the two links are tight together and neither adds a constraint the other does not. Conversely, if $a_1=\cdots=a_n=a \gt 0$ then $S=na$ and $S-a_i=(n-1)a$, so each term equals $\dfrac{1}{n-1}$ and the sum is exactly $\dfrac{n}{n-1}$. Hence equality holds precisely when $a_1=a_2=\cdots=a_n$.
Lemma-breaking pass: 6 claimed lemma(s) attacked with counterexamples, 8 unproved step(s) challenged, 5 challenge(s) upheld and 5 repair(s) made to the solution above before it was published.
[02] Sequences and series · Pure · 20 marks
A sequence that forgets where it started
This is a proof question, so there is no answer key a computer can check. Everything below is asserted by the author and re-derived independently, not machine-verified.
Difficulty 13 of 18: STEP 2 core. Scored against a published rubric as independent ideas 2, ladder 2, generalisation 2, unsignposted step 3, technical load 2, argument burden 2. Each axis runs 0 to 3.
Reviewer verdict: publishable, with reservations.
On difficulty. The best of the three questions I reviewed, and the only one whose hardest step is a genuine construction the statement does not point at, namely tracking the difference of the squares in the last part so that the additive constant cancels. Its structural fault is that its largest part, the 6-mark divergence argument, is a side branch that nothing later uses, so the question is really a 14-mark chain with a 6-mark limb. Expect part (i) to be heavily scaffolded and quick, part (ii) to be the one that demands a proof of divergence from scratch, and parts (iii) and (iv) to be reachable whether or not part (ii) went well.
- Nothing in the question uses part (ii). It is the largest part at 6 marks, and parts (iii) and (iv) can both be done in full without reading it. If you are choosing where to spend your time, the chain is part (i), then part (iii), then part (iv), and part (ii) is a 6-mark side branch off part (i).
- Part (ii) is also the part with the heaviest unstated demand. It reduces to showing that a harmonic-type sum is unbounded, and you have to prove that from scratch, either by comparing with the integral of $\frac{1}{3t-2}$ and saying why the integrand being decreasing fixes the direction, or by grouping the terms into blocks of doubling length. Both independent solvers used the grouping argument. Asserting that the sum behaves like the harmonic series and so diverges will not score.
- The wrong turning in part (ii) is worth naming before you take it. The lower bound $x_k^2 \ge 2k-1$ from part (i) is the one that comes to hand first, and it bounds the sum above, which settles nothing. You need the upper bound $x_k^2 \le 3k-2$, so that $\frac{1}{x_k^2} \ge \frac{1}{3k-2}$.
- Part (iv) is the one place where you have to supply something the question does not point at, and it is worth knowing that in advance: work with $y_n^2-x_n^2$ rather than with $y_n-x_n$, because the constant $2$ in the squared recurrence cancels and the difference of the squares is then non-increasing. Part (iii) on its own gives you that $y_n-x_n$ is non-negative and non-increasing, which proves a limit exists but does not prove it is zero, and for $c \gt 1$ the difference of the squares really does tend to a non-zero number, so that shortcut is not merely unjustified, it is closing over the substance of the part.
The sequence $x_1,\,x_2,\,x_3,\,\ldots$ is defined by $$x_1=1,\qquad x_{n+1}=x_n+\frac{1}{x_n}\quad(n\geqslant1).$$
(i) [6 marks]
Show that $x_n\geqslant1$ for every $n\geqslant1$.
Show that $$x_n^{\,2}=2n-1+\sum_{k=1}^{n-1}\frac{1}{x_k^{\,2}}\qquad\text{for every }n\geqslant2,$$ and deduce that $$\sqrt{2n-1}\;\leqslant\;x_n\;\leqslant\;\sqrt{3n-2}\qquad\text{for every }n\geqslant1.$$
Method family: Telescoping and partial fractions, Induction
(ii) [6 marks]
Show that $x_n^{\,2}-2n$ tends to infinity as $n$ tends to infinity.
Method family: Bounding and estimation
(iii) [3 marks]
Let $c$ be a real number with $c\geqslant1$, and let the sequence $y_1,\,y_2,\,y_3,\,\ldots$ be defined by $$y_1=c,\qquad y_{n+1}=y_n+\frac{1}{y_n}\quad(n\geqslant1).$$ Show that $y_n\geqslant x_n$ for every $n\geqslant1$.
Method family: Induction
(iv) [5 marks]
Show that $y_n-x_n$ tends to $0$ as $n$ tends to infinity.
Method family: Telescoping and partial fractions, Bounding and estimation
Reveal the mark scheme and the full solution. Attempt every part first.
What each part establishes
- (i) Proved: $x_n\geqslant1$ for every $n\geqslant1$ and the sequence is strictly increasing; $x_{n+1}^{\,2}=x_n^{\,2}+2+\dfrac{1}{x_n^{\,2}}$, so $x_n^{\,2}=2n-1+\sum_{k=1}^{n-1}\dfrac{1}{x_k^{\,2}}$ for every $n\geqslant2$; and since each term of that sum lies in $(0,1]$, $\sqrt{2n-1}\leqslant x_n\leqslant\sqrt{3n-2}$ for every $n\geqslant1$.
- (ii) Proved: $x_n^{\,2}-2n\to\infty$. Explicitly, the upper bound of part (i) gives $\dfrac{1}{x_k^{\,2}}\geqslant\dfrac{1}{3k-2}$, and an integral comparison then gives $x_n^{\,2}-2n\geqslant\tfrac13\ln(3n-2)-1$ for every $n\geqslant2$. In particular no constant $C$ satisfies $x_n^{\,2}\leqslant2n+C$ for all $n$.
- (iii) Proved: $y_{n+1}-x_{n+1}=(y_n-x_n)\left(1-\dfrac{1}{x_ny_n}\right)$, and hence $y_n\geqslant x_n\geqslant1$ for every $n\geqslant1$. The same identity shows that $y_n-x_n$ is non-increasing.
- (iv) Proved: $0\leqslant y_n^{\,2}-x_n^{\,2}\leqslant c^{2}-1$ for every $n$, so $0\leqslant y_n-x_n\leqslant\dfrac{c^{2}-1}{2\sqrt{2n-1}}$ and therefore $y_n-x_n\to0$. The difference of the squares does not in general tend to $0$: for $c=2$ it tends to $2$.
Mark scheme
The results a solution has to reach. Mark your own attempt against these rather than against the wording of the model solution: three correct write-ups of one proposition read as three different answers, which is exactly why comparing prose is useless here.
(i) [6 marks]
- $x_n\geqslant1$ for every $n\geqslant1$, obtained from the recurrence with a base case, not asserted from the first few terms.
- $x_{n+1}^{\,2}=x_n^{\,2}+2+\dfrac{1}{x_n^{\,2}}$ for every $n\geqslant1$, with the cross term evaluated as the constant $2$.
- $x_n^{\,2}=2n-1+\sum_{k=1}^{n-1}\dfrac{1}{x_k^{\,2}}$ for every $n\geqslant2$, by telescoping the increments over $k=1$ to $n-1$ or by induction.
- $0\lt\dfrac{1}{x_k^{\,2}}\leqslant1$ for every $k\geqslant1$, hence $2n-1\leqslant x_n^{\,2}\leqslant3n-2$ and so $\sqrt{2n-1}\leqslant x_n\leqslant\sqrt{3n-2}$ for every $n\geqslant1$.
- 1 marks: Proving $x_n\geqslant1$ for all $n$ by induction, with the base case $x_1=1$ stated and the recurrence used in the step.
- 2 marks: Squaring the recurrence correctly and obtaining the increment $x_{n+1}^{\,2}-x_n^{\,2}=2+\dfrac{1}{x_n^{\,2}}$.
- 2 marks: Summing the increments over the correct range and reaching the displayed identity, or an induction with a checked base case. Award both marks only when the index range is right, so that the surviving terms are $x_n^{\,2}$ and $x_1^{\,2}$.
- 1 marks: Deducing both bounds, with a reason why each term lies in $(0,1]$, and with the case $n=1$ checked separately since the identity is stated only for $n\geqslant2$.
- No credit: Squaring the recurrence as $x_{n+1}^{\,2}=x_n^{\,2}+\dfrac{1}{x_n^{\,2}}$: the cross term is the only reason the method works, and dropping it destroys the question.
- No credit: Summing the increments over $k=1$ to $n$ instead of $k=1$ to $n-1$: this leaves $x_{n+1}^{\,2}$ on the left and shifts the whole identity by one term.
- No credit: Asserting $x_n\geqslant1$ because the sequence is increasing, without establishing that it is increasing, which itself needs the positivity being claimed.
- No credit: Deducing the upper bound from a numerical table of the first few terms.
(ii) [6 marks]
- $x_n^{\,2}-2n=\sum_{k=1}^{n-1}\dfrac{1}{x_k^{\,2}}-1$ for $n\geqslant2$, so that the claim is reduced to the unboundedness of that sum.
- $\dfrac{1}{x_k^{\,2}}\geqslant\dfrac{1}{3k-2}$ for every $k\geqslant1$, obtained from the upper bound of part (i) and not from the lower bound.
- $\sum_{k=1}^{n-1}\dfrac{1}{3k-2}\geqslant\tfrac13\ln(3n-2)$, or any other valid proof that this sum is unbounded above, for instance grouping the terms into blocks of doubling length.
- $x_n^{\,2}-2n\geqslant\tfrac13\ln(3n-2)-1$, which tends to infinity, stated as a conclusion about all sufficiently large $n$.
- 2 marks: Reducing the claim to the sum and identifying that an upper bound on $x_k^{\,2}$, not a lower one, is what bounds the sum below. This is the discriminating step of the part and is worth the marks even when the estimate that follows is incomplete.
- 2 marks: A valid proof that $\sum\dfrac{1}{3k-2}$ is unbounded: an integral comparison with the decreasing integrand justified, or a grouping argument with the block bound stated.
- 2 marks: Assembling the two into an explicit unbounded lower bound for $x_n^{\,2}-2n$, and concluding.
- No credit: Using $x_k^{\,2}\geqslant2k-1$ to write $\dfrac{1}{x_k^{\,2}}\leqslant\dfrac{1}{2k-1}$: true, but it bounds the sum above and so cannot prove divergence. This is the main wrong turning and earns nothing on its own.
- No credit: Asserting that the sum behaves like the harmonic series and therefore diverges, with no comparison actually written down.
- No credit: Concluding from $x_n^{\,2}\geqslant2n-1$ that $x_n^{\,2}-2n\to\infty$: that inequality gives only $x_n^{\,2}-2n\geqslant-1$.
- No credit: Replacing the sum by an integral without noting that the integrand is decreasing, which is what fixes the direction of the inequality.
(iii) [3 marks]
- $y_{n+1}-x_{n+1}=(y_n-x_n)\left(1-\dfrac{1}{x_ny_n}\right)$ for every $n\geqslant1$, or an equivalent statement that $t\mapsto t+\tfrac1t$ is increasing on $[1,\infty)$.
- $y_n\geqslant x_n\geqslant1$ for every $n\geqslant1$, by induction, the step using $x_ny_n\geqslant1$ and the base case using $c\geqslant1$.
- 2 marks: The factorised difference, or a monotonicity argument that states and uses the restriction to arguments at least $1$.
- 1 marks: A complete induction: base case from $c\geqslant1$, and a step that says why the multiplying factor is non-negative.
- No credit: Asserting that $t\mapsto t+\tfrac1t$ is increasing without the restriction $t\geqslant1$: it is decreasing on $(0,1)$, so the unrestricted claim is false and the argument proves nothing.
- No credit: Checking $y_n\geqslant x_n$ for a particular value of $c$, or for the first few $n$, and generalising.
(iv) [5 marks]
- $y_n^{\,2}=c^{2}+2(n-1)+\sum_{k=1}^{n-1}\dfrac{1}{y_k^{\,2}}$ for every $n\geqslant2$, that is, the telescope of part (i) rerun for the second starting value.
- $0\leqslant y_n^{\,2}-x_n^{\,2}\leqslant c^{2}-1$ for every $n\geqslant1$, the upper bound because every term of $\sum\left(\tfrac{1}{y_k^{2}}-\tfrac{1}{x_k^{2}}\right)$ is at most $0$ by part (iii).
- $0\leqslant y_n-x_n=\dfrac{y_n^{\,2}-x_n^{\,2}}{y_n+x_n}\leqslant\dfrac{c^{2}-1}{2\sqrt{2n-1}}$, using $y_n+x_n\geqslant2x_n\geqslant2\sqrt{2n-1}$ from parts (iii) and (i).
- $y_n-x_n\to0$, concluded by a squeeze between $0$ and a bound that tends to $0$.
- 1 marks: Rerunning the telescope of part (i) for the sequence $y$, with the seed $c^{2}$ carried correctly rather than $1$.
- 2 marks: Establishing that the difference of the squares is bounded, with the sign of each term of the difference of the two sums justified by part (iii).
- 2 marks: Dividing by $y_n+x_n$, bounding that below using part (i), and concluding by a squeeze.
- No credit: Concluding that $y_n-x_n\to0$ from part (iii) alone, on the ground that the difference is non-negative and non-increasing: that gives a limit, and here the corresponding difference of squares has a genuinely non-zero limit when $c\gt1$, so the step is not merely unjustified, the gap it skips is the substance of the part.
- No credit: Deducing $y_n-x_n\to0$ from $\dfrac{y_n}{x_n}\to1$: a ratio tending to $1$ says nothing about the difference when both sequences are unbounded.
- No credit: Bounding $y_n^{\,2}-x_n^{\,2}$ by $c^{2}-1$ without saying why the sum of the reciprocal differences is at most $0$, which is where part (iii) is consumed.
- No credit: Dividing by $y_n+x_n$ without a lower bound for it, leaving the final limit unjustified.
What each part was for
- (ii) uses (i): It consumes the upper bound $x_k^{\,2}\leqslant3k-2$, which is the only thing in the question that bounds the terms $\tfrac{1}{x_k^{\,2}}$ below, and the identity, which converts the claim about $x_n^{\,2}-2n$ into a claim about the sum. Without part (i) a candidate has neither, and the bound they would reach first is the one that cannot prove the result.
- (iii) uses (i): The inductive step needs $x_ny_n\geqslant1$, which comes from $x_n\geqslant1$ in part (i). Without it the multiplying factor $1-\tfrac{1}{x_ny_n}$ can be negative, and the induction fails: the comparison really is false for terms below $1$, since $t\mapsto t+\tfrac1t$ reverses order there.
- (iv) uses (iii): It needs $y_k\geqslant x_k$ twice: once to sign every term of $\sum\left(\tfrac{1}{y_k^{2}}-\tfrac{1}{x_k^{2}}\right)$, which is what bounds the difference of the squares above, and once to bound $y_n+x_n$ below by $2x_n$. Without part (iii) there is no reason the difference of the squares stays bounded at all.
- (iv) uses (i): It reruns the telescope of part (i) for the second starting value, and it needs the lower bound $x_n\geqslant\sqrt{2n-1}$ to know that the denominator $y_n+x_n$ grows without bound. Delete part (i) and part (iv) has to derive the squared recurrence, the telescoped identity for two sequences and a growth bound before it can begin, which is the whole of part (i) on top of the whole of part (iv).
Why squaring is the move, before any of it is done.
The increment in $x_{n+1}=x_n+\frac{1}{x_n}$ depends on $x_n$, so nothing telescopes as the recurrence stands and no closed form is available. Squaring is a choice, and this is what motivates it: squaring turns the increment into $2$ plus a term that is small once $x_n$ is large, so the increments of $x_n^{\,2}$ are almost constant. A sum of almost constant increments telescopes to something exact, and the whole question is then about the error term that survives.
(i)
Every term is defined and at least $1$. We have $x_1=1$. Suppose $x_n\geqslant1$ for some $n$. Then $x_n\neq0$, so $x_{n+1}$ is defined, and $\frac{1}{x_n}\gt0$, so $$x_{n+1}=x_n+\frac{1}{x_n}\gt x_n\geqslant1 .$$ By induction $x_n\geqslant1$ for every $n\geqslant1$, and the sequence is strictly increasing. This is the fact that every later part leans on, because it is what makes $\frac{1}{x_k^{\,2}}$ both defined and at most $1$.
The identity. Squaring the recurrence, for every $n\geqslant1$, $$x_{n+1}^{\,2}=\left(x_n+\frac{1}{x_n}\right)^{2}=x_n^{\,2}+2+\frac{1}{x_n^{\,2}} .$$ The cross term is $2x_n\cdot\frac{1}{x_n}=2$, a constant, and that is the entire reason the substitution is worth making.
So the increments of the sequence $x_1^{\,2},x_2^{\,2},\ldots$ are $2+\frac{1}{x_k^{\,2}}$, and a sum of consecutive increments telescopes. For $n\geqslant2$, $$x_n^{\,2}-x_1^{\,2}=\sum_{k=1}^{n-1}\left(x_{k+1}^{\,2}-x_k^{\,2}\right)=\sum_{k=1}^{n-1}\left(2+\frac{1}{x_k^{\,2}}\right)=2(n-1)+\sum_{k=1}^{n-1}\frac{1}{x_k^{\,2}} .$$ Since $x_1^{\,2}=1$, this rearranges to $$x_n^{\,2}=2n-1+\sum_{k=1}^{n-1}\frac{1}{x_k^{\,2}}\qquad(n\geqslant2),$$ as required. (An induction on $n$ does the same job: the base case $n=2$ reads $x_2^{\,2}=4=3+\frac{1}{x_1^{\,2}}$, and the inductive step is one application of the squared recurrence. Either is a complete proof; the telescope is shorter and shows where the terms come from.)
The bounds. Because $x_k\geqslant1$ for every $k$, each term satisfies $0\lt\frac{1}{x_k^{\,2}}\leqslant1$. The sum in the identity has $n-1$ such terms, so it lies strictly above $0$ and is at most $n-1$. Hence for $n\geqslant2$, $$2n-1\;\lt\;x_n^{\,2}\;\leqslant\;2n-1+(n-1)=3n-2 .$$ For $n=1$ the two bounds read $1\leqslant x_1^{\,2}\leqslant1$, which is true, so $2n-1\leqslant x_n^{\,2}\leqslant3n-2$ holds for every $n\geqslant1$. All three quantities are positive, so taking square roots preserves the inequalities and $$\sqrt{2n-1}\;\leqslant\;x_n\;\leqslant\;\sqrt{3n-2}\qquad(n\geqslant1).$$
(ii)
Rearranging the identity of part (i), for $n\geqslant2$, $$x_n^{\,2}-2n=\sum_{k=1}^{n-1}\frac{1}{x_k^{\,2}}\;-\;1 ,$$ so the claim to be proved is exactly that $\sum_{k=1}^{n-1}\frac{1}{x_k^{\,2}}$ is unbounded above.
Which of the two bounds from part (i) is the useful one is the decision in this part, and the instinctive choice is the wrong one. We want a lower bound on a sum of terms $\frac{1}{x_k^{\,2}}$, so we need an upper bound on each $x_k^{\,2}$. The lower bound $x_k^{\,2}\geqslant2k-1$ gives $\frac{1}{x_k^{\,2}}\leqslant\frac{1}{2k-1}$, which bounds the sum above and settles nothing here. It is the crude upper bound that does the work: $$x_k^{\,2}\leqslant3k-2\quad\Longrightarrow\quad\frac{1}{x_k^{\,2}}\geqslant\frac{1}{3k-2}\qquad(k\geqslant1).$$
The comparison sum is unbounded. Compare it with an integral, which is legitimate because $t\mapsto\frac{1}{3t-2}$ is positive and decreasing on $[1,\infty)$: for $k\geqslant1$ and $t\in[k,k+1]$ we have $3t-2\geqslant3k-2\gt0$, so $\frac{1}{3t-2}\leqslant\frac{1}{3k-2}$, and integrating that inequality over an interval of length $1$ gives $$\int_k^{k+1}\frac{\mathrm{d}t}{3t-2}\;\leqslant\;\frac{1}{3k-2} .$$ Adding these for $k=1,2,\ldots,n-1$, the integrals join up: $$\sum_{k=1}^{n-1}\frac{1}{3k-2}\;\geqslant\;\int_1^{n}\frac{\mathrm{d}t}{3t-2}=\left[\tfrac13\ln(3t-2)\right]_1^{n}=\tfrac13\ln(3n-2).$$
Putting the two steps together, for every $n\geqslant2$, $$x_n^{\,2}-2n\;\geqslant\;\tfrac13\ln(3n-2)-1 ,$$ and $\ln(3n-2)\to\infty$ as $n\to\infty$, so $x_n^{\,2}-2n\to\infty$.
Any proof that the comparison sum is unbounded is worth the same. Replace with: the usual alternative avoids integration altogether. Since $3k-2\leqslant3k$ we have $\frac{1}{3k-2}\geqslant\frac{1}{3k}$, so $\sum_{k=1}^{n-1}\frac{1}{3k-2}\geqslant\frac13\sum_{k=1}^{n-1}\frac{1}{k}$, and the harmonic sum is unbounded because its terms grouped into blocks running from $2^{\,j}+1$ to $2^{\,j+1}$ each total at least $\frac12$.
Two remarks are worth making. First, the result says the lower bound of part (i) is not merely unattained: $x_n^{\,2}$ eventually exceeds $2n+C$ for every constant $C$, so no bound of the form $x_n^{\,2}\leqslant2n+C$ can hold. Second, the growth is logarithmic and therefore invisible early on. Write the fifth term as $3.24482\ldots$, or give both as rounded values with no ellipsis: the first six terms are $1$, $2$, $2.5$, $2.9$, $3.2448$ and $3.5530$ to four decimal places., and $x_6^{\,2}-12$ is only about $0.62$, so a numerical experiment over the first few terms would suggest the opposite conclusion. That is a good reason to trust the argument rather than the table.
(iii)
Both sequences obey the same recurrence, so subtract the two recurrences rather than trying to control each sequence separately. Add to the inductive step, immediately after "Assume $S(n)$": in particular $y_n\geqslant1\gt0$, so $y_n\ne0$ and $y_{n+1}=y_n+\frac{1}{y_n}$ is defined, which is what allows the displayed identity to be applied at this $n$; the induction therefore establishes that every term of $y$ exists at the same time as it establishes the inequality. $$y_{n+1}-x_{n+1}=(y_n-x_n)+\left(\frac{1}{y_n}-\frac{1}{x_n}\right)=(y_n-x_n)-\frac{y_n-x_n}{x_ny_n}=(y_n-x_n)\left(1-\frac{1}{x_ny_n}\right).$$ This factorisation is the content of the part: at each step the difference is multiplied by a factor that is non-negative as soon as $x_ny_n\geqslant1$.
Now the induction. Let $S(n)$ be the statement $y_n\geqslant x_n\geqslant1$.
Base case. $y_1=c\geqslant1=x_1$, so $S(1)$ holds.
Inductive step. Assume $S(n)$. Then $x_ny_n\geqslant1\times1=1$, so $1-\frac{1}{x_ny_n}\geqslant0$, and since $y_n-x_n\geqslant0$ the displayed identity gives $y_{n+1}-x_{n+1}\geqslant0$. Also $x_{n+1}\geqslant1$ by part (i). So $S(n+1)$ holds, and by induction $y_n\geqslant x_n\geqslant1$ for every $n\geqslant1$.
Two things are worth flagging. If instead one argues that the comparison propagates because $t\mapsto t+\frac{1}{t}$ is increasing, the restriction to $t\geqslant1$ has to be stated and used: that function is decreasing on $(0,1)$, so the argument is simply false without it, and part (i) is what supplies the restriction. And the same identity shows $y_{n+1}-x_{n+1}\leqslant y_n-x_n$, so the difference never increases. That is not yet part (iv): a non-increasing sequence of non-negative numbers has a limit, but the limit need not be $0$, and closing that gap is the whole of the next part.
(iv)
The difference $y_n-x_n$ is awkward to estimate directly, and part (iii) has taken it as far as it goes. The choice that unlocks the part is to compare the squares instead, because part (i) computes squares exactly.
Nothing in the derivation in part (i) used the value of the first term until the last line: the squared recurrence and the telescope are the same for any starting value that keeps the terms at least $1$, and $y_n\geqslant1$ for every $n$ by part (iii). So the same telescope applied to $y$ gives, for $n\geqslant2$, $$y_n^{\,2}=c^{2}+2(n-1)+\sum_{k=1}^{n-1}\frac{1}{y_k^{\,2}} .$$ Writing the identity of part (i) in the same shape, $x_n^{\,2}=1+2(n-1)+\sum_{k=1}^{n-1}\frac{1}{x_k^{\,2}}$, and subtracting, the term $2(n-1)$ cancels: $$y_n^{\,2}-x_n^{\,2}=(c^{2}-1)+\sum_{k=1}^{n-1}\left(\frac{1}{y_k^{\,2}}-\frac{1}{x_k^{\,2}}\right).$$ By part (iii), $y_k\geqslant x_k\geqslant1\gt0$ for every $k$, so $\frac{1}{y_k^{\,2}}\leqslant\frac{1}{x_k^{\,2}}$ and every term of that sum is at most $0$. Combining with $y_n^{\,2}\geqslant x_n^{\,2}$, which is part (iii) again, $$0\;\leqslant\;y_n^{\,2}-x_n^{\,2}\;\leqslant\;c^{2}-1\qquad\text{for every }n\geqslant1 .$$ So the gap between the squares stays bounded, while by part (i) the squares themselves grow without bound. That is the tension that forces the difference to close, and the last step only makes it quantitative.
Since $y_n\geqslant x_n\geqslant1$, we have $y_n+x_n\geqslant2x_n\geqslant2\sqrt{2n-1}\gt0$, using the lower bound of part (i), so we may divide: $$0\;\leqslant\;y_n-x_n=\frac{y_n^{\,2}-x_n^{\,2}}{y_n+x_n}\;\leqslant\;\frac{c^{2}-1}{2\sqrt{2n-1}} .$$ The right-hand side tends to $0$ as $n\to\infty$, and the left-hand bound is $0$, so by the squeeze $y_n-x_n\to0$.
What the result does and does not say. When $c=1$ the two sequences are identical and every inequality above reads $0\leqslant0\leqslant0$, so the argument covers that case unchanged. Replace the first clause with: subtracting the squared recurrences gives $y_{n+1}^{\,2}-x_{n+1}^{\,2}=\left(y_n^{\,2}-x_n^{\,2}\right)\left(1-\frac{1}{x_n^{\,2}y_n^{\,2}}\right)$, so for $c\gt1$ every factor lies strictly between $0$ and $1$ and the sequences differ at every stage; moreover $\sum_k\frac{1}{x_k^{\,2}y_k^{\,2}}$ converges, because $x_k^{\,2}y_k^{\,2}\geqslant(2k-1)^{2}$, so the product of the factors converges to a positive limit and $y_n^{\,2}-x_n^{\,2}$ does not tend to $0$. The case $c=2$ makes this visible without the product, since then $y_1=2=x_2$., hence $y_n=x_{n+1}$ for every $n$, and then $y_n^{\,2}-x_n^{\,2}=x_{n+1}^{\,2}-x_n^{\,2}=2+\frac{1}{x_n^{\,2}}\to2$, while $y_n-x_n=x_{n+1}-x_n=\frac{1}{x_n}\to0$. So the conclusion really is a statement about a bounded quantity divided by an unbounded one, and not about the two sequences becoming equal: the sequence forgets its starting value in the limit while remembering it in every square.
Lemma-breaking pass: 5 claimed lemma(s) attacked with counterexamples, 10 unproved step(s) challenged, 6 challenge(s) upheld and 4 repair(s) made to the solution above before it was published.
[05] Functions and graphs · Pure · 20 marks
Lines that touch a quartic twice
This is a proof question, so there is no answer key a computer can check. Everything below is asserted by the author and re-derived independently, not machine-verified.
Difficulty 11 of 18: STEP 2 core. Scored against a published rubric as independent ideas 2, ladder 1, generalisation 1, unsignposted step 2, technical load 2, argument burden 3. Each axis runs 0 to 3.
Reviewer verdict: publishable, with reservations.
On difficulty. Correct throughout, cleanly defined, and unusually well marked: the stem supplies every definition the question depends on, and the scheme pays for the justifications rather than the answers, including a whole mark for knowing that a polynomial vanishing for every $t$ has zero coefficients. The mathematics is attractive, since one expression, $a^3-4ab+8c$, turns out to govern both the axis of symmetry and the gradient of the double tangent. The weakness is structural rather than mathematical: part (i) is a worked instance that no later part uses and that the later parts answer in three lines each, so five of the twenty marks can be earned twice for one piece of work, and only part (iv) consumes anything. I score it $11$, the same total as the setter but with four of the six axes disputed, and the one place the question genuinely demands something unaided is the converse in part (iv), where the double tangent has to be constructed rather than assumed.
- Part (i) is a worked instance of the theory that parts (ii) to (iv) prove, and no later part uses it. If you stall on part (i), skip it: nothing after it depends on it. If instead you do the general parts first, come back and collect (i)(b) and (i)(c) in about three lines each by substituting $a = -4$, $b = -2$, $c = 12$, $d = 4$ into the criteria you have just proved.
- Take the stem's definition of touching literally. It asks only for $f(u) = mu+k$ and $f'(u) = m$, and says nothing about the line staying on one side of the curve, so part (i)(b) needs no sign argument beyond the factorisation, and the everyday picture of a tangent will only slow you down.
- The definition of a double tangent says the line touches at each of two distinct values of $x$, which is at least two rather than exactly two. Nothing hangs on excluding a third point of contact, which cannot happen for a quartic anyway, and no credit is attached to ruling it out.
- Part (ii) says to show that when the condition holds the line is $x = -\frac{a}{4}$, and that definite article is not a gift. The uniqueness of the axis is part of what you have to prove, and it comes out of the coefficient of $t^3$ before you touch the coefficient of $t$.
Throughout this question $f$ denotes a polynomial of the form
$$f(x)=x^4+ax^3+bx^2+cx+d,$$
where $a$, $b$, $c$ and $d$ are real numbers, and $C$ denotes the curve $y=f(x)$.
A line $y=mx+k$ is said to touch $C$ at $x=u$ when $f(u)=mu+k$ and $f'(u)=m$. A line which touches $C$ at each of two distinct values of $x$ is called a double tangent of $C$.
The curve $C$ is said to be symmetric about the line $x=p$ when $f(p+t)=f(p-t)$ for every real number $t$.
(i) [5 marks]
The curve $C_1$ has equation $y=x^4-4x^3-2x^2+12x+4$.
(a) Find the coordinates of the stationary points of $C_1$, and determine the nature of each.
(b) Show that the line $y=-5$ is a double tangent of $C_1$, and show that this line meets $C_1$ at no other point.
(c) Show that $C_1$ is symmetric about a vertical line, stating the equation of that line.
Method family: Calculus as an argument, Symmetry and without loss of generality
(ii) [4 marks]
Show that $C$ is symmetric about some vertical line if and only if
$$a^3-4ab+8c=0,$$
and show that when this holds the line is $x=-\frac{a}{4}$.
Method family: Symmetry and without loss of generality
(iii) [5 marks]
Suppose that the line $y=mx+k$ is a double tangent of $C$, touching $C$ at $x=u$ and at $x=v$, where $u\ne v$. Show that
$$f(x)-(mx+k)=(x-u)^2(x-v)^2$$
for every real $x$.
Deduce that $u+v=-\frac{a}{2}$ and that $(u-v)^2=\frac{3a^2-8b}{4}$, and hence that $C$ has at most one double tangent.
Method family: Calculus as an argument
(iv) [6 marks]
Show that $C$ has a double tangent if and only if $3a^2\gt 8b$.
Show also that, when $C$ has a double tangent, that double tangent is horizontal if and only if $C$ is symmetric about a vertical line.
Method family: Symmetry and without loss of generality, Calculus as an argument
Reveal the mark scheme and the full solution. Attempt every part first.
What each part establishes
- (i) The stationary points of $C_1$ are the local minima $(-1,-5)$ and $(3,-5)$ and the local maximum $(1,11)$. The line $y=-5$ touches $C_1$ at $x=-1$ and at $x=3$ and meets it nowhere else, because $f(x)+5=(x^2-2x-3)^2$. Since $f(1+t)=(t^2-4)^2-5$ contains only even powers of $t$, $C_1$ is symmetric about the line $x=1$.
- (ii) Proved: the curve $y=x^4+ax^3+bx^2+cx+d$ is symmetric about some vertical line if and only if $a^3-4ab+8c=0$, and the line is then $x=-\frac{a}{4}$. The proof runs through the identity $f(p+t)-f(p-t)=2\left[(4p+a)t^3+\left(4p^3+3ap^2+2bp+c\right)t\right]$, whose vanishing for every $t$ forces both coefficients to be zero.
- (iii) Proved: if $y=mx+k$ touches $C$ at $x=u$ and at $x=v$ with $u\ne v$, then $f(x)-(mx+k)=(x-u)^2(x-v)^2$ for every real $x$. Consequently $u+v=-\frac{a}{2}$, $uv=\frac{1}{2}\left(b-\frac{a^2}{4}\right)$ and $(u-v)^2=\frac{3a^2-8b}{4}$; since these determine the pair $\{u,v\}$ and hence the line, $C$ has at most one double tangent.
- (iv) Proved: $C$ has a double tangent if and only if $3a^2\gt 8b$, the line being $y=mx+k$ where $f(x)-(mx+k)=\left(x^2+\frac{a}{2}x+\frac{b}{2}-\frac{a^2}{8}\right)^2$. When it exists it is horizontal if and only if $C$ is symmetric about a vertical line, equivalently if and only if $a^3-4ab+8c=0$: indeed $m=\frac{a^3-4ab+8c}{8}$.
Mark scheme
The results a solution has to reach. Mark your own attempt against these rather than against the wording of the model solution: three correct write-ups of one proposition read as three different answers, which is exactly why comparing prose is useless here.
(i) [5 marks]
- $f'(x)=4(x+1)(x-1)(x-3)$, so the stationary points of $C_1$ are $(-1,-5)$, $(1,11)$ and $(3,-5)$.
- $(-1,-5)$ and $(3,-5)$ are local minima and $(1,11)$ is a local maximum, established from the sign of $f'$ on the four intervals or from the sign of $f''$ at each point.
- At $x=-1$ and at $x=3$ both $f(x)=-5$ and $f'(x)=0$ hold, so the line $y=-5$ satisfies the stem's definition of touching at each of two distinct values of $x$.
- $f(x)+5=(x^2-2x-3)^2$, so $f(x)+5\ge 0$ with equality exactly at $x=-1$ and $x=3$, and the line meets $C_1$ nowhere else.
- $f(1+t)=(t^2-4)^2-5=t^4-8t^2+11$, which contains only even powers of $t$, so $f(1+t)=f(1-t)$ for every $t$ and $C_1$ is symmetric about the line $x=1$.
- 2 marks: The derivative differentiated and factorised, all three stationary points given as coordinate pairs, and the nature of each justified by a sign argument on $f'$ or by $f''$, not asserted.
- 2 marks: Both halves of (b): the conditions $f(u)=-5$ and $f'(u)=0$ checked at $u=-1$ and at $u=3$, and the factorisation $f(x)+5=(x^2-2x-3)^2$, or any equivalent complete factorisation of the quartic $f(x)+5$, used to rule out a further intersection.
- 1 marks: An explicit substitution $x=1+t$ producing a function of $t$ with no odd powers, together with the statement that this is what symmetry about $x=1$ means.
- No credit: Reading the stationary points, or the symmetry, off a sketch. The part asks for coordinates and for a proof.
- No credit: Deducing the symmetry from the two minimum values being equal. That implication is true for a monic quartic, but it is the content of parts (iii) and (iv) and is not available yet, so here the symmetry has to be checked directly.
- No credit: Showing only that $y=-5$ meets $C_1$ at $x=-1$ and $x=3$. Meeting twice is not touching twice: the gradient condition is half of the definition given in the stem.
- No credit: Solving $f(x)=-5$ numerically or by a calculator-style root search, since the required result is the exact factorisation that also proves there is no third intersection.
(ii) [4 marks]
- $f(p+t)=t^4+(4p+a)t^3+(6p^2+3ap+b)t^2+\left(4p^3+3ap^2+2bp+c\right)t+f(p)$.
- $f(p+t)-f(p-t)=2\left[(4p+a)t^3+\left(4p^3+3ap^2+2bp+c\right)t\right]$, and this vanishes for every real $t$ if and only if $4p+a=0$ and $4p^3+3ap^2+2bp+c=0$.
- $4p+a=0$ forces $p=-\frac{a}{4}$, so a quartic has at most one vertical line of symmetry and the only candidate is $x=-\frac{a}{4}$.
- At $p=-\frac{a}{4}$, $4p^3+3ap^2+2bp+c=\frac{a^3-4ab+8c}{8}$, so the remaining condition is $a^3-4ab+8c=0$.
- Both directions stated: symmetry gives the condition, and the condition together with $p=-\frac{a}{4}$ gives symmetry.
- 2 marks: The expansion of $f(p+t)$ about a general $p$ with the coefficients of $t^3$ and of $t$ correct, and the odd part isolated by replacing $t$ by $-t$. An equivalent route earns the same: differentiating $f(p+t)=f(p-t)$ three times with respect to $t$ and setting $t=0$ gives $f'''(p)=0$, hence $24p+6a=0$ and $p=-\frac{a}{4}$, after which the coefficient of $t$ still has to be handled.
- 1 marks: The step that a polynomial in $t$ vanishing for every real $t$ has all coefficients zero, used to convert the symmetry condition into two equations rather than into one evaluated instance.
- 1 marks: The simplification to $a^3-4ab+8c=0$, with both directions of the equivalence addressed rather than one.
- No credit: Quoting that the axis of symmetry of a quartic is $x=-\frac{a}{4}$ as a known fact. That is part of what this part asks to be proved.
- No credit: Verifying the condition on the curve of part (i), or on any other single example, in place of a general argument.
- No credit: Imposing $f'(p)=0$ alone. A symmetric quartic does have a stationary point on its axis, but that condition is $4p^3+3ap^2+2bp+c=0$, which is one equation for $p$ and neither locates the axis nor yields the condition on the coefficients.
- No credit: Checking $f(p+t)=f(p-t)$ at one or two values of $t$ and concluding it holds for all $t$.
(iii) [5 marks]
- With $P(x)=f(x)-(mx+k)$, the hypothesis says $P(u)=P'(u)=0$ and $P(v)=P'(v)=0$, and $P$ is monic of degree $4$ with the same coefficients of $x^3$ and $x^2$ as $f$.
- If $P(u)=P'(u)=0$ then $(x-u)^2$ divides $P(x)$, proved from the factor theorem and the product rule rather than asserted.
- $P(x)=(x-u)^2R(x)$ with $R$ monic of degree $2$, and the two conditions at $v$ give $R(v)=0$ and $R'(v)=0$, hence $R(x)=(x-v)^2$ and $f(x)-(mx+k)=(x-u)^2(x-v)^2$.
- Comparing the coefficients of $x^3$ and of $x^2$ gives $u+v=-\frac{a}{2}$ and $uv=\frac{1}{2}\left(b-\frac{a^2}{4}\right)$.
- $(u-v)^2=(u+v)^2-4uv=\frac{3a^2-8b}{4}$.
- The pair $\{u,v\}$ is determined by $a$ and $b$, hence so is $mx+k=f(x)-(x-u)^2(x-v)^2$, so $C$ has at most one double tangent.
- 2 marks: The repeated factor at a point of contact, argued rather than asserted: $P=(x-u)Q$ gives $P'=Q+(x-u)Q'$ and so $Q(u)=P'(u)=0$. Any correct argument for the same step earns these marks, including one through the double root of $P$ or through an expansion of $P$ in powers of $x-u$.
- 1 marks: Getting from one repeated factor to both, using $u\ne v$ at the two places where it is needed, and closing the degree and leading coefficient count so that the result is an identity and not merely a divisibility statement.
- 1 marks: $u+v=-\frac{a}{2}$ and $uv$ in terms of $a$ and $b$, obtained from the coefficients of $x^3$ and $x^2$, with the reason those two coefficients are unaffected by $m$ and $k$.
- 1 marks: $(u-v)^2=\frac{3a^2-8b}{4}$ and the uniqueness deduction.
- No credit: Asserting the repeated factors from the word tangent. The passage from a point of contact to a squared factor is the mathematical content of the first half of this part.
- No credit: Writing $f(x)-(mx+k)=(x-u)(x-v)g(x)$ and identifying $g$ by inspection without using the two gradient conditions.
- No credit: Using the coefficients of $x$ or of the constant term to constrain $u$ and $v$. Those two coefficients also involve $m$ and $k$, so on their own they say nothing about the points of contact.
- No credit: Concluding uniqueness from the fact that a quartic has at most two local minima. That is an argument about horizontal lines only, and this part is about all lines.
(iv) [6 marks]
- Necessity: a double tangent touches at distinct $u$ and $v$, so by part (iii) $\frac{3a^2-8b}{4}=(u-v)^2\gt 0$, giving $3a^2\gt 8b$.
- The construction: with $\alpha=\frac{a}{2}$ and $\beta=\frac{b}{2}-\frac{a^2}{8}$, the polynomial $f(x)-(x^2+\alpha x+\beta)^2$ has zero coefficients of $x^4$, $x^3$ and $x^2$, so it equals $mx+k$ for some real $m$ and $k$, and these values of $\alpha$ and $\beta$ are the only ones that do this.
- $x^2+\alpha x+\beta$ has discriminant $\alpha^2-4\beta=\frac{3a^2-8b}{4}$, which is positive by hypothesis, so it has distinct real roots $u$ and $v$ and $f(x)-(mx+k)=(x-u)^2(x-v)^2$.
- The line so produced touches at both roots: the right hand side and its derivative $2(x-u)(x-v)(2x-u-v)$ both vanish at $x=u$ and at $x=v$, which is the stem's definition of touching.
- With $s=\frac{u+v}{2}$ and $w=\frac{v-u}{2}$, $f(s+t)=(t^2-w^2)^2+m(s+t)+k$, hence $f(s+t)-f(s-t)=2mt$ for every real $t$.
- Both directions of the second equivalence: $m=0$ gives symmetry about $x=s$; and symmetry about a vertical line gives, by part (ii), that the line is $x=-\frac{a}{4}$, which by part (iii) is $x=s$, so $2mt=0$ for all $t$ and $m=0$.
- 1 marks: The necessity of $3a^2\gt 8b$, quoting $(u-v)^2$ from part (iii) and using that the two points of contact are distinct.
- 2 marks: The construction of the monic quadratic whose square differs from $f$ by a linear function, with $\alpha$ and $\beta$ obtained by matching the coefficients of $x^3$ and of $x^2$, and the observation that what is left over is automatically a line.
- 1 marks: The discriminant computation showing that the two points of contact are real and distinct, together with the check that the constructed line touches rather than merely meets.
- 2 marks: The horizontality equivalence in both directions: full credit for the identity $f(s+t)-f(s-t)=2mt$ used in both directions, or for computing $m=\frac{a^3-4ab+8c}{8}$ from the coefficient of $x$ and combining it with part (ii). One mark of the two for a single direction.
- No credit: Constructing the line by assuming it is horizontal, for example by looking for two stationary points of equal height. That assumes the answer to the second half of the part, and it also fails for a curve whose double tangent slopes.
- No credit: Asserting that $3a^2\gt 8b$ gives two local minima and stopping there. The existence of a double tangent is a statement about a line, and the line has to be exhibited.
- No credit: Writing down $x^2+\alpha x+\beta$ without showing that its roots are real and distinct, since two distinct points of contact is what the definition requires.
- No credit: Claiming that any line meeting the curve at two points with equal $y$ coordinates is a double tangent.
What each part was for
- (ii) uses (i): Part (i)(c) is the substitution $x=1+t$ carried out on one curve, and it is where a candidate sees that symmetry about a vertical line is the statement that the shifted polynomial has no odd powers. Without (i), part (ii) can still be attacked by expanding about a general $p$, but nothing in the wording suggests that the odd part of $f(p+t)$ is the whole obstruction. This is a dependence of motivation rather than of logic, and it is scored as such rather than claimed as a rung.
- (iv) uses (iii): Both halves of (iv) use (iii) by name. The necessity of $3a^2\gt 8b$ is $(u-v)^2\gt 0$ read off the formula proved in (iii). The sufficiency argument is built by reversing the factorised form that (iii) established, since (iii) is what tells a candidate that the line to look for is one whose difference from $f$ is the square of a monic quadratic. And the horizontality argument uses $u+v=-\frac{a}{2}$ from (iii) to identify the midpoint of the two points of contact with the only possible axis of symmetry. Without (iii), a candidate would have to discover and prove the factorised form unaided, which is the bulk of a separate part.
- (iv) uses (ii): The converse direction of the horizontality equivalence starts from the hypothesis that $C$ is symmetric about some vertical line, and that hypothesis is inert until the line is identified. Part (ii) identifies it: the line can only be $x=-\frac{a}{4}$. Without (ii) a candidate has an unknown axis $x=p$ and must first prove $p=-\frac{a}{4}$, which is the whole of part (ii). The same holds for the alternative coefficient route, which computes $m=\frac{a^3-4ab+8c}{8}$ and then needs (ii) to convert the vanishing of that expression into a statement about symmetry.
Notation, and two small facts used more than once. Throughout, $f(x)=x^4+ax^3+bx^2+cx+d$ and $C$ is the curve $y=f(x)$. The question supplies two definitions and this solution uses them exactly as given: $y=mx+k$ touches $C$ at $x=u$ when $f(u)=mu+k$ and $f'(u)=m$, and $C$ is symmetric about $x=p$ when $f(p+t)=f(p-t)$ for every real $t$.
Fact 1 (a point of contact gives a repeated factor). If $P$ is a polynomial with $P(u)=0$ and $P'(u)=0$, then $(x-u)^2$ is a factor of $P(x)$. To see this, the factor theorem gives $P(x)=(x-u)Q(x)$ for some polynomial $Q$; differentiating by the product rule, $P'(x)=Q(x)+(x-u)Q'(x)$, so $P'(u)=Q(u)$. Hence $Q(u)=0$, and the factor theorem applied to $Q$ gives $Q(x)=(x-u)R(x)$, so $P(x)=(x-u)^2R(x)$.
Fact 2 (comparing coefficients). If two polynomials take the same value for every real number, their coefficients agree, because a non-zero polynomial of degree $n$ has at most $n$ real roots. This is what licenses reading coefficients off an identity that holds for all $x$, and it is used in (ii), (iii) and (iv).
(i)(a) For $f(x)=x^4-4x^3-2x^2+12x+4$, $$f'(x)=4x^3-12x^2-4x+12=4\big(x^2(x-3)-(x-3)\big)=4(x-3)(x^2-1)=4(x+1)(x-1)(x-3).$$ The grouping is a choice rather than a consequence, and what motivates it is that $x=3$ is visible as a root of $x^3-3x^2-x+3$; any correct factorisation does the same job. So the stationary points are at $x=-1$, $x=1$ and $x=3$, and $$f(-1)=1+4-2-12+4=-5,\qquad f(1)=1-4-2+12+4=11,\qquad f(3)=81-108-18+36+4=-5.$$ The stationary points are therefore $(-1,-5)$, $(1,11)$ and $(3,-5)$.
For their nature, use the sign of $f'$, which changes at each of the three simple roots: $f'\lt 0$ for $x\lt -1$, $f'\gt 0$ on $-1\lt x\lt 1$, $f'\lt 0$ on $1\lt x\lt 3$, and $f'\gt 0$ for $x\gt 3$. Hence $(-1,-5)$ and $(3,-5)$ are local minima and $(1,11)$ is a local maximum. (Equivalently $f''(x)=12x^2-24x-4$ gives $f''(-1)=32\gt 0$, $f''(1)=-16\lt 0$ and $f''(3)=32\gt 0$.)
(i)(b) At $x=-1$ and at $x=3$ we have $f(x)=-5$ and $f'(x)=0$. The line $y=-5$ is the line $y=mx+k$ with $m=0$ and $k=-5$, so the two conditions in the definition, $f(u)=mu+k$ and $f'(u)=m$, both hold at $u=-1$ and at $u=3$. These two values of $x$ are distinct, so $y=-5$ is a double tangent of $C_1$. It is worth noticing what has been used: the two minima having equal height is what makes one horizontal line work at both points, and that is the feature the rest of the question is about.
For the second claim, consider $f(x)+5$. It vanishes together with its derivative at $x=-1$ and at $x=3$, Write $f(x)+5=(x+1)^2S(x)$ with $S$ monic of degree $2$; then $S(3)=S'(3)=0$, because $(x-3)^2$ divides $f(x)+5$ and $(3+1)^2\ne 0$, so Fact 1 applied to $S$ gives $S(x)=(x-3)^2$ and hence $f(x)+5=(x+1)^2(x-3)^2$. $$f(x)+5=(x+1)^2(x-3)^2=\big((x+1)(x-3)\big)^2=(x^2-2x-3)^2,$$ which expanding confirms: $(x^2-2x-3)^2=x^4-4x^3-2x^2+12x+9$. Hence $f(x)+5\ge 0$ for every real $x$, with equality exactly when $x^2-2x-3=0$, that is exactly when $x=-1$ or $x=3$. So the line $y=-5$ meets $C_1$ at those two points and nowhere else, and $C_1$ lies on or above that line everywhere.
(i)(c) The substitution to try is $x=1+t$, and the choice of $1$ is not arbitrary: The substitution $x=1+t$ is a guess, and here is what motivates it: differentiating $f(p+t)=f(p-t)$ with respect to $t$ gives $f'(p+t)=-f'(p-t)$, so a vertical axis of symmetry permutes the three stationary points $x=-1,1,3$ and preserves the value of $f$ at them; since $f(1)=11$ and $f(-1)=f(3)=-5$, the only permutation available swaps $-1$ with $3$ and fixes $1$, so the only possible axis is $x=1$. Nothing below depends on this paragraph, because the symmetry about $x=1$ is proved outright by the substitution.. Using the factorisation just found, $$f(1+t)+5=\big((1+t)^2-2(1+t)-3\big)^2=(1+2t+t^2-2-2t-3)^2=(t^2-4)^2,$$ so $f(1+t)=(t^2-4)^2-5=t^4-8t^2+11$. Replacing $t$ by $-t$ leaves this unchanged, because only even powers of $t$ occur. Hence $f(1+t)=f(1-t)$ for every real $t$, which is precisely the statement that $C_1$ is symmetric about the line $x=1$.
(ii) The condition to be analysed is a statement about $f$ near $p$ in the variable $t$, so the move is to expand $f$ about $x=p$. That is the only step in this part which is a choice rather than a consequence, and part (i)(c) is where it was seen to work.
By the binomial theorem, $$f(p+t)=t^4+(4p+a)t^3+(6p^2+3ap+b)t^2+\big(4p^3+3ap^2+2bp+c\big)t+f(p).$$ Replacing $t$ by $-t$ changes the sign of the odd powers of $t$ only, so $$f(p+t)-f(p-t)=2\Big[(4p+a)t^3+\big(4p^3+3ap^2+2bp+c\big)t\Big].$$ So $C$ is symmetric about $x=p$ if and only if this polynomial in $t$ vanishes for every real $t$, and by Fact 2 that happens if and only if both of its coefficients vanish: $$4p+a=0\qquad\text{and}\qquad 4p^3+3ap^2+2bp+c=0.$$ The first equation determines $p$ completely: $p=-\frac{a}{4}$. So a quartic has at most one vertical line of symmetry, and the only candidate is $x=-\frac{a}{4}$. Substituting $p=-\frac{a}{4}$ into the second expression, $$4\left(-\frac{a^3}{64}\right)+3a\cdot\frac{a^2}{16}+2b\left(-\frac{a}{4}\right)+c=-\frac{a^3}{16}+\frac{3a^3}{16}-\frac{ab}{2}+c=\frac{a^3}{8}-\frac{ab}{2}+c=\frac{a^3-4ab+8c}{8}.$$ Hence the second condition is exactly $a^3-4ab+8c=0$.
Both directions now follow, and since the statement is an equivalence it is worth saying which is which. If $C$ is symmetric about some vertical line $x=p$, then both coefficients vanish, so $p=-\frac{a}{4}$ and $a^3-4ab+8c=0$. Conversely, if $a^3-4ab+8c=0$, take $p=-\frac{a}{4}$: the first coefficient vanishes by that choice of $p$, and the second vanishes by the computation above, so $f(p+t)-f(p-t)=0$ for every $t$, which is symmetry about $x=-\frac{a}{4}$.
As a check, the curve of part (i) has $a=-4$, $b=-2$ and $c=12$, so $a^3-4ab+8c=-64-32+96=0$ and $-\frac{a}{4}=1$, which agrees with (i)(c).
(iii) Write $P(x)=f(x)-(mx+k)$. Subtracting a linear function changes only the coefficients of $x$ and of $1$, so $P$ is a quartic with leading coefficient $1$ whose coefficients of $x^3$ and $x^2$ are still $a$ and $b$. That observation is what makes the coefficient comparison at the end possible, so it is worth making before any work is done.
The hypothesis that $y=mx+k$ touches $C$ at $x=u$ and at $x=v$ says exactly that $$P(u)=0,\qquad P'(u)=0,\qquad P(v)=0,\qquad P'(v)=0.$$ By Fact 1, $P(x)=(x-u)^2R(x)$ for some polynomial $R$, and comparing degrees and leading coefficients shows that $R$ is monic of degree $2$. Now use the two conditions at $v$. First, $0=P(v)=(v-u)^2R(v)$, and $v\ne u$, so $R(v)=0$. Second, differentiating the product, $$P'(x)=2(x-u)R(x)+(x-u)^2R'(x),$$ so $0=P'(v)=2(v-u)R(v)+(v-u)^2R'(v)=(v-u)^2R'(v)$, and again $v\ne u$ gives $R'(v)=0$. Applying Fact 1 to $R$ shows that $(x-v)^2$ divides $R$, and since $R$ is monic of degree $2$ this forces $R(x)=(x-v)^2$. Therefore $$f(x)-(mx+k)=(x-u)^2(x-v)^2\qquad\text{for every real }x.$$ Note where the hypothesis $u\ne v$ was used: twice, and without it the argument delivers nothing beyond the single factor $(x-u)^2$.
Now compare coefficients, which Fact 2 permits. Writing $(x-u)^2(x-v)^2=\big(x^2-(u+v)x+uv\big)^2$ and expanding, the coefficient of $x^3$ is $-2(u+v)$ and the coefficient of $x^2$ is $(u+v)^2+2uv$. The corresponding coefficients on the left are $a$ and $b$, so $$u+v=-\frac{a}{2},\qquad uv=\frac{1}{2}\left(b-\frac{a^2}{4}\right),$$ and therefore $$(u-v)^2=(u+v)^2-4uv=\frac{a^2}{4}-2b+\frac{a^2}{2}=\frac{3a^2-8b}{4}.$$ The coefficients of $x$ and of $1$ were deliberately left alone here: they involve $m$ and $k$, so they carry information about the line rather than about the two points of contact. They are used in (iv), for exactly that reason.
Finally, $u+v$ and $uv$ are determined by $a$ and $b$ alone, so the unordered pair $\{u,v\}$ is determined by $f$; and then $mx+k=f(x)-(x-u)^2(x-v)^2$ is determined as well. Hence $C$ has at most one double tangent.
As a check, the curve of part (i) has $a=-4$ and $b=-2$, giving $u+v=2$ and $(u-v)^2=\frac{48+16}{4}=16$, so $\{u,v\}=\{-1,3\}$, which is what part (i)(b) found.
(iv) Existence of a double tangent. Necessity is immediate from part (iii): if $C$ has a double tangent, touching at distinct values $u$ and $v$, then $\frac{3a^2-8b}{4}=(u-v)^2\gt 0$, so $3a^2\gt 8b$.
Sufficiency needs a line to be produced, and this is the one genuinely free step in the question. Part (iii) says what any such line must look like: $f$ minus the line is the square of a monic quadratic. So the thing to attempt is to build that quadratic. Look for real numbers $\alpha$ and $\beta$ making $f(x)-(x^2+\alpha x+\beta)^2$ of degree at most $1$. Expanding, $$(x^2+\alpha x+\beta)^2=x^4+2\alpha x^3+(\alpha^2+2\beta)x^2+2\alpha\beta x+\beta^2.$$ The coefficients of $x^4$ agree already. Taking $\alpha=\frac{a}{2}$ makes the coefficients of $x^3$ agree, and then taking $\beta=\frac{b-\alpha^2}{2}=\frac{b}{2}-\frac{a^2}{8}$ makes the coefficients of $x^2$ agree. These values are forced, not chosen: no others work. With them, $$f(x)-(x^2+\alpha x+\beta)^2=mx+k,\qquad\text{where }m=c-2\alpha\beta\ \text{ and }\ k=d-\beta^2,$$ which is a linear function of $x$, so $y=mx+k$ is a line. Nothing so far has used the hypothesis; the construction works for every quartic.
The hypothesis enters when we check that this line really touches $C$ at two distinct points. The quadratic $x^2+\alpha x+\beta$ has discriminant $$\alpha^2-4\beta=\frac{a^2}{4}-4\left(\frac{b}{2}-\frac{a^2}{8}\right)=\frac{a^2}{4}-2b+\frac{a^2}{2}=\frac{3a^2-8b}{4}\gt 0,$$ so it has two distinct real roots $u$ and $v$ and factorises as $x^2+\alpha x+\beta=(x-u)(x-v)$. Hence $f(x)-(mx+k)=(x-u)^2(x-v)^2$. The right hand side vanishes at $x=u$, and so does its derivative $2(x-u)(x-v)(2x-u-v)$, so $f(u)=mu+k$ and $f'(u)=m$: the line touches $C$ at $x=u$. The same holds at $x=v$, and $u\ne v$, so $y=mx+k$ is a double tangent of $C$. Together with the necessity above, $C$ has a double tangent if and only if $3a^2\gt 8b$.
(The excluded case is worth naming, since it is where a careless statement would be false. When $3a^2=8b$ the construction still produces a line, but the two roots coincide and the contact happens at a single point with contact of order four, as with the line $y=0$ and the curve $y=x^4$. The requirement in the question that the two values of $x$ be distinct is exactly what rules this out.)
(iv) When the double tangent is horizontal. Suppose $C$ has a double tangent $y=mx+k$, touching at $u\ne v$, and set $$s=\frac{u+v}{2},\qquad w=\frac{v-u}{2}\ne 0,$$ so that $u=s-w$ and $v=s+w$. Shifting to $s$ is the move from part (i)(c), now performed at the midpoint of the two points of contact. By part (iii), $f(x)=(x-u)^2(x-v)^2+mx+k$, and for any real $t$, $$(s+t-u)(s+t-v)=(t+w)(t-w)=t^2-w^2,$$ so $f(s+t)=(t^2-w^2)^2+m(s+t)+k$. Replacing $t$ by $-t$ leaves $(t^2-w^2)^2$ and $ms+k$ unchanged and changes $mt$ to $-mt$, so $$f(s+t)-f(s-t)=2mt\qquad\text{for every real }t.$$ This single identity settles both directions.
If $m=0$, then $f(s+t)=f(s-t)$ for every $t$, which is exactly the statement that $C$ is symmetric about the vertical line $x=s$.
Conversely, suppose $C$ is symmetric about some vertical line. The hypothesis is useless until that line is identified, and part (ii) identifies it: the line can only be $x=-\frac{a}{4}$. By part (iii), $u+v=-\frac{a}{2}$, so $s=-\frac{a}{4}$ and the line of symmetry is exactly $x=s$. Then $f(s+t)-f(s-t)=0$ for every $t$, so $2mt=0$ for every $t$; taking any $t\ne 0$ gives $m=0$, that is, the double tangent is horizontal.
An alternative for this last equivalence, for a reader who prefers coefficients. Comparing the coefficients of $x$ in the identity $f(x)-(mx+k)=(x-u)^2(x-v)^2$ gives $c-m=-2(u+v)uv$, and substituting $u+v=-\frac{a}{2}$ and $uv=\frac{b}{2}-\frac{a^2}{8}$ from part (iii) gives $$m=\frac{a^3-4ab+8c}{8}.$$ So $m=0$ if and only if $a^3-4ab+8c=0$, which by part (ii) is exactly the condition for $C$ to be symmetric about a vertical line. This route computes $m$; the route above avoids computing it, which is why it is shorter.
As a final check, the curve of part (i) has $a=-4$ and $b=-2$, so $3a^2-8b=64\gt 0$ and a double tangent exists; and $a^3-4ab+8c=0$, so it is horizontal. It is the line $y=-5$ found in part (i)(b).
Lemma-breaking pass: 4 claimed lemma(s) attacked with counterexamples, 6 unproved step(s) challenged, 2 challenge(s) upheld and 2 repair(s) made to the solution above before it was published.
[06] Trigonometry · Pure · 20 marks
Sums of odd powers of a cosine
This is a proof question, so there is no answer key a computer can check. Everything below is asserted by the author and re-derived independently, not machine-verified.
Difficulty 12 of 18: STEP 2 core. Scored against a published rubric as independent ideas 2, ladder 2, generalisation 2, unsignposted step 1, technical load 2, argument burden 3. Each axis runs 0 to 3.
Reviewer verdict: publishable, with reservations.
On difficulty. A well-built and completely correct question that is easier than its structure suggests. Every one of the four displays is printed as a target, so the work is in writing the argument rather than in finding it, and both independent solvers reached every required result in every part at high confidence with no blocker recorded anywhere. What is genuinely good here is the argument burden: the hypothesis of the last part is a list of conditions rather than one condition, the restriction $m\leqslant n-1$ has to be shown to be exactly what makes them hold, and there is a real trap in the final case where cancelling a $0/0$ quotient produces a specific false answer. What is weak is that part (ii) is the case $m=1$ of part (iv) and is used by nothing, so the same idea is paid for twice and the ladder has two rungs where it needs one. Score 12 against the setter's 13, the single point being on the unsignposted-step axis, and the slot target of 12 is met.
- Part (ii) is the case $m=1$ of part (iv), written out verbatim. Put $m=1$ in part (iv)'s display and you get part (ii)'s display exactly, and the $m=n=2$ analysis at the end of part (iv) is the same manoeuvre as part (ii)'s evaluation at the excluded $\theta=\pi/3$. Nothing in part (iv) uses part (ii). If you read the whole question before starting, you can do parts (i), (iii) and (iv) and then write part (ii) down as a two-line corollary, including its numerical answer, so five of the twenty marks are available twice for one piece of work. Both independent solvers found this without being asked.
- Part (ii) asks you to explain why the single condition $\sin 3\theta\neq0$ also gives $\sin\theta\neq0$. That is true, but it is a coincidence of $m=1$ and it does not generalise: $\sin((2m+1)\theta)\neq0$ forces $\sin(r\theta)\neq0$ for all odd $r\leqslant2m+1$ only when every such $r$ divides $2m+1$, which happens for no $m$ beyond $1$. At $m=2$, $\theta=\pi/3$ gives $\sin 5\theta=-\frac{\sqrt3}{2}$ and $\sin 3\theta=0$. Part (iv) is stated correctly, with the whole list of conditions, so nothing in the question is false and no mark is paid for the wrong version. Do not carry part (ii)'s shortcut into part (iv): write the hypothesis out as the list it is.
- The word "directly" in part (ii) is not defined, and both solvers stopped on it. The intended reading is "not by way of the closed form, which is undefined at that value of $\theta$", and the mark scheme refuses credit for a limiting evaluation. Be aware that the limiting route does in fact reach $-\frac34$, and can be made rigorous, because the left-hand side is continuous in $\theta$ and agrees with the right-hand side on a punctured neighbourhood, so the limit of the right-hand side has to be the value of the left. Term by term is shorter and is unambiguously what is wanted, so take that route.
- The final request of part (ii) writes $\sum_{k=1}^{3}$, which silently fixes $n=3$ while the stem is using $n$ as a general letter and $3$ is also the exponent in $\cos^{3}$ and the multiplier in $\sin 3\theta$. It means "take $n=3$". Both solvers flagged the same sentence.
In this question $m$ and $n$ denote positive integers and $\theta$ denotes a real number. Angles are measured in radians. As usual, $\binom{N}{j}=\dfrac{N!}{j!\,(N-j)!}$.
(i) [5 marks]
Show that
$$\sum_{k=1}^{n}\cos\big((2k-1)\theta\big)=\frac{\sin 2n\theta}{2\sin\theta}$$
for every $\theta$ with $\sin\theta\neq 0$.
Deduce that
$$\sum_{k=1}^{n}\cos\frac{(2k-1)\pi}{2n+1}=\frac{1}{2}.$$
Method family: Telescoping and partial fractions, Complex numbers and roots of unity
(ii) [5 marks]
Show that
$$\sum_{k=1}^{n}\cos^{3}\big((2k-1)\theta\big)=\frac{3\sin 2n\theta}{8\sin\theta}+\frac{\sin 6n\theta}{8\sin 3\theta}$$
for every $\theta$ with $\sin 3\theta\neq 0$, explaining why that single condition also guarantees $\sin\theta\neq 0$.
State the values of $\theta$ with $0\lt\theta\lt\pi$ that the condition excludes and, taking $\theta$ to be the smaller of them, evaluate $\displaystyle\sum_{k=1}^{3}\cos^{3}\big((2k-1)\theta\big)$ directly.
Method family: Telescoping and partial fractions
(iii) [4 marks]
Show that
$$2^{2m}\cos^{2m+1}A=\sum_{j=0}^{m}\binom{2m+1}{j}\cos\big((2m+1-2j)A\big)$$
for every real number $A$.
Method family: Complex numbers and roots of unity
(iv) [6 marks]
Suppose that $\sin (r\theta)\neq 0$ for every odd integer $r$ with $1\leqslant r\leqslant 2m+1$. Show that
$$\sum_{k=1}^{n}\cos^{2m+1}\big((2k-1)\theta\big)=\frac{1}{2^{2m+1}}\sum_{j=0}^{m}\binom{2m+1}{j}\,\frac{\sin\big(2n(2m+1-2j)\theta\big)}{\sin\big((2m+1-2j)\theta\big)}.$$
Deduce that
$$\sum_{k=1}^{n}\cos^{2m+1}\frac{(2k-1)\pi}{2n+1}=\frac{1}{2}\qquad\text{whenever } m\leqslant n-1 .$$
Explain why this deduction is not available when $m=n$, and show that the sum is not equal to $\frac{1}{2}$ in the case $m=n=2$.
Method family: Complex numbers and roots of unity, Telescoping and partial fractions
Reveal the mark scheme and the full solution. Attempt every part first.
What each part establishes
- (i) Proved: $\sum_{k=1}^{n}\cos\big((2k-1)\theta\big)=\dfrac{\sin2n\theta}{2\sin\theta}$ for every positive integer $n$ and every $\theta$ with $\sin\theta\neq0$. Deduced: $\sum_{k=1}^{n}\cos\dfrac{(2k-1)\pi}{2n+1}=\dfrac12$ for every positive integer $n$.
- (ii) Proved: $\sin3\theta\neq0$ implies $\sin\theta\neq0$; and $\sum_{k=1}^{n}\cos^{3}\big((2k-1)\theta\big)=\dfrac{3\sin2n\theta}{8\sin\theta}+\dfrac{\sin6n\theta}{8\sin3\theta}$ for every $\theta$ with $\sin3\theta\neq0$. The excluded values in $0\lt\theta\lt\pi$ are $\theta=\pi/3$ and $\theta=2\pi/3$; at $\theta=\pi/3$ with $n=3$ the sum equals $-\dfrac34$.
- (iii) Proved: $2^{2m}\cos^{2m+1}A=\sum_{j=0}^{m}\binom{2m+1}{j}\cos\big((2m+1-2j)A\big)$ for every real $A$ and every positive integer $m$ (and trivially for $m=0$).
- (iv) Proved: $\sum_{k=1}^{n}\cos^{2m+1}\big((2k-1)\theta\big)=\dfrac{1}{2^{2m+1}}\sum_{j=0}^{m}\binom{2m+1}{j}\dfrac{\sin\big(2n(2m+1-2j)\theta\big)}{\sin\big((2m+1-2j)\theta\big)}$ whenever $\sin(r\theta)\neq0$ for every odd $r$ with $1\leqslant r\leqslant2m+1$. Deduced: $\sum_{k=1}^{n}\cos^{2m+1}\dfrac{(2k-1)\pi}{2n+1}=\dfrac12$ whenever $m\leqslant n-1$, independently of both $m$ and $n$. When $m=n$ the term with $j=0$ has $\sin\big((2n+1)\theta\big)=\sin\pi=0$, so the identity is unavailable; for $m=n=2$ the sum is $\dfrac{11}{32}\neq\dfrac12$. In general, for $m=n$ the sum is $\dfrac12-\dfrac{2n+1}{2^{2n+1}}$.
Mark scheme
The results a solution has to reach. Mark your own attempt against these rather than against the wording of the model solution: three correct write-ups of one proposition read as three different answers, which is exactly why comparing prose is useless here.
(i) [5 marks]
- For every real $\theta$ and every integer $k\geqslant1$, $2\sin\theta\cos\big((2k-1)\theta\big)=\sin(2k\theta)-\sin\big((2k-2)\theta\big)$; or, on the complex route, $\sum_{k=1}^{n}\cos\big((2k-1)\theta\big)=\operatorname{Re}\sum_{k=1}^{n}z^{2k-1}$ with $z=\cos\theta+\mathrm{i}\sin\theta$, a geometric series whose common ratio $z^{2}$ equals $1$ exactly when $\sin\theta=0$.
- $\sum_{k=1}^{n}\cos\big((2k-1)\theta\big)=\dfrac{\sin2n\theta}{2\sin\theta}$ for every $\theta$ with $\sin\theta\neq0$, with the cancellation (or the geometric sum) displayed rather than asserted.
- With $\theta=\dfrac{\pi}{2n+1}$: $2n\theta=\pi-\theta$, hence $\sin2n\theta=\sin\theta$ and $\sum_{k=1}^{n}\cos\dfrac{(2k-1)\pi}{2n+1}=\dfrac12$ for every positive integer $n$.
- 2 marks: Producing the device that makes the sum collapse: either the difference identity $2\sin\theta\cos\big((2k-1)\theta\big)=\sin2k\theta-\sin(2k-2)\theta$, obtained from the compound angle formulae, or the identification of the sum as the real part of a geometric series with first term $z$ and common ratio $z^{2}$.
- 2 marks: Completing the collapse correctly to $\dfrac{\sin2n\theta}{2\sin\theta}$, with the interior terms shown to cancel in pairs (or the geometric sum evaluated and its real part correctly extracted), and with the division by $2\sin\theta$ tied to the stated hypothesis $\sin\theta\neq0$.
- 1 marks: The deduction of $\tfrac12$, including the step $2n\theta=\pi-\theta$ and the use of $\sin(\pi-x)=\sin x$.
- No credit: Verifying the identity for $n=1$, $n=2$ and $n=3$ and asserting the pattern. A finite check establishes nothing for general $n$.
- No credit: Writing $\cdots$ in place of the middle of the sum and asserting that everything cancels, without exhibiting at least the first two and the last two terms. The cancellation is where an off by one error lives and it is separately creditable.
- No credit: Summing the geometric series without checking that the common ratio is not $1$. The case $z^{2}=1$ is exactly the excluded case $\sin\theta=0$, so a solution that never mentions it has not used the hypothesis anywhere.
- No credit: Deducing the value $\tfrac12$ by evaluating the sum for one or two small values of $n$.
(ii) [5 marks]
- $\sin3\theta\neq0$ implies $\sin\theta\neq0$, because $\sin\theta=0$ forces $\theta=p\pi$ for an integer $p$ and hence $\sin3\theta=\sin3p\pi=0$.
- $\cos^{3}A=\dfrac{3\cos A+\cos3A}{4}$ for every real $A$.
- $3(2k-1)\theta=(2k-1)(3\theta)$, so the angles of the second sum are the first $n$ odd multiples of $3\theta$ and part (i) applies with $\theta$ replaced by $3\theta$.
- $\sum_{k=1}^{n}\cos^{3}\big((2k-1)\theta\big)=\dfrac{3\sin2n\theta}{8\sin\theta}+\dfrac{\sin6n\theta}{8\sin3\theta}$ whenever $\sin3\theta\neq0$.
- The values excluded in $0\lt\theta\lt\pi$ are exactly $\theta=\pi/3$ and $\theta=2\pi/3$, and at $\theta=\pi/3$ with $n=3$ the sum equals $-\tfrac34$.
- 1 marks: The implication $\sin3\theta\neq0\Rightarrow\sin\theta\neq0$, argued rather than asserted; the contrapositive is the cheapest form.
- 1 marks: Linearising the cube: $4\cos^{3}A=3\cos A+\cos3A$, quoted or derived from $\cos3A=4\cos^{3}A-3\cos A$, and applied with $A=(2k-1)\theta$ inside the sum.
- 2 marks: Applying part (i) twice, once at $\theta$ and once at $3\theta$, with the reindexing $3(2k-1)\theta=(2k-1)(3\theta)$ made explicit, and assembling the stated formula with the correct coefficients $3/8$ and $1/8$.
- 1 marks: Both excluded values $\pi/3$ and $2\pi/3$, with the range $0\lt3\theta\lt3\pi$ used to show there are no others, together with the direct value $-\tfrac34$ at $\theta=\pi/3$, $n=3$.
- No credit: Applying part (i) to the second sum without noting that $3(2k-1)\theta=(2k-1)(3\theta)$. Part (i) is a statement about the odd multiples of an angle, and the whole content of this part is that the second sum is again of that form.
- No credit: Substituting $\theta=\pi/3$ into the formula and reporting a limiting value. The formula does not apply there, and the question asks for a direct evaluation.
- No credit: Listing the excluded values as those where a denominator vanishes without confirming that $\sin\theta=0$ contributes nothing further in $0\lt\theta\lt\pi$.
- No credit: Deriving the formula under the hypothesis $\sin\theta\neq0$ alone. That hypothesis does not exclude $\theta=\pi/3$, at which the stated formula is undefined and so cannot be true.
(iii) [4 marks]
- With $z=\cos A+\mathrm{i}\sin A$, $z^{r}+z^{-r}=2\cos rA$ for every integer $r$, by de Moivre.
- $\big(z+z^{-1}\big)^{2m+1}=\sum_{j=0}^{2m+1}\binom{2m+1}{j}z^{\,2m+1-2j}$.
- The terms with indices $j$ and $2m+1-j$ have equal coefficients and exponents of opposite sign, and as $j$ runs over $0,\ldots,m$ the partners run over $m+1,\ldots,2m+1$, so the $2m+2$ terms form exactly $m+1$ pairs with none repeated or omitted; hence $\big(2\cos A\big)^{2m+1}=2\sum_{j=0}^{m}\binom{2m+1}{j}\cos\big((2m+1-2j)A\big)$, which is the stated identity.
- 1 marks: Establishing $z^{r}+z^{-r}=2\cos rA$ from de Moivre, and in particular $z+z^{-1}=2\cos A$.
- 1 marks: The binomial expansion, with the exponent correctly reduced to $2m+1-2j$.
- 2 marks: The pairing argument: equal coefficients by $\binom{2m+1}{j}=\binom{2m+1}{2m+1-j}$, opposite exponents, and the statement that the index sets $\{0,\ldots,m\}$ and $\{m+1,\ldots,2m+1\}$ exhaust the expansion without overlap, followed by the correct division by $2$.
- No credit: Checking $m=1$ and $m=2$ and asserting the general case.
- No credit: Pairing the terms without using the fact that $2m+1$ is odd. For an even exponent the middle term is its own partner and the identity acquires a constant, so a pairing argument that would work equally well for an even power has not proved this one.
- No credit: Taking real parts before the expansion has been carried out, so that the pairing structure is destroyed and the binomial coefficients no longer line up.
(iv) [6 marks]
- $\{2m+1-2j:0\leqslant j\leqslant m\}$ is exactly the set of odd integers $r$ with $1\leqslant r\leqslant2m+1$, each occurring once; so the stated hypothesis is exactly the list of conditions needed to apply part (i) at each angle $(2m+1-2j)\theta$.
- $\sum_{k=1}^{n}\cos^{2m+1}\big((2k-1)\theta\big)=\dfrac{1}{2^{2m+1}}\sum_{j=0}^{m}\binom{2m+1}{j}\dfrac{\sin\big(2n(2m+1-2j)\theta\big)}{\sin\big((2m+1-2j)\theta\big)}$ under that hypothesis.
- For odd $r$ and $\theta=\dfrac{\pi}{2n+1}$: $2nr\theta=r\pi-r\theta$ and $\sin(r\pi-x)=\sin x$, so each quotient equals $1$.
- $\sum_{j=0}^{m}\binom{2m+1}{j}=2^{2m}$, by the symmetry $\binom{2m+1}{j}=\binom{2m+1}{2m+1-j}$ splitting $2^{2m+1}$ into two equal halves.
- $m\leqslant n-1$ is exactly the condition making every $r_{j}\leqslant2m+1\leqslant2n-1\lt2n+1$, hence $0\lt r_{j}\theta\lt\pi$ and $\sin(r_{j}\theta)\neq0$; the deduced value is $\dfrac{2^{2m}}{2^{2m+1}}=\dfrac12$, independent of both $m$ and $n$.
- When $m=n$ the index $j=0$ gives $\sin\big((2n+1)\theta\big)=\sin\pi=0$, so the identity is unavailable; and for $m=n=2$ the sum equals $\dfrac{11}{32}$, which is not $\dfrac12$.
- 1 marks: Identifying the index set $\{2m+1-2j\}$ with the odd integers from $1$ to $2m+1$, and exchanging the finite sums over $j$ and $k$.
- 1 marks: Applying part (i) at each angle $(2m+1-2j)\theta$, with the reindexing $(2m+1-2j)(2k-1)\theta=(2k-1)\big((2m+1-2j)\theta\big)$ stated, to reach the required identity with the correct power $2^{2m+1}$.
- 1 marks: The evaluation of each quotient as $1$ at $\theta=\pi/(2n+1)$, via $2nr\theta=r\pi-r\theta$ together with $\sin(r\pi-x)=\sin x$ for odd $r$. The parity of $r$ must be used, not merely quoted.
- 1 marks: The half binomial sum $\sum_{j=0}^{m}\binom{2m+1}{j}=2^{2m}$, with the symmetry argument that makes the two halves equal.
- 1 marks: Verifying the hypothesis at $\theta=\pi/(2n+1)$, that is showing that $m\leqslant n-1$ forces every $r_{j}\theta$ into $(0,\pi)$, and concluding the value $\tfrac12$.
- 1 marks: Explaining that $m=n$ makes the $j=0$ term undefined because $\sin\big((2n+1)\theta\big)=0$, and producing $\tfrac{11}{32}$ for $m=n=2$ by a route that does not use the failed identity.
- No credit: Setting $m=n$ and cancelling the $j=0$ quotient to $1$ on the grounds that its numerator and denominator are both zero. Both are indeed zero, which is exactly why the step is invalid, and the answer it produces is false.
- No credit: Asserting $\sum_{j=0}^{m}\binom{2m+1}{j}=2^{2m}$ with no argument. It is half of $2^{2m+1}$ only because the coefficients pair up, which is the same symmetry used in part (iii).
- No credit: Concluding the value $\tfrac12$ without anywhere checking that $\sin(r_{j}\theta)\neq0$ for the chosen $\theta$. A solution that never uses the restriction $m\leqslant n-1$ has proved a false statement, since the conclusion fails at $m=n$.
- No credit: Obtaining $\tfrac{11}{32}$ by decimal evaluation alone. A value of $0.34375$ supports the claim but does not establish it; the exact computation is what is being marked.
- No credit: Treating $\sin(r\pi-x)=\sin x$ as true for all integers $r$. It holds for odd $r$ and fails for even $r$, and the restriction to odd $r$ is supplied by the shape of the index set.
What each part was for
- (ii) uses (i): Part (ii) uses part (i) twice, at $\theta$ and again at $3\theta$. Without part (i) the candidate would have to prove the sum formula for the odd multiples of an angle from scratch, and then apply it in the form needed for the tripled angle. The reindexing $3(2k-1)\theta=(2k-1)(3\theta)$ is the content of the part and is meaningless without an earlier result to apply.
- (iv) uses (i): Part (iv) applies part (i) once for each of the $m+1$ odd values $r=1,3,\ldots,2m+1$, at the angle $r\theta$. Part (i) is not a worked example here, it is the lemma the general proof calls repeatedly, and the hypothesis of part (iv) is precisely the list of conditions under which those $m+1$ applications are legal. Without part (i) the final part is not reachable in comparable work: the candidate would have to derive the same sum formula first and then still do everything else. The final deduction also reuses part (i)'s specific evaluation at $\theta=\pi/(2n+1)$, since $2n\theta=\pi-\theta$ generalises to $2nr\theta=r\pi-r\theta$.
- (iv) uses (iii): Part (iii) is the only route from the power $\cos^{2m+1}$ to a combination of cosines of multiple angles, which is what makes part (i) applicable at all. Without it there is no way to turn a sum of odd powers into sums of cosines, and the final part has no first move.
- (iv) uses (ii): Part (ii) is the case $m=1$ carried out in full, and it rehearses the one move that is easy to miss in general: that the angles of the derived sum are again the odd multiples of a rescaled angle, and that the rescaling is what generates the extra conditions on $\theta$. A candidate who has done (ii) knows what shape (iv) must take and knows to look for the excluded angles rather than assuming there are none.
(i)
The terms $\cos\theta,\cos3\theta,\ldots,\cos(2n-1)\theta$ do not cancel against one another as they stand, so something has to be done to them first. Two routes work, and choosing between them is the only real decision in this part.
Route 1, force a telescope. We look for a multiplier that turns each term into a difference of two things, one of which is the next term's partner. The angles lying at a distance $\theta$ either side of $(2k-1)\theta$ are $2k\theta$ and $(2k-2)\theta$, and those are consecutive even multiples of $\theta$, so they are exactly the objects that will cancel in pairs. That observation is what motivates the following, and writing $2k\theta=(2k-1)\theta+\theta$ and $(2k-2)\theta=(2k-1)\theta-\theta$ is the choice being made: $$\sin(2k\theta)-\sin\big((2k-2)\theta\big)=\sin\big((2k-1)\theta+\theta\big)-\sin\big((2k-1)\theta-\theta\big)=2\cos\big((2k-1)\theta\big)\sin\theta,$$ by the compound angle formula for $\sin(P\pm Q)$, the two $\sin\big((2k-1)\theta\big)\cos\theta$ terms cancelling. Summing this for $k=1,2,\ldots,n$, $$2\sin\theta\sum_{k=1}^{n}\cos\big((2k-1)\theta\big)=\sum_{k=1}^{n}\Big(\sin(2k\theta)-\sin\big((2k-2)\theta\big)\Big).$$ Write the right hand side out rather than asserting the cancellation, because that is where an off by one error would live: $$\big(\sin2\theta-\sin0\big)+\big(\sin4\theta-\sin2\theta\big)+\cdots+\big(\sin2n\theta-\sin(2n-2)\theta\big)=\sin2n\theta-\sin0=\sin2n\theta .$$ Every angle $2\theta,4\theta,\ldots,(2n-2)\theta$ occurs exactly twice, once with each sign, so only the two ends survive. Since $\sin\theta\neq0$ by hypothesis we may divide by $2\sin\theta$, and that hypothesis is exactly what makes the division legal: $$\sum_{k=1}^{n}\cos\big((2k-1)\theta\big)=\frac{\sin2n\theta}{2\sin\theta}.$$
Route 2, a geometric series. Put $z=\cos\theta+\mathrm{i}\sin\theta$. By de Moivre, $z^{2k-1}=\cos\big((2k-1)\theta\big)+\mathrm{i}\sin\big((2k-1)\theta\big)$, so the sum we want is the real part of $\sum_{k=1}^{n}z^{2k-1}$, a geometric series with first term $z$ and common ratio $z^{2}$. Before summing it we must know the ratio is not $1$: $z^{2}=\cos2\theta+\mathrm{i}\sin2\theta$ equals $1$ exactly when $\theta$ is an integer multiple of $\pi$, which is exactly the case $\sin\theta=0$ that the hypothesis excludes. So the two routes exclude the same $\theta$, which is a useful check on both. Then $$\sum_{k=1}^{n}z^{2k-1}=z\cdot\frac{z^{2n}-1}{z^{2}-1}=\frac{z^{2n}-1}{z-z^{-1}}=\frac{z^{2n}-1}{2\mathrm{i}\sin\theta},$$ using $z^{-1}=\cos\theta-\mathrm{i}\sin\theta$. Since $2\sin\theta$ is real and $1/\mathrm{i}=-\mathrm{i}$, taking real parts turns the numerator's imaginary part into the answer: $$\sum_{k=1}^{n}\cos\big((2k-1)\theta\big)=\frac{\operatorname{Im}\big(z^{2n}-1\big)}{2\sin\theta}=\frac{\sin2n\theta}{2\sin\theta}.$$
The deduction. Take $\theta=\dfrac{\pi}{2n+1}$. This lies strictly between $0$ and $\pi$, so $\sin\theta\neq0$ and the identity applies. The point is the arithmetic of the numerator: $$2n\theta=\frac{2n\pi}{2n+1}=\pi-\frac{\pi}{2n+1}=\pi-\theta ,$$ so $\sin2n\theta=\sin(\pi-\theta)=\sin\theta$ and the quotient collapses: $$\sum_{k=1}^{n}\cos\frac{(2k-1)\pi}{2n+1}=\frac{\sin\theta}{2\sin\theta}=\frac12 .$$ Note what this says: the answer does not depend on $n$ at all. Part (iv) will show that it does not depend on the power either, and this is the case of that statement with the power equal to $1$.
(ii)
Why one condition is enough. Suppose $\sin\theta=0$. Then $\theta=p\pi$ for some integer $p$, so $3\theta=3p\pi$ and $\sin3\theta=0$ as well. Taking the contrapositive: if $\sin3\theta\neq0$ then $\sin\theta\neq0$. So the single stated condition licenses both of the applications of part (i) that follow. The converse is false, which is the whole reason the condition has to be stated in terms of $3\theta$: at $\theta=\pi/3$ we have $\sin\theta\neq0$ but $\sin3\theta=0$.
The identity. From $\cos3A=4\cos^{3}A-3\cos A$, which is de Moivre with index $3$ or the standard triple angle formula, $$\cos^{3}A=\frac{3\cos A+\cos3A}{4}\qquad\text{for every real }A .$$ Put $A=(2k-1)\theta$ and sum for $k=1,\ldots,n$. Both sums are finite, so splitting them is free: $$\sum_{k=1}^{n}\cos^{3}\big((2k-1)\theta\big)=\frac34\sum_{k=1}^{n}\cos\big((2k-1)\theta\big)+\frac14\sum_{k=1}^{n}\cos\big(3(2k-1)\theta\big).$$ The first sum is part (i). The second is the step the rest of the question is built on, and it is a choice rather than a consequence: rewrite $$3(2k-1)\theta=(2k-1)(3\theta),$$ so that the angles in the second sum, namely $3\theta,\,9\theta,\,\ldots,\,(2n-1)(3\theta)$, are precisely the first $n$ odd multiples of $3\theta$. Part (i) therefore applies verbatim with $\theta$ replaced throughout by $3\theta$, which is legitimate because $\sin3\theta\neq0$. Hence $$\sum_{k=1}^{n}\cos^{3}\big((2k-1)\theta\big)=\frac34\cdot\frac{\sin2n\theta}{2\sin\theta}+\frac14\cdot\frac{\sin\big(2n\cdot3\theta\big)}{2\sin3\theta}=\frac{3\sin2n\theta}{8\sin\theta}+\frac{\sin6n\theta}{8\sin3\theta}.$$
The excluded values. For $0\lt\theta\lt\pi$ we have $0\lt3\theta\lt3\pi$, and in that range $\sin3\theta=0$ exactly when $3\theta=\pi$ or $3\theta=2\pi$, that is $$\theta=\frac{\pi}{3}\quad\text{or}\quad\theta=\frac{2\pi}{3}.$$ There is nothing else to exclude, since $\sin\theta=0$ has no solution with $0\lt\theta\lt\pi$.
The excluded case, evaluated directly. At $\theta=\pi/3$ and $n=3$ the three angles are $\pi/3$, $\pi$ and $5\pi/3$, with cosines $\tfrac12$, $-1$ and $\tfrac12$. So $$\sum_{k=1}^{3}\cos^{3}\big((2k-1)\tfrac{\pi}{3}\big)=\tfrac18-1+\tfrac18=-\tfrac34 .$$ The formula cannot be evaluated here, because its second term is $0/0$: at $\theta=\pi/3$ both $\sin6n\theta$ and $\sin3\theta$ vanish. What must not be done is to declare that term equal to $1$, as it is for a generic $\theta$, which would give $\frac18$, or to discard it as zero, which would give $0$. The sum itself is a trigonometric polynomial and so is perfectly well behaved at $\theta=\pi/3$, and indeed the limit of the right hand side as $\theta\to\pi/3$ is $0+(-\frac34)=-\frac34$, which agrees with the direct evaluation, as it must.
(iii)
Set $z=\cos A+\mathrm{i}\sin A$, so that $|z|=1$ and $z^{-1}=\cos A-\mathrm{i}\sin A$. By de Moivre, for every integer $r$, $$z^{r}+z^{-r}=\big(\cos rA+\mathrm{i}\sin rA\big)+\big(\cos rA-\mathrm{i}\sin rA\big)=2\cos rA .$$ In particular $z+z^{-1}=2\cos A$. Raising that to the power $2m+1$ by the binomial theorem, which is available because $2m+1$ is a positive integer, $$\big(2\cos A\big)^{2m+1}=\big(z+z^{-1}\big)^{2m+1}=\sum_{j=0}^{2m+1}\binom{2m+1}{j}z^{\,2m+1-j}\big(z^{-1}\big)^{j}=\sum_{j=0}^{2m+1}\binom{2m+1}{j}z^{\,2m+1-2j}.$$ The expansion has $2m+2$ terms and we want $m+1$ cosines, so the move is to pair the terms off. Pair the term with index $j$ against the term with index $2m+1-j$. Their coefficients are equal, since $\binom{2m+1}{j}=\binom{2m+1}{2m+1-j}$, and their exponents are negatives of one another, since $$2m+1-2(2m+1-j)=-(2m+1-2j).$$ As $j$ runs through $0,1,\ldots,m$ its partner $2m+1-j$ runs through $2m+1,2m,\ldots,m+1$, so the $2m+2$ terms fall into exactly $m+1$ pairs, with no term left over and no term used twice. This is where the exponent being odd is doing real work: an even power would have a middle term that is its own partner, and the corresponding identity carries an extra constant. Using $z^{r}+z^{-r}=2\cos rA$ on each pair, $$\big(2\cos A\big)^{2m+1}=\sum_{j=0}^{m}\binom{2m+1}{j}\Big(z^{\,2m+1-2j}+z^{-(2m+1-2j)}\Big)=2\sum_{j=0}^{m}\binom{2m+1}{j}\cos\big((2m+1-2j)A\big).$$ Dividing by $2$, and noting $2^{2m+1}/2=2^{2m}$, $$2^{2m}\cos^{2m+1}A=\sum_{j=0}^{m}\binom{2m+1}{j}\cos\big((2m+1-2j)A\big),$$ as required. As a check, $m=1$ gives $4\cos^{3}A=\cos3A+3\cos A$, which is the identity used in part (ii), and $m=2$ gives $16\cos^{5}A=\cos5A+5\cos3A+10\cos A$.
(iv)
Write $r_{j}=2m+1-2j$. As $j$ runs through $0,1,\ldots,m$, $r_{j}$ runs through $2m+1,\,2m-1,\,\ldots,\,3,\,1$: that is, through every odd integer from $1$ to $2m+1$, each exactly once. So the hypothesis, that $\sin(r\theta)\neq0$ for every odd $r$ with $1\leqslant r\leqslant2m+1$, says precisely that $\sin(r_{j}\theta)\neq0$ for each $j$ in the range, and that is precisely what is needed to apply part (i) at the angle $r_{j}\theta$, once for each $j$. The hypothesis is not decoration: it is the list of $m+1$ conditions the argument is about to consume.
Put $A=(2k-1)\theta$ in part (iii) and sum over $k$. Both sums are finite, so they may be interchanged: $$2^{2m}\sum_{k=1}^{n}\cos^{2m+1}\big((2k-1)\theta\big)=\sum_{k=1}^{n}\sum_{j=0}^{m}\binom{2m+1}{j}\cos\big(r_{j}(2k-1)\theta\big)=\sum_{j=0}^{m}\binom{2m+1}{j}\sum_{k=1}^{n}\cos\big(r_{j}(2k-1)\theta\big).$$ Exactly as in part (ii), $r_{j}(2k-1)\theta=(2k-1)\big(r_{j}\theta\big)$, so the inner sum runs over the first $n$ odd multiples of the angle $r_{j}\theta$, and part (i) gives $$\sum_{k=1}^{n}\cos\big((2k-1)(r_{j}\theta)\big)=\frac{\sin\big(2nr_{j}\theta\big)}{2\sin\big(r_{j}\theta\big)} .$$ Substituting and dividing by $2^{2m}$, $$\sum_{k=1}^{n}\cos^{2m+1}\big((2k-1)\theta\big)=\frac{1}{2^{2m+1}}\sum_{j=0}^{m}\binom{2m+1}{j}\frac{\sin\big(2n(2m+1-2j)\theta\big)}{\sin\big((2m+1-2j)\theta\big)},$$ which is the required identity.
The deduction. Take $\theta=\dfrac{\pi}{2n+1}$ and suppose $m\leqslant n-1$. First check the hypothesis, since this is the only place the restriction on $m$ is used: each $r_{j}$ is odd with $$1\leqslant r_{j}\leqslant2m+1\leqslant2n-1\lt2n+1,$$ so $0\lt r_{j}\theta\lt\pi$ and therefore $\sin(r_{j}\theta)\neq0$. The identity above is thus available. Now evaluate each quotient. For each $j$, $$2nr_{j}\theta=\frac{2nr_{j}\pi}{2n+1}=r_{j}\pi-\frac{r_{j}\pi}{2n+1}=r_{j}\pi-r_{j}\theta ,$$ and since $r_{j}$ is odd, $\sin(r_{j}\pi)=0$ and $\cos(r_{j}\pi)=-1$, so $$\sin\big(r_{j}\pi-r_{j}\theta\big)=\sin(r_{j}\pi)\cos(r_{j}\theta)-\cos(r_{j}\pi)\sin(r_{j}\theta)=\sin(r_{j}\theta).$$ Every quotient is therefore $1$, and $$\sum_{k=1}^{n}\cos^{2m+1}\frac{(2k-1)\pi}{2n+1}=\frac{1}{2^{2m+1}}\sum_{j=0}^{m}\binom{2m+1}{j}.$$ The remaining sum is half of a full binomial expansion: the map $j\mapsto2m+1-j$ is a bijection from $\{0,1,\ldots,m\}$ onto $\{m+1,\ldots,2m+1\}$ and $\binom{2m+1}{j}=\binom{2m+1}{2m+1-j}$, so the two halves of $$\sum_{j=0}^{2m+1}\binom{2m+1}{j}=2^{2m+1}$$ are equal and each is $2^{2m}$. Hence the sum equals $\dfrac{2^{2m}}{2^{2m+1}}=\dfrac12$ for every $m$ with $m\leqslant n-1$, and in particular it does not depend on $m$: the value found in part (i) for the first power is the value for every odd power up to the $(2n-1)$th.
Why $m=n$ is different. When $m=n$ the index $j=0$ gives $r_{0}=2m+1=2n+1$, and then $$\sin(r_{0}\theta)=\sin\left(\frac{(2n+1)\pi}{2n+1}\right)=\sin\pi=0 .$$ The hypothesis of the identity fails, so the term with $j=0$ cannot be evaluated by substitution. It is not that the term contributes nothing: it is a $0/0$, and the temptation to declare it equal to $1$ like all the others is exactly what must be resisted, since that gives $\frac12$ and the answer is not $\frac12$. A reader who prefers to rescue the identity may take the limit as $\theta\to\frac{\pi}{2n+1}$, which is legitimate because both sides are continuous and the identity holds nearby, and that limit gives the $j=0$ quotient the value $-2n$; the direct route below avoids the limit altogether and is the one to write out in an examination. The temptation to be resisted is specific and worth naming: the numerator of that term, $\sin(2nr_{0}\theta)=\sin(2n\pi)$, is also zero, so the offending term looks like $0/0$ and it is easy to declare it equal to $1$ like all the others and carry on. That step is invalid, and here it does not merely fail to be justified, it gives a false answer.
The case $m=n=2$. Here $\theta=\pi/5$ and the two angles are $\pi/5$ and $3\pi/5$. Rather than substitute into a formula that does not apply, go back to part (iii), which holds for every real $A$: with $m=2$, $$16\cos^{5}A=\cos5A+5\cos3A+10\cos A .$$ Sum over the two angles. For the $\cos5A$ term the angles become $\pi$ and $3\pi$, so that contribution is $\cos\pi+\cos3\pi=-1-1=-2$; this is the term the general argument could not handle, and it is nowhere near the value $\tfrac12$ that the other terms take. For the $\cos3A$ term the angles are the first two odd multiples of $3\pi/5$, and part (i) applies since $\sin(3\pi/5)\neq0$, giving $\tfrac12$; the $\cos A$ term gives $\tfrac12$ in the same way. Hence $$\sum_{k=1}^{2}\cos^{5}\frac{(2k-1)\pi}{5}=\frac{1}{16}\left(-2+5\cdot\frac12+10\cdot\frac12\right)=\frac{1}{16}\cdot\frac{11}{2}=\frac{11}{32},$$ and $\tfrac{11}{32}\neq\tfrac12$, as required. As a numerical check, $\cos^{5}(\pi/5)+\cos^{5}(3\pi/5)=0.34375$, which is $11/32$ exactly.
Remark, not required by the question. The same computation for general $n$ with $m=n$ gives $-n$ from the single term $r=2n+1$ and $\tfrac12$ from each of the others, so $$\sum_{k=1}^{n}\cos^{2n+1}\frac{(2k-1)\pi}{2n+1}=\frac{1}{2^{2n}}\left(-n+\frac{2^{2n}-1}{2}\right)=\frac12-\frac{2n+1}{2^{2n+1}} .$$ The value $11/32$ above is the case $n=2$. More is true, and it costs one line. At $\theta=\frac{\pi}{2n+1}$ the inner sum $\sum_{k=1}^{n}\cos\big((2k-1)r\theta\big)$ equals $\frac12$ when $2n+1$ does not divide the odd number $r$, and equals $-n$ when it does, because then every cosine is $\cos$ of an odd multiple of $\pi$. Hence in general $\sum_{k=1}^{n}\cos^{2m+1}\frac{(2k-1)\pi}{2n+1}=\frac12-\frac{(2n+1)T}{2^{2m+1}}$ where $T$ is the sum of those $\binom{2m+1}{j}$ for which $2n+1$ divides $2m+1-2j$; since $T=0$ exactly when $2m+1\lt2n+1$ and $T\geqslant1$ otherwise, the answer is $\frac12$ precisely when $m\leqslant n-1$ and is strictly smaller for every $m\geqslant n$.
Lemma-breaking pass: 7 claimed lemma(s) attacked with counterexamples, 7 unproved step(s) challenged, 4 challenge(s) upheld and 3 repair(s) made to the solution above before it was published.
[07] Polynomials · Pure · 20 marks
Polynomials in $x+\frac{1}{x}$
This is a proof question, so there is no answer key a computer can check. Everything below is asserted by the author and re-derived independently, not machine-verified.
Difficulty 12 of 18: STEP 2 core. Scored against a published rubric as independent ideas 3, ladder 2, generalisation 1, unsignposted step 2, technical load 1, argument burden 3. Each axis runs 0 to 3.
Reviewer verdict: publishable, with reservations.
On difficulty. Correct throughout, cleanly written, and built on four genuinely different ideas, which is the best thing about it. The weakness is structural rather than mathematical: the ladder is single-stranded and part (iv) is not on it at all, so a candidate can take three marks in the middle of the question without having read anything above them, and part (i) turns out to prove more than the part that consumes it actually needs. Both independent solvers reached every required result in every part at high confidence, which places this below its slot target of 13; the discrimination is concentrated almost entirely in the final part, where the identity has to be carried from two half-lines to the whole line. Score 12 against the setter's 13, with the disagreement on the generalisation-gap axis, where the setter's own reasoning contains the sentence that caps it at 1.
- Part (iv) is detached from the rest of the question. It uses nothing from parts (i) to (iii) and nothing later uses it: both solvers recorded no earlier parts for it, independently, and one said it would sit equally well as the opening part. If you stall on part (iii), the three marks in part (iv) are still fully available to you, and they are the cheapest three marks in the question.
- The stem's convention collides with part (i). The stem says that whenever $x$ and $t$ appear in the same statement, $t=x+\frac{1}{x}$; part (i) then says "Let $t$ be a real number" and asks whether $x+\frac{1}{x}=t$ has a solution. Read strictly under the convention that equation holds by definition and there is nothing to solve. Take the convention as being in force from part (ii) onwards, where it is exactly what you want, and read part (i) as the question of which real numbers $t$ are attainable.
- In part (i), "the complete set of solutions is $\left\{x_0,\frac{1}{x_0}\right\}$" is an equality of sets and not a promise of two solutions. At $t=2$ and at $t=-2$ the two entries coincide, at $x_0=1$ and $x_0=-1$ respectively. Say so: the mark scheme lists the coincidence as a required result, and a candidate who reads the sentence as a count of two will write down something false at those two values.
- In part (ii)(c), "Without expanding $t^4$" means do not expand $\left(x+\frac{1}{x}\right)^4$ by the binomial theorem. No fourth power of $t$ appears in the identity you are asked for until you multiply out $\left(t^2-2\right)^2$, so the prohibition reads oddly. The brute-force expansion reaches the same answer, $t^4-4t^2+2$, and the mark scheme refuses credit for it, so take the substitution route and say which identity you substituted into.
Throughout this question, whenever the letters $x$ and $t$ appear in the same statement, $x$ denotes a non-zero real number and $$t \;=\; x + \frac{1}{x}.$$ Every polynomial in this question has real coefficients.
You may use the following fact without proof, as often as you wish.
Fact. If a polynomial takes the value $0$ at infinitely many distinct real numbers, then every one of its coefficients is $0$.
You may use the result of any earlier part of this question when answering a later part.
(i) [3 marks]
Let $t$ be a real number. Show that the equation $$x + \frac{1}{x} \;=\; t$$ has a solution in non-zero real numbers $x$ if and only if $t \ge 2$ or $t \le -2$.
Show also that whenever $x_0$ is such a solution, the complete set of solutions is $\left\{\, x_0,\ \dfrac{1}{x_0} \,\right\}$.
Method family: Symmetry and without loss of generality
(ii) [5 marks]
(a) Show that $$x^2 + \frac{1}{x^2} \;=\; t^2 - 2 \qquad \text{and} \qquad x^3 + \frac{1}{x^3} \;=\; t^3 - 3t.$$
(b) Hence find every non-zero real number $x$ satisfying $$x^3 + \frac{1}{x^3} \;=\; 3\left(x + \frac{1}{x}\right),$$ proving that your list is complete.
(c) Without expanding $t^4$, show that $$x^4 + \frac{1}{x^4} \;=\; \left(t^2 - 2\right)^2 - 2,$$ stating what you substituted into which identity.
Method family: Symmetry and without loss of generality
(iii) [4 marks]
Prove that, for every positive integer $n$, there is a polynomial $p_n$ of degree $n$ with leading coefficient $1$ such that $$p_n\!\left(x + \frac{1}{x}\right) \;=\; x^n + \frac{1}{x^n}$$ for every non-zero real number $x$.
Method family: Strong induction and descent, Symmetry and without loss of generality
(iv) [3 marks]
Let $n$ be a positive integer. Prove that there is no polynomial $q$ such that $$q\!\left(x + \frac{1}{x}\right) \;=\; x^n - \frac{1}{x^n}$$ for every non-zero real number $x$.
Method family: Contradiction, Symmetry and without loss of generality
(v) [5 marks]
For each positive integer $n$, let $p_n$ be a polynomial with the property established in part (iii). Prove that, for all positive integers $m$ and $n$, $$p_m\!\left(p_n(u)\right) \;=\; p_{mn}(u)$$ for every real number $u$.
Method family: Symmetry and without loss of generality, Contradiction
Reveal the mark scheme and the full solution. Attempt every part first.
What each part establishes
- (i) Proved: $x + \frac{1}{x} = t$ has a non-zero real solution if and only if $t \ge 2$ or $t \le -2$, and the solution set is then $\left\{x_0, \frac{1}{x_0}\right\}$ for either root $x_0$ of $x^2 - tx + 1 = 0$. The two roots coincide exactly when $t = 2$ (giving $x = 1$) and when $t = -2$ (giving $x = -1$).
- (ii)(a) Proved: $x^2 + \frac{1}{x^2} = t^2 - 2$ and $x^3 + \frac{1}{x^3} = t^3 - 3t$ for every non-zero real $x$.
- (ii)(b) The equation reduces to $t\left(t^2-6\right) = 0$. The root $t = 0$ is not attainable, and $t = \pm\sqrt{6}$ give the four solutions $x = \frac{\sqrt{6}+\sqrt{2}}{2}$, $\frac{\sqrt{6}-\sqrt{2}}{2}$, $-\frac{\sqrt{6}-\sqrt{2}}{2}$, $-\frac{\sqrt{6}+\sqrt{2}}{2}$. There are no others.
- (ii)(c) Proved: $x^4 + \frac{1}{x^4} = \left(t^2-2\right)^2 - 2 = t^4 - 4t^2 + 2$, by applying the identity $u^2 + \frac{1}{u^2} = \left(u+\frac{1}{u}\right)^2 - 2$ with $u = x^2$.
- (iii) Proved by induction with two base cases: for every positive integer $n$ there is a monic polynomial $p_n$ of degree $n$ with $p_n\!\left(x+\frac{1}{x}\right) = x^n + \frac{1}{x^n}$ for every non-zero real $x$. The polynomials satisfy $p_1(t) = t$, $p_2(t) = t^2-2$ and $p_{n+1}(t) = t\,p_n(t) - p_{n-1}(t)$.
- (iv) Proved: no such polynomial exists, for any positive integer $n$. Indeed no function of $x + \frac{1}{x}$ can equal $x^n - \frac{1}{x^n}$, because $x$ and $\frac{1}{x}$ give the same value of $x + \frac{1}{x}$ and opposite values of $x^n - \frac{1}{x^n}$.
- (v) Proved: $p_m\!\left(p_n(u)\right) = p_{mn}(u)$ for all positive integers $m$ and $n$ and every real number $u$. The substitution $y = x^n$ gives the identity for $u \ge 2$ and $u \le -2$, and the Fact extends it to every real $u$.
Mark scheme
The results a solution has to reach. Mark your own attempt against these rather than against the wording of the model solution: three correct write-ups of one proposition read as three different answers, which is exactly why comparing prose is useless here.
(i) [3 marks]
- For a non-zero real $x$, the equation $x + \frac{1}{x} = t$ is equivalent to $x^2 - tx + 1 = 0$, and $0$ is not a root of that quadratic.
- The quadratic $x^2 - tx + 1 = 0$ has a real root if and only if $t^2 - 4 \ge 0$, that is if and only if $t \ge 2$ or $t \le -2$. Both directions must be covered.
- The product of the roots of $x^2 - tx + 1 = 0$ is $1$, so the solution set is $\left\{x_0, \frac{1}{x_0}\right\}$; when $t = \pm 2$ the two roots coincide.
- 1 marks: Producing $x^2 - tx + 1 = 0$ and saying why multiplying by $x$ loses nothing, or proving $t \ge 2$ for $x \gt 0$ and $t \le -2$ for $x \lt 0$ with both cases treated separately.
- 1 marks: The converse direction: for $t \ge 2$ or $t \le -2$ the discriminant $t^2-4$ is non-negative, so a real solution exists.
- 1 marks: Identifying the solution set as a reciprocal pair, justified by the product of the roots being $1$ rather than asserted.
- No credit: Treating only $x \gt 0$. The case $x \lt 0$ supplies the other half of the range and the inequality reverses there, so omitting it proves half the statement.
- No credit: Quoting $x + \frac{1}{x} \ge 2$ from AM-GM without stating that it requires $x \gt 0$.
- No credit: Proving only the forward direction. The question is an 'if and only if' and the converse is separately marked.
(ii) [5 marks]
- $x^2 + \frac{1}{x^2} = t^2 - 2$ and $x^3 + \frac{1}{x^3} = t^3 - 3t$, for every non-zero real $x$.
- The equation of (b) is equivalent to $t^3 - 6t = 0$, that is $t\left(t^2-6\right) = 0$, so $t = 0$ or $t = \pm\sqrt{6}$.
- $t = 0$ contributes no solutions, because by part (i) no non-zero real $x$ satisfies $x + \frac{1}{x} = 0$.
- The complete solution set of (b) is $x = \frac{\sqrt{6}+\sqrt{2}}{2}$, $x = \frac{\sqrt{6}-\sqrt{2}}{2}$, $x = -\frac{\sqrt{6}-\sqrt{2}}{2}$, $x = -\frac{\sqrt{6}+\sqrt{2}}{2}$, four values in two reciprocal pairs.
- $x^4 + \frac{1}{x^4} = \left(x^2 + \frac{1}{x^2}\right)^2 - 2 = \left(t^2-2\right)^2 - 2$, obtained by applying the $n=2$ identity with $x^2$ in place of $x$, which is valid because $x^2$ is a non-zero real number.
- 2 marks: Both identities in (a), each derived rather than quoted. One mark if only one is correct.
- 1 marks: Reducing (b) to $t\left(t^2-6\right) = 0$ and solving for $t$.
- 1 marks: Rejecting $t = 0$ with a reason, and converting the surviving values of $t$ back into the four values of $x$. Both halves are needed for this mark.
- 1 marks: Part (c) obtained by substituting $x^2$ into the $n=2$ identity, with the substitution named.
- No credit: Listing the four solutions of (b) without disposing of $t = 0$. Completeness is what the part is asking for, and an unexamined root of the cubic in $t$ leaves the list unjustified.
- No credit: Solving (b) for $t$ and stopping. The question asks for the values of $x$.
- No credit: Obtaining (c) by expanding $t^4$ and collecting terms. The answer is then correct but the part was set to make the substitution explicit, and part (v) depends on that idea.
(iii) [4 marks]
- The proposition being proved, stated for a general $n$: there is a polynomial $p_n$ of degree $n$ with leading coefficient $1$ such that $p_n\!\left(x+\frac{1}{x}\right) = x^n + \frac{1}{x^n}$ for every non-zero real $x$.
- The identity $\left(x^n + \frac{1}{x^n}\right)\left(x + \frac{1}{x}\right) = \left(x^{n+1} + \frac{1}{x^{n+1}}\right) + \left(x^{n-1} + \frac{1}{x^{n-1}}\right)$, valid for every non-zero real $x$ and every integer $n \ge 1$.
- The recurrence $p_{n+1}(t) = t\,p_n(t) - p_{n-1}(t)$, together with the two base cases $p_1(t) = t$ and $p_2(t) = t^2-2$, the second taken from part (ii)(a).
- $\deg p_{n+1} = n+1$ with leading coefficient $1$, because $t\,p_n$ has degree $n+1$ and leading coefficient $1$ while $\deg p_{n-1} = n-1 \lt n+1$.
- 1 marks: Deriving the product identity that relates the cases $n+1$, $n$ and $n-1$.
- 1 marks: Setting up an induction that matches the identity: two base cases stated and verified, and a hypothesis covering two consecutive cases.
- 1 marks: Carrying out the inductive step, with the polynomial $p_{n+1}$ defined by the recurrence and the substitution $t = x + \frac{1}{x}$ made explicitly.
- 1 marks: The degree and leading coefficient, justified by comparing degrees rather than asserted from the first few cases.
- No credit: An induction with a single base case. The recurrence reaches back two steps, so a hypothesis about $S(n)$ alone does not deliver $S(n+1)$.
- No credit: Computing $p_1$ to $p_5$ and asserting that the pattern continues. Exhibiting cases is not a proof that every $n$ works.
- No credit: Claiming the degree from the explicit small cases without an argument that the leading term survives the subtraction.
(iv) [3 marks]
- The negation being assumed, stated in full: for this $n$ there exists a polynomial $q$ with $q\!\left(x+\frac{1}{x}\right) = x^n - \frac{1}{x^n}$ for every non-zero real $x$.
- $x$ and $\frac{1}{x}$ give the same value of $x + \frac{1}{x}$, and a specific choice with $x \ne \pm 1$ is made, for example $x = 2$ and $x = \frac{1}{2}$, both giving $\frac{5}{2}$.
- $q\!\left(\frac{5}{2}\right) = 2^n - 2^{-n}$ and $q\!\left(\frac{5}{2}\right) = 2^{-n} - 2^{n}$, hence $2^{2n} = 1$, which is false because $2^{2n} \ge 4$ for $n \ge 1$.
- The conclusion names the assumption that fails: no such polynomial $q$ exists.
- 1 marks: Recognising that $x$ and $\frac{1}{x}$ share a value of $x + \frac{1}{x}$ while $x^n - \frac{1}{x^n}$ changes sign, and choosing a pair with $x \ne \pm 1$.
- 1 marks: The two evaluations at the same point, giving two expressions for one value of $q$.
- 1 marks: Reaching an explicit false statement and saying which assumption is thereby refuted.
- No credit: Arguing that $x^n - \frac{1}{x^n}$ is not a polynomial in $x$. That is true but proves nothing, since $x^n + \frac{1}{x^n}$ is not one either and part (iii) shows it is nevertheless a polynomial in $x + \frac{1}{x}$.
- No credit: Deducing only that $q$ would have to be odd, or of a particular degree, without producing a false statement.
- No credit: Choosing $x = 1$ or $x = -1$, where $x$ and $\frac{1}{x}$ coincide and both sides vanish, so no contradiction can arise.
(v) [5 marks]
- With $t = x + \frac{1}{x}$ and $y = x^n$: $y$ is a non-zero real number and $p_n(t) = x^n + \frac{1}{x^n} = y + \frac{1}{y}$.
- $p_m\!\left(p_n(t)\right) = p_m\!\left(y + \frac{1}{y}\right) = y^m + \frac{1}{y^m} = x^{mn} + \frac{1}{x^{mn}} = p_{mn}(t)$, using the property of part (iii) at $y$ and at $x$ with exponent $mn$.
- This proves the identity only for those $u$ of the form $x + \frac{1}{x}$, which by part (i) are exactly the reals with $u \ge 2$ or $u \le -2$.
- $D(u) = p_m\!\left(p_n(u)\right) - p_{mn}(u)$ is a polynomial vanishing at infinitely many distinct real numbers, so by the Fact it is the zero polynomial and the identity holds for every real $u$.
- 1 marks: The substitution $y = x^n$, with the observation that $p_n(t) = y + \frac{1}{y}$ is again of the required form.
- 2 marks: The chain of equalities giving $p_m\!\left(p_n(t)\right) = p_{mn}(t)$, with the property of part (iii) applied at $y$ and its validity there stated. One mark if the chain is right but the application at $y$ rather than at $x$ is not addressed.
- 1 marks: Recognising that the argument so far covers only $u \ge 2$ and $u \le -2$, and saying why, namely that no real $x$ produces a value strictly between $-2$ and $2$.
- 1 marks: Completing with the Fact: naming an infinite set of points where the difference vanishes, and concluding that the difference is the zero polynomial.
- No credit: Passing from the case $u \ge 2$ to all real $u$ without comment. The conclusion is true, but the step from a half-line to the whole line is the point of the part and carries its own mark.
- No credit: Verifying the identity for particular small $m$ and $n$, for example $p_2\!\left(p_3(u)\right) = p_6(u)$. That is a useful check and no more.
- No credit: Applying the property of part (iii) to $p_n(t)$ without saying that $p_n(t)$ is of the form $y + \frac{1}{y}$ for a non-zero real $y$. The property says nothing about arbitrary arguments.
What each part was for
- (ii)(b) uses (i): Without part (i) the solver has a cubic in $t$ with three roots and no criterion for which of them come from a real $x$. They would have to discover for themselves that $t = 0$ is unattainable, and, more importantly, that the question of attainability has to be asked at all. This is where the habit that part (v) needs is formed.
- (iii) uses (ii)(a): The recurrence reaches back two steps, so the induction needs two base cases. Part (ii)(a) supplies the second of them, $p_2(t) = t^2-2$, already proved. Without it the solver must produce a second base case before the induction can start, and, more subtly, must notice that one base case is not enough.
- (iv) uses (i): The contradiction is that $x + \frac{1}{x}$ cannot distinguish $x$ from $\frac{1}{x}$. Part (i) is where that reciprocal pairing is established as a fact about the solution set rather than noticed in passing, and it is what tells the solver to look for a pair of arguments rather than a single one.
- (v) uses (iii): Without part (iii) there are no polynomials $p_m$, $p_n$, $p_{mn}$ to compose, and no defining property to apply at $y$. Part (v) would have to prove all of part (iii) first.
- (v) uses (i): Two separate things come from part (i): that for $u \ge 2$ there is a real $x$ with $x + \frac{1}{x} = u$, which is what makes Step 1 apply at all, and that no real $x$ produces $-2 \lt u \lt 2$, which is what makes Step 3 necessary rather than decorative. Without part (i) a solver may not see that the identity has only been proved on part of the line.
- (v) uses (ii)(c): Part (ii)(c) is the concrete instance of the construction part (v) runs on: feeding a power of $x$ back into an identity proved for every non-zero real. Without it, the substitution $y = x^n$ is an unrehearsed idea rather than a generalisation of something the solver has already done by hand.
(i) Both halves of this part are governed by one quadratic, so it is worth producing it before doing anything else. For a non-zero real $x$, multiplying $x + \frac{1}{x} = t$ through by $x$ gives $$x^2 - tx + 1 \;=\; 0. \qquad (\ast)$$ Multiplying by $x$ is reversible here because $x \ne 0$ is given, so the non-zero real solutions of the original equation are exactly the real roots of $(\ast)$. Note also that $0$ is never a root of $(\ast)$, since putting $x = 0$ into it gives $1 = 0$; so no root has to be discarded afterwards.
Now $(\ast)$ is a quadratic in $x$ with real coefficients, so it has a real root if and only if its discriminant is non-negative, that is if and only if $t^2 - 4 \ge 0$. Since $t^2 - 4 = (t-2)(t+2)$, this product is non-negative exactly when $t \ge 2$ or $t \le -2$. That settles both directions of the 'if and only if' at once, which is why the quadratic was worth writing down first.
(If one prefers to prove the forward direction directly, the two signs of $x$ have to be separated, because the sign of $x$ decides the direction of the inequality: for $x \gt 0$, $\;x + \frac{1}{x} - 2 = \frac{(x-1)^2}{x} \ge 0$, and for $x \lt 0$, $\;x + \frac{1}{x} + 2 = \frac{(x+1)^2}{x} \le 0$.)
For the solution set, use the product of the roots of $(\ast)$, which is the constant term $1$. So if $x_0$ is one root, the other is $\frac{1}{x_0}$, and the complete solution set is $\left\{ x_0, \frac{1}{x_0} \right\}$. When $t = 2$ or $t = -2$ the discriminant is zero and the two roots coincide, at $x_0 = 1$ and $x_0 = -1$ respectively; since $x_0 = \frac{1}{x_0}$ in those two cases, the description above is still correct, the set simply has one element. The fact to carry forward is this: the numbers of the form $x + \frac{1}{x}$ are exactly the reals $t$ with $t \ge 2$ or $t \le -2$, and each of them is produced by a reciprocal pair of values of $x$ and by nothing else.
(ii)(a) Expand powers of $t$ and collect the middle terms. For every non-zero real $x$, $$t^2 \;=\; \left(x + \frac{1}{x}\right)^2 \;=\; x^2 + 2 + \frac{1}{x^2},\qquad\text{so}\qquad x^2 + \frac{1}{x^2} \;=\; t^2 - 2,$$ and $$t^3 \;=\; x^3 + 3x + \frac{3}{x} + \frac{1}{x^3} \;=\; \left(x^3 + \frac{1}{x^3}\right) + 3t, \qquad\text{so}\qquad x^3 + \frac{1}{x^3} \;=\; t^3 - 3t.$$ Nothing beyond $x \ne 0$ was used, so both identities hold for every non-zero real $x$. That last remark is not decoration: part (c) and part (v) both depend on the identities holding for every non-zero real number, including numbers that are themselves powers of $x$.
(ii)(b) By (a), the equation $x^3 + \frac{1}{x^3} = 3\left(x + \frac{1}{x}\right)$ says $t^3 - 3t = 3t$, that is $$t^3 - 6t \;=\; 0, \qquad\text{that is}\qquad t\left(t^2 - 6\right) \;=\; 0,$$ so $t = 0$, $t = \sqrt{6}$ or $t = -\sqrt{6}$.
Here is the step where the question can be lost: solving for $t$ is not solving for $x$, and a value of $t$ is only useful if some non-zero real $x$ actually produces it. Each root must therefore be tested against part (i) and then converted back. $\bullet$ $t = 0$ satisfies neither $t \ge 2$ nor $t \le -2$, so by part (i) no non-zero real $x$ has $x + \frac{1}{x} = 0$. This root is rejected, and it contributes no solutions. $\bullet$ $t = \pm\sqrt{6}$: since $6 \ge 4$ we have $\sqrt{6} \ge 2$, so both values are admissible.
For $t = \sqrt{6}$, equation $(\ast)$ reads $x^2 - \sqrt{6}\,x + 1 = 0$, whose roots are $$x \;=\; \frac{\sqrt{6} \pm \sqrt{6-4}}{2} \;=\; \frac{\sqrt{6} \pm \sqrt{2}}{2},$$ a reciprocal pair as part (i) predicts. For $t=-\sqrt6$, equation $(\ast)$ becomes $x^2+\sqrt6\,x+1=0$, which is what $x^2-\sqrt6\,x+1=0$ becomes under $x \mapsto -x$, so its roots are the negatives of the two just found, namely $x=-\frac{\sqrt6+\sqrt2}{2}$ and $x=-\frac{\sqrt6-\sqrt2}{2}$. So the complete list of real solutions is $$x \;=\; \frac{\sqrt{6}+\sqrt{2}}{2}, \qquad x \;=\; \frac{\sqrt{6}-\sqrt{2}}{2}, \qquad x \;=\; -\frac{\sqrt{6}-\sqrt{2}}{2}, \qquad x \;=\; -\frac{\sqrt{6}+\sqrt{2}}{2}.$$ The list is complete because every step was an equivalence: the original equation holds if and only if $t\left(t^2-6\right) = 0$, and Each admissible value of $t$ contributes the roots of $(\ast)$, and here $t^2-4=2 \gt 0$ for both $t=\sqrt6$ and $t=-\sqrt6$, so each contributes two distinct values of $x$ rather than the single value that part (i) showed occurs when $t=\pm2$; the four values listed are therefore all of them.. As an arithmetic check, $\frac{\sqrt{6}+\sqrt{2}}{2} \approx 1.9319$, its reciprocal is $\approx 0.5176$, and those sum to $\approx 2.4495 = \sqrt{6}$.
(ii)(c) The identity of part (a) was proved in the form: for every non-zero real $u$, $\;u^2 + \frac{1}{u^2} = \left(u + \frac{1}{u}\right)^2 - 2$. The choice made here, rather than expanding $t^4$, is to apply that identity with $u = x^2$. This is legitimate for exactly one reason, and the reason is worth stating: $x^2$ is again a non-zero real number, and the identity was proved for every non-zero real number. Hence $$x^4 + \frac{1}{x^4} \;=\; \left(x^2 + \frac{1}{x^2}\right)^2 - 2 \;=\; \left(t^2-2\right)^2 - 2 \;=\; t^4 - 4t^2 + 2.$$ The move rehearsed here, feeding a power of $x$ back into an identity that holds for every non-zero real number, is the move part (v) is built on.
(iii) Let $S(n)$ be the statement: there is a polynomial $p_n$, of degree $n$ and with leading coefficient $1$, such that $p_n\!\left(x+\frac{1}{x}\right) = x^n + \frac{1}{x^n}$ for every non-zero real $x$.
Base cases. $S(1)$ holds with $p_1(t) = t$, which is the definition of $t$. $S(2)$ holds with $p_2(t) = t^2 - 2$, by part (ii)(a). Both are monic of the stated degree. Two base cases are checked rather than one, and the reason appears in the next paragraph.
The identity the induction runs on. This is the one step of the question that is not signposted, so it is worth saying how it is found. The only lever available for raising the exponent is multiplication by $t = x + \frac{1}{x}$, so multiply and see what appears: $$\left(x^n + \frac{1}{x^n}\right)\left(x + \frac{1}{x}\right) \;=\; x^{n+1} + x^{n-1} + \frac{1}{x^{n-1}} + \frac{1}{x^{n+1}} \;=\; \left(x^{n+1} + \frac{1}{x^{n+1}}\right) + \left(x^{n-1} + \frac{1}{x^{n-1}}\right),$$ valid for every non-zero real $x$ and every integer $n \ge 1$. Rearranged, $$x^{n+1} + \frac{1}{x^{n+1}} \;=\; t\left(x^n + \frac{1}{x^n}\right) - \left(x^{n-1} + \frac{1}{x^{n-1}}\right).$$ The cross terms did not cancel, they became the case $n-1$: the relation reaches back two steps, and that is precisely why two base cases are needed and why a one-step induction cannot be made to work.
Inductive step. Suppose $S(n-1)$ and $S(n)$ both hold, for some integer $n \ge 2$, with polynomials $p_{n-1}$ and $p_n$. Define $$p_{n+1}(t) \;=\; t\,p_n(t) - p_{n-1}(t),$$ which is a polynomial with real coefficients. Let $x$ be any non-zero real number and substitute $t = x + \frac{1}{x}$. Using $S(n)$ and $S(n-1)$ on the two terms and then the displayed identity, $$p_{n+1}\!\left(x+\frac{1}{x}\right) \;=\; \left(x+\frac{1}{x}\right)\left(x^n + \frac{1}{x^n}\right) - \left(x^{n-1}+\frac{1}{x^{n-1}}\right) \;=\; x^{n+1} + \frac{1}{x^{n+1}}.$$ For the degree: by the inductive hypothesis $t\,p_n(t)$ has degree $n+1$ and leading coefficient $1$, while $p_{n-1}$ has degree $n-1$, and $n-1 \lt n+1$, so subtracting it cannot touch the leading term. Hence $p_{n+1}$ has degree $n+1$ and leading coefficient $1$, and $S(n+1)$ holds.
Since $S(1)$ and $S(2)$ hold, and any two consecutive cases give the next, $S(n)$ holds for every positive integer $n$. For the record the first few are $p_1 = t$, $p_2 = t^2-2$, $p_3 = t^3-3t$, $p_4 = t^4-4t^2+2$ and $p_5 = t^5-5t^3+5t$; the third and fourth of these agree with parts (ii)(a) and (ii)(c), which is a useful check that the recurrence has been set up with the right signs.
(iv) Suppose, for a contradiction, that $n$ is a positive integer and that $q$ is a polynomial with $q\!\left(x+\frac{1}{x}\right) = x^n - \frac{1}{x^n}$ for every non-zero real $x$. Note what is being assumed: a single $q$, working at every non-zero real $x$ at once. It is that 'every' which will be turned against the assumption.
Part (i) says that each attainable value of $t$ comes from a reciprocal pair of values of $x$. So the left-hand side cannot distinguish $x$ from $\frac{1}{x}$. The right-hand side plainly can: replacing $x$ by $\frac{1}{x}$ turns $x^n - \frac{1}{x^n}$ into its own negative. One well-chosen pair of values is therefore enough, and the only care needed is to choose $x$ with $x \ne \frac{1}{x}$, that is $x \ne 1$ and $x \ne -1$.
Take $x = 2$ and $x = \frac{1}{2}$. Both give $x + \frac{1}{x} = \frac{5}{2}$, so the assumed property, applied twice, gives $$q\!\left(\tfrac{5}{2}\right) \;=\; 2^n - 2^{-n} \qquad\text{and}\qquad q\!\left(\tfrac{5}{2}\right) \;=\; 2^{-n} - 2^{n}.$$ A polynomial takes only one value at $\frac{5}{2}$, so these two numbers are equal. Adding them, $2\left(2^n - 2^{-n}\right) = 0$, hence $2^n = 2^{-n}$, hence $2^{2n} = 1$. But $n \ge 1$ gives $2^{2n} \ge 4$, so $2^{2n} = 1$ is false.
The only assumption made was that such a $q$ exists, so that assumption is what fails: there is no such polynomial. Two remarks are worth making. First, nothing in the argument used that $q$ is a polynomial, only that it is a function taking one value at each point; so no function of $x + \frac{1}{x}$ whatsoever can equal $x^n - \frac{1}{x^n}$. Second, this is exactly the contrast with part (iii): $x^n + \frac{1}{x^n}$ is unchanged when $x$ is replaced by $\frac{1}{x}$, and it is that symmetry which leaves room for a $p_n$ to exist at all.
(v) Fix positive integers $m$ and $n$, and let $p_m$, $p_n$ and $p_{mn}$ be polynomials with the property of part (iii). Put $$D(u) \;=\; p_m\!\left(p_n(u)\right) - p_{mn}(u),$$ which is a polynomial in $u$, because a composition of polynomials is a polynomial. The claim is that $D(u) = 0$ for every real $u$.
Step 1: the identity where $t$ can be reached. Let $x$ be any non-zero real number and set $t = x + \frac{1}{x}$. The choice on which the whole part turns is to put $$y \;=\; x^n,$$ which is the general form of the substitution rehearsed in part (ii)(c). Then $y$ is a non-zero real number, and by part (iii), $$p_n(t) \;=\; x^n + \frac{1}{x^n} \;=\; y + \frac{1}{y}.$$ So $p_n(t)$ is itself of the special form, with $y$ in the role of $x$. Now apply the defining property of $p_m$ to $y$. This is legitimate because that property holds for every non-zero real number and $y$ is one of them: $$p_m\!\left(p_n(t)\right) \;=\; p_m\!\left(y + \frac{1}{y}\right) \;=\; y^m + \frac{1}{y^m} \;=\; x^{mn} + \frac{1}{x^{mn}} \;=\; p_{mn}(t),$$ the last equality being part (iii) applied with $mn$ in place of $n$. Hence $D(t) = 0$.
Step 2: what has, and has not, been proved. By part (i), the values of $t$ produced this way are exactly the real numbers with $t \ge 2$ or $t \le -2$. So Step 1 proves $D(t) = 0$ on those two half-lines and says nothing at all, directly, about the values of $u$ with $-2 \lt u \lt 2$. Declaring the identity proved at this point would be the plausible invalid step, because the identity was asked for at every real $u$, and no non-zero real $x$ produces a $t$ strictly between $-2$ and $2$.
Step 3: the extension, and this is what the Fact is for. The half-line $t \ge 2$ contains infinitely many distinct real numbers, for instance $2, 3, 4, 5, \dots$, and $D$ vanishes at every one of them. Suppose $D$ were not the zero polynomial. Then, by the Fact, a polynomial vanishing at infinitely many distinct real numbers has all its coefficients equal to $0$, which is to say it is the zero polynomial: a contradiction. Hence $D$ is the zero polynomial, so $D(u) = 0$ and $$p_m\!\left(p_n(u)\right) \;=\; p_{mn}(u)$$ for every real number $u$, as required.
Two closing remarks. The argument used only the defining property of the chosen polynomials, so the conclusion does not depend on which polynomials with that property were picked; and in fact the Fact shows there is only one for each $n$, since the difference of two would vanish on both half-lines. As a check of the result, $p_2\!\left(p_3(u)\right) = \left(u^3-3u\right)^2 - 2 = u^6 - 6u^4 + 9u^2 - 2$, and running the recurrence of part (iii) up to $n = 6$ gives $p_6(u) = u^6 - 6u^4 + 9u^2 - 2$ as well.
Lemma-breaking pass: 6 claimed lemma(s) attacked with counterexamples, 6 unproved step(s) challenged, 2 challenge(s) upheld and 2 repair(s) made to the solution above before it was published.
[10] Forces and momentum · Mechanics · 20 marks
Repeated blows on a loaded block
This is a proof question, so there is no answer key a computer can check. Everything below is asserted by the author and re-derived independently, not machine-verified.
Difficulty 12 of 18: STEP 2 core. Scored against a published rubric as independent ideas 2, ladder 2, generalisation 1, unsignposted step 2, technical load 2, argument burden 3. Each axis runs 0 to 3.
Reviewer verdict: publishable, with reservations.
On difficulty. A solid STEP 2 core question at exactly its target, and the best thing in it is that the last part is genuinely the hardest: it asks a question about every possible timing, not about one, and the answer, that at the critical impulse waiting is not the best policy but the only one, is not visible from anything earlier. Expect the first three parts to go quickly if you are comfortable with impulse and friction, and expect the whole of the difficulty to sit in constructing the right quantity in part (iv), which is the relative velocity immediately before each blow. Both independent solvers cleared every part at high confidence and neither reported a blocker, so treat this as forty minutes of careful writing rather than forty minutes of searching, and spend the care on the justifications: part (i) alone pays four marks for an argument with no arithmetic in it.
- Parts (iii) and (iv) ask for the total distance $A$ slides, while the stem defines staying on by the magnitude of the relative displacement. These agree only because the relative velocity never changes sign, and that is a step you have to prove rather than assume. Both independent solvers flagged it, and the mark in part (iv) for establishing that the relative velocity is never negative is exactly where it is paid.
- Part (iii) is the equality case of part (iv). If you find the general calculation of part (iv) first, part (iii) falls out of it by setting every relative velocity before a blow to zero, so a candidate short of time can attack the last part directly and read the third off it. The one thing part (iii) contributes that part (iv) does not is the conclusion that any total impulse whatever can be delivered safely if you are allowed to choose how many blows to use.
- The equality condition in part (iv) says that every blow after the first is delivered at an instant at which $A$ and $B$ are moving with a common velocity, and the question separately permits two blows at the same instant. Those two sentences pull against each other at exactly one point: if the second blow lands at the same instant as the first, the blocks did have a common velocity an instant earlier but the relative velocity immediately before that second blow is not zero and the inequality is strict. Read the condition as a statement about the relative velocity immediately before each blow, which is the only reading that makes the if and only if true.
- The last sentence of part (iv) asks for the greatest total impulse deliverable in $n$ blows, with $n$ fixed, immediately after part (iii) has concluded that any total impulse at all is deliverable when $n$ is free. The two are consistent, but the change of what is held fixed is not signalled and it is worth a moment before you answer.
A block $B$ of mass $M$ rests on a smooth horizontal floor, and a small block $A$ of mass $m$ rests on the flat horizontal upper face of $B$. The coefficient of friction between $A$ and that face is $\mu$, where $\mu \gt 0$, and the acceleration due to gravity is $g$.
All the motion in this question takes place along one fixed horizontal line, and the positive direction is taken to be the direction in which the blows described below are delivered. Each blow is horizontal, is delivered to $B$ alone and in the positive direction, and is modelled as instantaneous: it acts over a time interval which may be taken to have zero length, and it is specified by its impulse, which is a positive quantity.
The following modelling assumptions hold throughout. $A$ is modelled as a particle. $A$ remains in contact with the upper face of $B$ at all times, and $B$ remains in contact with the floor; neither block topples. The floor is smooth, so it exerts no horizontal force on $B$. Air resistance is neglected. Friction between $A$ and $B$ obeys the usual law: its magnitude never exceeds $\mu$ times the normal contact force between $A$ and $B$, and it takes that value, opposing the relative sliding, whenever $A$ and $B$ are in relative motion.
Initially $A$ is at rest on $B$, and its starting position on the upper face of $B$ is at a distance $L$ from each of the two edges of that face which are perpendicular to the line of motion. Say that $A$ stays on $B$ if the displacement of $A$ relative to $B$ has magnitude at most $L$ at every instant.
(i) [4 marks]
$B$ is initially at rest, and is struck a single blow of impulse $J$.
Explain carefully why $A$ is still at rest immediately after the blow, and write down the velocity of $B$ immediately after the blow.
Show that, for as long as $A$ and $B$ have different velocities, the velocity of $B$ relative to $A$ decreases at the constant rate $\dfrac{\mu g (M+m)}{M}$.
Method family: Setting up a mechanics model
(ii) [6 marks]
With $B$ struck the single blow of impulse $J$ as in part (i), show that from the time $t = \dfrac{J}{\mu g (M+m)}$ after the blow onwards $A$ and $B$ move with a common velocity, and find that velocity.
Show that the distance $A$ slides relative to $B$ is $$d \;=\; \frac{J^2}{2\mu g M (M+m)},$$ and deduce that $A$ stays on $B$ if and only if $J \le J_0$, where $J_0 = \sqrt{2\mu g L M (M+m)}$.
Describe what happens in the case $J = J_0$.
Method family: Setting up a mechanics model, Bounding and estimation
(iii) [4 marks]
Suppose instead that $B$, again initially at rest, is struck $n$ blows, where $n$ is a positive integer, each of impulse $\dfrac{J}{n}$, and that each blow after the first is delivered at an instant at which $A$ and $B$ are moving with a common velocity.
Show that the total distance $A$ slides relative to $B$ is $\dfrac{d}{n}$, and deduce that $A$ stays on $B$ if and only if $J \le \sqrt{n}\,J_0$.
Deduce that, for any given value of $J$ however large, the blows can be arranged so that $A$ stays on $B$.
Method family: Setting up a mechanics model, Bounding and estimation
(iv) [6 marks]
Suppose now that $B$, again initially at rest, is struck $n$ blows each of impulse $\dfrac{J}{n}$, the $k$th blow being delivered at time $t_k$, where $0 = t_1 \le t_2 \le \cdots \le t_n$ and the $t_k$ are otherwise arbitrary. (Two blows may be delivered at the same instant.)
Prove that the total distance $A$ slides relative to $B$ is at least $\dfrac{d}{n}$, and that it equals $\dfrac{d}{n}$ if and only if every blow after the first is delivered at an instant at which $A$ and $B$ are moving with a common velocity.
Hence state, with justification, the greatest total impulse that can be delivered to $B$ in $n$ blows of equal impulse without $A$ leaving $B$, and say what the equality case tells you about the timing of the blows.
Method family: Bounding and estimation, Setting up a mechanics model
Reveal the mark scheme and the full solution. Attempt every part first.
What each part establishes
- (i) $A$ is still at rest immediately after the blow, because the only horizontal force on it is friction, of magnitude at most $\mu m g$, and a force of bounded magnitude delivers zero impulse over an interval of zero length. $B$ has velocity $J/M$ immediately after the blow. While the blocks have different velocities, $A$ has acceleration $\mu g$ and $B$ has acceleration $-\mu m g / M$, so the velocity of $B$ relative to $A$ decreases at the constant rate $\mu g (M+m)/M$.
- (ii) The relative velocity reaches zero at $t = J/(\mu g (M+m))$ and the blocks then move together, since zero friction force is required to sustain that state. The common velocity is $J/(M+m)$. The distance $A$ slides relative to $B$ is $d = J^2/\big(2\mu g M (M+m)\big)$, all of it in one direction, so $A$ stays on $B$ if and only if $J \le J_0 = \sqrt{2\mu g L M (M+m)}$. When $J = J_0$, $A$ comes to relative rest exactly at the trailing edge of the upper face of $B$: the bound is attained, and any larger impulse takes $A$ off the back.
- (iii) Each blow of impulse $J/n$ delivered at an instant of common velocity produces exactly the relative motion of part (ii) with $J$ replaced by $J/n$, because neither the relative velocity it creates, $J/(nM)$, nor the relative deceleration $\mu g (M+m)/M$ depends on the common velocity. So each contributes a slide $d/n^2$, all in the same direction, and the total is $d/n$. Hence $A$ stays on $B$ if and only if $J \le \sqrt{n}\,J_0$. Given any $J$, any integer $n \ge J^2/J_0^2$ works, so any total impulse whatever can be delivered without losing $A$.
- (iv) Writing $w_k$ for the relative velocity just before the $k$th blow (so $w_1 = 0$), $w_{n+1} = 0$ and $c = J/(nM)$, the total distance slid is $S = d/n + (c/a)\sum_{k=1}^{n} w_k$, where $a = \mu g (M+m)/M$. Since $u$ is never negative, every $w_k \ge 0$, so $S \ge d/n$, with equality if and only if every $w_k = 0$, that is if and only if every blow after the first is delivered at an instant when $A$ and $B$ are moving with a common velocity. Hence the greatest total impulse deliverable in $n$ equal blows without $A$ leaving $B$ is $\sqrt{n}\,J_0 = \sqrt{2n\mu g L M (M+m)}$, and at that value the timing is not merely best but forced: each blow must wait for the previous sliding to stop, and $A$ finishes exactly at the trailing edge.
Mark scheme
The results a solution has to reach. Mark your own attempt against these rather than against the wording of the model solution: three correct write-ups of one proposition read as three different answers, which is exactly why comparing prose is useless here.
(i) [4 marks]
- The normal contact force between $A$ and $B$ is $mg$, because $A$ has no vertical acceleration; hence the friction on $A$ has magnitude at most $\mu m g$ at every instant.
- A force of bounded magnitude delivers an impulse of magnitude at most that bound times the duration, so over the instantaneous blow it delivers zero impulse to $A$; by the impulse-momentum principle $A$ is still at rest immediately after the blow.
- Immediately after the blow $B$ has velocity $J/M$, by the impulse-momentum principle applied to $B$, the floor being smooth and the friction contributing no impulse.
- While the blocks slide on each other, $A$ has acceleration $\mu g$ and $B$ has acceleration $-\mu m g/M$, so the velocity $u$ of $B$ relative to $A$ satisfies $\dot u = -\mu g (M+m)/M$, a constant.
- 1 marks: $v_B = J/M$ immediately after the blow, obtained from impulse-momentum applied to $B$ rather than merely quoted.
- 2 marks: The justification that $A$ is still at rest: identifying friction as the only horizontal force on $A$, bounding it by $\mu m g$ using the normal force $mg$, and concluding that the impulse it delivers over an interval of zero length is zero. One mark for the bound, one for the zero-time conclusion.
- 1 marks: Both equations of motion during sliding, with the friction directions correct and opposite on the two blocks by Newton's third law, subtracted to give the constant rate $\mu g (M+m)/M$.
- No credit: Asserting that $A$ is still at rest because the blow acts on $B$ only. That is the conclusion, not the reason: friction does act on $A$, and the point is that its impulse over zero time is zero because its magnitude is bounded.
- No credit: Taking the normal contact force between $A$ and $B$ to be something other than $mg$ without justification, or failing to note that $A$ has no vertical acceleration.
- No credit: Giving only $A$'s acceleration or only $B$'s. The result asked for is about the relative velocity and needs both.
(ii) [6 marks]
- $u = J/M - at$ with $a = \mu g (M+m)/M$, so $u$ first reaches zero at $t = J/(\mu g (M+m))$.
- The blocks then continue to move together, because moving together requires zero friction force on $A$, and zero is within the permitted range when there is no relative sliding.
- The common velocity is $J/(M+m)$, by conservation of horizontal momentum (the floor being smooth) or equivalently from either equation of motion evaluated at that time.
- The relative displacement over the sliding phase is $(J/M)^2/(2a) = J^2/(2\mu g M(M+m)) = d$.
- $u \ge 0$ throughout, so $A$ slides backwards relative to $B$ and never forwards; hence the greatest magnitude of the relative displacement is $d$, attained at the end.
- $A$ stays on $B$ if and only if $d \le L$, that is if and only if $J \le J_0 = \sqrt{2\mu g L M (M+m)}$, the square-root step being reversible because both sides are positive.
- When $J = J_0$ the slide is exactly $L$: $A$ comes to relative rest exactly at the trailing edge, so the bound is attained, and any larger impulse takes $A$ off.
- 1 marks: Reaching $t = J/(\mu g (M+m))$ from part (i)'s constant relative deceleration.
- 1 marks: The common velocity $J/(M+m)$, by momentum conservation with the smoothness of the floor cited, or by substituting $t$ into an equation of motion, together with a reason why the blocks then stay together.
- 2 marks: The slide $d = J^2/(2\mu g M(M+m))$ by a valid relative-motion argument: one mark for setting up the relative constant-acceleration calculation, one for the correct simplification.
- 1 marks: Converting $d \le L$ into $J \le J_0$ correctly, including the observation that the relative displacement is monotone so its greatest magnitude equals the total slide.
- 1 marks: The equality case described in full: $A$ finishes exactly at the trailing edge, at relative rest, so the bound is attained and cannot be improved.
- No credit: Using conservation of mechanical energy across the sliding phase to find the common velocity. Mechanical energy is not conserved while the surfaces slide, since friction is dissipating it; momentum is what is conserved here.
- No credit: Asserting that the blocks reach a common velocity without showing that the relative velocity reaches zero, or without saying why they then stay together.
- No credit: Giving the condition as the strict inequality $J \lt J_0$ with no treatment of the boundary case, or asserting the boundary case without saying where $A$ ends up.
(iii) [4 marks]
- A blow of impulse $j$ delivered when $A$ and $B$ have common velocity $V$ leaves $u = j/M$, with no dependence on $V$; and the relative deceleration $a$ does not involve $V$ either. Hence the relative motion after the blow is that of part (ii) with $J$ replaced by $j$.
- Each of the $n$ blows therefore contributes a slide of $(J/n)^2/(2\mu g M (M+m)) = d/n^2$.
- All $n$ slides are in the same direction, so the total is $n \cdot d/n^2 = d/n$ rather than a partial cancellation.
- $A$ stays on $B$ if and only if $d/n \le L$, that is if and only if $J \le \sqrt{n}\,J_0$.
- Given any $J$, any integer $n \ge J^2/J_0^2$ suffices, so a suitable $n$ always exists and there is no upper limit on the total impulse that can be delivered safely.
- 2 marks: The invariance argument: that the relative velocity immediately after a blow, and the relative deceleration, are both independent of the common velocity at which the blow is delivered, so part (ii) transfers. One mark for stating it, one for justifying it rather than asserting it.
- 1 marks: The total slide $d/n$, including the point that the individual slides add because they are all in the same direction.
- 1 marks: The condition $J \le \sqrt{n}\,J_0$ and the deduction that a suitable $n$ exists for any given $J$.
- No credit: Asserting that each blow produces the same slide by symmetry, or because the situation repeats, without identifying what is actually unchanged: the relative velocity delivered and the relative deceleration.
- No credit: Concluding that the total slide is $n$ times the slide from a single blow of impulse $J$, that is $nd$. The slide depends on the square of the impulse, so scaling the impulse by $1/n$ scales the slide by $1/n^2$.
- No credit: Claiming that splitting the blow reduces the final speed. The total momentum delivered is $J$ in every case, so the final common velocity is $J/(M+m)$ regardless of $n$.
(iv) [6 marks]
- With $w_k$ the value of $u$ immediately before the $k$th blow, $w_{n+1} = 0$ the settled value after the last blow, and $c = J/(nM)$ the jump in $u$ caused by each blow: $w_1 = 0$.
- $u \ge 0$ at all times, hence $w_k \ge 0$ for every $k$; so $A$ slides one way only, the total distance is the sum of the interval slides, and that total is also the greatest magnitude of the relative displacement.
- The relative displacement over the interval following the $k$th blow is $\big((w_k+c)^2 - w_{k+1}^2\big)/(2a)$, and this expression remains correct both when $u$ reaches zero partway through the interval and when the interval has zero length.
- Summing and telescoping the squares gives $S = \big(nc^2 + 2c\sum_{k=1}^{n} w_k\big)/(2a) = d/n + (c/a)\sum_{k=1}^{n} w_k$.
- Since every $w_k \ge 0$ and $c \gt 0$ and $a \gt 0$, $S \ge d/n$, with equality if and only if every $w_k = 0$, that is if and only if every blow after the first is delivered at an instant of common velocity.
- The greatest total impulse deliverable in $n$ equal blows without $A$ leaving $B$ is $\sqrt{n}\,J_0 = \sqrt{2n\mu g L M (M+m)}$, and at that value the waiting timing is forced rather than merely optimal.
- 1 marks: Introducing the relative velocity just before each blow as a named quantity $w_k$, with $w_1 = 0$, and identifying the constant jump $c = J/(nM)$.
- 1 marks: Establishing $w_k \ge 0$, equivalently that $u$ never becomes negative, and drawing from it that the interval slides add as distances.
- 1 marks: The interval slide $\big((w_k+c)^2 - w_{k+1}^2\big)/(2a)$, with the degenerate cases covered: relative rest reached early, and simultaneous blows.
- 2 marks: The telescoping sum carried through correctly to $S = d/n + (c/a)\sum w_k$, including the identification of $nc^2/(2a)$ with $d/n$. One mark for the cancellation, one for the simplification.
- 1 marks: The inequality $S \ge d/n$ with the equality case established in both directions, and the resulting maximum total impulse $\sqrt{n}\,J_0$ with the statement that the timing is forced at the maximum.
- No credit: Computing $S$ for the two extreme timings only, all blows at once and all blows after the sliding has stopped, and asserting that every other timing lies between them. That is a plausible guess, not a proof, and the question asks about all timings.
- No credit: Assuming that the blocks reach a common velocity between consecutive blows. The whole point of this part is that they need not, and a solution that assumes it is proving part (iii) again.
- No credit: An energy argument that stops at the identity 'energy dissipated equals $\mu m g S$' without producing $S$ or a lower bound for it. That identity relates two unknown quantities and settles nothing on its own.
- No credit: Concluding only that $S \ge d/n$ without treating the equality case, since the final statement about the maximum total impulse depends on the equality case being characterised.
What each part was for
- (ii) uses (i): Without part (i)'s two facts, that $A$ is still at rest after the blow and that the relative velocity falls at the constant rate $\mu g (M+m)/M$, part (ii) would have to set up both equations of motion and settle both friction directions from scratch before any of its own work could begin.
- (iii) uses (ii): Part (iii) does no dynamics of its own: it transfers the slide $d$ of part (ii) to each blow with $J$ replaced by $J/n$, and converts the resulting total into a condition on $J$ using the constant $J_0$ that part (ii) produced. Without (ii) it would have to derive the slide formula itself.
- (iv) uses (ii): The whole calculation in (iv) rests on the relative-displacement expression $(u_1^2-u_2^2)/(2a)$ established in (ii). That is what makes each interval contribute a difference of two squares, which is what makes the sum telescope. Without it there is no telescope and no bound.
- (iv) uses (iii): Part (iv) has to recognise its lower bound $nc^2/(2a)$ as $d/n$, the quantity part (iii) computed, and its final statement is exactly (iii)'s condition $J \le \sqrt{n}\,J_0$ promoted from 'holds for this timing' to 'holds for the best timing and for no other'. Without (iii) a candidate would have both to find the bound and to work out what it means.
Notation and conventions. Take the direction of the blows as the positive direction, and measure every velocity and displacement along the line of motion. Write $v_A$ and $v_B$ for the velocities of $A$ and $B$, and $$u \;=\; v_B - v_A$$ for the velocity of $B$ relative to $A$. Write $$a \;=\; \frac{\mu g (M+m)}{M},$$ which part (i) identifies as the rate at which $u$ falls while the blocks slide on each other. Working with the single quantity $u$ rather than with $v_A$ and $v_B$ separately is a choice, not a consequence, and it is the choice that makes parts (iii) and (iv) short: every blow does the same thing to $u$, and friction does the same thing to $u$, whatever common velocity the blocks happen to have at the time.
(i) Why $A$ does not move during the blow. This is the modelling decision the whole question turns on, so it deserves a careful argument rather than an assertion.
The only horizontal force ever acting on $A$ is the friction from the upper face of $B$. Now $A$ stays on that face, which is horizontal, so $A$ has no vertical acceleration; resolving vertically for $A$ gives a normal contact force of $mg$. Hence the friction on $A$ has magnitude at most $\mu m g$ at every instant, and that bound does not depend on what is being done to $B$. The impulse delivered to $A$ over a time interval of length $\tau$ is the integral of that force over the interval, so its magnitude is at most $\mu m g \tau$. The blow is modelled as instantaneous, so $\tau = 0$ and the impulse on $A$ is zero. By the impulse-momentum principle the momentum of $A$ is unchanged, so $A$ is still at rest immediately after the blow.
It is worth being clear about what this argument does not claim. It does not say that friction is negligible: over the motion that follows, friction is the only thing that happens. It says that a force whose magnitude is bounded cannot deliver a non-zero impulse in zero time. The blow is not bounded in this way, which is precisely why it can change the velocity of $B$.
The velocity of $B$. Apply the impulse-momentum principle to $B$ horizontally. The impulses acting on $B$ are the blow, of impulse $J$; the friction from $A$, which by the argument just given contributes zero over the blow; and the force from the floor, which is vertical because the floor is smooth. Hence $M v_B - 0 = J$, so $$v_B \;=\; \frac{J}{M} \qquad \text{immediately after the blow.}$$
The relative deceleration. Insert before the supposition: "In this part $u$ starts at the value $J/M \gt 0$ immediately after the blow, and $u$ varies continuously thereafter, so $u$ cannot become negative without first taking the value zero, at which point the surfaces stop sliding. Hence for as long as the two blocks have different velocities in this part we have $u \gt 0$, and it is this case that has to be treated. For the record, if $u$ were negative the friction would reverse and the same calculation would give $\dot u = +a$, so the general statement is that $\left|u\right|$ decreases at the constant rate $a$ while the surfaces slide." Friction then takes its limiting value $\mu m g$ and opposes the relative sliding: the face of $B$ is moving forwards underneath $A$, so the friction on $A$ from $B$ acts forwards, and by Newton's third law the friction on $B$ from $A$ acts backwards with the same magnitude. Resolving horizontally and applying Newton's second law to each block separately, $$\text{for } A: \quad m \dot v_A = \mu m g, \qquad\text{so}\qquad \dot v_A = \mu g;$$ $$\text{for } B: \quad M \dot v_B = -\mu m g, \qquad\text{so}\qquad \dot v_B = -\frac{\mu m g}{M},$$ the floor contributing nothing horizontally because it is smooth. Subtracting, $$\dot u \;=\; \dot v_B - \dot v_A \;=\; -\frac{\mu m g}{M} - \mu g \;=\; -\frac{\mu g (M+m)}{M} \;=\; -a .$$ So while the blocks have different velocities, $u$ decreases at the constant rate $a$, as required. Both individual accelerations are constant as well, which is what makes the constant-acceleration relations available in part (ii).
(ii) The common velocity. Immediately after the blow $u = J/M \gt 0$, and by (i) $u$ falls at the constant rate $a$ while it is positive, so $u = \dfrac{J}{M} - at$ and $u$ first reaches zero at $$t \;=\; \frac{J/M}{a} \;=\; \frac{J}{M}\cdot\frac{M}{\mu g (M+m)} \;=\; \frac{J}{\mu g (M+m)}.$$ At that instant $v_A = \mu g t = \dfrac{J}{M+m}$, and likewise $v_B = \dfrac{J}{M} - \dfrac{\mu m g}{M}\,t = \dfrac{J}{M} - \dfrac{mJ}{M(M+m)} = \dfrac{J}{M+m}$, which agrees.
There is a quicker route to the same value, and it is worth recording because it is an independent check on the algebra: after the blow no horizontal external impulse acts on the system consisting of $A$ together with $B$, since the floor is smooth, so the total horizontal momentum keeps the value $J$ it had just after the blow. When the two move together with common velocity $V$ this gives $(M+m)V = J$, so $V = \dfrac{J}{M+m}$.
They then continue to move together, and this needs saying rather than assuming. Replace with: "If the blocks move together with no acceleration, the horizontal force required on $A$ is zero, and zero lies within the range permitted for friction when there is no relative sliding, so the joint state is allowed. That it is forced needs one further step, because the friction law only bounds the force when there is no sliding and so does not by itself say what happens. Suppose sliding restarted, with $u$ becoming positive. Friction would then take its limiting value opposing the sliding, and by part (i) $\dot u = -a \lt 0$, so $u$ would be decreasing at the instant it was supposed to be increasing from zero: impossible. If instead $u$ became negative, friction would reverse and $\dot u = +a \gt 0$, so $u$ would be increasing at the instant it was supposed to be decreasing from zero: also impossible. Hence $u$ stays at zero and the blocks continue to move together." Hence from $t = \dfrac{J}{\mu g (M+m)}$ onwards the blocks move with the common velocity $\dfrac{J}{M+m}$.
The distance slid. The displacement of $B$ relative to $A$ over the sliding phase is the displacement of a motion whose velocity falls at the constant rate $a$ from $J/M$ to $0$. Applying the constant-acceleration relation (final velocity squared equals initial velocity squared plus twice acceleration times displacement) to the relative motion, $$0^2 \;=\; \left(\frac{J}{M}\right)^{2} - 2 a s, \qquad\text{so}\qquad s \;=\; \frac{(J/M)^2}{2a} \;=\; \frac{J^2}{M^2}\cdot\frac{M}{2\mu g (M+m)} \;=\; \frac{J^2}{2\mu g M (M+m)} \;=\; d .$$ Throughout the motion $u \ge 0$: it starts positive and decreases to zero, and then stays there. So $B$ moves forwards relative to $A$ the whole time, which is to say that $A$ slides backwards relative to $B$ the whole time and never forwards. Add after the sentence quoted: "One point of logic deserves a line here, since the case that decides the if and only if is the case in which the model's own assumption fails. The computation of $d$ assumes $A$ stays on the face throughout, so when $d \gt L$ it describes a motion the apparatus could not perform. It still settles the question, because the relative displacement is monotone: the motion is correctly described up to the first instant at which the relative displacement has magnitude $L$, and if $d \gt L$ that instant is reached, with $A$ then at the trailing edge, so $A$ does not stay on $B$. If $d \le L$ the assumption is never violated and the computation stands as it is."
The condition. By the definition given in the question, $A$ stays on $B$ exactly when that greatest magnitude is at most $L$, that is exactly when $d \le L$: $$\frac{J^2}{2\mu g M (M+m)} \;\le\; L \iff J^2 \;\le\; 2\mu g L M (M+m) \iff J \;\le\; \sqrt{2\mu g L M (M+m)} \;=\; J_0 .$$ The last equivalence is legitimate because $J \gt 0$ and $J_0 \gt 0$, so taking square roots of both sides of an inequality between positive quantities is reversible.
The case $J = J_0$. Then the slide is exactly $L$, so $A$ arrives exactly at the trailing edge of the upper face of $B$, and it arrives there at the very instant at which the relative sliding stops: it comes to relative rest on the brink. Any blow of impulse larger than $J_0$, however slightly larger, carries $A$ off the back. So the bound $J_0$ is attained and cannot be improved.
(iii) The step to supply here is the observation that the relative motion caused by a blow does not depend on the velocity the blocks already had, and everything else follows from part (ii).
Suppose a blow of impulse $j$ is delivered at an instant when $A$ and $B$ are moving with a common velocity $V$. By the argument of part (i), applied unchanged, the blow leaves $v_A = V$ and gives $v_B = V + \dfrac{j}{M}$. Hence immediately after that blow $$u \;=\; v_B - v_A \;=\; \frac{j}{M},$$ with no trace of $V$ in it. The relative deceleration $a$ carries no trace of $V$ either: it was derived in (i) from the friction forces, which involve only $\mu$, $m$, $g$ and $M$. So the relative motion after this blow is identical to the relative motion in part (ii) with $J$ replaced by $j$, and the calculation of (ii) applies word for word. The slide caused by this blow is $$\frac{(j/M)^2}{2a} \;=\; \frac{j^2}{2\mu g M (M+m)} .$$ (This is the mathematical content of the assumption that the floor is smooth. With no external horizontal force there is no preferred zero of velocity, so a description of the motion in terms of $u$ alone is complete.)
Apply this with $j = \dfrac{J}{n}$ to each of the $n$ blows in turn. The first blow is the case $V = 0$, and every later blow is delivered at an instant of common velocity by hypothesis, so each of the $n$ blows contributes a slide of $$\frac{(J/n)^2}{2\mu g M (M+m)} \;=\; \frac{1}{n^2}\cdot\frac{J^2}{2\mu g M(M+m)} \;=\; \frac{d}{n^2}.$$ By the last paragraph of part (ii), every one of these slides carries $A$ backwards relative to $B$, so they accumulate rather than partly cancelling, and the total distance slid is $$n \cdot \frac{d}{n^2} \;=\; \frac{d}{n}.$$ Since the relative displacement only ever moves one way, its greatest magnitude is again the total, so $A$ stays on $B$ if and only if $$\frac{d}{n} \;\le\; L \iff \frac{J^2}{2\mu g M (M+m)} \;\le\; nL \iff J^2 \le n J_0^2 \iff J \;\le\; \sqrt{n}\,J_0 ,$$ using $J \gt 0$ and $J_0 \gt 0$ at the last step as before.
Finally, let $J$ be given. Since $J_0 \gt 0$ we may choose an integer $n \ge \dfrac{J^2}{J_0^{2}}$; then $\sqrt{n}\,J_0 \ge J$ and $A$ stays on $B$. So there is no upper limit at all on the total impulse that can be delivered to $B$ without losing $A$, provided it is broken into enough blows and each blow waits for the sliding caused by its predecessor to stop.
Two remarks are worth making, because they say what has and has not changed. The total momentum delivered is $J$ whatever $n$ is, so the final common velocity is $\dfrac{J}{M+m}$ in every case: splitting the blow costs nothing in the outcome. What splitting changes is the sliding, and hence, since the energy dissipated by friction is $\mu m g$ times the distance slid, the energy wasted.
(iv) Now nothing is assumed about the timing, so in particular we may not assume that the sliding has stopped when a blow arrives. The construction that makes the calculation possible, and it is the step the candidate must supply unaided, is to name the relative velocity at each blow.
Notation. For $k = 1, 2, \dots, n$ let $w_k$ be the value of $u$ immediately before the $k$th blow, and set $w_{n+1} = 0$, the value of $u$ once all the motion has settled after the last blow. Let $$c \;=\; \frac{J}{nM}$$ be the jump in $u$ produced by one blow: by the argument of part (iii), a blow of impulse $\dfrac{J}{n}$ delivered to $B$ increases $v_B$ by $\dfrac{J}{nM}$ and leaves $v_A$ unchanged, whatever the blocks are doing at the time, so it increases $u$ by exactly $c$. Note that $w_1 = 0$, because the blocks start at rest and the first blow is delivered at $t_1 = 0$.
Step 1: $u$ is never negative. Initially $u = 0$. Each blow increases $u$ by $c \gt 0$. Between blows, if $u \gt 0$ then $u$ decreases at the constant rate $a$ until it reaches $0$, and once it reaches $0$ it stays at $0$, by the argument in part (ii) that no friction force is required to keep the blocks moving together. So $u$ can never pass below zero, and in particular $$w_k \;\ge\; 0 \qquad\text{for every } k .$$ Consequently $A$ slides backwards relative to $B$ throughout and never forwards, so the total distance slid is the sum of the distances slid over the successive intervals, and the greatest magnitude of the relative displacement at any instant is that same total.
Step 2: the slide over one interval. Consider the interval between the $k$th blow and the $(k+1)$th, for $1 \le k \le n-1$, and for $k = n$ the interval from the last blow onwards. At the start of the interval $u = w_k + c$; at the end $u = w_{k+1}$; and in between $u$ falls at the constant rate $a$ while it is positive, and is thereafter constant at $0$. In every case the relative displacement over the interval is $$\frac{(w_k+c)^2 - w_{k+1}^{2}}{2a},$$ by the same constant-acceleration relation used in part (ii). The two degenerate cases both behave: if $u$ reaches $0$ partway through the interval then $w_{k+1} = 0$ and the remainder of the interval contributes no relative displacement, so the expression still holds; and if two blows are delivered at the same instant then the interval has zero length, $w_{k+1} = w_k + c$, and the expression correctly gives $0$.
Step 3: sum and telescope. The total distance slid is therefore $$S \;=\; \frac{1}{2a}\sum_{k=1}^{n}\Big[(w_k+c)^2 - w_{k+1}^{2}\Big] \;=\; \frac{1}{2a}\left[\sum_{k=1}^{n}\big(w_k^2 + 2c\,w_k + c^2\big) \;-\; \sum_{k=2}^{n+1} w_k^{2}\right],$$ where the second sum has been re-indexed. The two sums of squares cancel except at their ends: what survives is $+\,w_1^2$ from the first and $-\,w_{n+1}^2$ from the second, and both of those are zero. Hence $$S \;=\; \frac{1}{2a}\left[n c^2 \;+\; 2c\sum_{k=1}^{n} w_k\right] \;=\; \frac{n c^2}{2a} \;+\; \frac{c}{a}\sum_{k=1}^{n} w_k .$$ The first term is the value found in part (iii), as it must be: $$\frac{n c^2}{2a} \;=\; \frac{n}{2}\cdot\frac{J^2}{n^2M^2}\cdot\frac{M}{\mu g (M+m)} \;=\; \frac{J^2}{2n\,\mu g M (M+m)} \;=\; \frac{d}{n}.$$ So $$S \;=\; \frac{d}{n} \;+\; \frac{c}{a}\sum_{k=1}^{n} w_k .$$
Step 4: the inequality and its equality case. Every $w_k \ge 0$ by Step 1, and $c \gt 0$ and $a \gt 0$, so the second term is non-negative and $$S \;\ge\; \frac{d}{n},$$ which is the required inequality. Equality holds if and only if $\displaystyle\sum_{k=1}^{n} w_k = 0$; and a sum of non-negative terms is zero if and only if every term is zero, so equality holds if and only if $w_k = 0$ for every $k$. That is, if and only if each blow is delivered at an instant when $u = 0$, which is to say at an instant when $A$ and $B$ are moving with a common velocity. Since $w_1 = 0$ automatically, this is a condition on the second and later blows only, and it is exactly the timing prescribed in part (iii). The two parts therefore agree, which is a useful check on both.
Step 5: the greatest total impulse. By Step 1 the greatest magnitude of the relative displacement is $S$, so $A$ stays on $B$ if and only if $S \le L$. For a given total impulse $J$ delivered in $n$ equal blows, the smallest value of $S$ available over all timings is $\dfrac{d}{n}$, by Step 4. Hence some timing keeps $A$ on $B$ if and only if $\dfrac{d}{n} \le L$, which by part (iii) is the condition $J \le \sqrt{n}\,J_0$. The greatest total impulse that can be delivered to $B$ in $n$ blows of equal impulse without $A$ leaving $B$ is therefore $$\sqrt{n}\,J_0 \;=\; \sqrt{2n\,\mu g L M (M+m)} .$$ The equality case says something the inequality alone does not. When the total impulse is exactly $\sqrt{n}\,J_0$ we need $S = \dfrac{d}{n}$, so by Step 4 the timing is forced: every blow after the first must be delayed until the sliding caused by its predecessor has entirely stopped, and $A$ then finishes exactly at the trailing edge, arriving there as the sliding ends. Delivering that same total impulse even slightly sooner makes $S$ strictly greater than $\dfrac{d}{n}$ and sends $A$ off the back. At the maximum, patience is not merely the best policy: it is the only one.
Lemma-breaking pass: 4 claimed lemma(s) attacked with counterexamples, 7 unproved step(s) challenged, 3 challenge(s) upheld and 3 repair(s) made to the solution above before it was published.
[11] Discrete probability · Probability and statistics · 20 marks
Blocks of colour in a random row of counters
This is a proof question, so there is no answer key a computer can check. Everything below is asserted by the author and re-derived independently, not machine-verified.
Difficulty 10 of 18: STEP 2 core. Scored against a published rubric as independent ideas 2, ladder 1, generalisation 1, unsignposted step 2, technical load 1, argument burden 3. Each axis runs 0 to 3.
Reviewer verdict: publishable, with reservations.
On difficulty. Sound mathematics, verified exhaustively, and one genuinely good idea: the set of rows with an even number of blocks is counted twice, once through the sizes of the blocks and once through the colours of the two end counters, and the binomial identity is forced by the two counts having to agree. It sits at the bottom of the STEP 2 core band rather than in the middle, because every result it asks for is displayed, because part (i) is the case $k = a$ of part (ii) and feeds nothing later, and because the very last demand, the probability, is the easiest thing in the question once part (iv)(a) is in hand. Worth forty minutes if you want practice at writing counting arguments that a marker will accept, since almost every mark here is for showing a correspondence is one to one or a case split disjoint and exhaustive, and almost none is for the answer.
- Part (i) is the case $k = a$ of part (ii), and nothing after part (ii) uses it. If you are short of time, do part (ii) first and read part (i) off it by setting $k = a$, since the composition factor is then $1$ and the count collapses to $\binom{b+1}{a}$. The question asks you to notice this at the end of part (ii), so the observation is wanted rather than a shortcut you are stealing.
- The last thing the question asks for, the probability that the row has an even number of blocks, follows from part (iv)(a) alone in two lines and needs neither part (iii) nor the identity: the first and last counters form a uniformly random ordered pair of distinct counters, so the probability that they differ in colour is $\frac{a}{a+b}\cdot\frac{b}{a+b-1} + \frac{b}{a+b}\cdot\frac{a}{a+b-1}$. If you spot this and feel you have missed the point, you have not: the point of the part is the identity, and the probability is its by-product.
- Every result the question asks you to show is displayed for you, so none of the marks are for the answer and almost all of them are for the argument. In particular each correspondence has to be shown to be one to one rather than merely described, each case split has to be stated to be disjoint and exhaustive rather than merely performed, and the composition count $\binom{a-1}{k-1}$ has to be derived here rather than quoted as a standard fact. A correct answer built on asserted bijections loses a large fraction of the paper.
- The convention that $\binom{n}{r}$ is zero when $r$ exceeds $n$ is load bearing in at least three places rather than decorative. Parts (ii) and (iii) are asserted for every positive integer $k$ and $m$ with no upper bound, part (i) needs it when $a$ exceeds $b+1$, and the sum in part (iv)(b) runs to $m = a$ although its terms vanish once $m$ exceeds $b$. Say where you are using it.
A row is formed from $a$ red counters and $b$ blue counters, where $a$ and $b$ are positive integers. Counters of the same colour are indistinguishable from one another, so a row is completely described by the colours of its counters read from left to right, and there are $\binom{a+b}{a}$ different rows. One of these rows is chosen at random, all of them being equally likely.
A block means a set of consecutive counters, all of the same colour, which cannot be enlarged: that is, the counter immediately to its left, if there is one, has the other colour, and so does the counter immediately to its right, if there is one. For example, the row $\mathrm{RRBRBB}$ has four blocks, of which two are red.
Throughout this question $\binom{n}{r}$ is to be read as $0$ whenever $r \gt n$ or $r \lt 0$.
(i) [4 marks]
Show that the number of rows in which no two red counters are adjacent is $\binom{b+1}{a}$.
Hence find the probability that no two red counters are adjacent in the case $a=3$, $b=5$.
Method family: Counting by bijection and conditioning
(ii) [5 marks]
Let $k$ be a positive integer. Show that the number of rows containing exactly $k$ red blocks is $$\binom{a-1}{k-1}\binom{b+1}{k},$$ and write down the probability that the chosen row contains exactly $k$ red blocks.
Explain why the case $k=a$ is consistent with your answer to part (i).
Method family: Counting by bijection and conditioning, Probability structure
(iii) [4 marks]
Let $m$ be a positive integer. Show that the number of rows containing exactly $2m$ blocks altogether is $$2\binom{a-1}{m-1}\binom{b-1}{m-1}.$$
Method family: Counting by bijection and conditioning
(iv) [7 marks]
(a) Show that a row contains an even number of blocks altogether if and only if its first counter and its last counter are of different colours.
(b) Hence show that, for all positive integers $a$ and $b$, $$\sum_{m=1}^{a}\binom{a-1}{m-1}\binom{b-1}{m-1}=\binom{a+b-2}{a-1},$$ and show that the probability that the chosen row contains an even number of blocks altogether is $$\frac{2ab}{(a+b)(a+b-1)}.$$
Method family: Probability structure, Counting by bijection and conditioning
Reveal the mark scheme and the full solution. Attempt every part first.
What each part establishes
- (i) Proved: the number of rows in which no two red counters are adjacent is $\binom{b+1}{a}$, this being $0$ when $a \gt b+1$. For $a=3$, $b=5$ the probability is $\binom{6}{3}\big/\binom{8}{3} = 5/14$.
- (ii) Proved: for every positive integer $k$ the number of rows with exactly $k$ red blocks is $\binom{a-1}{k-1}\binom{b+1}{k}$, so $\mathrm{P}(\text{exactly } k \text{ red blocks}) = \binom{a-1}{k-1}\binom{b+1}{k}\big/\binom{a+b}{a}$. The case $k=a$ is the condition that no two red counters are adjacent and returns $\binom{b+1}{a}$, which is part (i).
- (iii) Proved: for every positive integer $m$ the number of rows with exactly $2m$ blocks altogether is $2\binom{a-1}{m-1}\binom{b-1}{m-1}$.
- (iv)(a) Proved: a row has an even number of blocks if and only if its first and last counters have different colours, because block colours alternate and the end counters carry the colours of the end blocks.
- (iv)(b) Proved: $\sum_{m=1}^{a}\binom{a-1}{m-1}\binom{b-1}{m-1} = \binom{a+b-2}{a-1}$ for all positive integers $a$ and $b$, and $\mathrm{P}(\text{an even number of blocks}) = 2ab\big/\big((a+b)(a+b-1)\big)$.
Mark scheme
The results a solution has to reach. Mark your own attempt against these rather than against the wording of the model solution: three correct write-ups of one proposition read as three different answers, which is exactly why comparing prose is useless here.
(i) [4 marks]
- A row is determined by, and determines, the numbers of red counters placed in each of the $b+1$ gaps created by the $b$ blue counters: the gap to the left of the first blue counter, the $b-1$ gaps between consecutive blue counters, and the gap to the right of the last blue counter. Equivalently, rows correspond one to one with $(b+1)$-tuples of non-negative integers summing to $a$.
- No two red counters are adjacent if and only if every one of those $b+1$ gaps holds at most one red counter. Both directions are needed: two red counters in one gap are adjacent to something red, and two adjacent red counters have no blue counter between them so lie in one gap.
- Hence the rows with no two red counters adjacent correspond one to one with the $a$-element subsets of the set of $b+1$ gaps, so there are $\binom{b+1}{a}$ of them; when $a \gt b+1$ there are none, in agreement with the stated convention.
- For $a=3$, $b=5$ the probability is $\binom{6}{3}\big/\binom{8}{3} = 20/56 = 5/14$.
- 2 marks: Setting up the gap description and saying, in either direction, why it captures every row exactly once. One of the two marks is for the correspondence being one to one rather than merely well defined.
- 1 marks: The equivalence between 'no two red counters adjacent' and 'at most one red counter per gap', argued rather than asserted.
- 1 marks: Reaching $\binom{b+1}{a}$ and evaluating $20/56 = 5/14$ for $a=3$, $b=5$.
- No credit: Enumerating the rows for $a=3$, $b=5$ and reading the general formula off the pattern. The general count is what is asked for, and a pattern in one case is not a proof of it.
- No credit: Quoting a remembered formula for the number of ways of choosing $a$ positions from $a+b$ with no two consecutive, without deriving it in this setting. The marks in this part are for the derivation.
(ii) [5 marks]
- The number of $k$-tuples $(c_1, \dots, c_k)$ of positive integers with $c_1 + \cdots + c_k = a$ is $\binom{a-1}{k-1}$, established by the correspondence with the $(k-1)$-element subsets of the $a-1$ spaces between consecutive units of $a$.
- A row has exactly $k$ red blocks if and only if exactly $k$ of the $b+1$ gaps are non-empty, because red counters in one gap lie in one block and red counters in different gaps lie in different blocks.
- Rows with exactly $k$ red blocks correspond one to one with pairs consisting of a $k$-element subset of the $b+1$ gaps together with a $k$-tuple of positive integers summing to $a$, and the two choices are independent, so the count is $\binom{a-1}{k-1}\binom{b+1}{k}$.
- $\mathrm{P}(\text{exactly } k \text{ red blocks}) = \binom{a-1}{k-1}\binom{b+1}{k}\big/\binom{a+b}{a}$.
- The case $k=a$ holds exactly when every red block has one counter, that is, exactly when no two red counters are adjacent, and the formula then gives $\binom{a-1}{a-1}\binom{b+1}{a} = \binom{b+1}{a}$, agreeing with part (i).
- 2 marks: The composition count $\binom{a-1}{k-1}$ with the separator correspondence exhibited in both directions. A solution that asserts the result as a standard fact without exhibiting the correspondence earns at most one of these two marks.
- 1 marks: Identifying the red blocks with the non-empty gaps, with a reason.
- 1 marks: Assembling the two independent choices into the product $\binom{a-1}{k-1}\binom{b+1}{k}$, with the pairing shown to be one to one.
- 1 marks: The probability, and the explanation of why $k=a$ recovers part (i).
- No credit: Choosing $k$ gaps and then distributing the $a$ red counters over them without requiring every chosen gap to be non-empty. That counts a row once for every subset of gaps containing its non-empty ones, so it is not a count of the rows with exactly $k$ red blocks, and it gives $\binom{b+1}{k}\binom{a+k-1}{a}$ or similar, which is wrong.
- No credit: Deriving the answer only for the values of $k$ with $1 \le k \le \min(a, b+1)$ and saying nothing about the other values. The statement is for every positive integer $k$, and the convention on binomial coefficients is what makes it true outside that range.
(iii) [4 marks]
- Consecutive blocks have different colours, because two adjacent blocks of one colour could be enlarged into one another, contradicting the definition of a block. Hence the colour of block $j$ depends only on the colour of block $1$ and the parity of $j$.
- A row with exactly $2m$ blocks therefore has exactly $m$ red blocks and exactly $m$ blue blocks.
- The rows with exactly $2m$ blocks fall into two classes according to the colour of the first block; the classes are disjoint and between them contain every such row.
- Within a class the row is determined by, and determines, the $m$-tuple of red block sizes, which is a tuple of positive integers summing to $a$, together with the $m$-tuple of blue block sizes, summing to $b$; so by the composition count of part (ii) each class has $\binom{a-1}{m-1}\binom{b-1}{m-1}$ members and the total is $2\binom{a-1}{m-1}\binom{b-1}{m-1}$.
- 1 marks: Proving that consecutive blocks have different colours, from the maximality in the definition of a block.
- 1 marks: Deducing that $2m$ blocks means $m$ of each colour.
- 1 marks: The split on the colour of the first block, stated to be disjoint and exhaustive rather than merely performed.
- 1 marks: Applying the composition count of part (ii) to both colours and reaching $2\binom{a-1}{m-1}\binom{b-1}{m-1}$.
- No credit: Asserting that the numbers of red and blue blocks are equal without the alternation argument. That equality is a consequence of the alternation and is false for an odd number of blocks, so it cannot be assumed.
- No credit: Adding the counts for the two leading colours without saying that the two classes are disjoint. Adding counts is exactly the step that needs disjointness, and it is the step the mark is for.
- No credit: Multiplying by $2$ as a symmetry factor without identifying what the two cases are. A factor of $2$ that is not attached to a stated case split is not an argument.
(iv) [7 marks]
- (a) The colour of block $j$ is the colour of block $1$ when $j$ is odd and the other colour when $j$ is even; so the first and last blocks have the same colour if and only if the number of blocks is odd.
- (a) The first counter of a row lies in its first block and the last counter lies in its last block, so the first and last counters have different colours if and only if the number of blocks is even. Both directions must be present, whether as a chain of equivalences or as two arguments.
- (b) For $m = 1, 2, \dots$ the events 'exactly $2m$ blocks' are pairwise disjoint and their union is the event 'an even number of blocks', and the terms with $m \gt a$ vanish, so the number of rows with an even number of blocks is $2\sum_{m=1}^{a}\binom{a-1}{m-1}\binom{b-1}{m-1}$.
- (b) Counted directly, the rows whose first and last counters differ in colour split into the disjoint cases 'first red, last blue' and 'first blue, last red'; in each case the row is determined by which $a-1$ of the middle $a+b-2$ positions hold red counters, so the number of such rows is $2\binom{a+b-2}{a-1}$.
- (b) Equating the two counts of the same set and dividing by $2$ gives $\sum_{m=1}^{a}\binom{a-1}{m-1}\binom{b-1}{m-1} = \binom{a+b-2}{a-1}$.
- (b) $\binom{a+b-2}{a-1}\big/\binom{a+b}{a} = ab\big/\big((a+b)(a+b-1)\big)$, hence the probability is $2ab\big/\big((a+b)(a+b-1)\big)$.
- 2 marks: Part (a), with both directions established. One mark for relating the colours of the first and last counters to the colours of the first and last blocks, one for relating the colours of the first and last blocks to the parity of the number of blocks.
- 1 marks: Writing the even-block count as the sum over $m$ of the part (iii) counts, with the disjointness and exhaustiveness stated, and with the range of $m$ handled.
- 2 marks: The direct count $2\binom{a+b-2}{a-1}$ of the rows whose end counters differ, including the disjoint split into the two orders of the colours.
- 1 marks: Equating the two counts and stating the identity.
- 1 marks: The factorial simplification to $2ab\big/\big((a+b)(a+b-1)\big)$.
- No credit: Obtaining the probability by treating the colours of the first and last counters as independent, giving $2ab\big/(a+b)^2$. The two end counters come from one finite collection without replacement, so the second probability is conditional on the first and the denominator is $a+b-1$.
- No credit: Verifying the identity for one or two small pairs $(a,b)$. The identity is asserted for all positive integers $a$ and $b$ and a numerical check is a check, not a proof.
- No credit: Proving the identity by an algebraic manipulation of factorials with no reference to parts (a) and (iii). The instruction is 'hence', and the marks here are for the two counts of one set; a solution that reaches the identity another way should be marked on its own merits but does not earn the marks attached to the two counts.
- No credit: Asserting that the number of rows with the first counter red and the last blue equals the number with the first blue and the last red 'by symmetry', without saying which map exchanges them or performing the second count. Interchanging the two colours also interchanges $a$ and $b$, so the symmetry is not the obvious one and the equality deserves its own line.
What each part was for
- (ii) uses (i): Part (ii) is built on the gap description (L1) and on the identification of red blocks with non-empty gaps (L2), both of which part (i) forces the candidate to set up. Without part (i), part (ii) would have to find that frame from nothing, which is the harder half of the modelling.
- (iii) uses (ii): Part (iii) needs the composition count $\binom{a-1}{m-1}$ of L3, and needs it twice, once for the red block sizes and once for the blue block sizes. That count is established inside part (ii) and is the only non-obvious ingredient of part (iii) beyond the alternation of block colours. Without part (ii) a candidate would have to prove L3 from scratch here.
- (iv)(a) uses (iii): Part (iv)(a) uses the alternation of block colours (L4), which part (iii) establishes and uses to show that $2m$ blocks means $m$ of each colour. Without part (iii) the candidate meets L4 for the first time inside the final part.
- (iv)(b) uses (iii) and (iv)(a): The first of the two counts of the set $E$ is the sum over $m$ of the part (iii) formula, and the second is available only because part (a) has re-described $E$ as the set of rows whose end counters differ. Delete part (iii) and the left-hand side of the identity has to be derived from nothing; delete part (a) and there is no reason to count the end counters at all.
Choosing a description of the experiment.
A row is a sequence of $a+b$ counters of which $a$ are red, and counters of one colour are indistinguishable, so a row is exactly a word of length $a+b$ in the two letters $\mathrm{R}$ and $\mathrm{B}$ containing $a$ letters $\mathrm{R}$. A row is determined by the set of positions holding the red counters, so there are $\binom{a+b}{a}$ rows, and the question declares them equally likely. Every probability asked for is therefore (number of rows with the property) divided by $\binom{a+b}{a}$, and the whole question is a counting question.
The first genuine decision is which colour to describe a row by. We describe a row by saying where the red counters sit relative to the blue ones. This is a choice, not a consequence, and it is made because it is the red blocks that parts (i) and (ii) ask about: laying the blue counters out first gives a fixed frame, and the red counters are then dropped into it.
Write the $b$ blue counters in a row. They create $b+1$ gaps: one to the left of the first blue counter, one between each of the $b-1$ pairs of consecutive blue counters, and one to the right of the last blue counter. Label them $g_0, g_1, \dots, g_b$ from left to right. Given a row, let $r_i$ be the number of red counters lying in gap $g_i$, so that $r_i \ge 0$ and $r_0 + r_1 + \cdots + r_b = a$.
Lemma 1. Rows correspond one to one with $(b+1)$-tuples $(r_0, r_1, \dots, r_b)$ of non-negative integers with $r_0 + \cdots + r_b = a$.
Why. The map just described sends a row to such a tuple. It has an inverse: given a tuple, write $r_0$ red counters, then a blue counter, then $r_1$ red counters, then a blue counter, and so on, finishing with $r_b$ red counters. This uses each of the $b$ blue counters once and $r_0 + \cdots + r_b = a$ red counters, so it is a row, and the two constructions undo one another. Hence the correspondence is a bijection.
Lemma 2. Under Lemma 1, the red blocks of a row are exactly the non-empty gaps. In particular the number of red blocks is the number of indices $i$ with $r_i \ge 1$.
Why. Two red counters lying in the same gap have only red counters between them, so no blue counter separates them and they lie in the same block. Two red counters lying in different gaps have at least one blue counter between them, so they lie in different blocks. Therefore the red counters of one non-empty gap form a set of consecutive red counters which cannot be enlarged, because whatever stands immediately outside it is a blue counter or nothing at all: that is a block. Distinct non-empty gaps give distinct blocks, and every red counter lies in some gap, so every red block arises this way exactly once.
(i)
No two red counters are adjacent if and only if no gap holds two or more red counters. Both directions matter and both are short. If some gap held two or more red counters, two of them would be next to each other in the row, so two red counters would be adjacent. Conversely, if two red counters are adjacent, then no blue counter lies between them, so they lie in the same gap and that gap holds at least two red counters.
So, by Lemma 1, the rows in which no two red counters are adjacent correspond one to one with the $(b+1)$-tuples $(r_0, \dots, r_b)$ in which every $r_i$ is $0$ or $1$ and the total is $a$. Such a tuple is the same thing as a choice of which $a$ of the $b+1$ gaps hold a red counter, that is, an $a$-element subset of a set of size $b+1$. There are $\binom{b+1}{a}$ of these, so the number of rows is $\binom{b+1}{a}$.
The degenerate case is worth a sentence. If $a \gt b+1$ then there is no such subset, and indeed no such row, since $a$ red counters cannot be spread over $b+1$ gaps one at a time; the stated convention makes $\binom{b+1}{a}=0$, so the formula is correct there too. If $a=1$ the condition is vacuous, and the formula gives $\binom{b+1}{1}=b+1$, which is the total number of rows, as it must be.
For $a=3$ and $b=5$ the number of such rows is $\binom{6}{3}=20$, and the total number of rows is $\binom{8}{3}=56$, so $$\mathrm{P}(\text{no two red counters adjacent}) = \frac{20}{56} = \frac{5}{14}.$$
(ii)
Part (i) counted the rows in which every non-empty gap holds exactly one red counter. The general case has to allow a gap to hold several, and that is a second and genuinely different count: how many ways are there of splitting $a$ into $k$ positive parts in a definite order.
Lemma 3 (the count of compositions). Let $a$ and $k$ be positive integers. The number of $k$-tuples $(c_1, c_2, \dots, c_k)$ of positive integers with $c_1 + c_2 + \cdots + c_k = a$ is $\binom{a-1}{k-1}$.
Why. Write $a$ as a row of $a$ units, and note the $a-1$ spaces between consecutive units. Choose $k-1$ of those spaces and cut there. The cuts divide the units into $k$ consecutive groups, each non-empty because a group can be empty only if two cuts are made in the same space, which a choice of $k-1$ distinct spaces does not allow; reading the group sizes from left to right gives a $k$-tuple of positive integers with sum $a$. Conversely a $k$-tuple determines the cuts: cut after unit number $c_1 + \cdots + c_j$ for $j = 1, \dots, k-1$, and these $k-1$ positions are distinct spaces, strictly between $0$ and $a$, precisely because every $c_j \ge 1$. The two constructions are mutually inverse, so the count is the number of $(k-1)$-element subsets of a set of size $a-1$, namely $\binom{a-1}{k-1}$. When $k \gt a$ there is no such tuple, since $k$ positive integers sum to at least $k$, and the convention gives $\binom{a-1}{k-1}=0$ in agreement.
Now fix $k \ge 1$. By Lemma 2, a row has exactly $k$ red blocks if and only if exactly $k$ of the $b+1$ gaps are non-empty. Such a row is determined by two pieces of data, and determines them:
1. the set $S$ of non-empty gaps, which is a $k$-element subset of the $b+1$ gaps; 2. the numbers of red counters in those gaps, read from left to right, which is a $k$-tuple of positive integers with sum $a$.
Conversely, any such pair $(S, (c_1, \dots, c_k))$ gives back one row: put $c_j$ red counters into the $j$th smallest gap in $S$ and none into the others, which is a tuple as in Lemma 1, hence a row, and it has exactly $k$ non-empty gaps, hence exactly $k$ red blocks. The two constructions are mutually inverse, so this is a bijection, and the two choices are independent of one another: any subset may be paired with any tuple. Hence the number of rows with exactly $k$ red blocks is $$\binom{b+1}{k} \times \binom{a-1}{k-1} = \binom{a-1}{k-1}\binom{b+1}{k},$$ as required. Note that the formula correctly returns $0$ when $k \gt b+1$ (too few gaps) and when $k \gt a$ (too few red counters).
Dividing by the number of rows, $$\mathrm{P}(\text{exactly } k \text{ red blocks}) = \frac{\binom{a-1}{k-1}\binom{b+1}{k}}{\binom{a+b}{a}}.$$
Consistency with part (i). A row has exactly $a$ red blocks if and only if the $a$ red counters lie in $a$ different gaps, that is, if and only if every red block consists of a single counter, that is, if and only if no two red counters are adjacent. Putting $k=a$ in the formula gives $\binom{a-1}{a-1}\binom{b+1}{a} = \binom{b+1}{a}$, which is exactly the count of part (i). This is a check on the general formula, not a new result.
As a numerical check, take $a=3$ and $b=2$, where there are $\binom{5}{3}=10$ rows. The formula gives $\binom{2}{0}\binom{3}{1}=3$ rows with one red block, $\binom{2}{1}\binom{3}{2}=6$ with two, and $\binom{2}{2}\binom{3}{3}=1$ with three, totalling $10$. Listing the ten rows confirms this: $\mathrm{RRRBB}$, $\mathrm{BRRRB}$ and $\mathrm{BBRRR}$ have one red block, $\mathrm{RBRBR}$ has three, and the remaining six have two.
(iii)
This part is about blocks of both colours, so the gap description of parts (i) and (ii) is no longer the natural frame. What replaces it is the following structural fact, which is the step the question does not signpost.
Lemma 4 (blocks alternate). In any row, consecutive blocks have different colours.
Why. Suppose blocks number $j$ and $j+1$ had the same colour. They are next to each other in the row, so the counter immediately to the right of block $j$ is the leftmost counter of block $j+1$, and it has the same colour as block $j$. That contradicts the requirement in the definition that a block cannot be enlarged.
It follows that the colour of block $j$ is the colour of block $1$ when $j$ is odd, and the other colour when $j$ is even; this is an immediate induction on $j$ using Lemma 4.
Since $a \ge 1$ and $b \ge 1$, both colours occur, so every row has at least two blocks. Suppose a row has exactly $2m$ blocks. By the previous paragraph, blocks $1, 3, \dots, 2m-1$ all have the colour of block $1$, and blocks $2, 4, \dots, 2m$ all have the other colour. There are $m$ blocks of each kind, so the row has exactly $m$ red blocks and exactly $m$ blue blocks.
Now split according to the colour of the first block. Every row has a first block and that block has exactly one colour, so the two classes below are disjoint and together contain every row with $2m$ blocks. This split is a choice, and it is the right one because, once the sizes of the blocks of each colour are known, the colour of the first block is the only thing still undetermined.
Class 1: the first block is red. Then reading from the left the row is $$\underbrace{\mathrm{R}\cdots\mathrm{R}}_{c_1}\ \underbrace{\mathrm{B}\cdots\mathrm{B}}_{d_1}\ \underbrace{\mathrm{R}\cdots\mathrm{R}}_{c_2}\ \underbrace{\mathrm{B}\cdots\mathrm{B}}_{d_2}\ \cdots\ \underbrace{\mathrm{R}\cdots\mathrm{R}}_{c_m}\ \underbrace{\mathrm{B}\cdots\mathrm{B}}_{d_m},$$ where every $c_j$ and every $d_j$ is a positive integer (a block is non-empty), $c_1 + \cdots + c_m = a$ and $d_1 + \cdots + d_m = b$. The row determines the two tuples, since the blocks of a row are determined by the row; and the two tuples determine the row, since the display above reconstructs it. Choosing $(c_1, \dots, c_m)$ and choosing $(d_1, \dots, d_m)$ are independent choices, so by Lemma 3, applied once to $a$ and once to $b$, this class contains $$\binom{a-1}{m-1}\binom{b-1}{m-1}$$ rows. Replace with: "This is where Lemma 3 is consumed: the composition count established in part (ii) is used twice here, once for $a$ and once for $b$. Note that it is the lemma and not the conclusion of part (ii) that is reused, since the gap frame of parts (i) and (ii) plays no role at all in this part."
Class 2: the first block is blue. The same argument with the colours interchanged gives $\binom{b-1}{m-1}\binom{a-1}{m-1}$ rows, which is the same number.
Adding the two disjoint classes, the number of rows with exactly $2m$ blocks altogether is $$2\binom{a-1}{m-1}\binom{b-1}{m-1}.$$
Check with $a=3$, $b=2$. For $m=1$ the formula gives $2\binom{2}{0}\binom{1}{0}=2$, and indeed only $\mathrm{RRRBB}$ and $\mathrm{BBRRR}$ have two blocks. For $m=2$ it gives $2\binom{2}{1}\binom{1}{1}=4$, and indeed $\mathrm{RRBRB}$, $\mathrm{RBRRB}$, $\mathrm{BRRBR}$ and $\mathrm{BRBRR}$ have four blocks. For $m=3$ it gives $2\binom{2}{2}\binom{1}{2}=0$, correctly, since six blocks would need three blue blocks and there are only two blue counters.
(iv)(a)
Let $R$ be the number of blocks in a row; as noted above $R \ge 2$. By the consequence of Lemma 4, block $R$ has the colour of block $1$ when $R$ is odd, and the other colour when $R$ is even. The first counter of the row belongs to block $1$ and so has the colour of block $1$; the last counter belongs to block $R$ and so has the colour of block $R$. Therefore
the first and last counters have different colours $\iff$ blocks $1$ and $R$ have different colours $\iff$ $R$ is even.
Both implications are contained in this chain, because each link is an equivalence rather than a one-way implication: the first link holds because the first and last counters carry exactly the colours of the first and last blocks, and the second because the colour of block $R$ is determined by the parity of $R$ alone.
(iv)(b)
Let $E$ be the set of rows containing an even number of blocks. We count $E$ in two ways. The identity is then forced, which is the point of the part: the two counts are of the same set, so they are equal.
First count, through part (iii). For each positive integer $m$ let $E_m$ be the set of rows with exactly $2m$ blocks. A row has exactly one number of blocks, so the sets $E_m$ are pairwise disjoint. Their union is $E$: a row in $E$ has an even number of blocks, and that number is $2m$ for exactly one positive integer $m$, positive because $R \ge 2$. So the case split is both disjoint and exhaustive, and $$|E| = \sum_{m \ge 1} |E_m| = \sum_{m \ge 1} 2\binom{a-1}{m-1}\binom{b-1}{m-1}.$$ Every term with $m \gt a$ vanishes, since then $m-1 \gt a-1$ and $\binom{a-1}{m-1}=0$; so the sum may be written as the finite sum $$|E| = 2\sum_{m=1}^{a}\binom{a-1}{m-1}\binom{b-1}{m-1}.$$
Second count, through part (a). By part (a), $E$ is exactly the set of rows whose first and last counters have different colours. Split that condition according to which way round the two colours occur: either the first counter is red and the last is blue, or the first is blue and the last is red. These two cases are disjoint, since the first counter has one colour, and together they are the condition. In the first case the two end positions are fixed, and the remaining $a+b-2$ positions carry the remaining $a-1$ red counters and $b-1$ blue counters; such a row is determined by which $a-1$ of those $a+b-2$ positions are red, so there are $\binom{a+b-2}{a-1}$ of them. The second case gives the same count, again $\binom{a+b-2}{a-1}$, because there too the middle $a+b-2$ positions carry $a-1$ red counters. Hence $$|E| = 2\binom{a+b-2}{a-1}.$$
The identity. Equating the two counts of $|E|$ and dividing by $2$, $$\sum_{m=1}^{a}\binom{a-1}{m-1}\binom{b-1}{m-1} = \binom{a+b-2}{a-1}$$ for all positive integers $a$ and $b$, as required.
The probability. Dividing $|E|$ by the number of rows, $$\mathrm{P}(E) = \frac{2\binom{a+b-2}{a-1}}{\binom{a+b}{a}}.$$ Now $$\frac{\binom{a+b-2}{a-1}}{\binom{a+b}{a}} = \frac{(a+b-2)!}{(a-1)!\,(b-1)!}\cdot\frac{a!\,b!}{(a+b)!} = \frac{a!}{(a-1)!}\cdot\frac{b!}{(b-1)!}\cdot\frac{(a+b-2)!}{(a+b)!} = \frac{ab}{(a+b)(a+b-1)},$$ so $$\mathrm{P}(E) = \frac{2ab}{(a+b)(a+b-1)},$$ which is what was to be shown.
A tempting step that is not valid. One might try to reach this probability by saying that the first counter is red with probability $\frac{a}{a+b}$ and the last is blue with probability $\frac{b}{a+b}$, and multiplying. That treats the two end counters as independent, and they are not: knowing the first counter is red leaves only $a-1$ red counters among the other $a+b-1$ counters, so the conditional probability that the last is blue is $\frac{b}{a+b-1}$, not $\frac{b}{a+b}$. The correct version of this route gives $2 \cdot \frac{a}{a+b} \cdot \frac{b}{a+b-1}$, which agrees with the count above; the incorrect one gives $\frac{2ab}{(a+b)^2}$, which is wrong for every $a$ and $b$.
Checks at small values.
$a=b=1$: the two rows are $\mathrm{RB}$ and $\mathrm{BR}$, each with two blocks, so $\mathrm{P}(E)=1$, and the formula gives $\frac{2 \cdot 1 \cdot 1}{2 \cdot 1}=1$. The identity reads $\binom{0}{0}\binom{0}{0}=1$ on the left and $\binom{0}{0}=1$ on the right.
$a=2$, $b=1$: the three rows $\mathrm{RRB}$, $\mathrm{RBR}$, $\mathrm{BRR}$ have $2$, $3$ and $2$ blocks, so $\mathrm{P}(E)=\frac{2}{3}$, and the formula gives $\frac{2\cdot 2\cdot 1}{3 \cdot 2}=\frac{2}{3}$. The identity reads $\binom{1}{0}\binom{0}{0} + \binom{1}{1}\binom{0}{1} = 1 + 0 = 1$ on the left and $\binom{1}{1}=1$ on the right.
$a=3$, $b=2$: Replace with: "listing the ten rows in dictionary order with $\mathrm{R}$ before $\mathrm{B}$, namely $\mathrm{RRRBB}$, $\mathrm{RRBRB}$, $\mathrm{RRBBR}$, $\mathrm{RBRRB}$, $\mathrm{RBRBR}$, $\mathrm{RBBRR}$, $\mathrm{BRRRB}$, $\mathrm{BRRBR}$, $\mathrm{BRBRR}$, $\mathrm{BBRRR}$, their numbers of blocks are $2, 4, 3, 4, 5, 3, 3, 4, 4, 2$ respectively"., so six of them lie in $E$ and $\mathrm{P}(E)=\frac{3}{5}$; the formula gives $\frac{2 \cdot 3 \cdot 2}{5 \cdot 4}=\frac{3}{5}$. The identity reads $\binom{2}{0}\binom{1}{0}+\binom{2}{1}\binom{1}{1}+\binom{2}{2}\binom{1}{2} = 1+2+0 = 3$ on the left and $\binom{3}{2}=3$ on the right.
The degenerate case, and why the question excludes it. If $b$ were $0$ there would be a single row, with one block, so no row would have an even number of blocks; and the formula of part (iii) would involve $\binom{-1}{m-1}$, which is not defined by the convention in the stem. This is why $a$ and $b$ are required to be positive integers throughout. Part (i) alone survives $b=0$: it then reads $\binom{1}{a}$, which is $1$ when $a=1$ and $0$ when $a \ge 2$, both correct.
Lemma-breaking pass: 4 claimed lemma(s) attacked with counterexamples, 8 unproved step(s) challenged, 3 challenge(s) upheld and 2 repair(s) made to the solution above before it was published.
[12] Expectation and random variables · Probability and statistics · 20 marks
Climbing a ladder that resets
This is a proof question, so there is no answer key a computer can check. Everything below is asserted by the author and re-derived independently, not machine-verified.
Difficulty 12 of 18: STEP 2 core. Scored against a published rubric as independent ideas 2, ladder 2, generalisation 1, unsignposted step 2, technical load 2, argument burden 3. Each axis runs 0 to 3.
Reviewer verdict: publishable, with reservations.
On difficulty. Solid STEP 2 core, twelve on the rubric, and the honest place to spend the time is part $(ii)$. The mathematics is correct throughout: the distribution of $H_m$, both closed forms, every tail probability and the closing identity all check out by exhaustive enumeration in exact arithmetic, and $a_n$ agrees across four independent derivations. What holds it below the setter's thirteen is that there is no genuine concrete-case-to-general step, only a consistency check, and that the ladder is two strands rather than one chain, since part $(iii)$ can be attempted cold and carries the first display of part $(iv)$ with it. Expect the real difficulty to sit in one place: refusing to cancel $(1-p)a_n$ until part $(i)$ has told you $a_n$ is finite. That is a genuine STEP idea rather than bookkeeping, and it is what makes the question worth forty minutes.
- Parts $(i)$ and $(ii)$ form one strand and part $(iii)$ forms another, and the two meet only in the second display of part $(iv)$. Part $(iii)$ uses nothing before it, and the first display of part $(iv)$, with its monotonicity, its strict bound and its limit, follows from part $(iii)$ alone. Both solvers found this independently and so did I. If you are short of time, five of the twenty marks are available starting at part $(iii)$ cold.
- The closing identity is the advertised point of the question and it is one line of algebra once both closed forms are in hand: $P(H_m \geqslant n)=p^{\,n}$ from part $(iii)$ and $1+(1-p)a_n=p^{-n}$ from part $(ii)$. Verifying it needs no probabilistic insight and it carries at most part of one mark. The work in part $(iv)$ is in the summation, not in the punchline.
- In part $(iii)$, the instruction to find $P(H_m=k)$ for every integer $k$ with $0 \leqslant k \leqslant m$ reads as a request for a single formula, and a single formula is wrong. The value $k=m$ has no preceding round to have been a reset, so its probability is $p^{\,m}$ and not $(1-p)p^{\,m}$. The instruction to verify that the probabilities sum to $1$ is the detector: the wrong version totals $1-p^{\,m+1}$.
- Three requests, one in part $(ii)$ and two in part $(iv)$, ask for commentary rather than mathematics, and nothing tells you how much is wanted. The one in part $(ii)$ says 'briefly' and one sentence answers it. The two in part $(iv)$ share a single mark and the mark scheme requires both for it, so a strong interpretation paired with a weak reconciliation scores nothing for either. There is also a mismatch in the wording: 'how often the counter is found at or above' rung $n$ is frequency language, while the identity is about a probability at one specified round, and a genuine long-run frequency reading needs a renewal argument the stem gives you no tools for. Both solvers reached for one anyway and both were right, but answering what is literally asked, that the probability is the reciprocal of $1+(1-p)a_n$ so a rung is rare in proportion to how long it takes to reach, is enough.
A counter moves on the rungs of a ladder, the rungs being numbered $0,\,1,\,2,\,\ldots$ from the bottom upwards. The counter starts on rung $0$, and rounds then take place one after another, without end. In each round, independently of every other round, exactly one of two things happens: the counter moves up one rung, which has probability $p$, or the counter is returned to rung $0$, which has probability $1-p$. Here $p$ is a constant with $0 \lt p \lt 1$. A counter that is returned to rung $0$ when it is already on rung $0$ stays where it is.
For each integer $m \geqslant 0$, let $H_m$ be the number of the rung occupied by the counter at the end of round $m$, so that $H_0=0$. For each integer $n \geqslant 0$, let $T_n$ be the least value of $m$ for which $H_m=n$, when such a value exists, and write $a_n=E(T_n)$. Thus $T_0=0$ and $a_0=0$.
Throughout this question you may use the following fact without proof. Suppose $S$ is a random round number with the property that, for every $s$, whether or not $S=s$ is decided by the outcomes of rounds $1,\,2,\,\ldots,\,s$ alone. Then the outcomes of rounds $S+1,\,S+2,\,\ldots$ are independent of the outcomes of rounds $1,\,2,\,\ldots,\,S$, and have the same joint distribution as the outcomes of rounds $1,\,2,\,\ldots$ themselves.
(i) [5 marks]
Let $\theta$ be a constant with $0 \lt \theta \lt 1$, and suppose that independent trials are carried out, each trial being a success with probability $\theta$. Let $N$ be the number of trials up to and including the first success. Write down $P(N=k)$ for each integer $k \geqslant 1$, and show that $$E(N)=\frac{1}{\theta}.$$ You should justify any summation you use.
Now let $n$ be a fixed positive integer, and group the rounds into consecutive batches of $n$, the $j$th batch consisting of rounds $(j-1)n+1,\,(j-1)n+2,\,\ldots,\,jn$. Show that if every round of some batch is an upward move, then there is a round, no later than the last round of that batch, at the end of which the counter occupies rung $n$.
Hence show that $T_n$ exists with probability $1$, and that $a_n \leqslant np^{-n}$; in particular, $a_n$ is finite.
Method family: Probability structure
(ii) [7 marks]
Let $n \geqslant 1$. Explain why the counter occupies rung $n-1$ at the end of round $T_n-1$, and deduce that $T_{n-1} \leqslant T_n-1$.
By considering round $T_{n-1}+1$, show that $$a_n=a_{n-1}+1+(1-p)a_n \qquad (n \geqslant 1).$$ You should say why your cases are exhaustive and mutually exclusive, and you should justify every step of any rearrangement you then make.
Deduce that $$a_n=\frac{1-p^{\,n}}{p^{\,n}(1-p)} \qquad (n \geqslant 0),$$ and check that this agrees with part (i) in the case $n=1$.
Find $\displaystyle\lim_{p\to 1^{-}}a_n$ for fixed $n$, and explain briefly why the value is the one you would expect.
In the case $p=\tfrac{1}{2}$, find the least value of $n$ for which $a_n \gt 10^{6}$.
Method family: Recurrences and reduction formulae, Probability structure
(iii) [3 marks]
Let $m \geqslant 1$. Find $P(H_m=k)$ for every integer $k$ with $0 \leqslant k \leqslant m$, justifying your answer carefully, and verify that these probabilities sum to $1$.
Method family: Probability structure
(iv) [5 marks]
Show that $$E(H_m)=\frac{p\left(1-p^{\,m}\right)}{1-p} \qquad (m \geqslant 0),$$ and deduce that $E(H_m)$ increases strictly with $m$, that $E(H_m) \lt \dfrac{p}{1-p}$ for every $m$, and that $E(H_m) \to \dfrac{p}{1-p}$ as $m \to \infty$.
Show also that, for all integers $m$ and $n$ with $1 \leqslant n \leqslant m$, $$P(H_m \geqslant n)=\frac{1}{1+(1-p)a_n},$$ so that this probability does not depend on $m$, and say what this identity tells you about the relationship between how long rung $n$ takes to reach and how often the counter is found at or above it.
Finally, comment on how these results are to be reconciled with the conclusion of part (i), that for every $n$, however large, the counter occupies rung $n$ at the end of some round with probability $1$.
Method family: Probability structure, Recurrences and reduction formulae
Reveal the mark scheme and the full solution. Attempt every part first.
What each part establishes
- (i) $P(N=k)=(1-\theta)^{k-1}\theta$ for $k \geqslant 1$, and $E(N)=1/\theta$. If every round of the $j$th batch is an upward move then rung $n$ is occupied at the end of some round no later than round $jn$. Hence $T_n$ exists with probability $1$, and $a_n \leqslant np^{-n}$, so $a_n$ is finite. (In the case $n=1$ the same argument gives the exact value $a_1=1/p$.)
- (ii) $T_{n-1} \leqslant T_n-1$ for $n \geqslant 1$; $a_n=a_{n-1}+1+(1-p)a_n$, so $pa_n=a_{n-1}+1$ once the finiteness of $a_n$ from part (i) licenses the cancellation; hence $a_n=\sum_{k=1}^{n}p^{-k}=\dfrac{1-p^{\,n}}{p^{\,n}(1-p)}$ for $n \geqslant 0$, which gives $a_1=1/p$ in agreement with part (i). $\lim_{p \to 1^{-}}a_n=n$. For $p=\tfrac12$, $a_n=2^{\,n+1}-2$ and the least $n$ with $a_n \gt 10^{6}$ is $n=19$, where $a_{19}=1048574$.
- (iii) $H_m$ is the length of the unbroken run of upward moves ending with round $m$. Hence $P(H_m=k)=(1-p)p^{\,k}$ for $0 \leqslant k \leqslant m-1$ and $P(H_m=m)=p^{\,m}$, and these probabilities sum to $\left(1-p^{\,m}\right)+p^{\,m}=1$.
- (iv) $E(H_m)=\dfrac{p\left(1-p^{\,m}\right)}{1-p}$, which increases strictly with $m$, stays strictly below $\dfrac{p}{1-p}$, and tends to $\dfrac{p}{1-p}$ as $m \to \infty$. For $1 \leqslant n \leqslant m$, $P(H_m \geqslant n)=p^{\,n}=\dfrac{1}{1+(1-p)a_n}$, independent of $m$: the chance of finding the counter at or above rung $n$ is exactly reciprocal to $1+(1-p)a_n$, so a rung is rare in proportion to how long it takes to reach. This is consistent with part (i) because reaching rung $n$ is an event over the whole infinite sequence of rounds, whereas $H_m$ describes one specified round.
Mark scheme
The results a solution has to reach. Mark your own attempt against these rather than against the wording of the model solution: three correct write-ups of one proposition read as three different answers, which is exactly why comparing prose is useless here.
(i) [5 marks]
- $P(N=k)=(1-\theta)^{k-1}\theta$ for every integer $k \geqslant 1$, obtained by multiplying probabilities across independent trials.
- $\sum_{k=1}^{N}kx^{k-1}=\dfrac{1-(N+1)x^{N}+Nx^{N+1}}{(1-x)^{2}}$ for $0 \lt x \lt 1$, or its limiting form $\sum_{k=1}^{\infty}kx^{k-1}=(1-x)^{-2}$, established rather than quoted.
- $E(N)=1/\theta$.
- If every round of the $j$th batch is an upward move, then rung $n$ is occupied at the end of some round no later than round $jn$. The proof must dispose of the case in which the rung at the start of the batch is already at least $n$.
- The events $A_j$ ('batch $j$ consists of upward moves only') are independent with $P(A_j)=p^{\,n}$, so $P(B \gt M)=(1-p^{\,n})^{M} \to 0$ and hence $T_n$ exists with probability $1$.
- $T_n \leqslant nB$ with probability $1$, hence $a_n \leqslant nE(B)=np^{-n}$, so $a_n$ is finite.
- 1 marks: $P(N=k)=(1-\theta)^{k-1}\theta$ stated, with independence of the trials used to justify the product.
- 2 marks: The arithmetico-geometric sum established by a valid method (multiply the partial sum by $x$ and subtract, or differentiate the geometric series with the differentiation justified), and $E(N)=1/\theta$ deduced from it. One of these two marks is for the summation being justified rather than asserted.
- 1 marks: The batch claim proved, covering both the case where the rung at the start of the batch is below $n$ and the case where it is at least $n$.
- 1 marks: Independence of the batches used to get $P(B \gt M)=(1-p^{\,n})^{M}$, hence existence of $T_n$ with probability $1$; and the bound $a_n \leqslant np^{-n}$ deduced from $T_n \leqslant nB$.
- No credit: Quoting $E(N)=1/\theta$ as a standard property of the geometric distribution. The part asks for the summation to be justified, so the two summation marks require the work.
- No credit: Asserting that $T_n$ is finite because 'the counter must get there eventually'. No probabilistic argument has been given, and the same words would 'prove' the false statement that a counter which only ever resets reaches rung $n$.
- No credit: Deducing $a_n \leqslant np^{-n}$ from $P(T_n \lt \infty)=1$ alone. Almost sure finiteness does not imply a finite expectation, and the bound must come from $T_n \leqslant nB$ together with $E(B)=p^{-n}$.
- No credit: A batch argument that assumes the counter is on rung $0$ at the start of the batch. It need not be, and the case $r \geqslant n$ has to be handled.
(ii) [7 marks]
- $H_{T_n-1}=n-1$, because a reset would give $H_{T_n}=0$; hence $T_{n-1} \leqslant T_n-1$.
- The two cases at round $T_{n-1}+1$, upward move and reset, are exhaustive and mutually exclusive, and that round is an upward move with probability $p$ independently of the rounds that determined $T_{n-1}$.
- In the reset case the number of further rounds needed has the same distribution as $T_n$, by the fact supplied in the question, so it contributes expectation $a_n$.
- $a_n=a_{n-1}+1+(1-p)a_n$ for $n \geqslant 1$.
- The rearrangement to $pa_n=a_{n-1}+1$ is valid only because $a_n$ is finite, which is the conclusion of part (i).
- $a_n=\sum_{k=1}^{n}p^{-k}=\dfrac{1-p^{\,n}}{p^{\,n}(1-p)}$ for $n \geqslant 0$, with $a_1=1/p$ agreeing with part (i).
- $\lim_{p \to 1^{-}}a_n=n$, obtained after rewriting $a_n$ as $\left(1+p+\cdots+p^{\,n-1}\right)/p^{\,n}$ or equivalent, with a reason why $n$ is the expected value.
- For $p=\tfrac12$, $a_n=2^{\,n+1}-2$, and the least $n$ with $a_n \gt 10^{6}$ is $n=19$.
- 1 marks: $T_{n-1} \leqslant T_n-1$ justified by the fact that the counter cannot skip a rung, rather than asserted as obvious.
- 2 marks: The recurrence derived by conditioning at round $T_{n-1}+1$, with both cases identified and the contribution $a_{n-1}+1$ common to both, and $a_n$ correctly attached to the reset case only.
- 1 marks: Saying why the case split is exhaustive and mutually exclusive, and citing the supplied regeneration fact at the two places it is used: the independence of round $T_{n-1}+1$ from the past, and the fresh start after a reset.
- 1 marks: The finiteness of $a_n$ invoked, by reference to part (i), before $(1-p)a_n$ is cancelled from both sides.
- 1 marks: The recurrence solved to the closed form, by iteration or induction with the base case $a_0=0$ stated, and the $n=1$ case checked against part (i).
- 1 marks: $\lim_{p \to 1^{-}}a_n=n$ with the $0/0$ form removed correctly, plus a sentence saying why $n$ is what one would expect.
- No credit: Conditioning on round $1$ and then claiming that the expected further time from rung $1$ to rung $n$ is $a_{n-1}$. It is not: a reset from rung $1$ returns the counter to rung $0$, not to a rung one below the target. With $p=\tfrac12$ and $n=2$ the true value is $4$ and $a_1=2$.
- No credit: Cancelling $(1-p)a_n$ with no reference to finiteness. The recurrence marks still stand, but the justification mark does not, since the equation carries no information when $a_n$ is infinite.
- No credit: Taking $a_n=np^{-n}$ from part (i). That is an upper bound, not the value of $a_n$.
- No credit: Iterating the recurrence with no base case, or writing the closed form with no statement of $a_0$ or $a_1$.
- No credit: Substituting $p=1$ into $\dfrac{1-p^{\,n}}{p^{\,n}(1-p)}$ and reporting the limit without removing the $0/0$ form.
(iii) [3 marks]
- $H_m$ equals the length of the unbroken run of upward moves that ends with round $m$, that run having length $0$ when round $m$ is a reset. Equivalently, $H_m=k$ with $k \lt m$ exactly when round $m-k$ is a reset and rounds $m-k+1,\ldots,m$ are all upward moves.
- $P(H_m=k)=(1-p)p^{\,k}$ for $0 \leqslant k \leqslant m-1$.
- $P(H_m=m)=p^{\,m}$, the factor $1-p$ being absent because there is no round before round $1$ to supply a reset.
- $\sum_{k=0}^{m-1}(1-p)p^{\,k}+p^{\,m}=1$.
- 1 marks: The backwards identification of $H_m$ with the terminal run of upward moves, stated and justified rather than asserted from a picture.
- 1 marks: Both branches of the distribution correct, including the boundary case $k=m$ treated separately.
- 1 marks: The verification that the probabilities sum to $1$, using the geometric series.
- No credit: $P(H_m=k)=(1-p)p^{\,k}$ for every $k$ with $0 \leqslant k \leqslant m$. This over-counts: the case $k=m$ has no preceding reset, and the resulting probabilities sum to $1-p^{\,m+1}$ rather than $1$, so the verification mark also fails.
- No credit: A forwards recurrence for the distribution of $H_m$ that is set up but not solved. The part is answered only by a closed expression for $P(H_m=k)$.
- No credit: Treating the rounds as if $H_m$ depended on all of them in a way that requires a conditional-probability chain. The point of the part is that only the last $k+1$ rounds matter.
(iv) [5 marks]
- $E(H_m)=\dfrac{p\left(1-p^{\,m}\right)}{1-p}$ for every $m \geqslant 0$, obtained from the distribution of part (iii) with the term $k=m$ handled separately.
- $E(H_m)$ is strictly increasing in $m$, and $E(H_m)=\dfrac{p}{1-p}-\dfrac{p^{\,m+1}}{1-p} \lt \dfrac{p}{1-p}$ for every $m$, with $E(H_m) \to \dfrac{p}{1-p}$ because $p^{\,m+1} \to 0$.
- $P(H_m \geqslant n)=p^{\,n}$ for $1 \leqslant n \leqslant m$, and in particular this does not depend on $m$.
- $1+(1-p)a_n=p^{-n}$, hence $P(H_m \geqslant n)=\dfrac{1}{1+(1-p)a_n}$.
- An interpretation: the relation is an exact reciprocal one, so a rung that takes twice as long to reach is found occupied (or exceeded) roughly half as often, once $n$ is large enough for the $1$ to be negligible beside $(1-p)a_n$.
- A correct reconciliation with part (i): 'the counter reaches rung $n$' asserts the existence of some round at which the rung is $n$, over infinitely many rounds, whereas $H_m$ concerns one specified round and the probability $(1-p)p^{\,n}$ does not improve as $m$ grows.
- 2 marks: The summation carried out correctly, including the separate term $mp^{\,m}$ and a correct finite arithmetico-geometric sum, with the algebra reaching $\dfrac{p\left(1-p^{\,m}\right)}{1-p}$.
- 1 marks: Strict monotonicity established, together with the strict bound $E(H_m) \lt \dfrac{p}{1-p}$ and the limit, with a reason given for $p^{\,m} \to 0$.
- 1 marks: $P(H_m \geqslant n)=p^{\,n}$ established for $1 \leqslant n \leqslant m$, and the identity with $a_n$ obtained from part (ii).
- 1 marks: The interpretation of the identity, and the reconciliation with part (i) stated as the difference between an event over all rounds and a distribution at one specified round. Both are needed for this mark.
- No credit: Quoting $E(X)=\sum_{k \geqslant 1}P(X \geqslant k)$ with no proof. It gives the right answer quickly but is not a result the question supplies, so the two summation marks are not earned by it alone.
- No credit: Concluding from $E(H_m) \lt \dfrac{p}{1-p}$ that the counter never rises above rung $\dfrac{p}{1-p}$. A bound on an expectation is not a bound on the random variable, and part (i) shows the counter passes every rung.
- No credit: Declaring the results of parts (i) and (iv) inconsistent, or 'resolving' them by asserting that $a_n$ is infinite or that the process is not really recurrent.
- No credit: Using the formula $P(H_m \geqslant n)=p^{\,n}$ for $n \gt m$, where it is false: the probability is then $0$.
What each part was for
- (ii) uses (i): Without the bound $a_n \leqslant np^{-n}$ from part (i), the equation $a_n=a_{n-1}+1+(1-p)a_n$ cannot be rearranged: subtracting $(1-p)a_n$ from both sides requires $a_n$ to be a real number, and if $a_n$ were infinite the equation would be the vacuous $\infty=\infty$. Part (ii) would also have to establish $a_1=1/p$ from scratch to check its own closed form, which is the $n=1$ case of the waiting-time calculation in part (i).
- (iv) uses (i): The expectation $E(H_m)$ needs the finite sum $\sum_{k=1}^{m-1}kp^{\,k-1}$, which is identity $(*)$ established in part (i); without it that sum has to be built from nothing. More importantly, the closing reconciliation is a comparison with the conclusion of part (i), that the counter occupies every rung at some round with probability $1$. Delete part (i) and the final paragraph of part (iv) has nothing to be reconciled with.
- (iv) uses (ii): The identity $P(H_m \geqslant n)=\dfrac{1}{1+(1-p)a_n}$ is stated in terms of $a_n$ and is obtained from the closed form $a_n=\dfrac{1-p^{\,n}}{p^{\,n}(1-p)}$ proved in part (ii). Without that closed form there is nothing to compare $p^{\,n}$ with, and the punchline of the question disappears.
- (iv) uses (iii): Both the expectation and the tail probability are computed from the distribution of $H_m$ found in part (iii), including its exceptional term at $k=m$. Without part (iii) the candidate must first discover the backwards description of $H_m$, which is the hardest single idea in the question.
Notation, and two small facts isolated first.
Write $H_m$ for the rung occupied at the end of round $m$, so $H_0=0$ and, for $m \geqslant 1$, $H_m=H_{m-1}+1$ if round $m$ is an upward move and $H_m=0$ if round $m$ is a reset. Every round is one or the other, never both and never neither, so this is a complete description of the process.
(L1) The counter cannot skip a rung. If $H_m=r$ with $r \geqslant 1$, then round $m$ cannot have been a reset, since a reset gives $H_m=0$; so $H_m=H_{m-1}+1$ and therefore $H_{m-1}=r-1$. Applying this repeatedly, $H_{m-j}=r-j$ for $j=0,1,\ldots,r$. Hence every one of the rungs $0,1,\ldots,r$ is occupied at the end of one of the rounds $m-r,\,m-r+1,\,\ldots,\,m$. In particular, if the counter is ever on a rung numbered $n$ or higher, then rung $n$ itself has been occupied at the end of some round at or before that one.
(L2) $T_{n-1} \leqslant T_n-1$ for $n \geqslant 1$. By definition $H_{T_n}=n \geqslant 1$, so (L1) gives $H_{T_n-1}=n-1$. Thus rung $n-1$ is occupied at the end of round $T_n-1$, and since $T_{n-1}$ is by definition the least round at whose end rung $n-1$ is occupied, $T_{n-1} \leqslant T_n-1$.
(i)
The waiting time for a first success. The event $N=k$ says that the first $k-1$ trials fail and the $k$th succeeds. The trials are independent, so the probabilities multiply: $$P(N=k)=(1-\theta)^{k-1}\theta \qquad (k=1,2,3,\ldots).$$
To evaluate $E(N)=\sum_{k \geqslant 1}k\theta(1-\theta)^{k-1}$ we need $\sum_{k \geqslant 1}kx^{k-1}$ with $x=1-\theta$, so that $0 \lt x \lt 1$. Here is a choice of method: form the partial sum, multiply it by $x$ and subtract. This works because the terms are a geometric progression multiplied by a linear factor. (Differentiating the geometric series term by term gives the same answer, but term-by-term differentiation of an infinite series is itself a step needing justification, so the finite calculation below is the safer route, and it delivers a finite-sum formula that is needed again in part (iv).) Put $$S_N(x)=\sum_{k=1}^{N}kx^{k-1}.$$ Then $$S_N(x)-xS_N(x)=\sum_{k=1}^{N}kx^{k-1}-\sum_{k=1}^{N}kx^{k}=\sum_{j=0}^{N-1}(j+1)x^{j}-\sum_{k=1}^{N}kx^{k}=\sum_{j=0}^{N-1}x^{j}-Nx^{N},$$ where the middle step reindexes the first sum by $j=k-1$, and the last step cancels the terms $jx^{j}$ for $j=1,\ldots,N-1$, leaving the $j=0$ term of the first sum, the constant terms, and the unmatched $Nx^{N}$. Summing the geometric progression, $$(1-x)S_N(x)=\frac{1-x^{N}}{1-x}-Nx^{N}, \qquad\text{so}\qquad S_N(x)=\frac{1-(N+1)x^{N}+Nx^{N+1}}{(1-x)^{2}}. \qquad (*)$$
Now let $N \to \infty$. Since $0 \lt x \lt 1$ we may write $x=1/(1+h)$ with $h \gt 0$, and the binomial theorem gives $(1+h)^{N} \geqslant \tfrac{1}{2}N(N-1)h^{2}$ for $N \geqslant 2$, every term of the expansion being positive. Hence $$0 \lt Nx^{N}=\frac{N}{(1+h)^{N}} \leqslant \frac{2N}{N(N-1)h^{2}}=\frac{2}{(N-1)h^{2}} \longrightarrow 0 .$$ So $Nx^{N} \to 0$, and a fortiori $x^{N} \to 0$. Therefore $S_N(x)$ converges as $N \to \infty$, and $$\sum_{k=1}^{\infty}kx^{k-1}=\frac{1}{(1-x)^{2}} \qquad (0 \lt x \lt 1).$$ Consequently $$E(N)=\theta\sum_{k=1}^{\infty}k(1-\theta)^{k-1}=\frac{\theta}{\bigl(1-(1-\theta)\bigr)^{2}}=\frac{\theta}{\theta^{2}}=\frac{1}{\theta}.$$ As a check that nothing has been lost, $\sum_{k \geqslant 1}P(N=k)=\theta\cdot\dfrac{1}{1-(1-\theta)}=1$, so $N$ is finite with probability $1$.
The batching argument. Fix $n \geqslant 1$ and let $A_j$ be the event that all $n$ rounds of the $j$th batch are upward moves. Different batches involve disjoint sets of rounds, and the rounds are independent, so $A_1,A_2,A_3,\ldots$ are independent events, each of probability $p^{\,n}$.
Suppose $A_j$ occurs, and let $r=H_{(j-1)n}$ be the rung occupied at the start of that batch, with $H_0=0$ when $j=1$. There are two cases, and they are exhaustive.
If $r \geqslant n$, then by (L1) rung $n$ has already been occupied at the end of some round at or before round $(j-1)n$.
If $r \lt n$, then the $n$ rounds of the batch are all upward moves, so $H_{(j-1)n+i}=r+i$ for $i=1,2,\ldots,n$. Taking $i=n-r$, which satisfies $1 \leqslant n-r \leqslant n$ because $0 \leqslant r \lt n$, gives $H_{(j-1)n+(n-r)}=n$.
Either way rung $n$ is occupied at the end of some round no later than round $jn$, which is the required claim. The first case is the one it is easy to forget: the counter may already have climbed past rung $n$ before the batch begins, and a proof that only tracks the batch itself has a hole in it.
Let $B$ be the least $j$ for which $A_j$ occurs. Because the events $A_j$ are independent, each of probability $p^{\,n}$, the index $B$ is exactly the waiting time for a first success studied above, with $\theta=p^{\,n}$; and $0 \lt p^{\,n} \lt 1$ because $0 \lt p \lt 1$. Hence $$P(B \gt M)=P(\text{none of } A_1,\ldots,A_M \text{ occurs})=(1-p^{\,n})^{M} \longrightarrow 0 \quad (M \to \infty),$$ the middle equality using independence. So $P(B \lt \infty)=1$, and by the previous paragraph $T_n \leqslant nB$ whenever $B$ is finite. Therefore $T_n$ exists with probability $1$. Moreover the inequality $T_n \leqslant nB$ holds with probability $1$, so $$a_n=E(T_n) \leqslant nE(B)=\frac{n}{p^{\,n}}=np^{-n} \lt \infty .$$
This last sentence is a genuine strengthening of the one before it, not a restatement: a random variable can be finite with probability $1$ and still have infinite expectation, so a bound on the expectation has to be obtained separately. It is the finiteness of $a_n$, and not merely the existence of $T_n$, that part (ii) will need.
One special case is worth recording now. When $n=1$, $T_1$ is precisely the number of rounds up to and including the first upward move, which is the waiting time for a first success with $\theta=p$. So in fact $a_1=1/p$ exactly, not merely $a_1 \leqslant 1/p$, and part (ii) uses this as a check.
(ii)
Rung $n-1$ comes first. This is (L2). Since $H_{T_n}=n \geqslant 1$, round $T_n$ was an upward move, so $H_{T_n-1}=n-1$; and $T_{n-1}$ is the least round at whose end rung $n-1$ is occupied, so $T_{n-1} \leqslant T_n-1$. In particular round $T_{n-1}+1$ exists and is no later than round $T_n$.
Choosing what to condition on. We condition on round $T_{n-1}+1$, the round immediately after the counter first reaches rung $n-1$. This is a choice, and it is the choice the question turns on. Conditioning on round $1$ instead leads nowhere useful: after one upward move the counter is on rung $1$, and the expected further time to reach rung $n$ from rung $1$ is not $a_{n-1}$, because a reset from rung $1$ sends the counter to rung $0$ rather than to a rung one step below its target. For example, with $p=\tfrac12$ and $n=2$, the expected time to get from rung $1$ to rung $2$ is $1+\tfrac12 a_2=1+3=4$, whereas $a_1=2$. Conditioning at $T_{n-1}$ avoids the difficulty, because from rung $n-1$ the counter is exactly one upward move short of the target, and a reset returns it to rung $0$, which is where it started.
Why the supplied fact applies. The event $T_{n-1}=s$ says that rung $n-1$ is occupied at the end of round $s$ and at the end of no earlier round. Whether that holds is decided by the outcomes of rounds $1,\ldots,s$ alone. So $T_{n-1}$ is a round number of exactly the kind described in the fact supplied with the question, and the outcomes of rounds $T_{n-1}+1,\,T_{n-1}+2,\,\ldots$ are independent of everything that came before and form a fresh copy of the whole process.
The case split. Exactly one of the following happens at round $T_{n-1}+1$. The two cases are mutually exclusive and exhaustive because a round is by definition either an upward move or a reset, never both and never neither.
Case U, of probability $p$. The round is an upward move. The counter goes from rung $n-1$ to rung $n$, so $T_n=T_{n-1}+1$.
Case R, of probability $1-p$. The round is a reset. At the end of it the counter is on rung $0$, exactly as at the very start. Insert before the sentence quoted: "Note first that rung $n$ has not yet been occupied. By L2 we have $T_n \geqslant T_{n-1}+1$, so it was not occupied before round $T_{n-1}+1$; and in this case round $T_{n-1}+1$ is a reset, so $H_{T_{n-1}+1}=0 \neq n$, and therefore $T_n \gt T_{n-1}+1$. At the end of round $T_{n-1}+1$ the counter is thus on rung $0$ with rung $n$ still unvisited, which is exactly its state at the end of round $0$."
The probabilities attached to the two cases are the unconditional $p$ and $1-p$, and this too is the supplied fact at work: round $T_{n-1}+1$ is independent of the rounds that determined $T_{n-1}$, so knowing when the counter first reached rung $n-1$ tells us nothing about what happens next.
Taking expectations over the two cases, $$a_n=p\bigl(a_{n-1}+1\bigr)+(1-p)\bigl(a_{n-1}+1+a_n\bigr)=a_{n-1}+1+(1-p)a_n \qquad (n \geqslant 1),$$ the last step using $p+(1-p)=1$. Both cases contribute $a_{n-1}+1$, being the expected time to reach rung $n-1$ plus the one round we are conditioning on; only Case R contributes the extra $a_n$.
The step that must be justified, and the trap in it. We now want to subtract $(1-p)a_n$ from both sides. That is legitimate only because $a_n$ is a finite real number, which is exactly what part (i) established. Had $a_n$ been infinite, the displayed equation would have read $\infty=\infty$ and would have said nothing at all, while the cancellation would still have produced a plausible-looking formula. This is the one place in the question where a step that looks like routine algebra needs an external input. With finiteness in hand, $$pa_n=a_{n-1}+1, \qquad\text{that is}\qquad a_n=\frac{1+a_{n-1}}{p} \quad (n \geqslant 1), \qquad a_0=0 .$$
Solving the recurrence. Claim: $a_n=\sum_{k=1}^{n}p^{-k}$ for every $n \geqslant 0$, an empty sum being $0$. Base case: $a_0=0$, which is the empty sum. Inductive step: if $a_{n-1}=\sum_{k=1}^{n-1}p^{-k}$ for some $n \geqslant 1$, then $$a_n=\frac{1+a_{n-1}}{p}=\frac{1}{p}+\sum_{k=1}^{n-1}\frac{1}{p^{\,k+1}}=\frac{1}{p}+\sum_{k=2}^{n}\frac{1}{p^{\,k}}=\sum_{k=1}^{n}\frac{1}{p^{\,k}},$$ which is the claim for $n$. So it holds for every $n \geqslant 0$ by induction. Summing this geometric progression, whose first term is $p^{-1}$ and whose common ratio is $p^{-1} \neq 1$ because $p \neq 1$, $$a_n=\frac{p^{-1}\left(p^{-n}-1\right)}{p^{-1}-1}=\frac{p^{-n}-1}{1-p}=\frac{1-p^{\,n}}{p^{\,n}(1-p)} ,$$ the last step multiplying numerator and denominator by $p^{\,n}$.
Checks. At $n=0$ the formula gives $0$, as it must. At $n=1$ it gives $\dfrac{1-p}{p(1-p)}=\dfrac{1}{p}$, which agrees with part (i), where $T_1$ was identified as the waiting time for the first upward move. At $n=2$ it gives $p^{-1}+p^{-2}$, and directly $a_2=(1+a_1)/p=(1+1/p)/p$, the same thing. For $p=\tfrac12$ these read $a_1=2$ and $a_2=6$.
The limit as $p \to 1^{-}$. The formula as written is of the form $0/0$ at $p=1$, so it must be rewritten before the limit is taken; this is the small unsignposted move in this part. Using $1-p^{\,n}=(1-p)\left(1+p+\cdots+p^{\,n-1}\right)$, $$a_n=\frac{1+p+p^{2}+\cdots+p^{\,n-1}}{p^{\,n}},$$ which has no vanishing factor left in it. Letting $p \to 1^{-}$ with $n$ fixed gives $$\lim_{p \to 1^{-}}a_n=\frac{n}{1}=n .$$ That is what one expects: when $p$ is close to $1$ resets are very rare, so the counter climbs one rung per round and needs about $n$ rounds to reach rung $n$. At the other end, $a_n \to \infty$ as $p \to 0^{+}$ for every $n \geqslant 1$, which is also as expected.
The case $p=\tfrac12$. Here $a_n=\sum_{k=1}^{n}2^{k}=2^{\,n+1}-2$. We need $2^{\,n+1}-2 \gt 10^{6}$, that is $2^{\,n+1} \gt 1000002$. Since $2^{19}=524288$ and $2^{20}=1048576$, the least admissible value of $n+1$ is $20$, so the least value of $n$ is $$n=19 ,$$ with $a_{19}=2^{20}-2=1048574 \gt 10^{6}$, while $a_{18}=2^{19}-2=524286 \lt 10^{6}$. It is worth pausing on the size of this. Nineteen rungs, and the counter needs over a million rounds on average, because each extra rung multiplies the expected time by $1/p$: the cost of one more rung is multiplicative, not additive.
(iii)
The construction this part needs. Read the process backwards from round $m$ rather than forwards from round $1$. Forwards, $H_m$ appears to depend on the whole history; backwards, it depends only on the last few rounds. Precisely, let $R$ be the length of the unbroken run of upward moves that ends with round $m$: that is, $R$ is the largest $r$ with $0 \leqslant r \leqslant m$ such that rounds $m-r+1,\,m-r+2,\,\ldots,\,m$ are all upward moves, with $R=0$ when round $m$ is a reset.
Claim: $H_m=R$. Suppose first that $R=r$ with $1 \leqslant r \lt m$. Then rounds $m-r+1,\ldots,m$ are all upward moves and, by the maximality of $r$, round $m-r$ is a reset. A reset puts the counter on rung $0$, so $H_{m-r}=0$, and the $r$ upward moves that follow give $H_m=0+r=r$. If $R=m$ then all $m$ rounds are upward moves, and since $H_0=0$ we get $H_m=m=R$. If $R=0$ then round $m$ is a reset, so $H_m=0=R$. In every case $H_m=R$, and the three cases are exhaustive.
The distribution. Let $0 \leqslant k \leqslant m-1$. By the claim, $H_m=k$ holds exactly when rounds $m-k+1,\ldots,m$ are all upward moves and round $m-k$ is a reset. That is a condition on $k+1$ distinct rounds, namely rounds $m-k,\,m-k+1,\,\ldots,\,m$, all of which lie in $\{1,\ldots,m\}$ because $k \leqslant m-1$. The rounds are independent, so the probabilities multiply: $$P(H_m=k)=(1-p)p^{\,k} \qquad (0 \leqslant k \leqslant m-1).$$ The remaining case is $k=m$, which by the claim holds exactly when all $m$ rounds are upward moves, so $$P(H_m=m)=p^{\,m}.$$ The case $k=m$ genuinely is different, and that is the trap here: there is no round $0$ to be a reset, so the factor $1-p$ is absent.
Verification. Summing the geometric progression, $$\sum_{k=0}^{m-1}(1-p)p^{\,k}+p^{\,m}=(1-p)\cdot\frac{1-p^{\,m}}{1-p}+p^{\,m}=\left(1-p^{\,m}\right)+p^{\,m}=1 ,$$ as required. Note that had the formula $(1-p)p^{\,k}$ been used for $k=m$ as well, the total would have come to $1-p^{\,m+1}$, which is not $1$; the verification is what catches that error.
Small cases. For $m=1$: $P(H_1=0)=1-p$ and $P(H_1=1)=p$, which is right, since one round either lifts the counter to rung $1$ or resets it. Replace with: "For $m=2$ the four outcomes $\mathrm{RR}$, $\mathrm{RU}$, $\mathrm{UR}$, $\mathrm{UU}$ have probabilities $(1-p)^{2}$, $(1-p)p$, $p(1-p)$, $p^{2}$ and give rungs $0, 1, 0, 2$. Two of them give rung $0$, so $P(H_2=0)=(1-p)^{2}+p(1-p)=1-p$, while $P(H_2=1)=(1-p)p$ and $P(H_2=2)=p^{2}$, in agreement with the general formula, and the three sum to $1$." For $m=0$ the process has not started, $H_0=0$ with probability $1$, consistent with reading the formulas at $m=0$ as the single case $k=m=0$ with probability $p^{0}=1$.
(iv)
The expectation. Using the distribution from part (iii), and separating the exceptional term $k=m$, $$E(H_m)=\sum_{k=0}^{m-1}k(1-p)p^{\,k}+mp^{\,m}=(1-p)p\sum_{k=1}^{m-1}kp^{\,k-1}+mp^{\,m},$$ where the $k=0$ term has been dropped because it is zero and a factor $p$ has been taken out to expose the shape of $(*)$. For $m \geqslant 2$, apply $(*)$ from part (i) with $x=p$ and $N=m-1$: $$\sum_{k=1}^{m-1}kp^{\,k-1}=\frac{1-mp^{\,m-1}+(m-1)p^{\,m}}{(1-p)^{2}} .$$ Hence $$E(H_m)=\frac{p\left(1-mp^{\,m-1}+(m-1)p^{\,m}\right)}{1-p}+mp^{\,m}=\frac{p-mp^{\,m}+(m-1)p^{\,m+1}+mp^{\,m}(1-p)}{1-p}.$$ In the numerator, $-mp^{\,m}+mp^{\,m}=0$ and $(m-1)p^{\,m+1}-mp^{\,m+1}=-p^{\,m+1}$, so $$E(H_m)=\frac{p-p^{\,m+1}}{1-p}=\frac{p\left(1-p^{\,m}\right)}{1-p} .$$ The cases $m=0$ and $m=1$ are immediate and agree with this formula: $E(H_0)=0$ and $E(H_1)=p$.
Checks. At $m=2$ the formula gives $p(1+p)=p+p^{2}$, and directly $0 \cdot (1-p)+1 \cdot (1-p)p+2p^{2}=p-p^{2}+2p^{2}=p+p^{2}$. At $m=3$ the formula gives $p+p^{2}+p^{3}$, and directly $(1-p)p+2(1-p)p^{2}+3p^{3}=p-p^{2}+2p^{2}-2p^{3}+3p^{3}=p+p^{2}+p^{3}$.
There is a shorter route worth knowing, offered here as a cross-check rather than as the intended method, because the identity it uses is not something a candidate should quote without proof. If $X$ takes values in $\{0,1,2,\ldots\}$ then $E(X)=\sum_{k \geqslant 1}P(X \geqslant k)$; with $P(H_m \geqslant k)=p^{\,k}$ for $1 \leqslant k \leqslant m$ and $0$ for $k \gt m$, this gives $E(H_m)=\sum_{k=1}^{m}p^{\,k}=\dfrac{p\left(1-p^{\,m}\right)}{1-p}$, the same answer.
Monotonicity and the limit. Since $0 \lt p \lt 1$, the sequence $p^{\,m}$ is strictly decreasing in $m$, so $1-p^{\,m}$ is strictly increasing, and multiplying by the positive constant $p/(1-p)$ preserves that: $E(H_m)$ increases strictly with $m$. Writing $$E(H_m)=\frac{p}{1-p}-\frac{p^{\,m+1}}{1-p}$$ shows two things at once. First, $p^{\,m+1} \gt 0$ for every $m$, so $E(H_m) \lt \dfrac{p}{1-p}$ for every $m$: the bound is never attained. Second, $p^{\,m+1} \to 0$ as $m \to \infty$, so $$E(H_m) \longrightarrow \frac{p}{1-p} \qquad (m \to \infty).$$ For $p=\tfrac12$ this limit is $1$, so the expected rung is less than $1$ at every single round, however long the process runs.
The tail probability. Let $1 \leqslant n \leqslant m$. Summing the distribution from part (iii), $$P(H_m \geqslant n)=\sum_{k=n}^{m-1}(1-p)p^{\,k}+p^{\,m}=(1-p)\cdot\frac{p^{\,n}-p^{\,m}}{1-p}+p^{\,m}=p^{\,n}-p^{\,m}+p^{\,m}=p^{\,n}.$$ The backwards description of part (iii) gives this in one line and explains why the answer is so clean: $H_m \geqslant n$ holds exactly when the last $n$ rounds, rounds $m-n+1,\ldots,m$, are all upward moves, and that has probability $p^{\,n}$ whatever $m$ is.
Now bring in part (ii). From $a_n=\dfrac{1-p^{\,n}}{p^{\,n}(1-p)}$, $$(1-p)a_n=\frac{1-p^{\,n}}{p^{\,n}}=p^{-n}-1, \qquad\text{so}\qquad 1+(1-p)a_n=p^{-n},$$ and therefore $$P(H_m \geqslant n)=p^{\,n}=\frac{1}{1+(1-p)a_n} \qquad (1 \leqslant n \leqslant m),$$ which in particular does not involve $m$ at all. As a numerical check, $p=\tfrac12$ and $n=2$ give $P(H_m \geqslant 2)=\tfrac14$ for every $m \geqslant 2$, and $1+(1-p)a_2=1+\tfrac12 \times 6=4$, whose reciprocal is $\tfrac14$.
What the identity says. It is an exact reciprocal relation between two quantities that were computed by completely different arguments: $a_n$ came from a forwards recurrence, and $P(H_m \geqslant n)$ from a backwards look at the last few rounds. It says that the harder rung $n$ is to reach, measured by the expected number of rounds $a_n$, the less often the counter is found at or above it, and that the trade is exact rather than approximate. For large $n$ the $1$ is negligible beside $(1-p)a_n$, so doubling the expected waiting time roughly halves the chance of finding the counter at rung $n$ or above at a given round. A rung is rare in proportion to how long it takes to reach.
Reconciling this with part (i). Part (i) shows that for every $n$, however large, the counter occupies rung $n$ at the end of some round with probability $1$, and part (ii) makes that quantitative with a finite expected waiting time $a_n$. Yet the expected rung at a specified round is always less than $p/(1-p)$; for $p=\tfrac12$ it is always less than $1$. There is no contradiction, and the reason is the order of the quantifiers.
The counter reaches rung $n$ is a statement about the whole infinite sequence of rounds: it asserts that there exists a round at which the rung is $n$. Over infinitely many rounds even a very unlikely event happens eventually, and part (i) makes precisely that argument with the batches. Replace with: "The counter is at rung $n$ at the end of round $m$ is a statement about one specified round. Its probability is $0$ for $m \lt n$ and $p^{n}$ at $m = n$, and it settles at the fixed value $(1-p)p^{n}$ for every $m \gt n$: it never improves as $m$ grows, however long the process runs."
The picture behind the algebra is this. The counter spends almost all of its time close to the bottom of the ladder and makes rare, brief excursions upwards, each of which is destroyed by the first reset. The excursions are what make every rung reachable; their rarity, and the fact that a single reset undoes all of the progress at once, is what keeps $E(H_m)$ bounded. An average over rounds and an event over all rounds are simply different things, and this question is built so that they can be compared exactly.
Lemma-breaking pass: 6 claimed lemma(s) attacked with counterexamples, 7 unproved step(s) challenged, 3 challenge(s) upheld and 3 repair(s) made to the solution above before it was published.