32 problems found
Note: You may assume that if the functions \(y_1(x)\) and \(y_2(x)\) both satisfy one of the differential equations in this question, then the curves \(y = y_1(x)\) and \(y = y_2(x)\) do not intersect.
Solution:
The functions \(\s\) and \(\c\) satisfy \(\s(0)= 0\,\), \(\c(0)=1\,\) and \[ \s'(x) = \c(x)^2 ,\] \[ \c'(x)=-\s(x)^2. \] You may assume that \(\s\) and \(\c\) are uniquely defined by these conditions.
Solution: \begin{questionparts} \item \begin{align*} && \dfrac{\d }{\d x} \left( \s(x)^3 + \c(x)^3 \right) &= 3\s(x)^2\s'(x) + 3\c(x)^2 \c'(x) \\ &&&= 3\s(x)^2\c(x)^2 - 3\c(x)^2\s(x)^2 \\ &&&= 0 \\ \\ \Rightarrow && \s(x)^3 + \c(x)^3 &= \text{constant} \\ &&&= \s(0)^3 + \c(0)^3 \\ &&&= 1 \end{align*} \item \begin{align*} \frac{\d }{\d x} \, \Big( \s(x) \c(x) \Big) &= \s'(x) \c(x) + \s(x)\c'(x) \\ &= \c(x)^3 - \s(x)^3 \\ &= \c(x)^3 - (1-\c(x)^3) \\ &= 2\c(x)^3 - 1 \\ \\ \dfrac{\d }{\d x} \left( \dfrac{\s(x)}{\c(x)} \right) &= \frac{\s'(x)\c(x) - \s(x)\c'(x)}{\c(x)^2} \\ &= \frac{\c(x)^3 + \s(x)^3}{\c(x)^2} \\ &= \frac{1}{\c(x)^2} \\ \end{align*} \item \begin{align*} \int \s(x)^2 \d x &= -\int -\s(x)^2 \d x \\ &= -\int \c'(x) \d x \\ &= - \s(x) +C \\ \\ \int \s(x)^5 \, \d x &= \int \s(x)^2 \s(x)^3 \d x \\ &= \int \s(x)^2 (1 - \c(x)^3) \d x \\ &= -\int \c'(x) (1 - \c(x)^3) \d x \\ &= - c(x) + \frac{\c(x)^4}{4} + C \end{align*} \item If \(u = \s(x), \frac{\d u}{\d x} = \c(x)^2\) \begin{align*} \int \frac{1}{(1-u^3)^{\frac{2}{3}}} \, \d u &= \int \frac{1}{(1-\s(x)^3)^{\frac{2}{3}}} \c(x)^2 \d x \\ &= \int 1 \d x \\ &= x + C \\ &= \s^{-1}(u) + C \\ \\ \int \frac{1}{{(1-u^3)^{\frac{4}{3}}}} \d u &= \int \frac1{(1-\s(x)^3)^{\frac43} }\c(x)^2 \d x \\ &= \int \frac1{(\c(x)^3)^{\frac43}} \c(x)^2 \d x \\ &= \int \frac1{\c(x)^2} \d x \\ &= \frac{\s(x)}{\c(x)} + C \\ &= \frac{u}{(1-u^3)^{\frac13}} + C \\ \end{align*} \begin{align*} && \int {(1-u^3)}^{\frac{1}{3}} \, \d u &= \int (1-s(x)^3)^{\frac13} c(x)^2 \d x \\ &&&= \int \c(x)^3 \d x = I\\ &&&= \int \c(x) s'(x) \d x \\ &&&= \left [\c(x) \s(x) \right] + \int \s(x)^2 s(x) \d x \\ &&&= \c(x) \s(x) + \int (1 - \c(x)^3) \d x + C \\ &&&= \c(x) \s(x) + x - I + C \\ \Rightarrow && I &= \frac{x + \c(x) \s(x)}{2} + k \\ \Rightarrow && &= \frac12 \l \s^{-1}(u) + u \sqrt[3](1-u^3)\r + k \end{align*}
Solution:
Given that \(y=xu\), where \(u\) is a function of \(x\), write down an expression for \(\dfrac {\d y}{\d x}\).
Solution: \begin{align*} \frac{\d y}{\d x} &= \frac{\d }{\d x} \l y \r \\ &= \frac{\d }{\d x} \l xu \r \\ &\underbrace{=}_{\text{product rule}} \frac{\d}{\d x} \l x \r u + x \frac{\d}{\d x} \l u \r \\ &= u + x \frac{\d u}{\d x} \end{align*} \begin{questionparts} \item \begin{align*} && \frac{\d y}{\d x} &= \frac{2y + x}{y - 2x} \\ && u + x \frac{\d u}{\d x} &= \frac{2u + 1}{u - 2} \\ && x \frac{\d u}{\d x} &= \frac{2u-1-u^2+2u}{u-2} \\ \Rightarrow && \int \frac{2-u}{u^2-4u+1} \d u &= \int \frac{1}{x} \d x \\ && \int \frac{2-u}{(u-2)^2-5} \d u &= \int \frac1x \d x \\ && -\frac12\ln| (u-2)^2 - 5| &= \ln x + C \\ (x,y) = (1,1): && - \ln 2 &= C \\ \Rightarrow && \ln x^2 &= \ln 4 - \ln |5 - (u-2)^2| \\ \Rightarrow && x^2 &= \frac{4}{5- (u-2)^2} \\ \Rightarrow && 4 & = x^2(5 - (\frac{y}{x} - 2)^2) \\ &&&= 5x^2 - (y-2x)^2 \\ &&&= x^2+4xy-y^2 \end{align*} \item It would be convienient if \(x-2y -4 = X-2Y\) and \(2x+y-3 = 2X+Y\), ie \(a-2b = 4\) and \(2a+b = 3\), ie \(a = 2, b = -1\). Now our differential equation is: \begin{align*} && \frac{\d Y}{\d X} &= \frac{X - 2Y}{2X+Y} \\ && \frac{\d X}{\d Y} &= \frac{2X + Y}{X-2Y} \end{align*} This is the same differential equation we have already solved, just with the roles of \(x\) and \(y\) interchanged with \(Y\) and \(X\) and with the point \((0,3)\) being on the curve, ie: \(Y^2 + 4XY-X^2 = c\) and \(c = 9\), therefore our equation is: \[ (y-1)^2 + 4(y-1)(x+2)-(x+2)^2 = 9\]
Solution:
Solution:
In this question, you may assume that \(\ln (1+x) \approx x -\frac12 x^2\) when \(\vert x \vert \) is small. The height of the water in a tank at time \(t\) is \(h\). The initial height of the water is \(H\) and water flows into the tank at a constant rate. The cross-sectional area of the tank is constant.
Solution:
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*}
In this question, \(p\) denotes \(\dfrac{\d y}{\d x}\,\).
Show that, if \(y^2 = x^k \f(x)\), then $\displaystyle 2xy \frac{\mathrm{d}y }{ \mathrm{d}x} = ky^2 + x^{k+1} \frac{\mathrm{d}\f }{ \mathrm{d}x}$\,.
Find the general solution of the differential equation \(\displaystyle \frac{\mathrm{d}y}{\mathrm{d}x} = -\frac{xy}{x^2+a^2}\;\), where \(a\ne0\,\), and show that it can be written in the form \(\displaystyle y^2(x^2+a^2)= c^2\,\), where \(c\) is an arbitrary constant. Sketch this curve. Find an expression for \(\displaystyle \frac{\mathrm{d}}{\mathrm{d}x} (x^2+y^2)\) and show that \[ \frac{\mathrm{d^2}}{\mathrm{d}x^2} (x^2+y^2) = 2\left(1 -\frac {c^2}{(x^2+a^2)^2} \right) + \frac{8c^2x^2}{(x^2+a^2)^3}\;. \]
Solution: \begin{align*} && \frac{\d y}{\d x} &= - \frac{xy}{x^2+a^2} \\ \Rightarrow && \int \frac{1}{y} \d y &= \int -\frac{x}{x^2+a^2} \d x \\ && \ln |y| &= -\frac12 \ln |x^2 + a^2| + C \\ \Rightarrow && C' &= \ln y^2 + \ln (x^2+a^2) \\ \Rightarrow && c^2 &= y^2(x^2+a^2) \end{align*} (where the final constant \(c^2\) can be taken as a square since it is clearly positive).
Let \(x\) satisfy the differential equation $$ \frac {\d x}{\d t} = {\big( 1-x^n\big)\vphantom{\Big)}}^{\!1/n} $$ and the condition \(x=0\) when \(t=0 \,\).
Solution:
Show that if \[ {\mathrm{d}y \over \mathrm{d} x}=\f(x)y + {\g(x) \over y} \] then the substitution \(u = y^2\) gives a linear differential equation for \(u(x)\,\). Hence or otherwise solve the differential equation \[ {\mathrm{d}y \over \mathrm{d} x}={y \over x} - {1 \over y}\;. \] Determine the solution curves of this equation which pass through \((1 \,, 1)\,\), \((2\, , 2)\) and \((4 \, , 4)\) and sketch graphs of all three curves on the same axes.
Solution: \begin{align*} && \frac{\d y}{\d x} &= f(x) y + \frac{g(x)}{y} \\ && y \frac{\d y}{\d x} &= f(x) y^2 + g(x) \\ u = y^2: && \frac12 \frac{\d u}{\d x} &= f(x) u + g(x) \end{align*} Which is a linear differential equation for \(u\). \begin{align*} && \frac12 u' &= \frac1x u -1 \\ \Rightarrow && u' - \frac2xu &= -1 \\ \Rightarrow && \frac{1}{x^2} u' - \frac{2}{x^3} u &= -\frac{1}{x^2} \\ \Rightarrow && (\frac{u}{x^2})' &= - \frac{1}{x^2} \\ \Rightarrow && \frac{u}{x^2} &= \frac1x + C \\ \Rightarrow && u &= Cx^2 + x \\ \Rightarrow && y^2 &= Cx^2 + x \end{align*} If \((1,1)\) is on the curve then \(1 = C + 1 \Rightarrow C = 0 \Rightarrow y^2 = x\). If \((2,2)\) is on the curve then \(4 = 4C + 2 \Rightarrow C = \frac12 \Rightarrow y^2 = x + \frac12 x^2\). If \((3,3)\) is on the curve then \(9 = 9C + 3 \Rightarrow C = \frac23 \Rightarrow y^2 = x + \frac23 x^2\)
A liquid of fixed volume \(V\) is made up of two chemicals \(A\) and \(B\,\). A reaction takes place in which \(A\) converts to \(B\,\). The volume of \(A\) at time \(t\) is \(xV\) and the volume of \(B\) at time \(t\) is \(yV\) where \(x\) and \(y\) depend on \(t\) and \(x+y=1\,\). The rate at which \(A\) converts into \(B\) is given by \(kVxy\,\), where \(k\) is a positive constant. Show that if both \(x\) and \(y\) are strictly positive at the start, then at time \(t\) \[ y= \frac {D\e^{kt}}{1+D \e^{kt}} \;, \] where \(D\) is a constant. Does \(A\) ever completely convert to \(B\,\)? Justify your answer.
Solution: We have \(\dot{A} = -kVxy\) or \(\dot{x}V = -kVxy\), ie \(\dot{x} = -kxy\) and similarly \(\dot{y} = kxy = k(1-y)y\). \begin{align*} && \frac{\d y}{\d t} &= ky(1-y) \\ \Rightarrow && \int k \d t &= \int \frac{1}{y(1-y)} \d y \\ \Rightarrow && kt &= \int \left ( \frac{1}{y} + \frac{1}{1-y} \right) \d y \\ &&&= \ln y - \ln (1-y) + C\\ \Rightarrow && kt &= \ln \frac{y}{D(1-y)} \\ \Rightarrow && De^{kt} &= \frac{y}{1-y} \\ \Rightarrow && y(1+De^{kt}) &= De^{kt} \\ \Rightarrow && y &= \frac{De^{kt}}{1+De^{kt}} \end{align*} As \(t \to \infty\) \(y \to \frac{D}{D} = 1\) so depending on how fine grained we want to go we might say that 'yes it completely converts' when there is an immeasurably small amount of \(A\) left, or we might say it doesn't since it only tends to \(1\) and never actually reaches it.