27 problems found
The differential equation \[\frac{d^2x}{dt^2} = 2x\frac{dx}{dt}\] describes the motion of a particle with position \(x(t)\) at time \(t\). At \(t = 0\), \(x = a\), where \(a > 0\).
Solution: Let \(v = \frac{\d x}{\d t}\) and notice that \(\frac{\d}{\d t} \left ( \frac{\d x}{\d t} \right) = \frac{\d }{\d x} \left ( v \right) \frac{\d x}{\d t} = v \frac{\d v}{\d x}\). Also notice that: \begin{align*} && v \frac{\d v}{\d x} &= 2x v \\ \Rightarrow && \frac{\d v}{\d x} &= 2x \\ \Rightarrow && v &= x^2 + C \\ \Rightarrow && \frac{\d x}{\d t} &= x^2 + C \\ \end{align*}
The coordinates of a particle at time \(t\) are \(x\) and \(y\). For \(t \geq 0\), they satisfy the pair of coupled differential equations \[ \begin{cases} \dot{x} &= -x -ky \\ \dot{y} &= x - y \end{cases}\] where \(k\) is a constant. When \(t = 0\), \(x = 1\) and \(y = 0\).
Solution:
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.
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*}
Solution:
A sphere of radius \(R\) and uniform density \(\rho_{\text{s}}\) is floating in a large tank of liquid of uniform density \(\rho\). Given that the centre of the sphere is a distance \(x\) above the level of the liquid, where \(x < R\), show that the volume of liquid displaced is \[ \frac \pi 3 (2R^3-3R^2x +x^3)\,. \] The sphere is acted upon by two forces only: its weight and an upward force equal in magnitude to the weight of the liquid it has displaced. Show that \[ 4 R^3\rho_{\text{s}} (g+\ddot x) = (2R^3 -3R^2x +x^3)\rho g\,. \] Given that the sphere is in equilibrium when \(x=\frac12 R\), find \(\rho_{\text{s}}\) in terms of \(\rho\). Find, in terms of \(R\) and \(g\), the period of small oscillations about this equilibrium position.
Given that \(\displaystyle z = y^n \left( \frac{\d y}{\d x}\right)^{\!2}\), show that \[ \frac{\d z}{\d x} = y^{n-1} \frac{\d y}{\d x} \left( n \left(\frac{\d y}{\d x}\right)^{\!2} + 2y \frac{\d^2y}{\d x^2}\right) . \]
Solution: \begin{align*} &&z &= y^n \left( \frac{\d y}{\d x}\right)^{2} \\ \Rightarrow && \frac{\d z}{\d x} &= ny^{n-1}\left( \frac{\d y}{\d x}\right)^{3} + y^{n} \cdot 2 \left( \frac{\d y}{\d x}\right) \left( \frac{\d^2 y}{\d x^2}\right) \\ &&&= y^{n-1} \left( \frac{\d y}{\d x}\right) \left (n \left( \frac{\d y}{\d x}\right)^2 + 2y \frac{\d^2 y}{\d x^2} \right) \end{align*}
A pain-killing drug is injected into the bloodstream. It then diffuses into the brain, where it is absorbed. The quantities at time \(t\) of the drug in the blood and the brain respectively are \(y(t)\) and \(z(t)\). These satisfy \[ \dot y = - 2(y-z)\,, \ \ \ \ \ \ \ \dot z = - \dot y -3z\, , \] where the dot denotes differentiation with respect to \(t\). Obtain a second order differential equation for \(y\) and hence derive the solution \[ y= A\e^{-t} + B\e ^{-6t}\,, \ \ \ \ \ \ \ z= \tfrac12 A \e^{-t} - 2 B \e^{-6t}\,, \] where \(A\) and \(B\) are arbitrary constants. \begin{questionparts} \item Obtain the solution that satisfies \(z(0)=0\) and \(y(0)= 5\). The quantity of the drug in the brain for this solution is denoted by \(z_1(t)\). \item Obtain the solution that satisfies $ z(0)=z(1)= c$, where \(c\) is a given constant. %\[ %C=2(1-\e^{-1})^{-1} - 2(1-\e^{-6})^{-1}\,. %\] The quantity of the drug in the brain for this solution is denoted by \(z_2(t)\). \item Show that for \(0\le t \le 1\), \[ z_2(t) = \sum _{n=-\infty}^{0} z_1(t-n)\,, \] provided \(c\) takes a particular value that you should find. \end {questionparts}
Solution:
Show that, if \(y=\e^x\), then \[ (x-1) \frac{\d^2 y}{\d x^2} -x \frac{\d y}{\d x} +y=0\,. \tag{\(*\)} \] In order to find other solutions of this differential equation, now let \(y=u\e^x\), where \(u\) is a function of \(x\). By substituting this into \((*)\), show that \[ (x-1) \frac{\d^2 u}{\d x^2} + (x-2) \frac{\d u}{\d x} =0\,. \tag{\(**\)} \] By setting \( \dfrac {\d u}{\d x}= v\) in \((**)\) and solving the resulting first order differential equation for \(v\), find \(u\) in terms of \(x\). Hence show that \(y=Ax + B\e^x\) satisfies \((*)\), where \(A\) and \(B\) are any constants.
Solution: \begin{align*} && y &= e^x \\ && y' &= e^x \\ && y'' &= e^x \\ \Rightarrow && (x-1)y'' - x y' + y &= (x-1)e^x - xe^x + e^x \\ &&&= 0 \end{align*} Suppose \(y = ue^x\) then \begin{align*} && y' &= u'e^x + ue^x \\ && y'' &= (u''+u')e^x + (u'+u)e^x \\ &&&= (u''+2u' +u)e^x \\ \\ && 0 &= (x-1)y'' - x y' + y \\ &&&= [(x-1)(u''+2u'+u) - x(u'+u)+u]e^x \\ &&&= [(x-1)u'' +(x-2)u']e^x \\ \Rightarrow && 0 &= (x-1)u'' + (x-2)u' \\ v = u': && 0 &= (x-1)v' + (x-2) v \\ \Rightarrow && \frac{v'}{v} &= -\frac{x-2}{x-1} \\ &&&= -1-\frac{1}{x-1} \\ \Rightarrow && \ln v &= -x - \ln(x-1) + C \\ \Rightarrow && v &= A(x-1)e^{-x} \\ && u &= \int Axe^{-x} - Ae^{-x} \d x \\ &&&= \left [-Axe^{-x} +Ae^{-x} \right] + \int Ae^{-x} \d x \\ &&&= -Axe^{-x} + D\\ \Rightarrow && y &= ue^x \\ &&&= -Ax + De^x \end{align*}
Given that \(y=x\) and \(y=1-x^2\) satisfy the differential equation $$ \frac{\d^2 {y}}{\d x^2} + \p(x) \frac{\d {y}}{\d x} + \q(x) {y}=0\;, \tag{*} $$ show that \(\p(x)= -2x(1+x^2)^{-1}\) and \(\q(x) = 2(1+x^2)^{-1}\). Show also that \(ax+b(1-x^2)\) satisfies the differential equation for any constants \(a\) and \(b\). Given instead that \(y=\cos^2(\frac{1}{2}x^2)\) and \(y=\sin^2(\frac{1}{2}x^2)\) satisfy the equation \((*)\), find \(\p(x)\) and \(\q(x)\).
Solution: \begin{align*} && y &= x \\ && y' &= 1 \\ && y'' &= 0 \\ \Rightarrow && 0 &= 0 + p(x) + xq(x) \tag{1} \\ \\ && y &= 1-x^2 \\ && y' &= -2x \\ && y'' &= -2 \\ \Rightarrow && 0 &= -2 -2x p(x)+(1-x^2)q(x) \tag{2}\\ \\ 2x*(1) +(2): && 2 &= (2x^2+1-x^2) q(x) \\ \Rightarrow && q(x) &= 2(1+x^2)^{-1} \\ \Rightarrow && p(x) &= -2x(1+x^2)^{-1} \tag{by (1)} \end{align*} \begin{align*} && \frac{\d^2}{\d x^2} \left (a x + b(1-x^2) \right) + p(x) \frac{\d}{\d x} \left (a x + b(1-x^2) \right)+q(x) \left (a x + b(1-x^2) \right) \\ &&= a \frac{\d^2 x}{\d x^2} + b \frac{\d^2}{\d x^2} \left ( 1- x^2 \right) + ap(x) \frac{\d x}{ \d x} + bp(x) \frac{\d }{\d x} \left ( 1- x^2 \right) + aq(x) x + bq(x)(1-x^2) \\ &&= a \left (\frac{\d^2 x}{\d x^2}+ p(x) \frac{\d x}{ \d x} +q(x)x\right)+b \left ( \frac{\d^2}{\d x^2} \left ( 1- x^2 \right)+ p(x) \frac{\d }{\d x} \left ( 1- x^2 \right)+q(x)(1-x^2)\right) &= 0 \end{align*} \begin{align*} && y &= \cos^2(\tfrac12 x^2) = \frac12 \left (1 + \cos(x^2) \right) \\ && y' &= -x \sin(x^2) \\ && y'' &= -2x^2 \cos(x^2)-\sin(x^2) \\ \Rightarrow && 0 &= -2x^2 \cos(x^2)-\sin(x^2)+p(x)(-x \sin(x^2)) +\frac12 \left (1 + \cos(x^2) \right)q(x) \\ \Rightarrow && 2x^2\cos(x^2)+\sin(x^2) &= -x \sin(x^2) p(x) + \frac12(1 + \cos(x^2)) q(x) \tag{3}\\ \\ && y &= \sin^2(\tfrac12 x^2) = \frac12 \left ( 1 - \cos (x^2) \right) \\ && y' &= x\sin(x^2) \\ && y'' &= 2x^2 \cos(x^2)+\sin(x^2) \\ \Rightarrow && 0 &= 2x^2 \cos(x^2)+\sin(x^2) +p(x) x \sin(x^2) + \frac12 \left ( 1 - \cos (x^2) \right)q(x)\\ \Rightarrow && -2x^2 \cos(x^2)-\sin(x^2) &= p(x) x \sin(x^2) + \frac12 \left ( 1 - \cos (x^2) \right)q(x) \tag{4}\\ (3)+(4): && 0 &= q(x) \\ \Rightarrow && p(x) &= -\frac{2x^2 \cos(x^2)+\sin(x^2)}{x \sin(x^2)} \end{align*}
Fluid flows steadily under a constant pressure gradient along a straight tube of circular cross-section of radius \(a\). The velocity \(v\) of a particle of the fluid is parallel to the axis of the tube and depends only on the distance \(r\) from the axis. The equation satisfied by \(v\) is \[\frac{1}{r}\frac{{\mathrm d}\ }{{\mathrm d}r} \left(r\frac{{\mathrm d}v}{{\mathrm d}r}\right) =-k,\] where \(k\) is constant. Find the general solution for \(v\). Show that \(|v|\rightarrow\infty\) as \(r\rightarrow 0\) unless one of the constants in your solution is chosen to be~\(0\). Suppose that this constant is, in fact, \(0\) and that \(v=0\) when \(r=a\). Find \(v\) in terms of \(k\), \(a\) and \(r\). The volume \(F\) flowing through the tube per unit time is given by \[F=2\pi\int_{0}^{a}rv\,{\mathrm d}r. \] Find \(F\).
Suppose that \(y_n\) satisfies the equations \[(1-x^2)\frac{{\rm d}^2y_n}{{\rm d}x^2}-x\frac{{\rm d}y_n}{{\rm d}x}+n^2y_n=0,\] \[y_n(1)=1,\quad y_n(x)=(-1)^ny_n(-x).\] If \(x=\cos\theta\), show that \[\frac{{\rm d}^2y_n}{{\rm d}\theta^2}+n^2y_n=0,\] and hence obtain \(y_n\) as a function of \(\theta\). Deduce that for \(|x|\leqslant1\) \[y_0=1,\quad y_1=x,\] \[y_{n+1}-2xy_n+y_{n-1}=0.\]
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*}
Show that \(y=\sin^{2}(m\sin^{-1}x)\) satisfies the differential equation \[ (1-x^{2})y^{(2)}=xy^{(1)}+2m^{2}(1-2y), \] and deduce that, for all \(n\geqslant1,\) \[ (1-x^{2})y^{(n+2)}=(2n+1)xy^{(n+1)}+(n^{2}-4m^{2})y^{(n)}, \] where \(y^{(n)}\) denotes the \(n\)th derivative of \(y\). Derive the Maclaurin series for \(y\), making it clear what the general term is.
Solution: \begin{align*} && y &= \sin^2 (m \sin^{-1} x) \\ \Rightarrow && y' &= 2 \sin (m \sin^{-1} x) \cdot \cos (m \sin^{-1} x) \cdot m \cdot \frac1{\sqrt{1-x^2}} \\ \Rightarrow && y'' &= 2 \cos^2(m \sin^{-1} x) \cdot m^2 \cdot \frac{1}{1-x^2} + \\ &&&\quad\quad-2\sin^2(m \sin^{-1} x) m^2 \frac{1}{1-x^2} + \\ &&&\quad\quad\quad-\sin(m \sin^{-1} x) \cdot \cos(m \sin^{-1} x) \cdot m \cdot (1-x^2)^{-\frac32} \cdot (-2x) \\ \Rightarrow && (1-x^2)y^{(2)} &= 2m^2-4m^2y+xy' \\ &&&= xy^{(1)} + 2m^2(1-2y) \\ \\ \Rightarrow && (1-x^2)y^{(n+2)}-2nxy^{(n+1)}-2\binom{n}{2}y^{(n)} &= xy^{(n+1)}+ny^{(n)} -4m^2y^{(n)} \\ \Rightarrow && (1-x^2)y^{(n+2)} &= (2n+1)xy^{(n+1)}+(n(n-1)+n-4m^2)y^{(n)} \\ &&&= (2n+1)xy^{(n+1)}+(n^2-4m^2)y^{(n)} \\ \end{align*} \begin{align*} && y(0) &= \sin^2(m \sin^{-1} 0) \\ &&&= \sin^2 0 = 0 \\ \\ && y'(0) &= 0 \\ && (1-0^2)y^{(2)}(0) &= 2m^2(1-2y(0)) \\ \Rightarrow && y^{(2)}(0) &= 2m^2 \\ \\ && y^{(n+2)} (0) &= (2n+1) \cdot 0 \cdot y^{(n+1)} +(n^2-4m^2)y^{(n)}(0) \\ &&&= (n^2-4m^2)y^{(n)}(0) \\ \\ && y^{(2)}(0) &= 2m^2 \\ && y^{(4)}(0) &= (4-4m^2) \cdot 2m^2 \\ &&&= -8m(m+1)m(m-1) \\ && y^{(6)}(0) &= 32m(m+2)(m+1)m(m-1)(m-2) \\ && y^{(2k)}(0) &= (-1)^{k+1}2^{2k-1}m (m+k)\cdots(m-k) \text{ if }k < m \\ \\ && y &= m^2x^2 -2m\binom{m+1}{3} x^4 + \frac{16}{3}m\binom{m+2}{5}x^6 - \cdots \\ &&&+ (-1)^{k}\frac{2^{2k}}{k+1} m \binom{m+k}{2k+1}x^{2k+2}+\cdots \\ &&&= mx^2\sum_{k=0}^{m-1} \frac{(-1)^k2^{2k}}{k+1}\binom{m+k}{2k+1}x^{2k} \end{align*}