5 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*}
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*}
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*}