92 problems found
A bicycle pump consists of a cylinder and a piston. The piston is pushed in with steady speed~\(u\). A particle of air moves to and fro between the piston and the end of the cylinder, colliding perfectly elastically with the piston and the end of the cylinder, and always moving parallel with the axis of the cylinder. Initially, the particle is moving towards the piston at speed \(v\). Show that the speed, \(v_n\), of the particle just after the \(n\)th collision with the piston is given by \(v_n=v+2nu\). Let \(d_n\) be the distance between the piston and the end of the cylinder at the \(n\)th collision, and let \(t_n\) be the time between the \(n\)th and \((n+1)\)th collisions. Express \(d_n - d_{n+1}\) in terms of \(u\) and \(t_n\), and show that \[ d_{n+1} = \frac{v+(2n-1)u}{v+(2n+1)u} \, d_n \;. \] Express \(d_n\) in terms of \(d_1\), \(u\), \(v\) and \(n\). In the case \(v=u\), show that \(ut_n = \displaystyle \frac {d_1} {n(n+1)}\). %%%%%Verify that \(\sum\limits_1^\infty t_n = d/u\).
The numbers \(x_n\), where \(n=0\), \(1\), \(2\), \(\ldots\) , satisfy \[ x_{n+1} = kx_n(1-x_n) \;. \]
Solution:
In a game, a player tosses a biased coin repeatedly until two successive tails occur, when the game terminates. For each head which occurs the player wins \(\pounds 1\). If \(E\) is the expected number of tosses of the coin in the course of a game, and \(p\) is the probability of a head, explain why \[ E = p \l 1 + E \r + \l 1 - p \r p \l 2 + E \r + 2 \l 1 - p \r ^2\,, \] and hence determine \(E\) in terms of \(p\). Find also, in terms of \(p\), the expected winnings in the course of a game. A second game is played, with the same rules, except that the player continues to toss the coin until \(r\) successive tails occur. Show that the expected number of tosses in the course of a game is given by the expression \(\displaystyle {1 - q^r \over p q^r}\,\), where \(q = 1 - p\).
Given that \(y = \ln ( x + \sqrt{x^2 + 1})\), show that \( \displaystyle \frac{\d y}{\d x} = \frac1 {\sqrt{x^2 + 1} }\;\). Prove by induction that, for \(n \ge 0\,\), \[ \l x^2 + 1 \r y^{\l n + 2 \r} + \l 2n + 1 \r x y^{\l n + 1 \r} + n^2 y^{\l n \r} = 0\;, \] where \(\displaystyle y^{(n)} = \frac{\d^n y}{\d x^n}\) and \(y^{(0)} =y\,\). Using this result in the case \(x = 0\,\), or otherwise, show that the Maclaurin series for \(y\) begins \[ x - {x^3 \over 6} +{3 x^5 \over 40} \] and find the next non-zero term.
Solution: \begin{align*} && y & = \ln ( x + \sqrt{x^2+1}) \\ \Rightarrow && \frac{\d y}{\d x} &= \frac{1}{x+\sqrt{x^2+1}} \cdot \frac{\d }{\d x} \left ( x + \sqrt{x^2+1} \right) \\ &&&= \frac{1}{x+\sqrt{x^2+1}} \left (1 + \frac12 \frac{2x}{\sqrt{x^2+1}} \right) \\ &&&= \frac{1}{x+\sqrt{x^2+1}} \left ( \frac{\sqrt{x^2+1} + x}{\sqrt{x^2+1}}\right) \\ &&&= \frac{1}{\sqrt{x^2+1}} \end{align*} Note that \(\displaystyle y^{(2)} = - \frac12 \frac{2x}{(x^2+1)^{3/2}} = - \frac{x}{(x^2+1)^{3/2}}\), and in particular \((x^2+1)y^{(2)} + xy^{(1)} = 0\). Now applying Leibnitz formula: \begin{align*} 0 &= \left ( (x^2+1)y^{(2)} + xy^{(1)} \right )^{(n)} \\ &= \left ( (x^2+1)y^{(2)}\right )^{(n)} + \left (xy^{(1)} \right )^{(n)} \\ &= (x^2+1)y^{(n+2)} +n2xy^{(n+1)} + \binom{n}{2}2y^{(n)} + xy^{(n+1)} + n y^{(n)} \\ &= (x^2+1)y^{(n+2)} + (2n+1)xy^{(n+1)} + (n^2-n+n)y^{(n)} \\ &= (x^2+1)y^{(n+2)} + (2n+1)xy^{(n+1)} + n^2y^{(n)} \end{align*} as required. When \(x = 0\): \begin{align*} && y(0) &= \ln(0 + \sqrt{0^2+1}) \\ &&&= \ln 1 = 0 \\ && y'(0) &= \frac{1}{\sqrt{0^2+1}} = 1 \\ && y^{(n+2)} &= -n^2 y^{(n)} \\ && y^{(2k)} &= 0 \\ && y^{(3)} &= -1 \\ && y^{(5)} &= 3^2 \\ && y^{(7)} &= - 5^2 \cdot 3^2 \\ \end{align*} Therefore the Maclaurin series about \(x = 0\) is \begin{align*} y &= x - \frac{1}{3!} x^3 + \frac{3^2}{5!} x^5 - \frac{3^2 \cdot 5^2}{7!} x^7 + \cdots \\ &= x - \frac{1}{6} x^3 + \frac{3}{1 \cdot 2 \cdot 4 \cdot 5} x^5 - \frac{5}{1 \cdot 2 \cdot 4 \cdot 2 \cdot 7} x^7 + \cdots \\ &= x - \frac{1}{6}x^3 + \frac{3}{40} x^5 - \frac{5}{56} x^7 + \cdots \end{align*}
In a game for two players, a fair coin is tossed repeatedly. Each player is assigned a sequence of heads and tails and the player whose sequence appears first wins. Four players, \(A\), \(B\), \(C\) and \(D\) take turns to play the game. Each time they play, \(A\) is assigned the sequence TTH (i.e.~Tail then Tail then Head), \(B\) is assigned THH, \(C\) is assigned HHT and \(D\) is assigned~HTT.
The sequence \(a_n\) is defined by \(a_0 = 1\) , \(a_1 = 1\) , and $$ a_n = {1 + a_{n - 1}^2 \over a_{n - 2} } \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ( n \ge 2 ) . $$ Prove by induction that $$ a_n = 3 a_{n - 1} - a_{n - 2} \ \ \ \ \ \ \ \ \ \ \ ( n \ge2 ) . $$ Hence show that $$ a_n = {\alpha^{2 n - 1} + \alpha^{- ( 2 n - 1 )} \over \sqrt 5} \ \ \ \ \ \ (n\ge1), $$ where \(\displaystyle{\alpha = {1 + \sqrt 5 \over 2}}\).
The \(n\) positive numbers \(x_{1},x_{2},\dots,x_{n}\), where \(n\ge3\), satisfy $$ x_{1}=1+\frac{1}{x_{2}}\, ,\ \ \ x_{2}=1+\frac{1}{x_{3}}\, , \ \ \ \dots\; , \ \ \ x_{n-1}=1+\frac{1}{x_{n}}\, , $$ and also $$ \ x_{n}=1+\frac{1}{x_{1}}\, . $$ Show that
The sequence \(u_0\), \(u_1\), \(u_2\), ... is defined by $$ u_0=1,\hspace{0.2in} u_1=1, \quad u_{n+1}=u_n+u_{n-1} \hspace{0.2in}{\rm for}\hspace{0.1in}n \ge 1\,. $$ Prove that $$ u^2_{n+2} + u^2_{n-1} = 2( u^2_{n+1} + u^2_n ) \,. $$ Using induction, or otherwise, prove the following result: \[ u_{2n} = u^2_n + u^2_{n-1} \quad \mbox{ and }\quad u_{2n+1} = u^2_{n+1} - u^2_{n-1} \] for any positive integer \(n\).
Solution: Claim: \(u^2_{n+2} + u^2_{n-1} = 2( u^2_{n+1} + u^2_n )\) Proof: (By Induction). (Base Case): \(n = 1\) \begin{align*} && LHS &= u_{n+2}^2 + u_{n-1}^2 \\ &&&= u_3^2 + u_0^2 \\ &&&= 3^2 + 1^2 = 10\\ && RHS &= 2(u_{n+1}^2+u_n^2) \\ &&&= 2(2^2 + 1^2) \\ &&&= 10 \end{align*} Therefore the base case is true. (Inductive hypothesis) Suppose \(u^2_{n+2} + u^2_{n-1} = 2( u^2_{n+1} + u^2_n )\) is true for some \(n = k\), ie \(u^2_{k+2} + u^2_{k-1} = 2( u^2_{k+1} + u^2_k )\), the consider \(n = k+1\) \begin{align*} && LHS &= u_{k+1+2}^2 + u_{k+1-1}^2 \\ &&&= (u_{k+1}+u_{k+2})^2+u_k^2 \\ &&&= u_{k+2}^2+u_{k+1}^2+ u_k^2 + 2u_{k+1}u_{k+2} \\ &&&= u_{k+2}^2+u_{k+1}^2+ u_k^2 + 2u_{k+1}(u_{k+1}+u_k) \\ &&&= u_{k+2}^2 + u_{k+1}^2+u_k^2+2u_{k+1}^2+2u_{k+1}u_k \\ &&&= u_{k+1}^2+2u_{k+1}^2+ u_{k+1}^2+u_k^2+2u_{k+1}u_k \\ &&&= u_{k+2}^2+2u_{k+1}^2+ (u_{k+1}+u_k)^2 \\ &&&= u_{k+2}^2+2u_{k+1}^2+ u_{k+2}^2 \\ &&&=2(u_{k+2}^2+u_{k+1}^2) \\ &&&= RHS \end{align*} Therefore it is true for \(n = k+1\). Therefore by the principle of mathematical induction it is true for all \(n \geq 1\) Claim: $ u_{2n} = u^2_n + u^2_{n-1} \quad \mbox{ and }\quad u_{2n+1} = u^2_{n+1} - u^2_{n-1} $ Proof: Notice that \(\begin{pmatrix}u_{n+1} \\ u_n \end{pmatrix}= \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}^n \begin{pmatrix}1 \\1 \end{pmatrix}\), in particular \begin{align*} && \begin{pmatrix}u_{n}& u_{n-1} \\ u_{n-1} & u_{n-2} \end{pmatrix}&= \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}^{n} \\ \Rightarrow && \begin{pmatrix}u_{2n}& u_{2n-1} \\ u_{2n-1} & u_{2n-2} \end{pmatrix}&= \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}^{2n} \\ &&&= \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}^{n} \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}^{n} \\ &&&=\begin{pmatrix}u_{n}& u_{n-1} \\ u_{n-1} & u_{n-2} \end{pmatrix}\begin{pmatrix}u_{n}& u_{n-1} \\ u_{n-1} & u_{n-2} \end{pmatrix}\\ &&&= \begin{pmatrix}u_{n}^2+u_{n-1}^2& u_{n-1}(u_n+u_{n-2}) \\ u_{n-1}(u_n+u_{n-2}) & u_{n-1}^2+u_{n-2}^2 \end{pmatrix} \end{align*} Therefore \(u_{2n} = u_{n}^2+u_{n-1}^2\) and \(u_{2n+1} = u_n(u_{n+1}+u_{n-1}) =(u_{n+1}-u_{n-1})(u_{n+1}-u_{n-1}) = u_{n+1}^2-u_{n-1}^2\)
Let \(a_{1}=\cos x\) with \(0 < x < \pi/2\) and let \(b_{1}=1\). Given that \begin{eqnarray*} a_{n+1}&=&{\textstyle \frac{1}{2}}(a_{n}+b_{n}),\\[2mm] b_{n+1}&=&(a_{n+1}b_{n})^{1/2}, \end{eqnarray*} find \(a_{2}\) and \(b_{2}\) and show that \[a_{3}=\cos\frac{x}{2}\cos^{2}\frac{x}{4} \ \quad\mbox{and}\quad \ b_{3}=\cos\frac{x}{2}\cos\frac{x}{4}.\] Guess general expressions for \(a_{n}\) and \(b_{n}\) (for \(n\ge2\)) as products of cosines and verify that they satisfy the given equations.
Solution: \begin{array}{c|c|c} n & a_n & b_n \\ \hline 1 & \cos x & 1 \\ \hline 2 & \frac12(1 + \cos x) & \sqrt{a_2} \\ &=\frac12(1+2\cos^2 \frac{x}{2}-1)& \sqrt{a_2} \\ &= \cos^2 \frac{x}{2} & \cos \frac{x}{2} \\ \hline 3 & \frac12(\cos^2 \frac{x}{2}+\cos \frac{x}{2}) & \sqrt{a_3\cos \frac{x}{2}} \\ &= \cos \frac{x}{2} \cdot \frac12 (\cos \frac{x}{2}+1) & \sqrt{a_3\cos \frac{x}{2}} \\ &= \cos \frac{x}{2} \cos^2 \frac{x}{4} & \cos \frac{x}{2} \cos \frac{x}{4} \end{array} Claim: \(\displaystyle a_n = \cos \frac{x}{2^{n-1}}\prod_{k=1}^{n-1} \cos \frac{x}{2^k}\), \(\displaystyle b_n = \prod_{k=1}^{n-1} \cos \frac{x}{2^k}\) Claim: \(a_{n+1} = \frac12(a_n + b_n)\) Proof: \begin{align*} && \frac12(a_n + b_n) &= \frac12 \left ( \cos \frac{x}{2^{n-1}}\prod_{k=1}^{n-1} \cos \frac{x}{2^k} + \prod_{k=1}^{n-1} \cos \frac{x}{2^k} \right) \\ &&&= \prod_{k=1}^{n-1} \cos \frac{x}{2^k} \frac12\left (\cos \frac{x}{2^{n-1}} + 1 \right) \\ &&&= \left ( \prod_{k=1}^{n-1} \cos \frac{x}{2^k} \right) \cos^{2} \frac{x}{2^n} \\ &&&= \cos \frac{x}{2^n} \prod_{k=1}^{n} \cos \frac{x}{2^k} \\ &= a_{n+1} \end{align*} Claim: \(b_{n+1} = \sqrt{a_{n+1}b_n}\) Proof: \begin{align*} && \sqrt{a_{n+1}b_n} &= \sqrt{ \cos \frac{x}{2^n} \prod_{k=1}^{n} \cos \frac{x}{2^k} \cdot \prod_{k=1}^{n-1} \cos \frac{x}{2^k} }\\ &&&= \prod_{k=1}^{n-1} \cos \frac{x}{2^k} \sqrt{\cos ^2\frac{x}{2^{n}}} \\ &&&= \prod_{k=1}^{n} \cos \frac{x}{2^k} \\ &&&= b_{n+1} \end{align*}
Show that the sum \(S_N\) of the first \(N\) terms of the series $$\frac{1}{1\cdot2\cdot3}+\frac{3}{\cdot3\cdot4}+\frac{5}{3\cdot4\cdot5}+\cdots +\frac{2n-1}{n(n+1)(n+2)}+\cdots$$ is $${1\over2}\left({3\over2}+{1\over N+1}-{5\over N+2}\right).$$ What is the limit of \(S_N\) as \(N\to\infty\)? The numbers \(a_n\) are such that $$\frac{a_n}{a_{n-1}}=\frac{(n-1)(2n-1)}{(n+2)(2n-3)}.$$ Find an expression for \(a_n/a_1\) and hence, or otherwise, evaluate \(\sum\limits_{n=1}^\infty a_n\) when \(\displaystyle a_1=\frac{2}{9}\;\).
Solution: First notice by partial fractions: \begin{align*} \frac{2n-1}{n(n+1)(n+2)} &= \frac{-1/2}{n} + \frac{3}{n+1} + \frac{-5/2}{n+2} \\ &= \frac{-1}{2n} + \frac{3}{n+1} - \frac{5}{2(n+2)} \end{align*} And therefore: \begin{align*} \sum_{n = 1}^N \frac{2n-1}{n(n+1)(n+2)} &= -\frac12 \sum_{n=1}^N \frac1n +3\sum_{n=1}^N \frac1{n+1} -\frac52 \sum_{n=1}^N \frac1{n+2} \\ &= -\frac12-\frac14 + \frac{3}{2}+ \sum_{n=3}^N (3-\frac12 -\frac52)\frac1n + \frac{3}{N+1} - \frac{5}{2(N+1)} - \frac{5}{2(N+2)} \\ &= \frac12 \l \frac32+\frac1{N+1}-\frac{5}{N+2} \r \end{align*} As \(N \to \infty, S_N \to \frac{3}{4}\). \begin{align*} && \frac{a_n}{a_{n-1}}&=\frac{(n-1)(2n-1)}{(n+2)(2n-3)} \\ \Rightarrow && \frac{a_n}{a_1} &= \frac{a_n}{a_{n-1}} \cdot \frac{a_{n-1}}{a_{n-2}} \cdots \frac{a_2}{a_1} \\ &&&= \frac{(n-1)(2n-1)}{(n+2)(2n-3)} \cdot \frac{(n-2)(2n-3)}{(n+1)(2n-5)} \cdots \frac{(1)(3)}{(4)(1)} \\ &&&= \frac{(2n-1)3\cdot 2\cdot 1}{(n+2)(n+1)n} \\ &&& = \frac{6(2n-1)}{n(n+1)(n+2)} \end{align*} Therefore \(a_n = \frac{4}{3} \frac{2n-1}{n(n+1)(n+2)}\) and so our sequence is \(\frac43\) the earlier sum, ie \(1\)
The integral \(I_n\) is defined by $$I_n=\int_0^\pi(\pi/2-x)\sin(nx+x/2)\,{\rm cosec}\,(x/2)\,\d x,$$ where \(n\) is a positive integer. Evaluate \(I_n-I_{n-1}\), and hence evaluate \(I_n\) leaving your answer in the form of a sum.
Solution: \begin{align*} && I_n - I_{n-1} &= \int_0^\pi \left ( \frac{\pi}{2} - x \right) \left ( \sin\left(nx + \frac{x}{2}\right) - \sin \left ((n-1)x + \frac{x}{2} \right)\right) \cosec \frac{x}{2} \d x \\ &&&= \int_0^\pi \left ( \frac{\pi}{2} - x \right) \left (2 \sin \left ( \frac{nx + \frac{x}{2} - (n-1)x - \frac{x}{2} }{2}\right)\cos nx \right) \cosec \frac{x}{2} \d x \\ &&&= \int_0^\pi \left ( \frac{\pi}{2} - x \right) \left (2 \sin \left ( \frac{x}{2}\right)\cos nx \right) \cosec \frac{x}{2} \d x \\ &&&=2 \int_0^\pi \left ( \frac{\pi}{2} - x \right) \cos nx \d x \\ &&&=\pi \left [ \frac{\sin nx}{n}\right]_0^{\pi} - 2\int_0^\pi x \cos n x \d x \\ &&&= 0 - 2\left[ \frac{x \sin nx}{n} \right]_0^{\pi} + 2\int_0^\pi \frac{\sin nx}{n} \d x \\ &&&= 2\left[ -\frac{\cos nx}{n^2} \right]_0^{\pi} \\ &&&=2 \frac{1-(-1)^{n}}{n^2} \\ \\ && I_0 &= \int_0^\pi (\pi/2 - x) \d x =0 \\ \Rightarrow && I_{2k+2} = I_{2k+1} &= 4 \left (\frac{1}{1^2} + \frac{1}{3^2} + \cdots + \frac{1}{(2k+1)^2} \right) \end{align*}
Let $$ {\rm I}(a,b) = \int_0^1 t^{a}(1-t)^{b} \, \d t \; \qquad (a\ge0,\ b\ge0) .$$
Solution:
The value \(V_N\) of a bond after \(N\) days is determined by the equation $$ V_{N+1} = (1+c) V_{N} -d \qquad (c>0, \ d>0), $$ where \(c\) and \(d\) are given constants. By looking for solutions of the form \(V_T= A k^T + B\) for some constants \(A,B\) and \(k\), or otherwise, find \(V_N\) in terms of \(V_0\). What is the solution for \(c=0\)? Show that this is the limit (for fixed \(N\)) as \(c\rightarrow 0\) of your solution for \(c>0\).
Solution: Suppose \(V_T = Ak^T + B\), then \begin{align*} && Ak^{T+1}+B &= (1+c)(Ak^T+B) - d \\ \Rightarrow && (k-1-c)Ak^T &= cB -d \\ \Rightarrow && k &= 1+c \\ && B &= \frac{d}{c} \\ && A &= V_0 - B \\ \Rightarrow && V_N &= (V_0 - \frac{d}{c})(1+c)^{N} + \frac{d}{c} \end{align*} When \(c = 0\), \(V_{N+1} = V_N - d \Rightarrow V_N = V_0 - Nd\). \begin{align*} \lim_{c \to 0} \left ( (V_0 - \frac{d}{c})(1+c)^{N} + \frac{d}{c} \right) &= \lim_{c \to 0} \left ( \frac{(V_0 c-d)(1+c)^N + d}{c} \right ) \\ &= \lim_{c \to 0} \left ( \frac{V_0c - d-Ncd+NV_0c^2 + o(c^2) + d}{c} \right ) \\ &= \lim_{c \to 0} \left ( V_0 - Nd + o(c) \right ) \\ &= V_0 - Nd \end{align*}
Let \(a_{1}=3\), \(a_{n+1}=a_{n}^{3}\) for \(n\geqslant 1\). (Thus \(a_{2}=3^{3}\), \(a_{3}=(3^{3})^{3}\) and so on.)
Solution:
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}\)