Find the sum of those numbers between 1000 and 6000 every one of whose digits is one of the numbers \(0,\,2,\,5\) or \(7\), giving your answer as a product of primes.
Solution: The first digit is \(2\) or \(5\), all the other digits can be any value from \(0,2,5,7\). Therefore we have \begin{align*} S &= 2000 \cdot 4^3+5000 \cdot 4^3 + (200+500+700) \cdot 2 \cdot 4^2 + (20+50+70) \cdot 2 \cdot 4^2 + (2+5+7) \cdot 2 \cdot 4^2 \\ &= 7 \cdot 4^3 \cdot 2^3 \cdot 5^3 + 14 \cdot 2 \cdot 4^2 \cdot 111 \\ &= 2^{9} \cdot5^3 \cdot 7 + 2^{6} \cdot 3 \cdot 7 \cdot 37 \\ &= 2^6 \cdot 7 \cdot (1000+111) \\ &= 2^6 \cdot 7 \cdot 11 \cdot 101 \end{align*} Alternatively, consider adding the first and last terms, and second and second and last terms, etc we obtain \(7777\). There are \(2 \cdot 4^3\) terms so \(7777 \cdot 4^3 = 2^6 \cdot 7 \cdot 11 \cdot 101\)
Suppose that $$3=\frac{2}{ x_1}=x_1+\frac{2}{ x_2} =x_2+\frac{2}{ x_3}=x_3+\frac{2}{ x_4}=\cdots.$$ Guess an expression, in terms of \(n\), for \(x_n\). Then, by induction or otherwise, prove the correctness of your guess.
Solution: \begin{align*} x_1 &= \frac{2}{3} \\ x_n &= \frac{2}{3-x_{n-1}} \\ x_2 &= \frac{2}{3 - \frac23} \\ &= \frac{6}7 \\ x_3 &= \frac{2}{3-\frac67} \\ &= \frac{14}{15} \\ x_4 &= \frac{2}{3 - \frac{14}{15}} \\ &= \frac{30}{31} \end{align*} Guess: \(x_n = \frac{2^{n+1}-2}{2^{n+1}-1}\). Proof: (By induction) (Base case): We have checked several initial cases. (Inductive step): Suppose our formula is true for \(n = k\), then consider: \begin{align*} x_{k+1} &= \frac{2}{3 - x_{k}} \\ &= \frac{2}{3 - \frac{2^{k+1}-2}{2^{k+1}-1}}\tag{assumption} \\ &= \frac{2\cdot(2^{k+1}-1)}{3 \cdot(2^{k+1}-1) - (2^{k+1}-2) } \\ &= \frac{2^{k+2}-2}{2\cdot 2^{k+1} - 3 + 2 } \\ &= \frac{2^{k+2}-2}{ 2^{k+2} - 1 } \\ \end{align*} Therefore, if our formula is true for \(n = k\) it is true for \(n = k+1\). Therefore by the principle of mathematical induction it is true for \(n \geq 1, n \in \mathbb{Z}\)
Find constants \(a,\,b,\,c\) and \(d\) such that $$\frac{ax+b}{ x^2+2x+2}+\frac{cx+d}{ x^2-2x+2}= \frac{1}{ x^4+4}.$$ Show that $$\int_0^1\frac {\d x}{ x^4+4}\;= \frac{1}{16} \ln 5 +\frac{1}{8} \tan^{-1}2 .$$
Solution: First notice that \((x^2+2+2x)(x^2+2-2x) = (x^2+2)^2-4x^2 = x^2+4\) and so \begin{align*} && \frac{1}{x^4+4} &= \frac{ax+b}{ x^2+2x+2}+\frac{cx+d}{ x^2-2x+2} \\ \Rightarrow && 1 &= (ax+b)(x^2-2x+2) + (cx+d)(x^2+2x+2) \\ &&&= (a+c)x^3+(b-2a+d+2c)x^2+(2a-2b+2c+2d)x+2b+2d \\ \Rightarrow && 0 &= a+c \\ && 2a &= b+d+2c \\ && b &= a+c+d \\ && \frac12 &= b+d \\ \Rightarrow && c &= -a \\ && 2a &= \frac12+2(-a) \\ \Rightarrow && a &= \frac18, c = -\frac18 \\ && b &= d \\ \Rightarrow && b &= \frac14, d = \frac14 \end{align*} Therefore \begin{align*} \int_0^1\frac {\d x}{ x^4+4} &= \int_0^1 \frac18\left ( \frac{x+2}{x^2+2x+2} -\frac{x-2}{x^2-2x+2}\right) \d x \\ &= \frac1{16}\int_0^1 \left ( \frac{2x+2+2}{x^2+2x+2} -\frac{2x-2-2}{x^2-2x+2}\right) \d x \\ &= \frac1{16} \left [ \ln(x^2+2x+2) -\ln(x^2-2x+2)\right]_0^1 + \frac1{16} \int_0^1 \left ( \frac{2}{(x+1)^2+1} + \frac{2}{(x-1)^2+1} \right) \d x \\ &= \frac1{16} \left (\ln 5 - \ln 1 -(\ln 2-\ln 2) \right) + \frac18 \left [ \tan^{-1} (x+1)+\tan^{-1}(x-1) \right]_0^1 \\ &= \frac1{16} \ln 5 + \frac18 \left (\tan^{-1} 2+\tan^{-1} 0 - \tan^{-1}1-\tan^{-1} (-1) \right) \\ &= \frac1{16} \ln 5+ \frac18 \tan^{-1} 2 \end{align*}
Show that, when the polynomial \({\rm p} (x)\) is divided by \((x-a)\), where \(a\) is a real number, the remainder is \({\rm p}(a)\).
Solution: Notice by polynomial division, we can write \(p(x) = (x-a)q(x) + r(x)\) where degree \(r(x) < 1\), ie \(r(x)\) is a constant. Evaluating at \(x = a\), we have \(p(a) = (a-a)q(a) + r(a) = r(a)\). Therefore \(r(a) = p(a)\) and since \(r(x)\) is a constant, it is always \(p(a)\).
The complex numbers \(w=u+\mathrm{i}v\) and \(z=x+\mathrm{i}y\) are related by the equation $$z= (\cos v+\mathrm{i}\sin v)\mathrm{e}^u.$$ Find all \(w\) which correspond to \(z=\mathrm{i\,e}\). Find the loci in the \(x\)--\(y\) plane corresponding to the lines \(u=\) constant in the \(u\)--\(v\) plane. Find also the loci corresponding to the lines \(v=\) constant. Illustrate your answers with clearly labelled sketches. Identify two subsets \(W_1\) and \(W_2\) of the \(u\)--\(v\) plane each of which is in one-to-one correspondence with the first quadrant \(\{(x,\,y):\,x>0,\,y>0\}\) of the \(x\)--\(y\) plane. Identify also two subsets \(W_3\) and \(W_4\) each of which is in one-to-one correspondence with the set \(\{z\,:0<\,\vert z\vert\,<1\}\). \noindent[{\bf NB} `one-to-one' means here that to each value of \(w\) there is only one corresponding value of \(z\), and vice-versa.]
Show that, if \(\,\tan^2\phi=2\tan\phi+1\), then \(\tan2\phi=-1\). Find all solutions of the equation $$\tan\theta=2+\tan3\theta$$ which satisfy \(0<\theta< 2\pi\), expressing your answers as rational multiples of \(\pi\). Find all solutions of the equation the equation $$\cot\theta=2+\cot3\theta$$ which satisfy $$-\frac{3\pi}{2}<\theta<\frac{\pi}{2}.$$
Let $$y^2=x^2(a^2-x^2),$$ where \(a\) is a real constant. Find, in terms of \(a\), the maximum and minimum values of \(y\). Sketch carefully on the same axes the graphs of \(y\) in the cases \(a=1\) and \(a=2\).
Solution: \begin{align*} && y^2 &= x^2a^2-x^2 \\ &&&= \frac{a^4}{4} -\left ( x^2 -\frac{a^2}{2} \right)^2 \end{align*} Therefore the maximum and minimum values of \(y\) are \(\pm \frac{a^2}2\)
If \({\rm f}(t)\ge {\rm g}(t)\) for \(a\le t\le b\), explain very briefly why \(\displaystyle \int_a^b {\rm f}(t) \d t \ge \int_a^b {\rm g}(t) \d t\). Prove that if \(p>q>0\) and \(x\ge1\) then $$\frac{x^p-1}{ p}\ge\frac{x^q-1}{ q}.$$ Show that this inequality also holds when \(p>q>0\) and \(0\le x\le1\). Prove that, if \(p>q>0\) and \(x\ge0\), then $$\frac{1}{ p}\left(\frac{x^p}{ p+1}-1\right)\ge \frac{1}{q}\left(\frac{x^q}{ q+1}-1\right).$$
Solution: This is just the result that all of the area beneath \(g(t)\) is also below \(f(t)\) If \(p > q > 0, x \geq 1 \Rightarrow x^p \geq x^q\), therefore applying the result we have \begin{align*} && \int_1^x x^p\, \d t & \geq \int_1^x x^q\, \d t \\ \Rightarrow && \frac{x^p-1}{p} & \geq \frac{x^q-1}{q} \end{align*} When \(p > q > 0, 0 \leq x \leq 1\) we have \(x^p \leq x^q\), ie \begin{align*} && \int_x^1 x^q\, \d t & \geq \int_{x}^1 x^p\, \d t \\ \Rightarrow && \frac{1-x^q}{q} & \geq \frac{1-x^p}{p} \\ \Rightarrow && \frac{x^p-1}{p} &\geq \frac{x^q-1}{q} \end{align*} Now looking at the functions \(f(x) = \frac{x^p-1}{p}, g(x) = \frac{x^q-1}{q}\) and \(x \geq 1\) we have \begin{align*} && \int_0^x \frac{t^p-1}{p} \d t & \geq \int_0^x \frac{t^q-1}{q} \d t\\ \Rightarrow &&\frac1p \left[\frac{t^{p+1}}{p+1} - t \right]_0^x &\geq\frac1q \left[\frac{t^{q+1}}{q+1} - t \right]_0^x \\ \Rightarrow &&\frac1p \left(\frac{x^{p+1}}{p+1} -x\right) &\geq\frac1q \left(\frac{x^{q+1}}{q+1} - x \right)\\ \Rightarrow &&\frac1p \left(\frac{x^{p}}{p+1} -1\right) &\geq\frac1q \left(\frac{x^{q}}{q+1} - 1 \right)\\ \end{align*}
A uniform solid sphere of diameter \(d\) and mass \(m\) is drawn very slowly and without slipping from horizontal ground onto a step of height \(d/4\) by a horizontal force which is always applied to the highest point of the sphere and is always perpendicular to the vertical plane which forms the face of the step. Find the maximum horizontal force throughout the movement, and prove that the coefficient of friction between the sphere and the edge of the step must exceed \(1/\sqrt{3}\).
Solution:
\noindent{\it In this question the effect of gravity is to be neglected.} A small body of mass \(M\) is moving with velocity \(v\) along the axis of a long, smooth, fixed, circular cylinder of radius \(L\). An internal explosion splits the body into two spherical fragments, with masses \(qM\) and \((1-q)M\), where \(q\le\frac{1}{2}\). After bouncing perfectly elastically off the cylinder (one bounce each) the fragments collide and coalesce at a point \(\frac{1}{2}L\) from the axis. Show that \(q=\frac{3}{ 8}\). The collision occurs at a time \(5L/v\) after the explosion. Find the energy imparted to the fragments by the explosion, and find the velocity after coalescence.