72 problems found
If \[ \mathrm{f}(x)=nx-\binom{n}{2}\frac{x^{2}}{2}+\binom{n}{3}\frac{x^{3}}{3}-\cdots+(-1)^{r+1}\binom{n}{r}\frac{x^{r}}{r}+\cdots+(-1)^{n+1}\frac{x^{n}}{n}\,, \] show that \[ \mathrm{f}'(x)=\frac{1-(1-x)^{n}}{x}\,. \] Deduce that \[ \mathrm{f}(x)=\int_{1-x}^{1}\frac{1-y^{n}}{1-y}\,\mathrm{d}y. \] Hence show that \[ \mathrm{f}(1)=1+\frac{1}{2}+\frac{1}{3}+\cdots+\frac{1}{n}\,. \]
Solution: \begin{align*} f(x) & =nx-\binom{n}{2}\frac{x^{2}}{2}+\binom{n}{3}\frac{x^{3}}{3}-\cdots+(-1)^{r+1}\binom{n}{r}\frac{x^{r}}{r}+\cdots+(-1)^{n+1}\frac{x^{n}}{n} \\ f'(x) &= n - \binom{n}{2} x + \binom{n}{3}x^2 - \cdots (-1)^{r+1} \binom{n}{r} + \cdots + (-1)^{n+1} x^{n-1} \\ &= \frac{1-(1-x)^n}{x} \end{align*} Therefore, since \(\displaystyle f(x) = \int_0^xf'(t)\,dt\) \begin{align*} f(x) &= \int_0^x \frac{1 - (1-t)^n}{t} \, dt \\ &= \int_{1}^{1-x} \frac{1-y^n}{1-y} (-1)\, dy \tag{Let \(y = 1-t, \frac{dy}{dt} = -1\)} \\ &= \boxed{\int_{1-x}^1 \frac{1-y^n}{1-y} dy} \\ &= \int_{1-x}^1 \l 1 + y + y^2 + \cdots + y^{n-1} \r \, dy \\ &= \left [ y + \frac{y^2}{2} + \frac{y^3}{3} + \cdots + \frac{y^n}{n} \right]_{1-x}^1 \\ \end{align*} So when \(x = 1, 1-x = 0\) so we exactly have the sum required.
Solution:
If \(u\) and \(v\) are the two roots of \(z^{2}+az+b=0,\) show that \(a=-u-v\) and \(b=uv.\) Let \(\alpha=\cos(2\pi/7)+\mathrm{i}\sin(2\pi/7).\) Show that \(\alpha\) is a root of \(z^{6}-1=0\) and express the roots in terms of \(\alpha.\) The number \(\alpha+\alpha^{2}+\alpha^{4}\) is a root of a quadratic equation \[ z^{2}+Az+B=0 \] where \(A\) and \(B\) are real. By guessing the other root, or otherwise, find the numerical values of \(A\) and \(B\). Show that \[ \cos\frac{2\pi}{7}+\cos\frac{4\pi}{7}+\cos\frac{8\pi}{7}=-\frac{1}{2}, \] and evaluate \[ \sin\frac{2\pi}{7}+\sin\frac{4\pi}{7}+\sin\frac{8\pi}{7}, \] making it clear how you determine the sign of your answer.
Solution: \begin{align*} 0 &= z^2+az+b \\ &= (z-u)(z-v) \\ &= z^2-(u+v)z+uv \end{align*} Therefore by comparing coefficients, \(a = -u-v\) and \(b = uv\). Suppose \(\alpha = \cos(2\pi/7) + i \sin (2\pi/7)\), then by De Moivre, \(\alpha^7 = \cos(2\pi) + i \sin (2\pi) = 1\), ie \(\alpha^7-1 = 0\). Notice that \((\alpha+\alpha^2 + \alpha^4) + (\alpha^3+\alpha^5+\alpha^6) = -1\) and \begin{align*} P &= (\alpha+\alpha^2 + \alpha^4)(\alpha^3+\alpha^5+\alpha^6) \\ &= \alpha^4 + \alpha^6 + \alpha^7 + \alpha^5 + \alpha^7 + \alpha^8 + \alpha^{7}+\alpha^{9}+\alpha^{10} \\ &= 3 + \alpha+ \alpha^2 + \alpha^3 + \alpha^4 + \alpha^5 + \alpha^6 \\ &= 2 \end{align*} Therefore it is a root of \(x^2+x+2 = 0 \Rightarrow x = \frac{-1 \pm i\sqrt{7}}{2}\) Therefore $\cos\frac{2\pi}{7} + \cos \frac{4\pi}{7} + \cos \frac{8\pi}{7} = \textrm{Re}(\alpha + \alpha^2 + \alpha^4) = -\frac12$ And \(\sin\frac{2\pi}{7} + \sin\frac{4\pi}{7} + \sin\frac{8\pi}{7} = \textrm{Im}(\alpha + \alpha^2 + \alpha^4) = \pm\frac{\sqrt{7}}2\) since it is positive it is \(\frac{\sqrt{7}}{2}\)
Bread roll throwing duels at the Drones' Club are governed by a strict etiquette. The two duellists throw alternatively until one is hit, when the other is declared the winner. If Percy has probability \(p>0\) of hitting his target and Rodney has probability \(r>0\) of hitting his, show that, if Percy throws first, the probability that he beats Rodney is \[ \frac{p}{p+r-pr}. \] Algernon, Bertie and Cuthbert decide to have a three sided duel in which they throw in order \(\mathrm{A,B,C,A,B,C,}\ldots\) except that anyone who is hit must leave the game. Cuthbert always his target, Bertie hits his target with probability \(3/5\) and Algernon hits his target with probability \(2/5.\) Bertie and Cuthbert will always aim at each other if they are both still in the duel. Otherwise they aim at Algernon. With his first shot Algernon may aim at either Bertie or Cuthbert or deliberately miss both. Faced with only one opponent Algernon will aim at him. What are Algernon's changes of winning if he:
What is the general solution of the differential equation \[ \frac{\mathrm{d}^{2}x}{\mathrm{d}t^{2}}+2k\frac{\mathrm{d}x}{\mathrm{d}t}+x=0 \] for each of the cases: (i) \(k>1;\) (ii) \(k=1\); (iii) \(0 < x < 1\)? In case (iii) the equation represents damped simple harmonic motion with damping factor \(k\). Let \(x(0)=0\) and let \(x_{1},x_{2},\ldots,x_{n},\ldots\) be the sequence of successive maxima and minima, so that if \(x_{n}\) is a maximum then \(x_{n+1}\) is the next minimum. Show that \(\left|x_{n+1}/x_{n}\right|\) takes a value \(\alpha\) which is independent of \(n\), and that \[ k^{2}=\frac{(\ln\alpha)^{2}}{\pi^{2}+(\ln\alpha)^{2}}. \]
Solution: The auxiliary equation is \(\lambda^2 + 2k\lambda + 1 = (\lambda + k)^2+1-k^2 = 0\) (i) If \(k > 1\) then the solution is \(A\exp \left ({(-k + \sqrt{k^2-1})t} \right)+B\exp\left((-k-\sqrt{k^2-1})t \right)\). (ii) If \(k = 1\) then the solution is \(x = (A+Bt)e^{-kt}\) (iii) If \(k < 1\) then the solution is \(x = Ae^{-kt} \sin \left ( \sqrt{1-k^2} t \right)+Be^{-kt} \cos \left ( \sqrt{1-k^2} t \right)\) If \(x(0) = 0\) then \begin{align*} && x &= Ae^{-kt} \sin(\sqrt{1-k^2}t)\\ && \dot{x} &= Ae^{-kt} \left (-k \sin(\sqrt{1-k^2}t)+\sqrt{1-k^2} \cos(\sqrt{1-k^2}t) \right) \\ (\dot{x} =0): && \tan (\sqrt{1-k^2}t) &= \frac{\sqrt{1-k^2}}{k}\\ \end{align*} Therefore maxima and minima occur every \(\frac{\pi}{\sqrt{1-k^2}}\), so \begin{align*} && \frac{x_{n+1}}{x_n} &= \exp\left ( -\frac{k\pi}{\sqrt{1-k^2}} \right) \frac{\sin\left (\sqrt{1-k^2}\left(t+\frac{\pi}{\sqrt{1-k^2}}\right)\right)}{\sin(\sqrt{1-k^2}t)} \\ &&&= \exp\left ( -\frac{k\pi}{\sqrt{1-k^2}} \right) \left (-1+0 \right)\\ &&&= -\exp\left ( -\frac{k\pi}{\sqrt{1-k^2}} \right) \\ \Rightarrow && \ln \alpha &= - \frac{k\pi}{\sqrt{1-k^2}} \\ \Rightarrow && (\ln \alpha)^2 &= \frac{k^2\pi^2}{1-k^2} \\ \Rightarrow && (1-k^2)(\ln \alpha)^2 &= k^2 \pi^2 \\ \Rightarrow && k^2(\pi^2+(\ln \alpha)^2) &= (\ln \alpha)^2 \\ \Rightarrow && k^2 &= \frac{(\ln \alpha)^2}{\pi^2 + (\ln \alpha)^2} \end{align*}
Let \[ \mathrm{C}_{n}(\theta)=\sum_{k=0}^{n}\cos k\theta \] and let \[ \mathrm{S}_{n}(\theta)=\sum_{k=0}^{n}\sin k\theta, \] where \(n\) is a positive integer and \(0<\theta<2\pi.\) Show that \[ \mathrm{C}_{n}(\theta)=\frac{\cos(\tfrac{1}{2}n\theta)\sin\left(\frac{1}{2}(n+1)\theta\right)}{\sin(\frac{1}{2}\theta)}, \] and obtain the corresponding expression for \(\mathrm{S}_{n}(\theta)\). Hence, or otherwise, show that for \(0<\theta<2\pi,\) \[ \left|\mathrm{C}_{n}(\theta)-\frac{1}{2}\right|\leqslant\frac{1}{2\sin(\frac{1}{2}\theta)}. \]
Solution: \begin{align*} && C_n(\theta) &= \sum_{k=0}^n \cos k \theta \\ &&&= \textrm{Re} \left ( \sum_{k=0}^n \exp (ik \theta)\right)\\ &&&= \textrm{Re} \left ( \frac{e^{i(n+1)\theta}-1}{e^{i\theta}-1}\right)\\ &&&= \textrm{Re} \left ( \frac{e^{i(n+1)\theta/2}}{e^{i\theta/2}}\frac{e^{i(n+1)\theta/2}-e^{-i(n+1)\theta/2}}{e^{i\theta/2}-e^{-i\theta/2}}\right)\\ &&&= \textrm{Re} \left ( e^{in\theta/2}\frac{\sin \left ( (n+1)\theta/2 \right)}{\sin \left ( \theta/2 \right)}\right)\\ &&&= \frac{\sin \left ( (n+1)\theta/2 \right)}{\sin \left ( \theta/2 \right)}\textrm{Re} \left ( e^{in\theta/2}\right)\\ &&&= \frac{\sin \left ( (n+1)\theta/2 \right)}{\sin \left ( \theta/2 \right)}\cos \left ( \frac12n\theta\right)\\ \\ && S_n(\theta) &= \sum_{k=0}^n \sin k \theta \\ &&&= \textrm{Im} \left ( \sum_{k=0}^n \exp (ik \theta)\right)\\ &&&= \frac{\sin \left ( (n+1)\theta/2 \right)}{\sin \left ( \theta/2 \right)}\textrm{Im} \left ( e^{in\theta/2}\right)\\ &&&= \frac{\sin \left ( (n+1)\theta/2 \right)}{\sin \left ( \theta/2 \right)}\sin\left ( \frac12n\theta\right)\\ \\ && C_n(\theta) - \frac12 &= \frac{\sin \left ( (n+1)\theta/2 \right)}{\sin \left ( \theta/2 \right)}\cos \left ( \frac12n\theta\right) - \frac12 \\ &&&= \frac{2\sin \left ( (n+1)\theta/2 \right)\cos\left ( n\theta/2 \right)-\sin (\theta/2)}{2 \sin (\theta/2)} \\ &&&= \frac{\sin\left ( (n+1)\theta/2+n\theta/2\right)+\sin\left ( (n+1)\theta/2-n\theta/2\right)-\sin (\theta/2)}{2 \sin (\theta/2)} \\ &&&= \frac{\sin\left ( (n+1)\theta/2+n\theta/2\right)+\sin\left ( \theta/2\right)-\sin (\theta/2)}{2 \sin (\theta/2)} \\ &&&= \frac{\sin\left ( (2n+1)\theta/2\right)}{2 \sin (\theta/2)} \leqslant\frac{1}{2 \sin (\theta/2)} \\ \end{align*}
Calamity Jane sits down to play the game of craps with Buffalo Bill. In this game she rolls two fair dice. If, on the first throw, the sum of the dice is \(2,3\) or \(12\) she loses, while if it is \(7\) or \(11\) she wins. Otherwise Calamity continues to roll the dice until either the first sum is repeated, in which case she wins, or the sum is \(7\), in which case she loses. Find the probability that she wins on the first throw. Given that she throws more than once, show that the probability that she wins on the \(n\)th throw is \[ \frac{1}{48}\left(\frac{3}{4}\right)^{n-2}+\frac{1}{27}\left(\frac{13}{18}\right)^{n-2}+\frac{25}{432}\left(\frac{25}{36}\right)^{n-2}. \] Given that she throws more than \(m\) times, where \(m>1,\) what is the probability that she wins on the \(n\)th throw?
In certain forms of Tennis two players \(A\) and \(B\) serve alternate games. Player \(A\) has probability \(p\low_{A}\) of winning a game in which she serves and \(p\low_{B}\) of winning a game in which player \(B\) serves. Player \(B\) has probability \(q\low_{B}=1-p\low_{B}\) of winning a game in which she serves and probability \(q\low_{A}=1-p\low_{A}\) of winning a game in which player \(A\) serves. In Shortened Tennis the first player to lead by 2 games wins the match. Find the probability \(P_{\text{short}}\) that \(A\) wins a Shortened Tennis match in which she serves first and show that it is the same as if \(B\) serves first. In Standard Tennis the first player to lead by 2 or more games after 4 or more games have been played wins the match. Show that the probability that the match is decided in 4 games is \[ p^{2}_Ap_{B}^{2}+q_{A}^{2}q_{B}^{2}+2(p\low_{A}p\low_{B}+q\low_{A}q\low_{B})(p\low_{A}q\low_{B}+q\low_{A}p\low_{B}). \] If \(p\low_{A}=p\low_{B}=p\) and \(q\low_{A}=q\low_{B}=q,\) find the probability \(P_{\text{stan}}\) that \(A\) wins a Standard Tennis match in which she serves first. Show that \[ P_{\text{stan}}-P_{\text{short}}=\frac{p^{2}q^{2}(p-q)}{p^{2}+q^{2}}. \]
If \(\left|r\right|\neq1,\) show that \[ 1+r^{2}+r^{4}+\cdots+r^{2n}=\frac{1-r^{2n+2}}{1-r^{2}}\,. \] If \(r\neq1,\) find an expression for \(\mathrm{S}_{n}(r),\) where \[ \mathrm{S}_{n}(r)=r+r^{2}+r^{4}+r^{5}+r^{7}+r^{8}+r^{10}+\cdots+r^{3n-1}. \] Show that, if \(\left|r\right|<1,\) then, as \(n\rightarrow\infty,\) \[ \mathrm{S}_{n}(r)\rightarrow\frac{1}{1-r}-\frac{1}{1-r^{3}}\,. \] If \(\left|r\right|\neq1,\) find an expression for \(\mathrm{T}_{n}(r),\) where \[ \mathrm{T}_{n}(r)=1+r^{2}+r^{3}+r^{4}+r^{6}+r^{8}+r^{9}+r^{10}+r^{12}+r^{14}+r^{15}+r^{16}+\cdots+r^{6n}. \] If \(\left|r\right|<1,\) find the limit of \(\mathrm{T}_{n}(r)\) as \(n\rightarrow\infty.\) What happens to \(\mathrm{T}_{n}(r)\) as \(n\rightarrow\infty\) in the three cases \(r>1,r=1\) and \(r=-1\)? In each case give reasons for your answer.
Solution: \begin{align*} && S &= 1 + r^2 + r^4 + \cdots + r^{2n} \\ && r^2S &= \quad \,\,\,\, r^2 + r^4 + \cdots+r^{2n}+r^{2n+2} \\ \Rightarrow && (1-r^2)S &= 1 - r^{2n+2} \\ \Rightarrow && S &= \frac{1-r^{2n+2}}{1-r^2} \end{align*} \begin{align*} && S_n(r) &= r + r^2 + r^4 + r^5 + r^7 + \cdots + r^{3n-1} \\ &&&= 1 + r + r^2 + \cdots + r^{3n} - (1 + r^3 + r^6 + r^{3n}) \\ &&&= \frac{1-r^{3n+1}}{1-r} - \frac{1-r^{3n+3}}{1-r^3} \\ \\ \Rightarrow && \lim_{n \to \infty} S_n(r) &= \frac{1-0}{1-r} - \frac{1-0}{1-r^3} = \frac{1}{1-r} - \frac{1}{1-r^3} \end{align*} \begin{align*} && T_n(r) &= 1 + r^2 + r^3 + r^4 + r^6 + \cdots + r^{6n} \\ &&&= \frac{1-r^{6n+6}}{1-r^6} + \frac{r^2-r^{6n+2}}{1-r^6} + \frac{r^3-r^{6n+3}}{1-r^6} + \frac{r^4-r^{6n+4}}{1-r^6} \\ &&&= \frac{1+r^2+r^3+r^4-r^{6n}(r^2+r^3+r^4+r^6))}{1-r^6} \\ \\ &&\lim_{n \to \infty} T_n(r) &= \frac{1+r^2+r^3+r^4}{1-r^6} \end{align*} If \(r > 1\) clear it diverges. if \(r = 1\) same story. if \(r = -1\) the sums in blocks of \(4\) are all \(1+1-1+1 = 2 > 0\) and so it also diverges.
If \(z=x+\mathrm{i}y\) where \(x\) and \(y\) are real, define \(\left|z\right|\) in terms of \(x\) and \(y\). Show, using your definition, that if \(z_{1},z_{2}\in\mathbb{C}\) then \(\left|z_{1}z_{2}\right|=\left|z_{1}\right|\left|z_{2}\right|.\) Explain, by means of a diagram, or otherwise, why \(\left|z_{1}+z_{2}\right|\leqslant\left|z_{1}\right|+\left|z_{2}\right|.\) Suppose that \(a_{j}\in\mathbb{C}\) and \(\left|a_{j}\right|\leqslant1\) for \(j=1,2,\ldots,n.\) Show that, if \(\left|z\right|\leqslant\frac{1}{2},\) then \[ \left|a_{n}z^{n}+a_{n-1}z^{n-1}+\cdots+a_{1}z\right|<1, \] and deduce that any root \(w\) of the equation \[ a_{n}z^{n}+a_{n-1}z^{n-1}+\cdots+a_{1}z+1=0 \] must satisfy \(\left|x\right|>\frac{1}{2}.\)
When he sets out on a drive Mr Toad selects a speed \(V\) kilometres per minute where \(V\) is a random variable with probability density \[ \alpha v^{-2}\mathrm{e}^{-\alpha v^{-1}} \] and \(\alpha\) is a strictly positive constant. He then drives at constant speed, regardless of other drivers, road conditions and the Highway Code. The traffic lights at the Wild Wood cross-roads change from red to green when Mr Toad is exactly 1 kilometre away in his journey towards them. If the traffic light is green for \(g\) minutes, then red for \(r\) minutes, then green for \(g\) minutes, and so on, show that the probability that he passes them after \(n(g+r)\) minutes but before \(n(g+r)+g\) minutes, where \(n\) is a positive integer, is \[ \mathrm{e}^{-\alpha n(g+r)}-\mathrm{e}^{-\alpha\left(n(g+r)\right)+g}. \] Find the probability \(\mathrm{P}(\alpha)\) that he passes the traffic lights when they are green. Show that \(\mathrm{P}(\alpha)\rightarrow1\) as \(\alpha\rightarrow\infty\) and, by noting that \((\mathrm{e}^{x}-1)/x\rightarrow1\) as \(x\rightarrow0\), or otherwise, show that \[ \mathrm{P}(\alpha)\rightarrow\frac{g}{r+g}\quad\mbox{ as }\alpha\rightarrow0. \] {[}NB: the traffic light show only green and red - not amber.{]}
A ball of mass \(m\) is thrown vertically upwards from the floor of a room of height \(h\) with speed \(\sqrt{2kgh},\) where \(k>1.\) The coefficient of restitution between the ball and the ceiling or floor is \(a\). Both the ceiling and floor are level. Show that the kinetic energy of the ball immediately before hitting the ceiling for the \(n\)th time is \[ mgh\left(a^{4n-4}(k-1)+\frac{a^{4n-4}-1}{a^{2}+1}\right). \] Hence show that the number of times the ball hits the ceiling is at most \[ 1-\frac{\ln[a^{2}(k-1)+k]}{4\ln a}. \]
Solution: \begin{align*} && \text{energy when projected} &= \frac12 m(2kgh) \\ &&&= kghm \\ && \text{energy when hitting ceiling the first time} &= mgh + \frac12 m v^2 \\ \text{COE}: && kghm &= mgh + \frac12 mv^2 \\ \Rightarrow && v^2 &= 2gh(k-1) \end{align*} It will rebound with speed \(\sqrt{2gh(k-1)}a\). \begin{align*} && \text{energy when rebounding from ceiling} &=gh(k-1)a^2 + mgh \\ && \text{energy before hitting the floor} &= \frac12 mv^2 \\ \text{COE}: && gh(k-1)a^2 + mgh &= \frac12 mv^2 \\ \Rightarrow && v^2 &= 2gh((k-1)a^2+1) \end{align*} The ball will rebound with kinetic energy \(m gh((k-1)a^2+1)a^2 = mgh((k-1)a^4+a^2)\) And will reach the ceiling with kinetic energy \(mgh((k-1)a^4+a^2-1)\). When \(n = 1\), the kinetic energy (before hitting the ceiling for the first time) is \(mgh(k-1)\). Suppose \(s_n\) is the expression for the kinetic energy divided by \(mgh\), ie \(s_1 = k-1\), then: Clearly \(s_1 = k-1 = a^{4\cdot1-4}(k-1) + \frac{a^{4\cdot-4}-1}{a^2+1}\), so our hypothesis holds for \(n=1\). Suppose it is true for \(n\), then the \(n+1\)th time it will be: \begin{align*} s_{n+1} &= s_n a^4+a^2-1 \\ &= \left ( a^{4n-4}(k-1)+\frac{a^{4n-4}-1}{a^{2}+1} \right) a^4 + a^2 - 1 \\ &= a^{4(n+1)-4}(k-1) + \frac{a^{4(n+1)-4}-a^4}{a^2+1} + \frac{a^4-1}{a^2+1} \\ &= a^{4(n+1)-4}(k-1) + \frac{a^{4(n+1)-4}-a^4+a^4-1}{a^2+1} \\ &= a^{4(n+1)-4}(k-1) + \frac{a^{4(n+1)-4}-1}{a^2+1} \end{align*} Which is our desired expression, therefore it is true by induction. We wont reach the ceiling if this energy is not positive, ie: \begin{align*} && 0 &\leq a^{4n-4}(k-1)+\frac{a^{4n-4}-1}{a^{2}+1} \\ \Rightarrow && \frac{1}{a^2+1}&\geq a^{4n-4}\left (k - 1 + \frac{1}{a^2+1} \right) \\ \Rightarrow && a^{4n-4} &\geq \frac{1}{a^2+1} \cdot \frac{1}{k - 1 + \frac{1}{a^2+1}} \\ \Rightarrow && a^{4n-4} &\geq \frac{1}{(k-1)(a^2+1)+1} \\ \Rightarrow && 4(n-1) \ln a &\geq - \ln[(k-1)(a^2+1)+1] \\ \underbrace{\Rightarrow}_{\ln a < 0} && (n-1) &\leq \frac{ - \ln[(k-1)(a^2+1)+1]}{4\ln a} \\ \Rightarrow && n & \leq 1 -\frac{ \ln[(k-1)(a^2+1)+1]}{4\ln a} \\ &&&= 1 -\frac{ \ln[(k-1)a^2+k]}{4\ln a} \end{align*}
Sum the following infinite series.
Solution:
A particle rests at a point \(A\) on a horizontal table and is joined to a point \(O\) on the table by a taut inextensible string of length \(c\). The particle is projected vertically upwards at a speed \(64\surd(6gc)\). It next strikes the table at a point \(B\) and rebounds. The coefficient of restitution for any impact between the particle and the table is \({1\over 2}\). After rebounding at \(B\), the particle will rebound alternately at \(A\) and \(B\) until the string becomes slack. Show that when the string becomes slack the particle is at height \(c/2\) above the table. Determine whether the first rebound between \(A\) and \(B\) is nearer to \(A\) or to \(B\).
Solution: \begin{align*} \text{N2}(radially): && T + mg \cos \theta &= m\frac{v^2}{r} \\ \Rightarrow && v^2-gc \cos \theta &\geq 0 \\ \text{COE}: && \frac12 m u^2 &= \frac12mv^2 + mgc\cos \theta \\ \Rightarrow && u^2 &= v^2 + 2gc\cos \theta \\ && u^2 &\geq gc \cos \theta+2gc\cos \theta \\ \Rightarrow && u^2 &\geq 3gc\cos \theta \end{align*} Therefore it will complete bounces with the string taught if it leaves the table with \(u^2 \geq 3gc\). After \(6\) bounces it will leave the table with speed \(\sqrt{6gc} > \sqrt{3gc}\) and after \(7\) bounces it will leave the table with speed \(\sqrt{\frac{3}{2} gc} < \sqrt{3 gc}\). When it leaves the table with speed \(\sqrt{\tfrac32 gc}\), the string will go slack when \begin{align*} && \tfrac32 gc &= 3gc \cos \theta \\ \Rightarrow && \cos \theta &= \frac{1}{2} \end{align*} ie at a height \(c\cos \theta = \frac12c\) above the table. Once the string goes slack, the particle travels under circular motion, \begin{align*} && u^2 &= \frac12 gc \\ \Rightarrow && u_\rightarrow &= \sqrt{\tfrac12 gc} \cos \theta \\ && u_{\uparrow} &= \sqrt{\tfrac12 gc} \sin \theta \\ \Rightarrow && s &= ut - \tfrac12 gt^2 \\ \Rightarrow && -\frac{c}{2} &= \sqrt{\tfrac12 gc} \frac{\sqrt{3}}{2} t - \tfrac12 g t^2 \\ \Rightarrow && t &= \sqrt{\frac{c}{g}} \left ( \frac{\sqrt{6}+\sqrt{22}}{4} \right) \\ \Rightarrow && s_{\rightarrow} &= \tfrac12 \sqrt{\tfrac12 gc} \sqrt{\frac{c}{g}} \left ( \frac{\sqrt{6}+\sqrt{22}}{4} \right) - \frac{\sqrt{3}}{2}c \\ &&&= \left ( \frac{\sqrt{11}-3\sqrt{3}}{8} \right)c \\ \end{align*} We need to establish whether this position is positive or negative (ie if we cross the centre line. Clearly \(\sqrt{11} < 3\sqrt{3}\) so we haven't crossed the centre line and we land closer to where we took off. Since it's the 7th take off, this is closer to \(B\).
The probability of throwing a head with a certain coin is \(p\) and the probability of throwing a tail is \(q=1-p\). The coin is thrown until at least two heads and at least two tails have been thrown; this happens when the coin has been thrown \(N\) times. Write down an expression for the probability that \(N=n\). Show that the expectation of \(N\) is $$ 2\bigg({1\over pq} -1-pq\bigg). $$
Solution: This can either occur via \(N-2\) heads and \(1\) tail in the first \(N-1\) flips, followed by a tail, or \(N-2\) tails and \(1\) head in the first \(N-1\) flips, followed by another head, ie \begin{align*} \mathbb{P}(N = n) &= \underbrace{\binom{n-1}{1}}_{\text{ways to choose when the first tail occurs}}p^{n-2}q^2 + \underbrace{\binom{n-1}{1}}_{\text{ways to choose when the first head occurs}}q^{n-2}p^2 \\ &= (n-1)p^2q^2(p^{n-4}+q^{n-4}) \\ \\ \mathbb{E}(N) &= \sum_{n=4}^{\infty} n \cdot \mathbb{P}(N = n) \\ &= \sum_{n=4}^{\infty} n \cdot (n-1)p^2q^2(p^{n-4}+q^{n-4}) \\ &= \sum_{n=4}^{\infty} n \cdot (n-1)(p^{n-2}q^2+q^{n-2}p^2) \\ &= q^2\sum_{n=4}^{\infty} n(n-1)p^{n-2}+p^2\sum_{n=4}^{\infty} n(n-1)q^{n-2} \\ &= q^2\left ( \sum_{n=2}^{\infty} n(n-1)p^{n-2} -2 \cdot 1 - 3 \cdot 2 \cdot p\right)+p^2\left ( \sum_{n=2}^{\infty} n(n-1)q^{n-2} - 2-6q\right) \\ &= q^2\left ( 2(1-p)^{-3} -2 - 6 p\right)+p^2\left ( 2(1-q)^{-3} - 2-6q\right) \\ &= q^2\left ( 2q^{-3} -2 - 6 p\right)+p^2\left ( 2p^{-3} - 2-6q\right) \\ &= \frac{2}{q} - 2q^2 - 6pq^2+\frac{2}{p} -2p^2-6p^2q \\ &= \frac{2}{q}+\frac2p - 2(p^2+q^2) - 6pq \\ &= \frac{2}{pq} - 2((p+q)^2-2pq) - 6pq \\ &= \frac{2}{pq} - 2 -2pq \\ &= 2 \left (\frac1{pq} - 1 - pq \right) \end{align*}