Internal
problem
ID
[18246] Book
:
Elementary
Differential
Equations.
By
Thornton
C.
Fry.
D
Van
Nostrand.
NY.
First
Edition
(1929) Section
:
Chapter
IV.
Methods
of
solution:
First
order
equations.
section
33.
Problems
at
page
91 Problem
number
:
8
(eq
69) Date
solved
:
Monday, December 23, 2024 at 09:19:10 PM CAS
classification
:
[_separable]
Solve
\begin{align*} n^{\prime }&=\left (n^{2}+1\right ) x \end{align*}
Solved as first order separable ode
Time used: 0.145 (sec)
The ode \(n^{\prime } = \left (n^{2}+1\right ) x\) is separable as it can be written as
We now need to find the singular solutions, these are found by finding for what values \(g(n)\) is
zero, since we had to divide by this above. Solving \(g(n)=0\) or \(n^{2}+1=0\) for \(n\) gives
\begin{align*} n&=-i\\ n&=i \end{align*}
Now we go over each such singular solution and check if it verifies the ode itself and
any initial conditions given. If it does not then the singular solution will not be
used.
Therefore the solutions found are
\begin{align*} \arctan \left (n\right ) = \frac {x^{2}}{2}+c_{1}\\ n = -i\\ n = i \end{align*}
Solving for \(n\) gives
\begin{align*}
n &= -i \\
n &= i \\
n &= \tan \left (\frac {x^{2}}{2}+c_{1} \right ) \\
\end{align*}
Summary of solutions found
\begin{align*}
n &= -i \\
n &= i \\
n &= \tan \left (\frac {x^{2}}{2}+c_{1} \right ) \\
\end{align*}
We assume there exists a function \(\phi \left ( x,y\right ) =c\) where \(c\) is constant, that
satisfies the ode. Taking derivative of \(\phi \) w.r.t. \(x\) gives
But since \(\frac {\partial ^{2}\phi }{\partial x\partial y}=\frac {\partial ^{2}\phi }{\partial y\partial x}\) then for the above to be valid, we require that
If the above condition is satisfied,
then the original ode is called exact. We still need to determine \(\phi \left ( x,y\right ) \) but at least we know
now that we can do that since the condition \(\frac {\partial ^{2}\phi }{\partial x\partial y}=\frac {\partial ^{2}\phi }{\partial y\partial x}\) is satisfied. If this condition is not
satisfied then this method will not work and we have to now look for an integrating
factor to force this condition, which might or might not exist. The first step is
to write the ODE in standard form to check for exactness, which is
Since \(\frac {\partial M}{\partial n} \neq \frac {\partial N}{\partial x}\), then the ODE is not exact. Since the ODE is not exact, we will try to find an
integrating factor to make it exact. Let
\begin{align*} A &= \frac {1}{N} \left (\frac {\partial M}{\partial n} - \frac {\partial N}{\partial x} \right ) \\ &=1\left ( \left ( -2 n x\right ) - \left (0 \right ) \right ) \\ &=-2 n x \end{align*}
Since \(A\) depends on \(n\), it can not be used to obtain an integrating factor. We will now try a
second method to find an integrating factor. Let
\(M\) and \(N\) are now multiplied by this integrating factor, giving new \(M\) and new \(N\) which are called \(\overline {M}\)
and \(\overline {N}\) so not to confuse them with the original \(M\) and \(N\).
Where \(f(n)\) is used for the constant of integration since \(\phi \) is a function
of both \(x\) and \(n\). Taking derivative of equation (3) w.r.t \(n\) gives
But since \(\phi \) itself is a constant function, then let \(\phi =c_{2}\) where \(c_{2}\) is new constant and
combining \(c_{1}\) and \(c_{2}\) constants into the constant \(c_{1}\) gives the solution as
Substituting equations
(1E,2E) and \(\omega \) into (A) gives
\begin{equation}
\tag{5E} n b_{5}+2 x b_{4}+b_{2}+\left (n^{2}+1\right ) x \left (-n a_{5}+2 n b_{6}-2 x a_{4}+x b_{5}-a_{2}+b_{3}\right )-\left (n^{2}+1\right )^{2} x^{2} \left (2 n a_{6}+x a_{5}+a_{3}\right )-\left (n^{2}+1\right ) \left (n^{2} a_{6}+n x a_{5}+x^{2} a_{4}+n a_{3}+x a_{2}+a_{1}\right )-2 n x \left (n^{2} b_{6}+n x b_{5}+x^{2} b_{4}+n b_{3}+x b_{2}+b_{1}\right ) = 0
\end{equation}
Putting the above in normal form gives
\[
-2 n^{5} x^{2} a_{6}-n^{4} x^{3} a_{5}-n^{4} x^{2} a_{3}-4 n^{3} x^{2} a_{6}-2 n^{2} x^{3} a_{5}-n^{4} a_{6}-2 n^{3} x a_{5}-2 n^{2} x^{2} a_{3}-3 n^{2} x^{2} a_{4}-n^{2} x^{2} b_{5}-2 n \,x^{3} b_{4}-n^{3} a_{3}-2 n^{2} x a_{2}-n^{2} x b_{3}-2 n \,x^{2} a_{6}-2 n \,x^{2} b_{2}-x^{3} a_{5}-n^{2} a_{1}-n^{2} a_{6}-2 n x a_{5}-2 n x b_{1}+2 n x b_{6}-x^{2} a_{3}-3 x^{2} a_{4}+x^{2} b_{5}-n a_{3}+n b_{5}-2 x a_{2}+x b_{3}+2 x b_{4}-a_{1}+b_{2} = 0
\]
Setting the
numerator to zero gives
\begin{equation}
\tag{6E} -2 n^{5} x^{2} a_{6}-n^{4} x^{3} a_{5}-n^{4} x^{2} a_{3}-4 n^{3} x^{2} a_{6}-2 n^{2} x^{3} a_{5}-n^{4} a_{6}-2 n^{3} x a_{5}-2 n^{2} x^{2} a_{3}-3 n^{2} x^{2} a_{4}-n^{2} x^{2} b_{5}-2 n \,x^{3} b_{4}-n^{3} a_{3}-2 n^{2} x a_{2}-n^{2} x b_{3}-2 n \,x^{2} a_{6}-2 n \,x^{2} b_{2}-x^{3} a_{5}-n^{2} a_{1}-n^{2} a_{6}-2 n x a_{5}-2 n x b_{1}+2 n x b_{6}-x^{2} a_{3}-3 x^{2} a_{4}+x^{2} b_{5}-n a_{3}+n b_{5}-2 x a_{2}+x b_{3}+2 x b_{4}-a_{1}+b_{2} = 0
\end{equation}
Looking at the above PDE shows the following are all
the terms with \(\{n, x\}\) in them.
\[
\{n, x\}
\]
The following substitution is now made to be able to
collect on all terms with \(\{n, x\}\) in them
The next step is to determine the canonical coordinates \(R,S\). The
canonical coordinates map \(\left ( x,n\right ) \to \left ( R,S \right )\) where \(\left ( R,S \right )\) are the canonical coordinates which make the original ode
become a quadrature and hence solved by integration.
The characteristic pde which is used to find the canonical coordinates is
The above comes from the requirements that \(\left ( \xi \frac {\partial }{\partial x} + \eta \frac {\partial }{\partial n}\right ) S(x,n) = 1\). Starting with the first pair of ode’s in (1)
gives an ode to solve for the independent variable \(R\) in the canonical coordinates, where \(S(R)\). Since
\(\xi =0\) then in this special case
\begin{align*} R = x \end{align*}
\(S\) is found from
\begin{align*} S &= \int { \frac {1}{\eta }} dy\\ &= \int { \frac {1}{n^{2}+1}} dy \end{align*}
We now need to express the RHS as function of \(R\) only. This is done by solving for \(x,n\) in terms of
\(R,S\) from the result obtained earlier and simplifying. This gives
\begin{align*} \frac {dS}{dR} &= R \end{align*}
The above is a quadrature ode. This is the whole point of Lie symmetry method. It converts
an ode, no matter how complicated it is, to one that can be solved by integration when the
ode is in the canonical coordiates \(R,S\).
Since the ode has the form \(\frac {d}{d R}S \left (R \right )=f(R)\), then we only need to integrate \(f(R)\).
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & n^{\prime }=\left (n^{2}+1\right ) x \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & n^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & n^{\prime }=\left (n^{2}+1\right ) x \\ \bullet & {} & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {n^{\prime }}{n^{2}+1}=x \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {n^{\prime }}{n^{2}+1}d x =\int x d x +\mathit {C1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \arctan \left (n\right )=\frac {x^{2}}{2}+\mathit {C1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} n \\ {} & {} & n=\tan \left (\frac {x^{2}}{2}+\mathit {C1} \right ) \end {array} \]
Maple trace
`Methodsfor first order ODEs:---Trying classification methods ---tryinga quadraturetrying1st order lineartryingBernoullitryingseparable<-separable successful`