% Pure Mathematics: Ultra: questions, mark scheme and full solutions. % Generated from the Lemma website data by tools/make_tex.mjs. https://lemmamathematics.com/papers/pure-ultra \documentclass[11pt]{article} % ---- Lemma house style (from tools/tex-preamble.tex) ---- \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{textcomp} \usepackage[a4paper,margin=25mm]{geometry} \usepackage{amsmath,amssymb,amsthm,mathtools} \usepackage{cancel} \usepackage{pifont} \usepackage[shortlabels]{enumitem} \usepackage{array,booktabs} \usepackage{xcolor} \usepackage{pgfplots} \pgfplotsset{compat=1.16} \usepackage{microtype} \usepackage{newunicodechar} \usepackage[hidelinks]{hyperref} \setlength{\parindent}{0pt} \setlength{\parskip}{4pt plus 1pt} \setlist{nosep,leftmargin=1.6em} \allowdisplaybreaks \setlength{\emergencystretch}{3em} % ---------- KaTeX macros used on the site ---------- \providecommand{\R}{}\renewcommand{\R}{\mathbb{R}} \providecommand{\C}{}\renewcommand{\C}{\mathbb{C}} \providecommand{\N}{}\renewcommand{\N}{\mathbb{N}} \providecommand{\Z}{}\renewcommand{\Z}{\mathbb{Z}} \providecommand{\Q}{}\renewcommand{\Q}{\mathbb{Q}} \renewcommand{\d}{\mathrm{d}} \providecommand{\e}{}\renewcommand{\e}{\mathrm{e}} \renewcommand{\i}{\mathrm{i}} \providecommand{\ce}[1]{\mathrm{#1}} % ---------- characters that appear in running text ---------- \newunicodechar{✓}{\ensuremath{\checkmark}} \newunicodechar{✗}{\mbox{\ding{55}}} \newunicodechar{★}{\mbox{\ding{72}}} \newunicodechar{→}{\ensuremath{\to}} \newunicodechar{↔}{\ensuremath{\leftrightarrow}} \newunicodechar{↦}{\ensuremath{\mapsto}} \newunicodechar{↪}{\ensuremath{\hookrightarrow}} \newunicodechar{−}{\ensuremath{-}} \newunicodechar{×}{\ensuremath{\times}} \newunicodechar{÷}{\ensuremath{\div}} \newunicodechar{±}{\ensuremath{\pm}} \newunicodechar{≥}{\ensuremath{\geq}} \newunicodechar{≤}{\ensuremath{\leq}} \newunicodechar{≠}{\ensuremath{\neq}} \newunicodechar{≈}{\ensuremath{\approx}} \newunicodechar{∞}{\ensuremath{\infty}} \newunicodechar{′}{\ensuremath{'}} \newunicodechar{″}{\ensuremath{''}} \newunicodechar{α}{\ensuremath{\alpha}} \newunicodechar{θ}{\ensuremath{\theta}} \newunicodechar{λ}{\ensuremath{\lambda}} \newunicodechar{μ}{\ensuremath{\mu}} \newunicodechar{π}{\ensuremath{\pi}} \newunicodechar{Π}{\ensuremath{\Pi}} \newunicodechar{φ}{\ensuremath{\varphi}} \newunicodechar{ω}{\ensuremath{\omega}} \newunicodechar{β}{\ensuremath{\beta}} \newunicodechar{γ}{\ensuremath{\gamma}} \newunicodechar{δ}{\ensuremath{\delta}} \newunicodechar{ε}{\ensuremath{\varepsilon}} \newunicodechar{ζ}{\ensuremath{\zeta}} \newunicodechar{η}{\ensuremath{\eta}} \newunicodechar{ι}{\ensuremath{\iota}} \newunicodechar{κ}{\ensuremath{\kappa}} \newunicodechar{ν}{\ensuremath{\nu}} \newunicodechar{ξ}{\ensuremath{\xi}} \newunicodechar{ρ}{\ensuremath{\rho}} \newunicodechar{σ}{\ensuremath{\sigma}} \newunicodechar{τ}{\ensuremath{\tau}} \newunicodechar{υ}{\ensuremath{\upsilon}} \newunicodechar{χ}{\ensuremath{\chi}} \newunicodechar{ψ}{\ensuremath{\psi}} \newunicodechar{Γ}{\ensuremath{\Gamma}} \newunicodechar{Δ}{\ensuremath{\Delta}} \newunicodechar{Θ}{\ensuremath{\Theta}} \newunicodechar{Λ}{\ensuremath{\Lambda}} \newunicodechar{Ξ}{\ensuremath{\Xi}} \newunicodechar{Σ}{\ensuremath{\Sigma}} \newunicodechar{Φ}{\ensuremath{\Phi}} \newunicodechar{Ψ}{\ensuremath{\Psi}} \newunicodechar{Ω}{\ensuremath{\Omega}} \newunicodechar{²}{\ensuremath{^{2}}} \newunicodechar{³}{\ensuremath{^{3}}} \newunicodechar{¹}{\ensuremath{^{1}}} \newunicodechar{⁵}{\ensuremath{^{5}}} \newunicodechar{ⁿ}{\ensuremath{^{n}}} \newunicodechar{ˣ}{\ensuremath{^{x}}} \newunicodechar{ᵏ}{\ensuremath{^{k}}} \newunicodechar{⁻}{\ensuremath{^{-}}} \newunicodechar{⁺}{\ensuremath{^{+}}} \newunicodechar{₀}{\ensuremath{_{0}}} \newunicodechar{₁}{\ensuremath{_{1}}} \newunicodechar{₂}{\ensuremath{_{2}}} \newunicodechar{₃}{\ensuremath{_{3}}} \newunicodechar{½}{\ensuremath{\tfrac12}} \newunicodechar{°}{\ensuremath{^\circ}} \newunicodechar{∎}{\ensuremath{\blacksquare}} % ---------- document furniture ---------- \newcommand{\lemmatitle}[4]{% #1 eyebrow, #2 title, #3 tagline, #4 stats \begin{center} {\scshape Lemma \textperiodcentered\ lemmamathematics.com}\par\medskip {\small\scshape #1}\par\medskip {\LARGE #2}\par\smallskip {\itshape #3}\par\medskip {\small #4}\par\smallskip {\small By Lucas Potrykus} \end{center}\bigskip} \newcommand{\level}[1]{\subsection*{#1}} % A question: \lemmaq{number}{label}{level}{marks}{body} \newcommand{\lemmaq}[5]{% \par\addvspace{8pt}\noindent\hypertarget{#2}{}\label{#2}\textbf{Q#1}\quad{\small #3 \textperiodcentered\ #4}\par\nopagebreak #5\par} \newcommand{\qpart}[3]{\par\noindent\hangindent=2em\hangafter=1\textbf{#1}\ #2\ifx\relax#3\relax\else\hfill[#3]\fi\par} % Hints: \lemmahints{number}{items} \newcommand{\lemmahints}[2]{\par\addvspace{6pt}\noindent\textbf{Q#1}\par\nopagebreak\begin{enumerate}#2\end{enumerate}} % Solutions \newcommand{\solhead}[3]{% #1 number, #2 label of the question, #3 level and marks \par\addvspace{14pt}\noindent{\large\bfseries Q#1}\quad{\small #3}\quad{\small\hyperlink{#2}{(question)}}\par\nopagebreak} \newenvironment{restate}{\par\begingroup\leftskip=1em\rightskip=1em\itshape\small}{\par\endgroup\medskip} \newcommand{\idea}[1]{\par\textbf{The idea.}\par\nopagebreak{\itshape #1}\par} \newcounter{lemmastep} \newenvironment{solution}{\setcounter{lemmastep}{0}\par\noindent\textbf{Solution.}\par}{\par\hfill$\square$\par} \newcommand{\step}[2]{% #1 title, #2 mark code \par\addvspace{4pt}\stepcounter{lemmastep}\noindent\textbf{Step \arabic{lemmastep}. #1.}\ifx\relax#2\relax\else\hfill\textbf{#2}\fi\par\nopagebreak} \newcommand{\remark}[1]{\par\addvspace{4pt}\noindent\textbf{#1.}\par\nopagebreak} \newcommand{\aside}[1]{\par\noindent\hangindent=1.4em\hangafter=1\makebox[1.4em][l]{$\hookrightarrow$}{\itshape #1}\par} \newcommand{\answer}[2][Answer]{\par\medskip\noindent\fbox{\parbox{\dimexpr\linewidth-2\fboxsep-2\fboxrule\relax}{\textbf{#1.}\ #2}}\par\medskip} \newenvironment{lemmablock}[2]{\par\medskip\noindent\textbf{#1}\ifx\relax#2\relax\else\ (#2)\fi\textbf{.}\ }{\par\medskip} \newcommand{\onsite}[1]{\par{\small\itshape #1}\par} % Practice papers \newcommand{\marking}[1]{\par\addvspace{4pt}\noindent\textbf{How the marks are earned.}\par\nopagebreak{\small\begin{description}[leftmargin=4em,style=sameline]#1\end{description}}} % ---- end of house style ---- \hypersetup{pdftitle={Pure Mathematics: Ultra -- Lemma},pdfauthor={Lucas Potrykus}} \begin{document} \lemmatitle{Practice paper \textperiodcentered\ Ultra}{Pure Mathematics: Ultra}{LPU/P}{10 questions \textperiodcentered\ 100 marks \textperiodcentered\ 3 hours} \section*{Questions} \lemmaq{1}{q1}{Irrational numbers}{10 marks}{% This question shows that $\sqrt2 + \sqrt3$ is irrational. \qpart{(a)}{Show that $x = \sqrt2 + \sqrt3$ satisfies $x^4 - 10x^2 + 1 = 0$.}{3} \qpart{(b)}{By considering a rational root $\frac{p}{q}$ in its lowest terms, prove that the equation $x^4 - 10x^2 + 1 = 0$ has no rational roots. Deduce that $\sqrt2 + \sqrt3$ is irrational.}{5} \qpart{(c)}{Deduce that $\sqrt3 - \sqrt2$ is irrational.}{2}} \lemmaq{2}{q2}{Approximations to π}{10 marks}{% This question shows that $\dfrac{22}{7}$ is larger than $\pi$, and by how much. \qpart{(a)}{Show that \[ x^4(1 - x)^4 \equiv (1 + x^2)\left(x^6 - 4x^5 + 5x^4 - 4x^2 + 4\right) - 4. \]}{4} \qpart{(b)}{Hence show that \[ \int_0^1 \frac{x^4(1 - x)^4}{1 + x^2}\,dx = \frac{22}{7} - \pi. \]}{5} \qpart{(c)}{Deduce that $\pi < \dfrac{22}{7}$.}{1}} \lemmaq{3}{q3}{Bounding π}{10 marks}{% You are given that \[ \int_0^1 \frac{x^4(1 - x)^4}{1 + x^2}\,dx = \frac{22}{7} - \pi. \] By finding upper and lower bounds for $\dfrac{1}{1 + x^2}$ on $[0, 1]$, show that \[ \frac{1}{1260} < \frac{22}{7} - \pi < \frac{1}{630}, \] and deduce the value of $\pi$ correct to 2 decimal places. } \lemmaq{4}{q4}{Primes}{10 marks}{% This question proves that there are infinitely many primes of the form $4k + 3$. \qpart{(a)}{Show that the product of two integers of the form $4k + 1$ is also of the form $4k + 1$.}{2} \qpart{(b)}{Deduce that every positive integer of the form $4k + 3$ has at least one prime factor of the form $4k + 3$.}{3} \qpart{(c)}{Suppose that $p_1, p_2, \ldots, p_m$ are \textbf{all} the primes of the form $4k + 3$. By considering $N = 4p_1p_2\cdots p_m - 1$, obtain a contradiction.}{5}} \lemmaq{5}{q5}{The series for e}{10 marks}{% You may assume that $e = \displaystyle\sum_{k=0}^{\infty}\frac{1}{k!}$. For each positive integer $n$, let $S_n = \displaystyle\sum_{k=0}^{n}\frac{1}{k!}$. (i) Show that \[ 0 < e - S_n < \frac{1}{n!\,n}. \] (ii) Deduce that $2.5 < e < 2.75$. } \lemmaq{6}{q6}{The irrationality of e}{10 marks}{% You may assume that $e = \displaystyle\sum_{k=0}^{\infty}\frac{1}{k!}$ and that, with $S_n = \displaystyle\sum_{k=0}^{n}\frac{1}{k!}$, \[ 0 < e - S_n < \frac{1}{n!\,n} \qquad\text{for every positive integer } n. \] \qpart{(a)}{Suppose that $e = \dfrac{p}{q}$, where $p$ and $q$ are positive integers. By considering $N = q!\,(e - S_q)$, prove that $e$ is irrational.}{7} \qpart{(b)}{Find the least value of $n$ for which the given bound guarantees that $S_n$ approximates $e$ to within $10^{-10}$, and show that, for this question, the bound is not wasteful: the previous value of $n$ really is not accurate enough.}{3}} \lemmaq{7}{q7}{Functional equations}{10 marks}{% \qpart{(a)}{The function $f : \mathbb{R} \to \mathbb{R}$ satisfies \[ f(x + y) = f(x) + f(y) + 2xy \qquad\text{for all real } x, y. \] (i) Show that $f(0) = 0$. (ii) Show that $g(x) = f(x) - x^2$ satisfies $g(x + y) = g(x) + g(y)$ for all real $x, y$.}{4} \qpart{(b)}{Given also that $f$ is differentiable, find all possible functions $f$, and verify that they satisfy the equation.}{6}} \lemmaq{8}{q8}{Exponential functional equations}{10 marks}{% Find all differentiable functions $h : \mathbb{R} \to \mathbb{R}$, not identically zero, such that \[ h(x + y) = h(x)h(y) \qquad\text{for all real } x, y. \] You should prove that $h(0) = 1$, that $h(x) > 0$ for all $x$, and that your answer is complete. } \lemmaq{9}{q9}{The irrationality of π: an integer}{10 marks}{% In this question you will prove that $\pi$ is irrational (Niven, 1947). Suppose, for contradiction, that $\pi = \dfrac{a}{b}$, where $a$ and $b$ are positive integers. For a positive integer $n$, define \[ f(x) = \frac{x^n(a - bx)^n}{n!} \] and \[ F(x) = f(x) - f''(x) + f^{(4)}(x) - \cdots + (-1)^n f^{(2n)}(x). \] \qpart{(a)}{Show that $f(\pi - x) = f(x)$, and deduce that $f^{(j)}(\pi) = (-1)^j f^{(j)}(0)$ for every $j \geq 0$.}{4} \qpart{(b)}{Show that $f^{(j)}(0)$ is an integer for every $j \geq 0$. Deduce that $F(0) + F(\pi)$ is an integer.}{6}} \lemmaq{10}{q10}{The irrationality of π: the contradiction}{10 marks}{% As in the previous question, suppose that $\pi = \dfrac ab$, where $a$ and $b$ are positive integers, and for a positive integer $n$ let \[ f(x) = \frac{x^n(a - bx)^n}{n!}, \qquad F(x) = f(x) - f''(x) + f^{(4)}(x) - \cdots + (-1)^n f^{(2n)}(x). \] You may assume that $F(0) + F(\pi)$ is an integer. \qpart{(a)}{Show that $F''(x) + F(x) = f(x)$, and hence that \[ \int_0^{\pi} f(x)\sin x\,dx = F(\pi) + F(0). \]}{4} \qpart{(b)}{Show that \[ 0 < \int_0^{\pi} f(x)\sin x\,dx < \frac{\pi^{n+1}a^n}{n!}, \] and hence complete the proof that $\pi$ is irrational.}{6}} \clearpage \section*{Solutions} \solhead{1}{q1}{Irrational numbers \textperiodcentered\ 10 marks} \begin{restate} This question shows that $\sqrt2 + \sqrt3$ is irrational. \qpart{(a)}{Show that $x = \sqrt2 + \sqrt3$ satisfies $x^4 - 10x^2 + 1 = 0$.}{} \qpart{(b)}{By considering a rational root $\frac{p}{q}$ in its lowest terms, prove that the equation $x^4 - 10x^2 + 1 = 0$ has no rational roots. Deduce that $\sqrt2 + \sqrt3$ is irrational.}{} \qpart{(c)}{Deduce that $\sqrt3 - \sqrt2$ is irrational.}{} \end{restate} \begin{solution} \idea{Square twice to get rid of the surds, giving a polynomial with \textbf{integer} coefficients. Then a neat divisibility argument shows that such a polynomial can only have rational roots of a very restricted kind, and none of them work.} \step{(a) Square once}{} \[ x^2 = (\sqrt2 + \sqrt3)^2 = 2 + 2\sqrt2\sqrt3 + 3 = 5 + 2\sqrt6. \] \aside{$\sqrt2\sqrt3 = \sqrt6$, and the cross term appears twice: $(a + b)^2 = a^2 + 2ab + b^2$.} \step{(a) Isolate the surd and square again}{} \[ x^2 - 5 = 2\sqrt6 \quad\Longrightarrow\quad (x^2 - 5)^2 = 4 \times 6 = 24. \] Expand: \[ x^4 - 10x^2 + 25 = 24 \quad\Longrightarrow\quad x^4 - 10x^2 + 1 = 0. \quad\blacksquare \] \step{(b) Suppose there is a rational root}{} Let $x = \frac pq$ be a root, with $p, q$ integers, $q \neq 0$, and the fraction in \textbf{lowest terms}: $\gcd(p, q) = 1$. Then \[ \frac{p^4}{q^4} - \frac{10p^2}{q^2} + 1 = 0. \] Multiply by $q^4$: \[ p^4 - 10p^2q^2 + q^4 = 0. \] \step{(b) What q must be}{} Rearrange: $p^4 = 10p^2q^2 - q^4 = q^2(10p^2 - q^2)$. So $q$ divides $p^4$. But $p$ and $q$ have no common prime factor, so no prime can divide both $q$ and $p^4$. Hence $q$ has no prime factors at all: $q = \pm1$. \step{(b) What p must be}{} Similarly $q^4 = p^2(10q^2 - p^2)$, so $p$ divides $q^4$, and the same argument gives $p = \pm1$. So the only possible rational roots are $x = \pm1$. \step{(b) Test them}{} $x = 1$ and $x = -1$ both give $1 - 10 + 1 = -8 \neq 0$. So the equation has \textbf{no} rational roots. \step{(b) Conclude}{} $\sqrt2 + \sqrt3$ is a root (part (a)) but no root is rational. So $\sqrt2 + \sqrt3$ is irrational. $\blacksquare$ \aside{This is the \textbf{rational root theorem}: for an integer polynomial, any rational root $\frac pq$ in lowest terms has $p$ dividing the constant term and $q$ dividing the leading coefficient.} \step{(c) Rationalise}{} \[ (\sqrt3 - \sqrt2)(\sqrt3 + \sqrt2) = 3 - 2 = 1 \quad\Longrightarrow\quad \sqrt3 - \sqrt2 = \frac{1}{\sqrt3 + \sqrt2}. \] \step{(c) Reciprocals of irrationals}{} If $\sqrt3 - \sqrt2$ were rational, say $\frac ab$ with $a \neq 0$, then $\sqrt3 + \sqrt2 = \frac ba$ would be rational too, contradicting (b). So $\sqrt3 - \sqrt2$ is irrational. $\blacksquare$ \answer[Answers]{(a), (b), (c): proofs as above.} \remark{Common errors} \begin{itemize} \item ``$\sqrt2$ and $\sqrt3$ are irrational, so their sum is'': false in general ($\sqrt2 + (-\sqrt2) = 0$). \item Forgetting to say the fraction is in lowest terms, which the divisibility step needs. \end{itemize} \marking{\item[M1] \textbf{(a)} Squares: $x^2 = 5 + 2\sqrt6$ \item[A1] $(x^2 - 5)^2 = 24$ \item[A1*] $x^4 - 10x^2 + 1 = 0$ \item[M1] \textbf{(b)} Assumes $\frac pq$ (lowest terms) is a root and multiplies by $q^4$: $p^4 - 10p^2q^2 + q^4 = 0$ \item[A1] $q \mid p^4$, and $\gcd(p, q) = 1$, so $q = \pm1$ \item[A1] $p \mid q^4$, so $p = \pm1$ \item[B1] Tests $x = \pm1$: $1 - 10 + 1 = -8 \neq 0$ \item[A1] No rational roots, so $\sqrt2 + \sqrt3$ is irrational \item[M1] \textbf{(c)} $\sqrt3 - \sqrt2 = \dfrac{1}{\sqrt3 + \sqrt2}$ \item[A1] The reciprocal of an irrational number is irrational (if $\frac1x = \frac ab$ then $x = \frac ba$)} \end{solution} \solhead{2}{q2}{Approximations to π \textperiodcentered\ 10 marks} \begin{restate} This question shows that $\dfrac{22}{7}$ is larger than $\pi$, and by how much. \qpart{(a)}{Show that \[ x^4(1 - x)^4 \equiv (1 + x^2)\left(x^6 - 4x^5 + 5x^4 - 4x^2 + 4\right) - 4. \]}{} \qpart{(b)}{Hence show that \[ \int_0^1 \frac{x^4(1 - x)^4}{1 + x^2}\,dx = \frac{22}{7} - \pi. \]}{} \qpart{(c)}{Deduce that $\pi < \dfrac{22}{7}$.}{} \end{restate} \begin{solution} \idea{A beautiful fact: a single integral of something obviously \textbf{positive} equals $\frac{22}{7} - \pi$. Polynomial division splits the integrand into a polynomial (which gives $\frac{22}{7}$) and a multiple of $\frac{1}{1 + x^2}$ (which gives $\pi$, via $\arctan$).} \step{(a) Expand the left-hand side}{} From Pascal's triangle, $(1 - x)^4 = 1 - 4x + 6x^2 - 4x^3 + x^4$, so \[ x^4(1 - x)^4 = x^4 - 4x^5 + 6x^6 - 4x^7 + x^8. \] \step{(a) Expand the product on the right}{} \[ \begin{aligned}(1 + x^2)(x^6 - 4x^5 + 5x^4 - 4x^2 + 4) &= (x^6 - 4x^5 + 5x^4 - 4x^2 + 4) \\ &\quad + (x^8 - 4x^7 + 5x^6 - 4x^4 + 4x^2).\end{aligned} \] \step{(a) Collect powers}{} \begin{center}\begin{tabular}{llll} \toprule power & from the 1 & from the $x^2$ & total \\ \midrule $x^8$ & & $1$ & $1$ \\ $x^7$ & & $-4$ & $-4$ \\ $x^6$ & $1$ & $5$ & $6$ \\ $x^5$ & $-4$ & & $-4$ \\ $x^4$ & $5$ & $-4$ & $1$ \\ $x^2$ & $-4$ & $4$ & $0$ \\ $x^0$ & $4$ & & $4$ \\ \bottomrule \end{tabular}\end{center} So the product is $x^8 - 4x^7 + 6x^6 - 4x^5 + x^4 + 4$. \step{(a) Subtract 4}{} \[ (1 + x^2)(x^6 - 4x^5 + 5x^4 - 4x^2 + 4) - 4 = x^8 - 4x^7 + 6x^6 - 4x^5 + x^4 = x^4(1 - x)^4. \quad\blacksquare \] \aside{Where does the quotient come from? Polynomial long division of $x^8 - 4x^7 + \cdots$ by $x^2 + 1$. The question hands it to you, but it's worth knowing how you'd find it.} \step{(b) Split the integrand}{} Divide the identity by $1 + x^2$: \[ \frac{x^4(1 - x)^4}{1 + x^2} = x^6 - 4x^5 + 5x^4 - 4x^2 + 4 - \frac{4}{1 + x^2}. \] \step{(b) The polynomial part}{} \[ \int_0^1 (x^6 - 4x^5 + 5x^4 - 4x^2 + 4)\,dx = \left[\frac{x^7}{7} - \frac{2x^6}{3} + x^5 - \frac{4x^3}{3} + 4x\right]_0^1 \] \[ = \frac17 - \frac23 + 1 - \frac43 + 4 = \frac17 + \left(5 - 2\right) = \frac17 + 3 = \frac{22}{7}. \] \step{(b) The arctan part}{} $\frac{d}{dx}\arctan x = \frac{1}{1 + x^2}$, so \[ \int_0^1 \frac{4}{1 + x^2}\,dx = 4\big[\arctan x\big]_0^1 = 4\cdot\frac{\pi}{4} = \pi. \] \step{(b) Combine}{} \[ \int_0^1 \frac{x^4(1 - x)^4}{1 + x^2}\,dx = \frac{22}{7} - \pi. \quad\blacksquare \] \step{(c) The integrand is positive}{} For $0 < x < 1$: $x^4 > 0$, $(1 - x)^4 > 0$ and $1 + x^2 > 0$. A continuous function that is positive on $(0, 1)$ has positive integral. So \[ \frac{22}{7} - \pi > 0 \quad\Longrightarrow\quad \pi < \frac{22}{7}. \quad\blacksquare \] \answer[Answers]{(c) $\pi < \tfrac{22}{7}$} \remark{Common errors} \begin{itemize} \item Arithmetic in (b): add the fractions carefully over a common denominator. \item Forgetting that $\frac{d}{dx}\arctan x = \frac{1}{1 + x^2}$. \end{itemize} \marking{\item[M1] \textbf{(a)} Expands $(1 - x)^4$ and multiplies by $x^4$ \item[A1] $x^8 - 4x^7 + 6x^6 - 4x^5 + x^4$ \item[M1] Expands $(1 + x^2)(x^6 - 4x^5 + 5x^4 - 4x^2 + 4)$ \item[A1*] Obtains $x^8 - 4x^7 + 6x^6 - 4x^5 + x^4 + 4$ and completes \item[M1] \textbf{(b)} Splits the integrand: polynomial $- \dfrac{4}{1 + x^2}$ \item[M1] Integrates the polynomial \item[A1] Obtains $\tfrac{22}{7}$ \item[M1] $\int_0^1 \dfrac{4}{1 + x^2}\,dx = 4\arctan 1 = \pi$ \item[A1*] Completes to $\tfrac{22}{7} - \pi$ \item[B1] \textbf{(c)} Integrand positive on $(0, 1)$, so $\pi < \tfrac{22}{7}$} \end{solution} \solhead{3}{q3}{Bounding π \textperiodcentered\ 10 marks} \begin{restate} You are given that \[ \int_0^1 \frac{x^4(1 - x)^4}{1 + x^2}\,dx = \frac{22}{7} - \pi. \] By finding upper and lower bounds for $\dfrac{1}{1 + x^2}$ on $[0, 1]$, show that \[ \frac{1}{1260} < \frac{22}{7} - \pi < \frac{1}{630}, \] and deduce the value of $\pi$ correct to 2 decimal places. \end{restate} \begin{solution} \idea{The integral is squeezed between $\frac12 J$ and $J$, where $J$ is the same integral without the denominator. $J$ is just a polynomial integral, and the squeeze pins down $\pi$ to within about $0.0008$.} \step{Bound the denominator}{} On $[0, 1]$, $1 \leq 1 + x^2 \leq 2$, so \[ \frac12 \leq \frac{1}{1 + x^2} \leq 1, \] with equality only at the endpoints. \step{The integral without the denominator}{} \[ J = \int_0^1 x^4(1 - x)^4\,dx = \int_0^1 (x^8 - 4x^7 + 6x^6 - 4x^5 + x^4)\,dx = \frac19 - \frac12 + \frac67 - \frac23 + \frac15. \] Over the common denominator 630: \[ \frac{70 - 315 + 540 - 420 + 126}{630} = \frac{1}{630}. \] \step{Squeeze}{} Multiplying the positive function $x^4(1 - x)^4$ by the bounds and integrating (strictly, since the bounds are only attained at endpoints): \[ \frac12 \cdot \frac{1}{630} < \frac{22}{7} - \pi < \frac{1}{630} \quad\Longrightarrow\quad \frac{1}{1260} < \frac{22}{7} - \pi < \frac{1}{630}. \quad\blacksquare \] \step{Pin down π}{} Rearrange: \[ \frac{22}{7} - \frac{1}{630} < \pi < \frac{22}{7} - \frac{1}{1260}. \] $\frac{22}{7} = 3.142857\ldots$, $\frac{1}{630} = 0.001587\ldots$, $\frac{1}{1260} = 0.000794\ldots$, so \[ 3.14127 < \pi < 3.14207. \] Every number in this interval rounds to $3.14$, so $\pi = 3.14$ to 2 decimal places. \answer[Answers]{$3.14127 < \pi < 3.14207$, so $\pi = 3.14$ (2 d.p.)} \remark{Common errors} \begin{itemize} \item Using $\frac{1}{1 + x^2} \geq 0$ as the lower bound, which gives nothing useful. \item Stating $\pi = 3.14$ without checking that \textbf{both} bounds round to it. \end{itemize} \marking{\item[M1] $\tfrac12 \leq \dfrac{1}{1 + x^2} \leq 1$ on $[0, 1]$ \item[M1] Bounds the integral by $\tfrac12 J$ and $J$, where $J = \int_0^1 x^4(1 - x)^4\,dx$ \item[B1] $x^4(1 - x)^4 = x^8 - 4x^7 + 6x^6 - 4x^5 + x^4$ \item[M1] Integrates term by term \item[A1] $J = \tfrac{1}{630}$ \item[A1] Strict inequalities justified (bounds attained only at endpoints) \item[A1*] $\tfrac{1}{1260} < \tfrac{22}{7} - \pi < \tfrac{1}{630}$ \item[M1] Rearranges for $\pi$ \item[A1] $3.14127 < \pi < 3.14207$ \item[A1] $\pi = 3.14$ to 2 d.p., with reason (both bounds round to $3.14$)} \end{solution} \solhead{4}{q4}{Primes \textperiodcentered\ 10 marks} \begin{restate} This question proves that there are infinitely many primes of the form $4k + 3$. \qpart{(a)}{Show that the product of two integers of the form $4k + 1$ is also of the form $4k + 1$.}{} \qpart{(b)}{Deduce that every positive integer of the form $4k + 3$ has at least one prime factor of the form $4k + 3$.}{} \qpart{(c)}{Suppose that $p_1, p_2, \ldots, p_m$ are \textbf{all} the primes of the form $4k + 3$. By considering $N = 4p_1p_2\cdots p_m - 1$, obtain a contradiction.}{} \end{restate} \begin{solution} \idea{Euclid's proof that there are infinitely many primes, with a twist. Multiply all the supposed primes together, adjust to get a number of the right form, and show it must have a prime factor that isn't on the list.} \step{(a) Multiply out}{} \[ (4a + 1)(4b + 1) = 16ab + 4a + 4b + 1 = 4(4ab + a + b) + 1, \] which is of the form $4k + 1$ with $k = 4ab + a + b$. $\blacksquare$ \step{(b) Look at the prime factors}{} Let $n = 4k + 3$. It is odd, so all its prime factors are odd. Every odd number leaves remainder 1 or 3 on division by 4, so each prime factor is of the form $4k + 1$ or $4k + 3$. \step{(b) Suppose none is 4k + 3}{} If every prime factor were of the form $4k + 1$, then multiplying them together one at a time, using (a) at each step, the product $n$ would be of the form $4k + 1$. But $n$ leaves remainder 3. Contradiction. \step{(b) Conclude}{} So at least one prime factor of $n$ is of the form $4k + 3$. $\blacksquare$ \aside{The same trick fails for $4k + 1$: products of $4k + 3$ numbers can be $4k + 1$ (e.g. $3 \times 3 = 9$). That's why this half of the theorem is the easy one.} \step{(c) The number N}{} \[ N = 4p_1p_2\cdots p_m - 1 = 4(p_1\cdots p_m - 1) + 3, \] so $N$ is of the form $4k + 3$, and $N \geq 4 \times 3 - 1 = 11 > 1$ (since $3$ is one of the $p_i$). \step{(c) N has a prime factor on the list}{} By (b), $N$ has a prime factor $q$ of the form $4k + 3$. The list contains \textbf{all} such primes, so $q = p_i$ for some $i$. \step{(c) The contradiction}{} $p_i$ divides $4p_1\cdots p_m$, and it divides $N$. So it divides their difference: \[ 4p_1\cdots p_m - N = 1. \] No prime divides 1. Contradiction. So there are infinitely many primes of the form $4k + 3$. $\blacksquare$ \answer[Answers]{Proof as above.} \remark{Common errors} \begin{itemize} \item Using $N = p_1\cdots p_m + 1$, which need not be of the form $4k + 3$. \item Forgetting to check that $N > 1$ (so that it has a prime factor at all). \end{itemize} \marking{\item[M1] \textbf{(a)} $(4a + 1)(4b + 1) = 16ab + 4a + 4b + 1$ \item[A1*] $= 4(4ab + a + b) + 1$ \item[M1] \textbf{(b)} An odd number has only odd prime factors, each of the form $4k + 1$ or $4k + 3$ \item[M1] If all were $4k + 1$, the product would be $4k + 1$ (repeated use of (a)) \item[A1] Contradiction, so at least one prime factor is $4k + 3$ \item[B1] \textbf{(c)} $N = 4p_1\cdots p_m - 1$ is of the form $4k + 3$ and $N > 1$ \item[M1] By (b), $N$ has a prime factor $q$ of the form $4k + 3$ \item[A1] So $q = p_i$ for some $i$ \item[M1] $p_i$ divides $4p_1\cdots p_m$ and $N$, so $p_i \mid 1$ \item[A1] Contradiction: infinitely many such primes} \end{solution} \solhead{5}{q5}{The series for e \textperiodcentered\ 10 marks} \begin{restate} You may assume that $e = \displaystyle\sum_{k=0}^{\infty}\frac{1}{k!}$. For each positive integer $n$, let $S_n = \displaystyle\sum_{k=0}^{n}\frac{1}{k!}$. (i) Show that \[ 0 < e - S_n < \frac{1}{n!\,n}. \] (ii) Deduce that $2.5 < e < 2.75$. \end{restate} \begin{solution} \idea{The tail of the series after $n$ terms starts with $\frac{1}{(n + 1)!}$, and each later term is at least $(n + 1)$ times smaller than the one before. So the tail is smaller than a geometric series, which you can sum.} \step{(i) The tail}{} \[ e - S_n = \frac{1}{(n + 1)!} + \frac{1}{(n + 2)!} + \frac{1}{(n + 3)!} + \cdots > 0. \] \step{(i) Factor out the first term}{} \[ e - S_n = \frac{1}{(n + 1)!}\left(1 + \frac{1}{n + 2} + \frac{1}{(n + 2)(n + 3)} + \cdots\right). \] \step{(i) Compare with a geometric series}{} Each factor $n + 2, n + 3, \ldots$ is bigger than $n + 1$, so (strictly, from the second term on) \[ 1 + \frac{1}{n + 2} + \frac{1}{(n + 2)(n + 3)} + \cdots < 1 + \frac{1}{n + 1} + \frac{1}{(n + 1)^2} + \cdots = \frac{1}{1 - \frac{1}{n + 1}} = \frac{n + 1}{n}. \] \step{(i) Combine}{} \[ 0 < e - S_n < \frac{1}{(n + 1)!}\cdot\frac{n + 1}{n} = \frac{1}{n!\,n}. \quad\blacksquare \] \step{(ii) Use n equal to 2}{} $S_2 = 1 + 1 + \frac12 = 2.5$, and the bound is $\frac{1}{2! \times 2} = \frac14$: \[ 2.5 < e < 2.75. \] \answer[Answers]{(ii) $2.5 < e < 2.75$} \remark{Common errors} \begin{itemize} \item Claiming $\le$ instead of $<$ without noticing that the comparison is strict from the second term on. \end{itemize} \marking{\item[B1] \textbf{(i)} $e - S_n = \sum_{k=n+1}^{\infty}\dfrac{1}{k!} > 0$ \item[M1] Factors out $\dfrac{1}{(n + 1)!}$ \item[A1] $1 + \dfrac{1}{n + 2} + \dfrac{1}{(n + 2)(n + 3)} + \cdots$ \item[M1] Compares with the geometric series in $\tfrac{1}{n + 1}$ \item[A1] Strict inequality justified \item[M1] Sums: $\dfrac{n + 1}{n}$ \item[A1*] $\dfrac{1}{n!\,n}$ \item[B1] \textbf{(ii)} $S_2 = 2.5$ \item[M1] Uses $n = 2$ in (i) \item[A1] $2.5 < e < 2.75$} \end{solution} \solhead{6}{q6}{The irrationality of e \textperiodcentered\ 10 marks} \begin{restate} You may assume that $e = \displaystyle\sum_{k=0}^{\infty}\frac{1}{k!}$ and that, with $S_n = \displaystyle\sum_{k=0}^{n}\frac{1}{k!}$, \[ 0 < e - S_n < \frac{1}{n!\,n} \qquad\text{for every positive integer } n. \] \qpart{(a)}{Suppose that $e = \dfrac{p}{q}$, where $p$ and $q$ are positive integers. By considering $N = q!\,(e - S_q)$, prove that $e$ is irrational.}{} \qpart{(b)}{Find the least value of $n$ for which the given bound guarantees that $S_n$ approximates $e$ to within $10^{-10}$, and show that, for this question, the bound is not wasteful: the previous value of $n$ really is not accurate enough.}{} \end{restate} \begin{solution} \idea{If $e$ were $\frac pq$, then $q!$ times the tail of the series would be a whole number. But the given bound squeezes that number strictly between 0 and 1, where no whole number lives.} \step{(a) Assume the opposite}{} Suppose $e = \frac pq$ with $p, q$ positive integers. Consider \[ N = q!\,(e - S_q) = q!\,e - \sum_{k=0}^{q}\frac{q!}{k!}. \] \step{(a) N is an integer}{} \begin{itemize} \item $q!\,e = q!\cdot\frac{p}{q} = p\,(q - 1)!$, an integer. \item For $0 \leq k \leq q$, $\frac{q!}{k!} = q(q - 1)\cdots(k + 1)$ is a product of integers (or $1$ when $k = q$), so an integer. \end{itemize} A difference of integers is an integer, so $N \in \mathbb{Z}$. \step{(a) N is strictly between 0 and 1}{} By the given bound with $n = q$: \[ 0 < e - S_q < \frac{1}{q!\,q} \quad\Longrightarrow\quad 0 < N < \frac{1}{q} \leq 1. \] \step{(a) Contradiction}{} There is no integer strictly between $0$ and $1$. So the assumption is false, and $e$ is irrational. $\blacksquare$ \aside{The proof works because the series converges faster than any $\frac{1}{q!}$-sized ``grid'' of fractions with denominator $q$ could keep up with.} \step{(b) The condition}{} \[ \frac{1}{n!\,n} < 10^{-10} \iff n!\,n > 10^{10}. \] \step{(b) Try values}{} \begin{itemize} \item $n = 12$: $12! = 479\,001\,600$, times 12 is $5\,748\,019\,200 \approx 5.7 \times 10^9$. Too small. \item $n = 13$: $13! = 6\,227\,020\,800$, times 13 is $80\,951\,270\,400 \approx 8.1 \times 10^{10} > 10^{10}$ ✓. \end{itemize} So $n = 13$ (fourteen terms, $k = 0$ to $13$). \step{(b) The bound is sharp here}{} For $n = 12$, the tail contains the single term $\frac{1}{13!}$, so \[ e - S_{12} > \frac{1}{13!} = 1.6 \times 10^{-10} > 10^{-10}. \] So $n = 12$ genuinely fails: the bound didn't cost us anything. \answer[Answers]{(b) $n = 13$} \remark{Common errors} \begin{itemize} \item Forgetting that $q!\,e$ is an integer only \emph{because} of the assumption. \item Showing $N < 1$ but not $N > 0$: both sides of the squeeze are needed. \end{itemize} \marking{\item[B1] \textbf{(a)} Assumes $e = \tfrac pq$ with $p, q$ positive integers \item[M1] $q!\,e = p\,(q - 1)!$ is an integer \item[M1] $\dfrac{q!}{k!}$ is an integer for $0 \leq k \leq q$ \item[A1] So $N$ is an integer \item[M1] Uses the bound with $n = q$ \item[A1] $0 < N < \dfrac1q \leq 1$ \item[A1] No integer strictly between 0 and 1, so $e$ is irrational \item[M1] \textbf{(b)} $n!\,n > 10^{10}$ \item[A1] $12! \times 12 \approx 5.7 \times 10^9$ fails, $13! \times 13 \approx 8.1 \times 10^{10}$ works: $n = 13$ \item[B1] $e - S_{12} > \dfrac{1}{13!} \approx 1.6 \times 10^{-10}$, so 12 really is not enough} \end{solution} \solhead{7}{q7}{Functional equations \textperiodcentered\ 10 marks} \begin{restate} \qpart{(a)}{The function $f : \mathbb{R} \to \mathbb{R}$ satisfies \[ f(x + y) = f(x) + f(y) + 2xy \qquad\text{for all real } x, y. \] (i) Show that $f(0) = 0$. (ii) Show that $g(x) = f(x) - x^2$ satisfies $g(x + y) = g(x) + g(y)$ for all real $x, y$.}{} \qpart{(b)}{Given also that $f$ is differentiable, find all possible functions $f$, and verify that they satisfy the equation.}{} \end{restate} \begin{solution} \idea{A functional equation tells you how $f$ behaves on \textbf{all} pairs of inputs. Two standard moves: substitute special values (like $0$), and if $f$ is differentiable, differentiate with respect to one variable while holding the other fixed. That turns the equation into a differential equation.} \step{(a)(i) Put both variables to 0}{} \[ f(0 + 0) = f(0) + f(0) + 0 \quad\Longrightarrow\quad f(0) = 2f(0) \quad\Longrightarrow\quad f(0) = 0. \] \step{(a)(ii) Expand}{} \[ g(x + y) = f(x + y) - (x + y)^2 = f(x) + f(y) + 2xy - x^2 - 2xy - y^2 = \big(f(x) - x^2\big) + \big(f(y) - y^2\big). \] So $g(x + y) = g(x) + g(y)$. $\blacksquare$ \aside{Subtracting $x^2$ ``absorbs'' the $2xy$ term. That's the main idea of the question: $f$ is a square plus an additive function.} \step{(b) Differentiate with respect to y}{} Fix $x$ and differentiate both sides with respect to $y$ (the chain rule gives $\frac{d}{dy}f(x + y) = f'(x + y)$): \[ f'(x + y) = f'(y) + 2x. \] \step{(b) Put y equal to 0}{} \[ f'(x) = f'(0) + 2x = 2x + c, \qquad c = f'(0). \] \step{(b) Integrate}{} \[ f(x) = x^2 + cx + d. \] Using $f(0) = 0$: $d = 0$. So $f(x) = x^2 + cx$. \step{(b) Verify}{} \[ f(x + y) = (x + y)^2 + c(x + y) = (x^2 + cx) + (y^2 + cy) + 2xy = f(x) + f(y) + 2xy. ✓ \] So the solutions are exactly $f(x) = x^2 + cx$, for any constant $c$. \aside{Verification matters: the differentiation step only shows that a solution \textbf{must} look like this; checking shows every such function \textbf{is} a solution.} \answer[Answers]{(b) $f(x) = x^2 + cx$ for any constant $c$} \remark{Common errors} \begin{itemize} \item Forgetting to verify that the functions found actually satisfy the equation. \item Differentiating with respect to $x$ and $y$ at the same time. \end{itemize} \marking{\item[M1] \textbf{(a)(i)} $x = y = 0$: $f(0) = 2f(0)$ \item[A1] $f(0) = 0$ \item[M1] \textbf{(a)(ii)} Expands $g(x + y) = f(x + y) - (x + y)^2$ \item[A1*] $= g(x) + g(y)$ \item[M1] \textbf{(b)} Differentiates with respect to $y$: $f'(x + y) = f'(y) + 2x$ \item[A1] $y = 0$: $f'(x) = 2x + c$ \item[M1] Integrates \item[A1] $f(x) = x^2 + cx + d$ \item[M1] $f(0) = 0 \Rightarrow d = 0$ \item[A1] $f(x) = x^2 + cx$, verified} \end{solution} \solhead{8}{q8}{Exponential functional equations \textperiodcentered\ 10 marks} \begin{restate} Find all differentiable functions $h : \mathbb{R} \to \mathbb{R}$, not identically zero, such that \[ h(x + y) = h(x)h(y) \qquad\text{for all real } x, y. \] You should prove that $h(0) = 1$, that $h(x) > 0$ for all $x$, and that your answer is complete. \end{restate} \begin{solution} \idea{Special values first: $y = 0$ gives $h(0)$, $y = -x$ shows $h$ is never zero, and $x = y$ shows it is never negative. Then differentiate with respect to $y$ to get the differential equation $h' = kh$, and solve it without dividing by anything that might be zero.} \step{Find h(0)}{} Put $y = 0$: $h(x) = h(x)h(0)$ for all $x$. Since $h$ is not identically zero, pick $x_0$ with $h(x_0) \neq 0$ and divide: $h(0) = 1$. \step{h is never zero}{} Put $y = -x$: $h(x)h(-x) = h(0) = 1$. A product equal to 1 can't have a zero factor, so $h(x) \neq 0$ for every $x$. \step{h is positive}{} Put $x = y = \frac t2$: \[ h(t) = h\left(\tfrac t2\right)^2 \geq 0. \] Combined with $h(t) \neq 0$: $h(t) > 0$ for all $t$. \step{A differential equation}{} Differentiate $h(x + y) = h(x)h(y)$ with respect to $y$, then put $y = 0$: \[ h'(x) = h(x)h'(0) = kh(x), \qquad k = h'(0). \] \step{Solve it rigorously}{} Consider $u(x) = h(x)e^{-kx}$. By the product rule, \[ u'(x) = h'(x)e^{-kx} - kh(x)e^{-kx} = \big(kh(x) - kh(x)\big)e^{-kx} = 0. \] So $u$ is constant: $h(x) = Ce^{kx}$, and $C = h(0) = 1$. \aside{This avoids dividing by $h$ and writing $\int\frac{h'}{h} = \ln h$, which would need $h > 0$. We've proved that, but this route needs nothing.} \step{Verify and conclude}{} $e^{k(x + y)} = e^{kx}e^{ky}$ ✓. So the solutions are exactly \[ h(x) = e^{kx}, \qquad k \in \mathbb{R} \] (including $k = 0$, the constant function $1$). \answer[Answers]{$h(x) = e^{kx}$ for any real $k$} \remark{Common errors} \begin{itemize} \item Dividing by $h(x)$ before proving it is never zero. \item Forgetting the constant solution $h(x) = 1$ (the case $k = 0$): it is included in $e^{kx}$. \end{itemize} \remark{Exam tip} Without differentiability, (a)(ii) has bizarre non-linear solutions (they need the axiom of choice to construct). That's why the extra condition is there. \marking{\item[M1] $y = 0$: $h(x) = h(x)h(0)$ \item[A1] Uses a point where $h \neq 0$: $h(0) = 1$ \item[M1] $h(x)h(-x) = 1$, so $h$ is never 0 \item[M1] $h(x) = h\left(\tfrac x2\right)^2 \geq 0$ \item[A1] Hence $h(x) > 0$ \item[M1] Differentiates with respect to $y$ at $y = 0$: $h'(x) = kh(x)$, $k = h'(0)$ \item[M1] Solves rigorously, e.g. $\tfrac{d}{dx}\left(h(x)e^{-kx}\right) = 0$ \item[A1] $h(x) = Ce^{kx}$ \item[A1] $C = h(0) = 1$ \item[A1] $h(x) = e^{kx}$ for any real $k$, verified} \end{solution} \solhead{9}{q9}{The irrationality of π: an integer \textperiodcentered\ 10 marks} \begin{restate} In this question you will prove that $\pi$ is irrational (Niven, 1947). Suppose, for contradiction, that $\pi = \dfrac{a}{b}$, where $a$ and $b$ are positive integers. For a positive integer $n$, define \[ f(x) = \frac{x^n(a - bx)^n}{n!} \] and \[ F(x) = f(x) - f''(x) + f^{(4)}(x) - \cdots + (-1)^n f^{(2n)}(x). \] \qpart{(a)}{Show that $f(\pi - x) = f(x)$, and deduce that $f^{(j)}(\pi) = (-1)^j f^{(j)}(0)$ for every $j \geq 0$.}{} \qpart{(b)}{Show that $f^{(j)}(0)$ is an integer for every $j \geq 0$. Deduce that $F(0) + F(\pi)$ is an integer.}{} \end{restate} \begin{solution} \idea{If $\pi = \frac ab$, the polynomial $f$ has a hidden symmetry about $\frac{\pi}{2}$, and all of its derivatives at $0$ and $\pi$ turn out to be whole numbers. That makes $F(0) + F(\pi)$ a whole number, the first ingredient of the contradiction completed in the next question.} \step{(a) The symmetry}{} Using $a = b\pi$: $a - b(\pi - x) = a - b\pi + bx = bx$, and $a - bx = b(\pi - x)$. So \[ f(\pi - x) = \frac{(\pi - x)^n(bx)^n}{n!}, \qquad f(x) = \frac{x^n\,b^n(\pi - x)^n}{n!}. \] These are equal. $\blacksquare$ \step{(a) Differentiate the symmetry}{} Differentiating $f(\pi - x) = f(x)$ once gives $-f'(\pi - x) = f'(x)$ (chain rule). Each further differentiation brings another factor of $-1$: \[ (-1)^j f^{(j)}(\pi - x) = f^{(j)}(x). \] Put $x = 0$: $f^{(j)}(\pi) = (-1)^j f^{(j)}(0)$. $\blacksquare$ \step{(b) Expand f}{} By the binomial theorem, $(a - bx)^n$ is a polynomial with \textbf{integer} coefficients (as $a, b$ are integers). Multiplying by $x^n$: \[ f(x) = \frac{1}{n!}\sum_{m=n}^{2n} c_m x^m, \qquad c_m \in \mathbb{Z}. \] The lowest power is $x^n$ and the highest is $x^{2n}$. \step{(b) Derivatives at 0}{} Differentiating $x^m$ a total of $j$ times and putting $x = 0$ gives $0$ unless $m = j$, in which case it gives $j!$. So \[ f^{(j)}(0) = \frac{j!\,c_j}{n!}. \] \begin{itemize} \item If $j < n$ or $j > 2n$: there is no $x^j$ term, so $f^{(j)}(0) = 0$. \item If $n \leq j \leq 2n$: $\frac{j!}{n!} = j(j - 1)\cdots(n + 1)$ is an integer, so $f^{(j)}(0)$ is an integer. \end{itemize} \step{(b) Values at π, and F}{} By (a), $f^{(j)}(\pi) = \pm f^{(j)}(0)$, also an integer. $F(0)$ and $F(\pi)$ are sums of such values, so $F(0) + F(\pi) \in \mathbb{Z}$. $\blacksquare$ \aside{This is the only place we used $\pi = \frac ab$: it made $a - bx$ vanish at $x = \pi$, giving the symmetry in (a).} \answer[Answers]{$F(0) + F(\pi)$ is an integer.} \remark{Common errors} \begin{itemize} \item Forgetting that $f$ vanishes to order $n$ at $0$, which is what makes the low derivatives zero. \item Missing that $\frac{j!}{n!}$ is an integer only because $j \geq n$. \end{itemize} \marking{\item[M1] \textbf{(a)} $a - b(\pi - x) = bx$, using $a = b\pi$ \item[A1] $f(\pi - x) = f(x)$ \item[M1] Differentiates $j$ times: $(-1)^j f^{(j)}(\pi - x) = f^{(j)}(x)$ \item[A1] Puts $x = 0$ \item[M1] \textbf{(b)} $f(x) = \dfrac{1}{n!}\sum_{m=n}^{2n} c_mx^m$ with integer $c_m$ \item[M1] $f^{(j)}(0) = \dfrac{j!\,c_j}{n!}$ \item[B1] $\dfrac{j!}{n!}$ is an integer for $j \geq n$ \item[A1] Zero for $j < n$ and $j > 2n$; so always an integer \item[M1] Uses (a) for the values at $\pi$ \item[A1] $F(0) + F(\pi)$ is an integer} \end{solution} \solhead{10}{q10}{The irrationality of π: the contradiction \textperiodcentered\ 10 marks} \begin{restate} As in the previous question, suppose that $\pi = \dfrac ab$, where $a$ and $b$ are positive integers, and for a positive integer $n$ let \[ f(x) = \frac{x^n(a - bx)^n}{n!}, \qquad F(x) = f(x) - f''(x) + f^{(4)}(x) - \cdots + (-1)^n f^{(2n)}(x). \] You may assume that $F(0) + F(\pi)$ is an integer. \qpart{(a)}{Show that $F''(x) + F(x) = f(x)$, and hence that \[ \int_0^{\pi} f(x)\sin x\,dx = F(\pi) + F(0). \]}{} \qpart{(b)}{Show that \[ 0 < \int_0^{\pi} f(x)\sin x\,dx < \frac{\pi^{n+1}a^n}{n!}, \] and hence complete the proof that $\pi$ is irrational.}{} \end{restate} \onsite{A video explanation of this question is at \url{https://lemmamathematics.com/papers/pure-ultra\#q10}.} \begin{solution} \idea{The same strategy as for $e$, but with a cleverer integer. We build an integral that (i) is an \textbf{integer} if $\pi = \frac ab$, (ii) is \textbf{positive}, and (iii) can be made \textbf{smaller than 1} by taking $n$ large. Nothing can be all three. The video shows step (iii): however big $a$ is, $n!$ eventually wins.} \step{(a) F double dash plus F}{} \[ F'' = f'' - f^{(4)} + f^{(6)} - \cdots + (-1)^n f^{(2n+2)}. \] $f$ is a polynomial of degree $2n$, so $f^{(2n+2)} = 0$. Adding $F$, everything cancels in pairs except the first term of $F$: \[ F'' + F = f. \] \step{(a) A perfect derivative}{} \[ \frac{d}{dx}\big(F'(x)\sin x - F(x)\cos x\big) = F''\sin x + F'\cos x - F'\cos x + F\sin x = (F'' + F)\sin x = f(x)\sin x. \] \step{(a) Evaluate}{} \[ \int_0^\pi f(x)\sin x\,dx = \Big[F'(x)\sin x - F(x)\cos x\Big]_0^\pi = \big(0 + F(\pi)\big) - \big(0 - F(0)\big) = F(\pi) + F(0). \quad\blacksquare \] So \textbf{the integral is an integer}. \step{(b) It is positive}{} On $(0, \pi)$: $x > 0$, $a - bx = b(\pi - x) > 0$, so $f(x) > 0$; and $\sin x > 0$. A continuous positive integrand gives a positive integral. \step{(b) It is small}{} On $[0, \pi]$: $0 \leq x \leq \pi$ and $0 \leq a - bx \leq a$, and $0 \le \sin x \leq 1$. So \[ f(x)\sin x \leq \frac{\pi^na^n}{n!} \quad\Longrightarrow\quad \int_0^\pi f(x)\sin x\,dx < \pi\cdot\frac{\pi^na^n}{n!} = \frac{\pi^{n+1}a^n}{n!} \] (strict, since the bound isn't attained everywhere). \step{(b) Factorials beat powers}{} Let $c = \pi a$, so the bound is $\pi\cdot\frac{c^n}{n!}$. For $m \geq 2c$, each extra factor $\frac{c}{m} \leq \frac12$. So once $n$ passes $2c$, $\frac{c^n}{n!}$ at least halves with every step, and tends to $0$. In particular, there is an $n$ with \[ \frac{\pi^{n+1}a^n}{n!} < 1. \] (The video plots this bound for $a = 22$: it climbs to about $10^{29}$ before collapsing below $1$ at $n = 186$.) \step{(b) The contradiction}{} For that $n$, the integral is an integer (part (a)), and $0 < \text{integral} < 1$. No such integer exists. So the assumption $\pi = \frac ab$ is false: $\pi$ is irrational. $\blacksquare$ \answer[Answers]{$\pi$ is irrational.} \remark{Common errors} \begin{itemize} \item Forgetting that $f$ vanishes to order $n$ at $0$, which is what makes the low derivatives zero. \item Claiming $\frac{c^n}{n!} \to 0$ without any justification. \end{itemize} \remark{Exam tip} Notice the shape of all three proofs on this paper and the 5★ one: \textbf{integer + positive + less than 1 = impossible}. It is one of the most powerful patterns in number theory. \marking{\item[M1] \textbf{(a)} $F'' = f'' - f^{(4)} + \cdots$, with $f^{(2n+2)} = 0$ (degree $2n$) \item[A1] $F'' + F = f$ \item[M1] $\dfrac{d}{dx}\left(F'\sin x - F\cos x\right) = (F'' + F)\sin x$ \item[A1*] Evaluates between $0$ and $\pi$: $F(\pi) + F(0)$ \item[M1] \textbf{(b)} $f(x)\sin x > 0$ on $(0, \pi)$, so the integral is positive \item[M1] $x \leq \pi$ and $0 \leq a - bx \leq a$ on $[0, \pi]$ \item[A1] Integral $< \dfrac{\pi^{n+1}a^n}{n!}$ \item[M1] $\dfrac{c^n}{n!} \to 0$, with a reason (e.g. factors $\tfrac{c}{m} \leq \tfrac12$ once $m \geq 2c$) \item[A1] Chooses $n$ so that the bound is less than 1 \item[A1] Integer strictly between 0 and 1: $\pi$ is irrational} \end{solution} \end{document}