5 problems found
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:
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).
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.
It is given that \(y\) satisfies $$ {{\d y} \over { \d t}} + k\left({{t^2-3t+2} \over {t+1}}\right)y = 0\;, $$ where \(k\) is a constant, and \(y=A \) when \(t=0\,\), where \(A\) is a positive constant. Find \(y\) in terms of \(t\,\), \(k\) and \(A\,\). Show that \(y\) has two stationary values whose ratio is \((3/2)^{6k}\e^{-5{k}/2}.\) Describe the behaviour of \(y\) as \(t \to +\infty\) for the case where \(k> 0\) and for the case where \(k<0\,.\) In separate diagrams, sketch the graph of \(y\) for \(t>0\) for each of these cases.
Solution: \begin{align*} && \frac{\d y}{\d t} &= - k \left (\frac{t^2-3t+2}{t+1} \right) y \\ \Rightarrow && \int \frac1y \d y &= -k\int \left (t-4 + \frac{6}{t+1}\right) \d t \\ \Rightarrow && \ln y &= -k \left ( \frac12 t^2 -4t + 6\ln (t+1) \right) + C \\ (t,y) = (0,A): && \ln A &=C \\ \Rightarrow && \ln y &= -k \left ( \frac12 t^2 -4t + 6\ln (t+1) \right) + \ln A \\ && \ln \left ( \frac{y}{A}(t+1)^{6k} \right) &= -k \l \frac12 t^2 - 4t \r \\ \Rightarrow && y &= A\frac{\exp \l -k(\frac12 t^2-4t)\r}{(t+1)^{6k}} \end{align*} \(y\) wil have stationary values when \(\frac{\d y}{\d t} = 0\), ie \begin{align*} k \left (\frac{t^2-3t+2}{t+1} \right) y &= 0 \\ k \left ( \frac{(t-2)(t-1)}{t+1} \right) y &= 0 \end{align*} ie when \(y = 0, t = 1, t =2\). Clearly \(y = 0\) is not a solution, so \(y\) has the values: \begin{align*} t = 1: && y &= A\frac{\exp \l -k(\frac12 -4)\r}{(2)^{6k}} \\ &&&= A \frac{e^{7/2 k}}{2^{6k}} \\ t = 2: && y &= A\frac{\exp \l -k(2 -8)\r}{(3)^{6k}} \\ &&&= A \frac{e^{6 k}}{3^{6k}} \\ \text{ratio}: && \frac{e^{7/2k}}{2^{6k}} \cdot \frac{3^{6k}}{e^{6k}} &= (3/2)^{6k} e^{-5k/2} \end{align*} If \(k > 0\) as \(t \to \infty\) \(y \to 0\) since the \(e^{-kt^2/2}\) term dominates everything. If \(k < 0\) as \(t \to \infty\) \(y \to \infty\) as since the \(e^{-kt^2}\) term also dominates but now it growing to infinity faster than everything else.
Find \(y\) in terms of \(x\), given that: \begin{eqnarray*} \mbox{for \(x < 0\,\)}, && \frac{\d y}{\d x} = -y \mbox{ \ \ and \ \ } y = a \mbox{ when } x = -1\;; \\ \mbox{for \(x > 0\,\)}, && \frac{\d y}{\d x} = y \mbox{ \ \ \ \ and \ \ } y = b \ \mbox{ when } x = 1\;. \end{eqnarray*} Sketch a solution curve. Determine the condition on \(a\) and \(b\) for the solution curve to be continuous (that is, for there to be no `jump' in the value of \(y\)) at \(x = 0\). Solve the differential equation \[ \frac{\d y}{\d x} = \left\vert \e^x-1\right\vert y \] given that \(y=\e^{\e}\) when \(x=1\) and that \(y\) is continuous at \(x=0\,\). Write down the following limits: \ \[ \text{(i)} \ \ \lim_ {x \to +\infty} y\exp(-\e^x)\;; \ \ \ \ \ \ \ \ \ \text{(ii)} \ \ \lim_{x \to -\infty}y \e^{-x}\,. \]