5 problems found
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:
Solution:
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*}