2.6.13.2 Solved using first_order_ode_bernoulli
Entering first order ode bernoulli solver
\[\begin {aligned} 1+v^{2}+\left (u^{2}+1\right ) v v^{\prime }&=0 \end {aligned}\]
In canonical form, the ODE is
\begin{align*} v' &= F(u,v)\\ &= -\frac {v^{2}+1}{\left (u^{2}+1\right ) v} \end{align*}
This is a Bernoulli ODE.
\[ v' = \left (-\frac {1}{u^{2}+1}\right ) v + \left (-\frac {1}{u^{2}+1}\right )\frac {1}{v} \tag {1} \]
The standard Bernoulli ODE has the form
\[ v' = f_0(u)v+f_1(u)v^n \tag {2} \]
Comparing this to (1) shows that
\begin{align*} f_0 &=-\frac {1}{u^{2}+1}\\ f_1 &=-\frac {1}{u^{2}+1} \end{align*}
The first step is to divide the above equation by \(v^n \) which gives
\[ \frac {v'}{v^n} = f_0(u) v^{1-n} +f_1(u) \tag {3} \]
The next step is use the substitution \(v = v^{1-n}\) in equation (3) which generates a new ODE in \(v \left (u \right )\) which will
be linear and can be easily solved using an integrating factor. Backsubstitution then gives the
solution \(v(u)\) which is what we want.
This method is now applied to the ODE at hand. Comparing the ODE (1) With (2) Shows that
\begin{align*} f_0(u)&=-\frac {1}{u^{2}+1}\\ f_1(u)&=-\frac {1}{u^{2}+1}\\ n &=-1 \end{align*}
Dividing both sides of ODE (1) by \(v^n=\frac {1}{v}\) gives
\begin{align*} v'v &= -\frac {v^{2}}{u^{2}+1} -\frac {1}{u^{2}+1} \tag {4} \end{align*}
Let
\begin{align*} v &= v^{1-n} \\ &= v^{2} \tag {5} \end{align*}
Taking derivative of equation (5) w.r.t \(u\) gives
\begin{align*} v' &= 2 vv' \tag {6} \end{align*}
Substituting equations (5) and (6) into equation (4) gives
\begin{align*} \frac {v^{\prime }\left (u \right )}{2}&= -\frac {v \left (u \right )}{u^{2}+1}-\frac {1}{u^{2}+1}\\ v' &= -\frac {2 v}{u^{2}+1}-\frac {2}{u^{2}+1} \tag {7} \end{align*}
The above now is a linear ODE in \(v \left (u \right )\) which is now solved.
In canonical form a linear first order is
\begin{align*} v^{\prime }\left (u \right ) + q(u)v \left (u \right ) &= p(u) \end{align*}
Comparing the above to the given ode shows that
\begin{align*} q(u) &=\frac {2}{u^{2}+1}\\ p(u) &=-\frac {2}{u^{2}+1} \end{align*}
The integrating factor \(\mu \) is
\begin{align*} \mu &= e^{\int {q\,du}}\\ &= {\mathrm e}^{\int \frac {2}{u^{2}+1}d u}\\ &= {\mathrm e}^{2 \arctan \left (u \right )} \end{align*}
The ode becomes
\begin{gather*} \begin {aligned} \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}u}}\left ( \mu v\right ) &= \mu p \\ \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}u}}\left ( \mu v\right ) &= \left (\mu \right ) \left (-\frac {2}{u^{2}+1}\right )\\ \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}u}} \left (v \,{\mathrm e}^{2 \arctan \left (u \right )}\right ) &= \left ({\mathrm e}^{2 \arctan \left (u \right )}\right ) \left (-\frac {2}{u^{2}+1}\right )\\ \mathrm {d} \left (v \,{\mathrm e}^{2 \arctan \left (u \right )}\right ) &= \left (-\frac {2 \,{\mathrm e}^{2 \arctan \left (u \right )}}{u^{2}+1}\right )\, \mathrm {d} u \end {aligned} \end{gather*}
Integrating gives
\begin{align*} v \,{\mathrm e}^{2 \arctan \left (u \right )}&= \int {-\frac {2 \,{\mathrm e}^{2 \arctan \left (u \right )}}{u^{2}+1} \,du} \\ &=-{\mathrm e}^{2 \arctan \left (u \right )} + c_1 \end{align*}
Dividing throughout by the integrating factor \({\mathrm e}^{2 \arctan \left (u \right )}\) gives the final solution
\[ v \left (u \right ) = -1+{\mathrm e}^{-2 \arctan \left (u \right )} c_1 \]
The substitution \(v = v^{1-n}\) is now used to convert the above solution back to \(v\) which results in
\begin{align*} v^{2} = -1+{\mathrm e}^{-2 \arctan \left (u \right )} c_1\end{align*}
Solving for \(v\) from \(v^{2} = -1+{\mathrm e}^{-2 \arctan \left (u \right )} c_1\) gives
\begin{align*}
v &= -\sqrt {-1+{\mathrm e}^{-2 \arctan \left (u \right )} c_1} \\
v &= \sqrt {-1+{\mathrm e}^{-2 \arctan \left (u \right )} c_1} \\
\end{align*}
|
|
|
| Direction field with Isoclines | Direction field |
Summary of solutions found
\begin{align*} v&=-\sqrt {-1+{\mathrm e}^{-2 \arctan \left (u \right )} c_1}\\ v&=\sqrt {-1+{\mathrm e}^{-2 \arctan \left (u \right )} c_1} \end{align*}