77 problems found
Two sequences are defined by \(a_1 = 1\) and \(b_1 = 2\) and, for \(n \ge 1\), \begin{equation*} \begin{split} a_{n+1} & = a_n+ 2b_n \,, \\ b_{n+1} & = 2a_n + 5b_n \,. \end{split} \end{equation*} Prove by induction that, for all \(n \ge 1\), \[ a_n^2+2a_nb_n - b_n^2 = 1 \,. \tag{\(*\)}\]
Solution: Claim \(a_n^2+2a_nb_n - b_n^2 = 1\) for all \(n \geq 1\) Proof: (By induction) Base case: (\(n = 1\)). When \(n = 1\) we have \(a_1^2 + 2a_1 b_1-b_1^2 = 1^2+2\cdot1\cdot2-2^2 = 1\) as required. (Inductive step). Now we assume our result is true for some \(n =k\), ie \(a_k^2+2a_kb_k - b_k^2 = 1\), now consider \(n = k+1\) \begin{align*} && a_{k+1}^2+2a_{k+1}b_{k+1} - b_{k+1}^2 &= (a_k+2b_k)^2+2(a_k+2b_k)(2a_k+5b_k) - (2a_k+5b_k)^2 \\ &&&= a_k^2+4a_kb_k+4b_k^2 +4a_k^2+18a_kb_k+20b_k^2 - 4a_k^2-20a_kb_k-25b_k^2 \\ &&&= (1+4-4)a_k^2+(4+18-20)a_kb_k +(4+20-25)b_k^2 \\ &&&= a_k^2+2a_kb_k -b_k^2 = 1 \end{align*} Therefore since our statement is true for \(n = 1\) and when it is true for \(n=k\) it is true for \(n=k+1\) by the POMI it is true for \(n \geq 1\)
I have a sliced loaf which initially contains \(n\) slices of bread. Each time I finish setting a STEP question, I make myself a snack: either toast, using one slice of bread; or a sandwich, using two slices of bread. I make toast with probability \(p\) and I make a sandwich with probability \(q\), where \(p+q=1\), unless there is only one slice left in which case I must, of course, make toast. Let \(s_r\) (\(1 \le r \le n\)) be the probability that the \(r\)th slice of bread is the second of two slices used to make a sandwich and let \(t_r\) (\(1 \le r \le n\)) be the probability that the \(r\)th slice of bread is used to make toast. What is the value of \(s_1\)? Explain why the following equations hold: \begin{align*} \phantom{\hspace{2cm} (2\le r \le n-1)} t_r &= (s_{r-1}+ t_{r-1})\,p \hspace{2cm} (2\le r \le n-1)\,; \\ \phantom{\hspace{1.53cm} (2\le r \le n) } s_r &= 1- (s_{r-1} + t_{r-1}) \hspace{1.53cm} ( 2\le r \le n )\,. \end{align*} Hence, or otherwise, show that \(s_{r} = q(1-s_{r-1})\) for \(2\le r\le n-1\). Show further that \[ \phantom{\hspace{2.7cm} (1\le r\le n)\,,} s_r = \frac{q+(-q)^r}{1+q} \hspace{2.7cm} (1\le r\le n-1)\,, \, \hspace{0.14cm} \] and find the corresponding expression for \(t_r\). Find also expressions for \(s_n\) and \(t_n\) in terms of \(q\).
Solution: The \(1\)st slice of bread can only be the first slice in a sandwich or a slice of toast. Therefore \(s_1 = 0\) \begin{align*} && t_r &= \underbrace{s_{r-1}}_{r-1\text{th is the end of a sandwich}} \cdot \underbrace{p}_{\text{and we make toast}} + \underbrace{t_{r-1}}_{r-1\text{th is toast}} \cdot \underbrace{p}_{\text{and we make toast}} \\ &&&= (s_{r-1}+t_{r-1})p \\ \\ && s_r &= 1-\mathbb{P}(\text{previous slice is not the first of a sandwich}) \\ &&&= 1-(s_{r-1} + t_{r-1}) \\ \\ \Rightarrow && s_r &= 1 - \frac{t_r}{p} \\ \Rightarrow && t_r &= p - ps_r \\ \Rightarrow && s_r &= 1 - s_{r-1} - (p-ps_{r-1}) \\ &&&= 1 -p -(1-p)s_{r-1} \\ &&&= q(1-s_{r-1}) \end{align*} Therefore since \(s_r + qs_{r-1} = q\) we should look for a solution of the form \(s_r = A(-q)^r + B\). The particular solution will have \((1+q)B = q \Rightarrow B = \frac{q}{1+q}\), the initial condition will have \(s_1 = \frac{q}{1+q} +A(-q) = 0 \Rightarrow q = \frac{1}{1+q}\), so we must have \begin{align*} && s_r &= \frac{q+(-q)^r}{1+q}\\ \Rightarrow && t_r &= p(1-s_r) \\ &&&= p \frac{1+q-q-(-q)^r}{1+q} \\ &&&= \frac{(1-q)(1-(-q)^r)}{1+q} \\ && s_n &= 1-\frac{q+(-q)^{n-1}}{1+q} - \frac{p(1-(-q)^{n-1})}{1+q} \\ &&&= 1-\frac{1+(1-p)(-q)^{n-1}}{1+q}\\ &&&= 1-\frac{1-(-q)^n}{1+q}\\ &&&= \frac{q+(-q)^n}{1+q}\\ && t_n &=1-s_n \\ &&&=\frac{1-(-q)^n}{1+q} \end{align*}
Note: In this question you may use without proof the result \( \dfrac{\d \ }{\d x}\big(\!\arctan x \big) = \dfrac 1 {1+x^2}\,\). Let \[ I_n = \int_0^1 x^n \arctan x \, \d x \;, \] where \(n=0\), 1, 2, 3, \(\ldots\) .
Solution:
Let \[ S_n = \sum_{r=1}^n \frac 1 {\sqrt r \ } \,, \] where \(n\) is a positive integer.
Solution:
Let \[ \displaystyle I_n= \int_{-\infty}^\infty \frac 1 {(x^2+2ax+b)^n} \, \d x \] where \(a\) and \(b\) are constants with \(b > a^2\), and \(n\) is a positive integer.
Solution:
Solution:
Show that:
Solution:
Three rods have lengths \(a\), \(b\) and \(c\), where \(a< b< c\). The three rods can be made into a triangle (possibly of zero area) if \(a+b\ge c\). Let \(T_{n}\) be the number of triangles that can be made with three rods chosen from \(n\) rods of lengths \(1\), \(2\), \(3\), \(\ldots\) , \(n\) (where \(n\ge3\)). Show that \(T_8-T_7 = 2+4+6\) and evaluate \(T_8 -T_6\). Write down expressions for \(T_{2m}-T_{2m-1}\) and \(T_{2m} - T_{2m-2}\). Prove by induction that \(T_{2m}=\frac 16 m (m-1)(4m+1)\,\), and find the corresponding result for an odd number of rods.
Solution: Every \(T_7\) triangle is valid, so we are interested in new triangles which have \(8\) has a longest side. We can have: \begin{array}{c|c|c} \text{longest} & \text{middle} & \text{shortest} \\ \hline 8 & 7 & 1-6 \\ 8 & 6 & 2-5 \\ 8 & 5 & 3-4 \end{array} which is \(6+4+2\) extra triangles. The new ones excluding all the sixes are: \begin{array}{c|c|c} \text{longest} & \text{middle} & \text{shortest} \\ \hline 8 & 7 & 1-6 \\ 8 & 6 & 2-5 \\ 8 & 5 & 3-4 \\ 7 & 6 & 1-5 \\ 7 & 5 & 2-4 \\ 7 & 4 & 3 \\ \end{array} Ie \(2+4+6 + 1 + 3+5\) \(T_{2m}-T_{2m-1} = 2 \frac{(m-1)m}{2} = m(m-1)\) and \(T_{2m}-T_{2m-2} = \frac{(2m-2)(2m-1)}{2}\) \(T_4 = 3\) (\(1,2,3\), \(1,3,4\), \(2,3,4\)) and \(\frac16 \cdot 2 \cdot 1 \cdot 9 = 3\) so the base case holds. Suppose it's true for some \(m = k\), then \begin{align*} && T_{2(k+1)} &= T_{2k} + \frac{2m(2m+1)}{2} \\ &&&= \frac{m(m-1)(4m+1)}{6} + \frac{6m(2m+1)}{6}\\ &&&= \frac{m(4m^2-3m-1+12m+6)}{6} \\ &&&= \frac{m(4m^2+9m+5)}{6}\\ &&&= \frac{m(4m+5)(m+1)}{6}\\ &&&= \frac{(m+1-1)(4(m+1)+5)(m+1)}{6}\\ \end{align*} as required, therefore it is true by induction. For odd numbers, we can see that \(T_{2m-1} = \frac{m(m-1)(4m+1)}{6} - m(m-1) = \frac{m(m-1)(4m-5)}{6}\)
In this question, the \(\mathrm{arctan}\) function satisfies \(0\le \arctan x <\frac12 \pi\) for \(x\ge0\,\).
Solution:
An operator \(\rm D\) is defined, for any function \(\f\), by \[ {\rm D}\f(x) = x\frac{\d\f(x)}{\d x} .\] The notation \({\rm D}^n\) means that \(\rm D\) is applied \(n\) times; for example \[ \displaystyle {\rm D}^2\f(x) = x\frac{\d\ }{\d x}\left( x\frac{\d\f(x)}{\d x} \right) \,. \] Show that, for any constant \(a\), \({\rm D}^2 x^a = a^2 x^a\,\).
Solution: \begin{align*} {\mathrm D}^2 x^a &= x\frac{\d\ }{\d x}\left( x\frac{\d}{\d x} \left ( x^a \right) \right) \\ &= x\frac{\d\ }{\d x}\left( ax^a \right) \\ &= a^2 x^a \end{align*}
Solution:
By simplifying \(\sin(r+\frac12)x - \sin(r-\frac12)x\) or otherwise show that, for \(\sin\frac12 x \ne0\), \[ \cos x + \cos 2x +\cdots + \cos nx = \frac{\sin(n+\frac12)x - \sin\frac12 x}{2\sin\frac12x}\,. \] The functions \(S_n\), for \(n=1, 2, \dots\), are defined by \[ S_n(x) = \sum_{r=1}^n \frac 1 r \sin rx \qquad (0\le x \le \pi). \]
Solution: \begin{align*} && \sin(r + \tfrac12)x - \sin(r - \tfrac12) x &= \sin rx \cos \tfrac12x + \cos r x\sin\tfrac12x - \sin r x \cos \tfrac12 x + \cos rx \sin \tfrac12 x \\ &&&= 2\cos r x \sin\tfrac12 x \\ \\ && S &= \cos x + \cos 2x + \cdots + \cos n x \\ && 2\sin \tfrac12 x S &= \sin(1 + \tfrac12)x - \sin \tfrac12 x + \\ &&&\quad+ \sin(2+\tfrac12)x - \sin(2- \tfrac12)x + \\ &&&\quad+ \sin(3+\tfrac12)x - \sin(3 - \tfrac12)x + \\ &&& \quad + \cdots + \\ &&&\quad + \sin(n+\tfrac12)x - \sin(n-\tfrac12)x \\ &&&=\sin(n+\tfrac12)x - \sin\tfrac12 x \\ \Rightarrow && S &= \frac{\sin(n+\tfrac12)x - \sin\tfrac12 x}{2 \sin \tfrac12 x} \end{align*}
For \(n\ge 0\), let \[ I_n = \int_0^1 x^n(1-x)^n\d x\,. \]
Solution:
In this question, the following theorem may be used. Let \(u_1\), \(u_2\), \(\ldots\) be a sequence of (real) numbers. If the sequence is bounded above (that is, \(u_n\le b\) for all \(n\), where \(b\) is some fixed number) and increasing (that is, \(u_n \ge u_{n-1}\) for all \(n\)), then the sequence tends to a limit (that is, converges). The sequence \(u_1\), \(u_2\), \(\ldots\) is defined by \(u_1=1\) and \[ u_{n+1} = 1+\frac 1{u_n} \ \ \ \ \ \ \ \ \ \ (n\ge1)\,. \tag{\(*\)} \]
Solution:
In this question, \(\vert x \vert <1\) and you may ignore issues of convergence.
Solution: