Problems

Filters
Clear Filters

10 problems found

2018 Paper 3 Q3
D: 1700.0 B: 1500.0

Show that the second-order differential equation \[ x^2y''+(1-2p) x\, y' + (p^2-q^2) \, y= \f(x) \,, \] where \(p\) and \(q\) are constants, can be written in the form \[ x^a \big(x^b (x^cy)'\big)' = \f(x) \,, \tag{\(*\)} \] where \(a\), \(b\) and \(c\) are constants.

  1. Use \((*)\) to derive the general solution of the equation \[ x^{2}y''+(1-2p)xy'+(p^2-q^{2})y=0 \] in the different cases that arise according to the values of \(p\) and \(q\).
  2. Use \((*)\) to derive the general solution of the equation \[ x^{2}y''+(1-2p)xy'+p^2y=x^{n} \] in the different cases that arise according to the values of \(p\) and \(n\).


Solution: Consider $x^a \big(x^b (x^cy)'\big)'$ then \begin{align*} x^a \big(x^b (x^cy)'\big)' &= x^a \big (bx^{b-1}(x^c y)'+x^b(x^cy)'' \big ) \\ &= x^a \big (bx^{b-1} (cx^{c-1}y + x^c y') + x^b(c(c-1)x^{c-2}y + 2cx^{c-1}y' + x^cy'') \\ &= x^{a+b+c}y'' + (2cx^{c-1+b+a}+bx^{c+b-1+a})y'+(c(b+c-1))x^{a+b+c-2} y \end{align*} So we need: \begin{align*} &&& \begin{cases} a+b+c &= 2 \\ 2c+b &= 1-2p \\ c(b+c-1) &= p^2-q^2 \end{cases} \\ \Rightarrow && c((1-2p)-2c+c-1) &=p^2-q^2 \\ \Rightarrow && c^2+2pc &= q^2-p^2 \end{align*}

2011 Paper 3 Q1
D: 1700.0 B: 1500.0

  1. Find the general solution of the differential equation \[ \frac{\d u}{\d x} - \left(\frac { x +2}{x+1}\right)u =0\,. \]
  2. Show that substituting\(y=z\e^{-x}\) (where \(z\) is a function of \(x\)) into the second order differential equation \[ (x+1) \frac{\d ^2 y}{\d x^2} + x \frac{\d y}{\d x} -y = 0 \tag{\(*\)} \] leads to a first order differential equation for \(\dfrac{\d z}{\d x}\,\). Find \(z\) and hence show that the general solution of \((*)\) is \[ y= Ax + B\e^{-x}\,, \] where \(A\) and \(B\) are arbitrary constants.
  3. Find the general solution of the differential equation \[ (x+1) \frac{\d ^2 y}{\d x^2} + x \frac{\d y}{\d x} -y = (x+1)^2 . \]


Solution:

  1. \begin{align*} && 0 &= \frac{\d u}{\d x} - \left ( \frac{x+2}{x+1} \right)u \\ \Rightarrow && \int \frac1u \d u &= \int 1 + \frac1{x+1} \d x \\ \Rightarrow && \ln |u| &= x + \ln |x+1| + C \\ \Rightarrow && u &= A(x+1)e^x \end{align*}
  2. If \(y = ze^{-x}\), \(y' = (z'-z)e^{-x}\), \(y'' = (z''-2z'+z)e^{-x}\) \begin{align*} && 0 &= (x+1) \frac{\d ^2 y}{\d x^2} + x \frac{\d y}{\d x} -y \\ y = ze^{-x}: && 0 &= (x+1) \left ( \frac{\d^2 z}{\d x^2} - 2\frac{\d z}{\d x} +z\right)e^{-x} +x \left ( \frac{\d z}{\d x} -z\right)e^{-x} - ze^{-x} \\ &&&= (x+1) \frac{\d^2 z}{\d x^2} -(x+2)\frac{\d z}{\d x} \\ \Rightarrow && \frac{\d}{\d x} \left ( \frac{\d z}{\d x}\right) &= \left ( \frac{x+2}{x+1}\right) \frac{\d z}{\d x} \end{align*} Therefore \(\frac{\d z}{\d x} = A(x+1)e^x \) and so \begin{align*} z &= A \int (x+1)e^{x} \d x \\ &= A \left ( \left [ (x+1)e^x\right] - \int e^x \d x \right) \\ &= A(x+1)e^x - Ae^x + B \\ y &= Ax + Be^{-x} \end{align*}
  3. We have found the complementary solution. To find a particular integral consider \(y = ax^2 + bx + c\), then \(y' = 2ax+b, y'' = 2a\) and we have \begin{align*} && x^2+2x+1 &= 2a(x+1) + x(2ax+b) - (ax^2+bx+c) \\ \Rightarrow && x^2+2x+1 &= ax^2+ 2ax + 2a-c \\ \Rightarrow && a = 1, &c=1 \end{align*} so the general solution should be \[ y = Ax + Be^{-x} + x^2+1 \]

1996 Paper 2 Q8
D: 1600.0 B: 1485.5

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\)

1995 Paper 1 Q8
D: 1500.0 B: 1532.8

Find functions \(\mathrm{f,g}\) and \(\mathrm{h}\) such that \[ \frac{\mathrm{d}^{2}y}{\mathrm{d}x^{2}}+\mathrm{f}(x)\frac{\mathrm{d}y}{\mathrm{d}x}+\mathrm{g}(x)y=\mathrm{h}(x)\tag{\ensuremath{*}} \] is satisfied by all three of the solutions \(y=x,y=1\) and \(y=x^{-1}\) for \(0 < x < 1.\) If \(\mathrm{f,g}\) and \(\mathrm{h}\) are the functions you have found in the first paragraph, what condition must the real numbers \(a,b\) and \(c\) satisfy in order that \[ y=ax+b+\frac{c}{x} \] should be a solution of \((*)\)?

1993 Paper 1 Q9
D: 1500.0 B: 1484.0

In the manufacture of Grandma's Home Made Ice-cream, chemicals \(A\) and \(B\) pour at constant rates \(a\) and \(b-a\) litres per second (\(0 < a < b\)) into a mixing vat which mixes the chemicals rapidly and empties at a rate \(b\) litres per second into a second mixing vat. At time \(t=0\) the first vat contains \(K\) litres of chemical \(B\) only. Show that the volume \(V(t)\) (in litres) of the chemical \(A\) in the first vat is governed by the differential equation \[ \dot{V}(t)=-\frac{bV(t)}{K}+a, \] and that \[ V(t)=\frac{aK}{b}(1-\mathrm{e}^{-bt/K}) \] for \(t\geqslant0.\) The second vat also mixes chemicals rapidly and empties at the rate of \(b\) litres per second. If at time \(t=0\) it contains \(L\) litres of chemical \(C\) only (where \(L\neq K\)), how many litres of chemical \(A\) will it contain at a later time \(t\)?


Solution: The total volume in the first vat at time \(t\) is always \(K\), since \(b\) litres per second are coming in and \(b\) litres per second are going out. \begin{align*} &&\frac{\d V}{\d t} &= \underbrace{a}_{\text{incoming chemical }A} - \underbrace{b}_{\text{outgoing volume}} \cdot \underbrace{\frac{V(t)}{K}}_{\text{fraction of outgoing which is }A} \\ &&&= a - b \frac{V}{K} \\ \Rightarrow && \int \frac{1}{a-b\frac{V}{K}}\d V &= \int \d t \\ && - \frac{K}{b} \ln |a - b \frac{V}{K}| &= t +C\\ (t,V) = (0,0): && -\frac{K}{b} \ln a &= C \\ \Rightarrow && 1-\frac{b}{a} \frac{V}{K} &= e^{-bt/K} \\ \Rightarrow && V &= \frac{aK}{b} (1 - e^{-bt/K}) \end{align*} \begin{align*} &&\frac{\d W}{\d t} &= \underbrace{b}_{\text{incoming volume}} \cdot \underbrace{\frac{a}{b} (1 - e^{-bt/K})}_{\text{incoming fraction }A} - \underbrace{b}_{\text{outgoing volume}} \cdot \underbrace{ \frac{W(t)}{L}}_{\text{fraction of outgoing which is }A} \\ &&&= a (1 - e^{-bt/K}) - b \frac{W}{L} \\ \Rightarrow && \frac{\d W}{\d t} + \frac{b}{L} W &= a (1-e^{-bt/K}) \\ && \frac{\d}{\d t} \left ( e^{b/L t} W\right) &= ae^{b/L t}(1-e^{-bt/K}) \\ \Rightarrow && W &= e^{-bt/L} \left ( \frac{aL}{b}e^{b/Lt} - \frac{a}{\frac{b}{L} - \frac{b}{K}}e^{b/L t - b/K} \right) + Ce^{-bt/L} \\ &&&= \frac{aL}{b} \left (1 - \frac{K}{K-L}e^{-b/Kt} \right)+ Ce^{-bt/L} \\ (t,W) = (0,0): && 0 &= \frac{aL}{b} \frac{-L}{K-L} + C \\ \Rightarrow && C &= \frac{aL^2}{b(K-L)} \\ \Rightarrow && W &= \frac{aL}{b} \left (1 - \frac{K}{K-L} e^{-bt/K} + \frac{L}{K-L} e^{-bt/L} \right) \end{align*}

1991 Paper 2 Q12
D: 1600.0 B: 1500.0

A particle is attached to one end \(B\) of a light elastic string of unstretched length \(a\). Initially the other end \(A\) is at rest and the particle hangs at rest at a distance \(a+c\) vertically below \(A\). At time \(t=0\), the end \(A\) is forced to oscillate vertically, its downwards displacement at time \(t\) being \(b\sin pt\). Let \(x(t)\) be the downwards displacement of the particle at time \(t\) from its initial equilibrium position. Show that, while the string remains taut, \(x(t)\) satisfies \[ \frac{\mathrm{d}^{2}x}{\mathrm{d}t^{2}}=-n^{2}(x-b\sin pt), \] where \(n^{2}=g/c\), and that if \(0 < p < n\), \(x(t)\) is given by \[ x(t)=\frac{bn}{n^{2}-p^{2}}(n\sin pt-p\sin nt). \] Write down a necessary and sufficient condition that the string remains taut throughout the subsequent motion, and show that it is satisfied if \(pb < (n-p)c.\)

1991 Paper 3 Q5
D: 1700.0 B: 1500.0

The curve \(C\) has the differential equation in polar coordinates \[ \frac{\mathrm{d}^{2}r}{\mathrm{d}\theta^{2}}+4r=5\sin3\theta,\qquad\text{for }\quad\frac{\pi}{5}\leqslant\theta\leqslant\frac{3\pi}{5}, \] and, when \(\theta=\dfrac{\pi}{2},\) \(r=1\) and \(\dfrac{\mathrm{d}r}{\mathrm{d}\theta}=-2.\) Show that \(C\) forms a closed loop and that the area of the region enclosed by \(C\) is \[ \frac{\pi}{5}+\frac{25}{48}\left[\sin\left(\frac{\pi}{5}\right)-\sin\left(\frac{2\pi}{5}\right)\right]. \]


Solution: First we seek the complementary function. \begin{align*} && \frac{\mathrm{d}^{2}r}{\mathrm{d}\theta^{2}}+4r &= 0 \\ \Rightarrow && r &= A \sin 2\theta + B \cos 2 \theta \end{align*} Next we seek a particular integral, of the form \(r = C \sin 3 \theta\). \begin{align*} && \frac{\mathrm{d}^{2}r}{\mathrm{d}\theta^{2}}+4r &= 5 \sin 3 \theta \\ \Rightarrow && -9C \sin 3 \theta + 4C \sin 3 \theta &= 5 \sin 3 \theta \\ \Rightarrow && C &= -1 \\ \end{align*} So our general solution is \(A \sin 2\theta + B \cos 2 \theta -\sin 3 \theta\). Plugging in boundary conditions we obtain: \begin{align*} \theta = \frac{\pi}{2}, r = 1: &&1 &= -B +1 \\ \Rightarrow && B &= 0 \\ \theta = \frac{\pi}{2}, \frac{\d r}{\d \theta} = -2: && -2 &= -2A \\ \Rightarrow && A &= 1 \end{align*} So the general solution is \(r = \sin 2 \theta - \sin 3 \theta = 2 \sin \left ( \frac{-\theta}{2} \right) \cos \left (\frac{5 \theta}{2} \right)\) First notice that for \(\theta \in \left [\frac{\pi}{5}, \frac{3 \pi}{5} \right]\) this is positive, and it is zero on the end points, therefore we are tracing out a a loop. The area of the loop will be: \begin{align*} A &= \int_{\pi/5}^{3\pi/5} \frac12 \left ( \sin 2 \theta - \sin 3 \theta \right)^2 \d \theta \\ &= \frac12\int_{\pi/5}^{3\pi/5} \sin^2 2\theta + \sin^2 3 \theta - 2 \sin 2 \theta \cos 3 \theta \d \theta \\ &= \frac12\int_{\pi/5}^{3\pi/5} \frac{1-2 \cos 4 \theta}{2} + \frac{1-2 \cos6 \theta}{2} - \sin5 \theta-\cos\theta \d \theta \\ &= \frac12 \left [\theta - \frac14 \sin 4 \theta-\frac16 \sin 6 \theta + \frac15 \cos 5 \theta - \sin \theta \right]_{\pi/5}^{3\pi/5} \\ &= \frac{\pi}{5} +\frac{25}{48}\left [ \sin\left(\frac{\pi}{5}\right)-\sin\left(\frac{2\pi}{5}\right) \right] \end{align*}

1989 Paper 3 Q8
D: 1700.0 B: 1484.0

Given that \[ \frac{\mathrm{d}x}{\mathrm{d}t}=4(x-y)\qquad\mbox{ and }\qquad\frac{\mathrm{d}y}{\mathrm{d}t}=x-12(\mathrm{e}^{2t}+\mathrm{e}^{-2t}), \] obtain a differential equation for \(x\) which does not contain \(y\). Hence, or otherwise, find \(x\) and \(y\) in terms of \(t\) given that \(x=y=0\) when \(t=0\).


Solution: \begin{align*} && \frac{\d x}{\d t} &= 4(x-y) \\ && \frac{\d y}{\d t} &= x - 12(e^{2t}+e^{-2t}) \\ \Rightarrow && \frac{\d^2 x}{\d t^2} &= 4 \frac{\d x}{\d t}-4\frac{\d y}{\d t} \\ &&&= 4 \frac{\d x}{\d t}-4 \left ( x - 12(e^{2t}+e^{-2t}) \right) \\ \Rightarrow && \frac{\d^2 x}{\d t^2} - 4 \frac{\d x}{\d t}+4x &= 48 (e^{2t}+e^{-2t}) \end{align*} This differential equation has characteristic polynomial \(\lambda^2 - 4\lambda + 4 = (\lambda-2)^2\). Therefore we should expect a general solution of \((At+B)e^{2t}\). For particular integrals we should try \(ke^{-2t}\) and \(Ct^2 e^{2t}\). For the former, we have: \begin{align*} && 48 &= 4k+8k+k \\ \Rightarrow && k &= \frac{48}{13} \end{align*} For the latter we have: \begin{align*} &&4Ct^2e^{2t} -4C(2te^{2t}+2t^2e^{2t})+2C((1+2t)e^{2t}+2t^2e^{2t}) &= 48e^{2t} \\ \Rightarrow && 2C &= 48 \\ \Rightarrow && C &= 24 \end{align*} Therefore the solution should be: \begin{align*} x = (At+B)e^{2t} + \frac{48}{13}e^{-2t} + 24t^2 e^{2t} \\ x(0) = B + \frac{48}{13} \\ x'(0) = 2B+A-\frac{96}{13} \\ x =\frac{48}{13}((4t-1)e^{2t}+e^{-2t})+24t^2e^{2t} \\ y = x - \frac{1}{4} \frac{\d x}{\d t} \end{align*}

1988 Paper 3 Q15
D: 1700.0 B: 1486.2

Each day, books returned to a library are placed on a shelf in order of arrival, and left there. When a book arrives for which there is no room on the shelf, that book and all books subsequently returned are put on a trolley. At the end of each day, the shelf and trolley are cleared. There are just two-sizes of book: thick, requiring two units of shelf space; and thin, requiring one unit. The probability that a returned book is thick is \(p\), and the probability that it is thin is \(q=1-p.\) Let \(M(n)\) be the expected number of books that will be put on the shelf, when the length of the shelf is \(n\) units and \(n\) is an integer, on the assumption that more books will be returned each day than can be placed on the shelf. Show, giving reasoning, that

  1. \(M(0)=0;\)
  2. \(M(1)=q;\)
  3. \(M(n)-qM(n-1)-pM(n-2)=1,\) for \(n\geqslant2.\)
Verify that a possible solution to these equations is \[ M(n)=A(-p)^{n}+B+Cn, \] where \(A,B\) and \(C\) are numbers independent of \(n\) which you should express in terms of \(p\).


Solution:

  1. \(M(0) = 0\) since if there's no space on the shelf, we wont be able to put any books on the shelf.
  2. If the shelf has length \(1\) it can only fit a thin book. For a thin book to be placed on the shelf, the very first book which comes to be placed must be thin. But this happens with probability \(q\). Therefore \(M(1) = q\).
  3. Suppose no books have been placed on the shelf, then with probability \(p\) a large book gets placed on the shelf, and the expected number of books to be placed on the shelf is equivalent to how many books will be placed on the shelf if the shelf only had \(n-2\) spaces. This is \(M(n-2)\). Similar if the book which arrives first is thin (with probability \(q\)) then there will be \(M(n-1)\) more books placed on the shelf in expectation. We've just added \(1\) more book, therefore \(M(n) = 1+pM(n-2) + qM(n-1)\) or rearranging \(M(n) - qM(n-1) - pM(n-2) = 1\).
Suppose \(M(n) = (-p)^n\), notice that: \begin{align*} M(n) - qM(n-1) - pM(n-2) &= (-p)^n - (1-p)(-p)^n - p(-p)^{n-2} \\ &= (-p)^{n-2}(p^2+(1-p)p-p) \\ &= 0 \end{align*} Suppose \(M(n) = B\), notice that: \begin{align*} M(n) - qM(n-1) - pM(n-2) &= B - (1-p)B - pB \\ &= 0 \end{align*} Finally, if \(M(n) = Cn\) notice that: \begin{align*} M(n) - qM(n-1) - pM(n-2) &= Cn - (1-p)C(n-1) - pC(n-2) \\ &= C(n(1-(1-p)+p)+(1-p)+2p) \\ &= C(1+p) \end{align*} Therefore if \(C = \frac{1}{1+p}\) we have that: \(M(n) = A(-p)^n + B + Cn\) satisfies our recurrence. We also need \(M(0) = 0\) and \(M(1) = q\) \begin{align*} 0 &= M(0) \\ &= A + B \\ 1-p &= M(1) \\ &= -pA+B \end{align*} \((1+p)A = p-1 \Rightarrow A = \frac{p-1}{1+p}, B = \frac{1-p}{1+p}\). Therefore: \[ M(n) = -\frac{1-p}{1+p}(-p)^n + \frac{1-p}{1+p} + \frac{n}{1+p} \] is a possible solution to this equation

1987 Paper 3 Q6
D: 1500.0 B: 1500.0

The functions \(x(t)\) and \(y(t)\) satisfy the simultaneous differential equations \begin{alignat*}{1} \dfrac{\mathrm{d}x}{\mathrm{d}t}+2x-5y & =0\\ \frac{\mathrm{d}y}{\mathrm{d}t}+ax-2y & =2\cos t, \end{alignat*} subject to \(x=0,\) \(\dfrac{\mathrm{d}y}{\mathrm{d}t}=0\) at \(t=0.\) Solve these equations for \(x\) and \(y\) in the case when \(a=1\). Without solving the equations explicitly, state briefly how the form of the solutions for \(x\) and \(y\) if \(a>1\) would differ from the form when \(a=1.\)


Solution: Letting \(\mathbf{x} =\begin{pmatrix} x(t) \\ y(t) \end{pmatrix}\) and \(\mathbf{A} = \begin{pmatrix} -2 & 5 \\ -a & 2 \end{pmatrix}\) then our differential equation is \(\mathbf{x}' = \mathbf{Ax} + \begin{pmatrix} 0 \\2 \cos t \end{pmatrix}\). Looking at the eigenvalues of \(\mathbf{A}\), we find: \begin{align*} && \det \begin{pmatrix} -2-\lambda & 5 \\ -a & 2 -\lambda \end{pmatrix} &= (\lambda^2-4)+5a\\ &&&= \lambda^2 +5a-4 \end{align*} Therefore if \(a = 1\), \(\lambda = \pm i\). In which case we should expect the complementary solutions to be of the form \(\mathbf{x} = \begin{pmatrix} A \sin t + B \cos t \\ C \sin t + D \cos t \end{pmatrix}\). The first equation tells us that \((A-5D+B)\cos t + (-B+5C)\sin t=0\) so the complementary solution is:\(\mathbf{x} = \begin{pmatrix} 5(D-C) \sin t + 5C \cos t \\ C \sin t + D \cos t \end{pmatrix}\). Looking for a particular integral, we should expect to try something like \(\mathbf{x} = \begin{pmatrix} Et\cos t+Ft\sin t\\ Gt\cos t+Ht \sin t\end{pmatrix}\) and we find