1531 problems found
An examiner has to assign a mark between 1 and \(m\) inclusive to each of \(n\) examination scripts (\(n\leqslant m\)). He does this randomly, but never assigns the same mark twice. If \(K\) is the highest mark that he assigns, explain why \[ \mathrm{P}(K=k)=\left.\binom{k-1}{n-1}\right/\binom{m}{n} \] for \(n\leqslant k\leqslant m,\) and deduce that \[ \sum_{k=n}^{m}\binom{k-1}{n-1}=\binom{m}{n}\,. \] Find the expected value of \(K\).
Solution: If the highest mark is \(k\), then there are \(n-1\) remaining marks to give, and they have to be chosen from the numbers \(1, 2, \ldots, k-1\), ie in \(\binom{k-1}{n-1}\) ways. There are \(n\) numbers to be chosen from \(1, 2, \ldots, m\) in total, therefore \(\displaystyle \mathbb{P}(K=k) = \left.\binom{k-1}{n-1} \right/ \binom{m}{n}\) Since \(K\) can take any of the values \(n, \cdots, m\), we must have \begin{align*} && 1 &= \sum_{k=n}^m \mathbb{P}(K=k) \\ &&&= \sum_{k=n}^m \left.\binom{k-1}{n-1} \right/ \binom{m}{n} \\ \Rightarrow && \binom{m}{n} &= \sum_{k=n}^m \binom{k-1}{n-1} \\ \\ && \mathbb{E}(K) &= \sum_{k=n}^m k \cdot \mathbb{P}(K=k) \\ &&&= \sum_{k=n}^m k \cdot \left.\binom{k-1}{n-1} \right/ \binom{m}{n} \\ &&&= n\binom{m}{n}^{-1} \sum_{k=n}^m \frac{k}{n} \cdot \binom{k-1}{n-1} \\ &&&= n\binom{m}{n}^{-1} \sum_{k=n}^m \binom{k}{n} \\ &&&= n\binom{m}{n}^{-1} \sum_{k=n+1}^{m+1} \binom{k-1}{n+1-1} \\ &&&= n\binom{m}{n}^{-1} \binom{m+1}{n+1} \\ &&&= n \cdot \frac{m+1}{n+1} \end{align*}
I have a Penny Black stamp which I want to sell to my friend Jim, but we cannot agree a price. So I put the stamp under one of two cups, jumble them up, and let Jim guess which one it is under. If he guesses correctly, I add a third cup, jumble them up, and let Jim guess correctly, adding another cup each time. The price he pays for the stamp is \(\pounds N,\) where \(N\) is the number of cups present when Jim fails to guess correctly. Find \(\mathrm{P}(N=k)\). Show that \(\mathrm{E}(N)=\mathrm{e}\) and calculate \(\mathrm{Var}(N).\)
Solution: \begin{align*} && \mathbb{P}(N = k) &= \mathbb{P}(\text{guesses }k-1\text{ correctly then 1 wrong})\\ &&&= \frac12 \cdot \frac{1}{3} \cdots \frac{1}{k-1} \frac{k-1}{k} \\ &&&= \frac{k-1}{k!} \\ &&\mathbb{E}(N) &= \sum_{k=2}^\infty k \cdot \mathbb{P}(N=k) \\ &&&= \sum_{k=2}^{\infty} \frac{k(k-1)}{k!} \\ &&&= \sum_{k=0}^{\infty} \frac{1}{k!} = e \\ && \textrm{Var}(N) &= \mathbb{E}(N^2) - \mathbb{E}(N)^2 \\ && \mathbb{E}(N^2) &= \sum_{k=2}^{\infty} k^2 \mathbb{P}(N=k) \\ &&&= \sum_{k=2}^{\infty} \frac{k^2(k-1)}{k!} \\ &&&= \sum_{k=0}^{\infty} \frac{k+2}{k!} \\ &&&= \sum_{k=0}^{\infty} \frac{1}{k!} + 2 \sum_{k=0}^{\infty} \frac{1}{k!} = 3e \\ \Rightarrow && \textrm{Var}(N) &= 3e-e^2 \end{align*}
A biased coin, with a probability \(p\) of coming up heads and a probability \(q=1-p\) of coming up tails, is tossed repeatedly. Let \(A\) be the event that the first run of \(r\) successive heads occurs before the first run of \(s\) successive tails. If \(H\) is the even that on the first toss the coin comes up heads and \(T\) is the event that it comes up tails, show that \begin{alignat*}{1} \mathrm{P}(A|H) & =p^{\alpha}+(1-p^{\alpha})\mathrm{P}(A|T),\\ \mathrm{P}(A|T) & =(1-q^{\beta})\mathrm{P}(A|H), \end{alignat*} where \(\alpha\) and \(\beta\) are to be determined. Use these two equations to find \(\mathrm{P}(A|H),\) \(\mathrm{P}(A|T),\) and hence \(\mathrm{P}(A).\)
Solution: \begin{align*} && \P(A|H) &= \P(\text{achieve }r\text{ heads immediately}) + \P(\text{don't and then achieve it from having flipped a tail}) \\ &&&= p^{r-1} + (1-p^{r-1}) \cdot \P(A|T) \\ && \P(A|T) &= (1-q^{s-1})\P(A|H) \\ \\ &&\P(A|H) &= p^{r-1}+(1-p^{r-1})(1-q^{s-1})\P(A|H) \\ \Rightarrow && \P(A|H) &= \frac{p^{r-1}}{1-(1-p^{r-1})(1-q^{s-1})} \\ && \P(A|T) &= \frac{(1-q^{s-1})p^{r-1}}{1-(1-p^{r-1})(1-q^{s-1})} \\ && \P(A) &= \frac{(2-q^{s-1})p^{r-1}}{2(1-(1-p^{r-1})(1-q^{s-1}))} \end{align*}
Solution:
Consider the system of equations \begin{alignat*}{1} 2yz+zx-5xy & =2\\ yz-zx+2xy & =1\\ yz-2zx+6xy & =3 \end{alignat*} Show that \[xyz=\pm 6\] and find the possible values of \(x\), \(y\) and \(z\).
Solution: Consider the linear \(3\times 3\) system in \(yz, zx, xy\), then \begin{align*} \left(\begin{array}{ccc|c} 2 & 1 & -5 & 2 \\ 1 & -1 & 2 & 1 \\ 1 & -2 & 6 & 3 \\ \end{array}\right) \\ \left(\begin{array}{ccc|c} 1 & -1 & 2 & 1 \\ 1 & -2 & 6 & 3 \\ 2 & 1 & -5 & 2 \\ \end{array}\right) \\ \left(\begin{array}{ccc|c} 1 & -1 & 2 & 1 \\ 0 & -1 & 4 & 2 \\ 0 & 3 & -9 & 0 \\ \end{array}\right) \\ \left(\begin{array}{ccc|c} 1 & -1 & 2 & 1 \\ 0 & -1 & 4 & 2 \\ 0 & 0 & 3 & 6 \\ \end{array}\right) \\ \end{align*} Therefore \(yz = 2, zx = 6, xy = 3 \Rightarrow (xyz)^2 = 36 \Rightarrow xyz = \pm 6\). If \(xyz = 6, x = 3, y = 1, z = 2\), if \(xyz = -6, x = -3, y = -1, z = -2\)
The Fibonacci numbers \(F_{n}\) are defined by the conditions \(F_{0}=0\), \(F_{1}=1\) and \[F_{n+1}=F_{n}+F_{n-1}\] for all \(n\geqslant 1\). Show that \(F_{2}=1\), \(F_{3}=2\), \(F_{4}=3\) and compute \(F_{5}\), \(F_{6}\) and~\(F_{7}\). Compute \(F_{n+1}F_{n-1}-F_{n}^{2}\) for a few values of \(n\); guess a general formula and prove it by induction, or otherwise. By induction on \(k\), or otherwise, show that \[F_{n+k}=F_{k}F_{n+1}+F_{k-1}F_{n}\] for all positive integers \(n\) and \(k\).
Show that \(\cos 4u=8\cos^{4}u-8\cos^{2}u+1\). If \[ I=\int_{-1}^{1} \frac{1}{\vphantom{{\big(}^2}\; \surd(1+x)+\surd(1-x)+2\; }\;{\rm d}x ,\] show, by using the change of variable \(x=\cos t\), that \[ I= \int_0^\pi \frac{\sin t}{4\cos^{2}\left(\frac{t}{4}-\frac{\pi}{8}\right)}\,{\rm d}t.\] By using the further change of variable \(u=\frac{t}{4}-\frac{\pi}{8}\), or otherwise, show that \[I=4\surd{2}-\pi-2.\] \noindent[You may assume that \(\tan\frac{\pi}{8}=\surd{2}-1\).]
Solution: \begin{align*} && \cos 4u &= 2\cos^2 2u - 1 \\ &&&= 2 (2\cos^2 u - 1)^2 - 1 \\ &&&= 2(4\cos^4u - 4\cos^2 u + 1) - 1\\ &&&= 8\cos^4u - 8\cos^2 u + 1 \end{align*} \begin{align*} && I &= \int_{-1}^1 \frac{1}{\sqrt{1+x}+\sqrt{1-x}+2} \d x \\ x = \cos t, \d x = - \sin t \d t: &&&= \int_{t = \pi}^{t=0} \frac{1}{\sqrt{1+\cos t} + \sqrt{1-\cos t} + 2} (- \sin t ) \d t \\ &&&= \int_0^\pi \frac{\sin t}{\sqrt{2 \cos^2 \frac{t}{2}}+\sqrt{2 \sin^2 \frac{t}{2}}+2} \d t \\ &&&= \int_0^\pi \frac{\sin t}{\sqrt{2}(\cos \frac{t}{2} + \sin \frac{t}{2}) + 2} \d t \\ &&&= \int_0^\pi \frac{\sin t}{\sqrt{2}(\sqrt{2} \cos (\frac{t}{2}-\frac{\pi}{4})) + 2} \d t \\ &&&= \int_0^\pi \frac{\sin t}{2(1+\cos (\frac{t}{2}-\frac{\pi}{4}))} \d t \\ &&&= \int_0^\pi \frac{\sin t}{4\cos^2(\frac{t}{4}-\frac{\pi}{8})} \d t \\ \\ u = \tfrac{t}{4} -\tfrac{\pi}{8}, \d u = \tfrac14 \d t:&&&=\int_{-\frac{\pi}{8}}^{\frac{\pi}{8}} \frac{\sin (4u+\frac{\pi}{2})}{4 \cos^2 u} 4 \d u \\ &&&= \int_{-\frac{\pi}{8}}^{\frac{\pi}{8}} \frac{\cos4u}{\cos^2 u} \d u \\ &&&= \int_{-\frac{\pi}{8}}^{\frac{\pi}{8}} 4 (2 \cos^2 u-1)-4 + \sec^2 u \d u \\ &&&= \int_{-\frac{\pi}{8}}^{\frac{\pi}{8}} 4 \cos 2u-4 + \sec^2 u \d u \\ &&&= \left [2\sin 2u - 4u + \tan u \right]_{-\pi/8}^{\pi/8} \\ &&&= 4 \sin \frac{\pi}{4} - \pi+ 2\tan \frac{\pi}{8} \\ &&&= \frac{4}{\sqrt{2}} - \pi + 2\sqrt{2}-2 \\ &&&= 4\sqrt{2} - \pi - 2 \end{align*}
If $$ z^{4}+z^{3}+z^{2}+z+1=0\tag{*} $$ and \(u=z+z^{-1}\), find the possible values of \(u\). Hence find the possible values of \(z\). [Do not try to simplify your answers.] Show that, if \(z\) satisfies \((*)\), then \[z^{5}-1=0.\] Hence write the solutions of \((*)\) in the form \(z=r(\cos\theta+i\sin\theta)\) for suitable real \(r\) and \(\theta\). Deduce that \[\sin\frac{2\pi}{5}=\frac{\surd(10+2\surd 5)}{4} \ \ \hbox{and}\ \ \cos\frac{2\pi}{5}=\frac{-1+\surd 5}{4}.\]
Solution: \begin{align*} && 0 &= z^4+z^3+z^2+z+1 \\ \Rightarrow && 0 &= z^2+z+1+z^{-1}+z^{-2} \tag{\(z \neq 0\)} \\ &&&= \left ( z+z^{-1} \right)^2-2 + z+z^{-1} + 1 \\ &&&= u^2+u-1 \\ \Rightarrow && u &= \frac{-1 \pm \sqrt{5}}{2} \\ \Rightarrow && z+z^{-1} &= \frac{-1 \pm \sqrt{5}}{2} \\ \Rightarrow && 0 &= z^2-\left ( \frac{-1 \pm \sqrt{5}}{2}\right)z+1 \\ \Rightarrow && z &= \frac{\left ( \frac{-1 \pm \sqrt{5}}{2}\right) \pm \sqrt{\left ( \frac{-1 \pm \sqrt{5}}{2}\right)^2-4}}{2} \\ &&&= \frac{\left ( \frac{-1 \pm \sqrt{5}}{2}\right) \pm \sqrt{\frac{1+5\mp2\sqrt{5}-16}{4}}}{2} \\ &&&= \frac{\left ( \frac{-1 \pm \sqrt{5}}{2}\right) \pm \sqrt{\frac{-10\mp2\sqrt{5}-16}{4}}}{2} \\ &&&= \frac{-1\pm\sqrt{5}}{4} \pm i\frac{\sqrt{10\pm 2\sqrt{5}}}{4} \end{align*} Since \(z^4+z^3+z^2+z+1 = 0\) we can multiply both sides by \(z-1\) to obtain \(z^5-1 = 0\). Therefore if \(z = r(\cos \theta + i \sin \theta)\) we see that \(z^5 = 1 \Rightarrow r^5 (\cos 5 \theta + i \sin 5 \theta) = 1 \Rightarrow r = 1, 5 \theta = 2n \pi\) ie \(z = \cos \frac{2n\pi}{5} + i\sin \frac{2n \pi}{5}\). We are looking for a solution in the first quadrant, therefore \(\cos \frac{2\pi}{5} = \frac{-1 + \sqrt{5}}4\) and \(\sin \frac{2\pi}{5} = \frac{\sqrt{10+2\sqrt{5}}}{4}\)
A proper factor of a positive integer \(N\) is an integer \(M\), with \(M\ne 1\) and \(M\ne N\), which divides \(N\) without remainder. Show that \(12\) has \(4\) proper factors and \(16\) has \(3\). Suppose that \(N\) has the prime factorisation \[N=p_{1}^{m_{1}}p_{2}^{m_{2}}\dots p_{r}^{m_{r}},\] where \(p_{1}, p_{2}, \dots, p_{r}\) are distinct primes and \(m_{1}, m_{2}, \dots, m_{r}\) are positive integers. How many proper factors does \(N\) have and why? Find:
Solution: \(12\) has factors \(1,2,3,4,6,12\) of which \(4\) are neither \(1\) nor \(12\). \(16\) has factors \(1,2,4,8,16\) of which \(3\) are neither \(1\) nor \(16\). If \(N = p_1^{m_1} \cdots p_r^{m_r}\) then \(N\) has \((m_1+1)\cdots(m_r+1)\) factors since we can have between \(0 \leq k \leq m_i\) of the \(i\)th prime factor, whcih is \(m_i+1\) possibilities. We then need to subtract two for the proper factors, ie \((m_1+1)\cdots(m_r+1) - 2\).
Consider a fixed square \(ABCD\) and a variable point \(P\) in the plane of the square. We write the perpendicular distance from \(P\) to \(AB\) as \(p\), from \(P\) to \(BC\) as \(q\), from \(P\) to \(CD\) as \(r\) and from \(P\) to \(DA\) as \(s\). (Remember that distance is never negative, so \(p,q,r,s\geqslant 0\).) If \(pr=qs\), show that the only possible positions of \(P\) lie on two straight lines and a circle and that every point on these two lines and a circle is indeed a possible position of \(P\).
Suppose that \[{\rm f}''(x)+{\rm f}(-x)=x+3\cos 2x\] and \({\rm f}(0)=1\), \({\rm f}'(0)=-1\). If \({\rm g}(x)={\rm f}(x)+{\rm f}(-x)\), find \({\rm g}(0)\) and show that \({\rm g}'(0)=0\). Show that \[{\rm g}''(x)+{\rm g}(x)=6\cos 2x,\] and hence find \({\rm g}(x)\). Similarly, if \({\rm h}(x)={\rm f}(x)-{\rm f}(-x)\), find \({\rm h}(x)\) and show that \[{\rm f}(x)=2\cos x -\cos2x-x.\]
Solution: \begin{align*} && g(0) &= f(0)+f(-0) = 2f(0) = 2 \\ && g'(x) &= f'(x) - f'(-x) \\ && g'(0) &= f'(0) - f'(-0) = 0 \\ && g''(x) &= f''(x) +f''(-x) \\ \Rightarrow && g''(x) + g(x) &= f''(x) +f''(-x) + f(x) + f(-x) \\ &&&= f''(x)+ f(-x) +f''(-x) + f(x) \\ &&&= x + 3 \cos 2x + (-x + 3 \cos (-2x) ) \\ &&&= 6 \cos 2x \\ \end{align*} Considering the homogeneous part, we should expected a solution of the form \(g(x) = A \sin x + B \cos x\). Seeking an integrating factor of the form \(g(x) = C \cos 2x\) we see that \(-4C \cos 2x + C \cos 2x = 6 \cos 2x \Rightarrow -3C = 6 \Rightarrow C = -2\). Therefore the general solution is \begin{align*} && g(x) &= A\sin x + B \cos x - 2\cos 2x \\ && g(0) &= B - 2 = 2\\ && g'(0) &= A = 0 \\ \Rightarrow && g(x) &= 4\cos x - 2\cos 2x \\ \end{align*} \begin{align*} && h(0) &= f(0) - f(-0) = 0 \\ && h'(x) &= f'(x) + f'(-x) \\ && h'(0) &= f'(0) + f'(-0) = -2 \\ && h''(x) &= f''(x) - f''(-x) \\ \Rightarrow && h''(x) - h(x) &= f''(x) - f''(-x) -( f(x) - f(-x)) \\ &&&= f''(x) +f(-x)- (f''(-x) + f(x)) \\ &&&= x + 3\cos 2x - (-x + 3 \cos(-2x)) \\ &&&= 2x \end{align*} Considering the homogeneous part, we should expect a solution of the form \(Ae^x + Be^{-x}\). For a specific integral, we can take \(-2x\), ie \begin{align*} && h(x) &= Ae^x + Be^{-x} - 2x \\ && h(0) &= A+B =0 \\ && h'(0) &= A-B-2 =-2 \\ \Rightarrow && A &=B = 0 \\ \Rightarrow && h(x) &= -2x \end{align*} Therefore \(f(x) = \frac12(f(x) + f(-x)) + \frac12(f(x) -f(-x)) = 2\cos x - \cos 2x -x\)
A child's toy consists of a solid cone of height \(\lambda a\) and a solid hemisphere of radius \(a\), made out of the same uniform material and fastened together so that their plane faces coincide. (Thus the diameter of the hemisphere is equal to that of the base of the cone.) Show that if \(\lambda < \sqrt{3}\) the toy will always move to an upright position if placed with the surface of the hemisphere on a horizontal table, but that if \(\lambda > \sqrt{3}\) the toy may overbalance. Show, however, that if the toy is placed with the surface of the cone touching the table it will remain there whatever the value of \(\lambda\). [The centre of gravity of a uniform solid cone of height \(h\) is a height \(h/4\) above its base. The centre of gravity of a uniform solid hemisphere of radius \(a\) is at distance \(3a/8\) from the centre of its base.]
Solution:
The plot of `Rhode Island Red and the Henhouse of Doom' calls for the heroine to cling on to the circumference of a fairground wheel of radius \(a\) rotating with constant angular velocity \(\omega\) about its horizontal axis and then let go. Let \(\omega_{0}\) be the largest value of \(\omega\) for which it is not possible for her subsequent path to carry her higher than the top of the wheel. Find \(\omega_{0}\) in terms of \(a\) and \(g\). If \(\omega>\omega_{0}\) show that the greatest height above the top of the wheel to which she can rise is \[\frac{a}{2}\left(\frac{\omega}{\omega_{0}} -\frac{\omega_{0}}{\omega}\right)^{\!\!2}.\]
Solution:
A particle hangs in equilibrium from the ceiling of a stationary lift, to which it is attached by an elastic string of natural length \(l\) extended to a length \(l+a\). The lift now descends with constant acceleration \(f\) such that \(0 < f < g/2\). Show that the extension \(y\) of the string from its equilibrium length satisfies the differential equation $$ {{\rm d}^2 y \over {\rm d} t^2} +{g \over a}\, y = g-f. $$ Hence show that the string never becomes slack and the amplitude of the oscillation of the particle is \(af/g\). After a time \(T\) the lift stops accelerating and moves with constant velocity. Show that the string never becomes slack and the amplitude of the oscillation is now \[\frac{2af}{g}|\sin {\textstyle \frac{1}{2}}\omega T|,\] where \(\omega^{2}=g/a\).
Solution: