1.19 problem Problem 26

1.19.1 Maple step by step solution

Internal problem ID [12129]
Internal file name [OUTPUT/10782_Tuesday_September_12_2023_08_51_52_AM_99008589/index.tex]

Book: Differential equations and the calculus of variations by L. ElSGOLTS. MIR PUBLISHERS, MOSCOW, Third printing 1977.
Section: Chapter 1, First-Order Differential Equations. Problems page 88
Problem number: Problem 26.
ODE order: 1.
ODE degree: 2.

The type(s) of ODE detected by this program : "quadrature"

Maple gives the following as the ode type

[_quadrature]

\[ \boxed {{y^{\prime }}^{2}+y^{2}=4} \] Solving the given ode for \(y^{\prime }\) results in \(2\) differential equations to solve. Each one of these will generate a solution. The equations generated are \begin {align*} y^{\prime }&=\sqrt {4-y^{2}} \tag {1} \\ y^{\prime }&=-\sqrt {4-y^{2}} \tag {2} \end {align*}

Now each one of the above ODE is solved.

Solving equation (1)

Integrating both sides gives \begin {align*} \int \frac {1}{\sqrt {-y^{2}+4}}d y &= x +c_{1}\\ \arcsin \left (\frac {y}{2}\right )&=x +c_{1} \end {align*}

Solving for \(y\) gives these solutions \begin {align*} y_1&=2 \sin \left (x +c_{1} \right ) \end {align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= 2 \sin \left (x +c_{1} \right ) \\ \end{align*}

Verification of solutions

\[ y = 2 \sin \left (x +c_{1} \right ) \] Verified OK.

Solving equation (2)

Integrating both sides gives \begin {align*} \int -\frac {1}{\sqrt {-y^{2}+4}}d y &= x +c_{2}\\ -\arcsin \left (\frac {y}{2}\right )&=x +c_{2} \end {align*}

Solving for \(y\) gives these solutions \begin {align*} y_1&=-2 \sin \left (x +c_{2} \right ) \end {align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= -2 \sin \left (x +c_{2} \right ) \\ \end{align*}

Verification of solutions

\[ y = -2 \sin \left (x +c_{2} \right ) \] Verified OK.

1.19.1 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & {y^{\prime }}^{2}+y^{2}=4 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & \left [y^{\prime }=\sqrt {4-y^{2}}, y^{\prime }=-\sqrt {4-y^{2}}\right ] \\ \square & {} & \textrm {Solve the equation}\hspace {3pt} y^{\prime }=\sqrt {4-y^{2}} \\ {} & \circ & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime }}{\sqrt {4-y^{2}}}=1 \\ {} & \circ & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime }}{\sqrt {4-y^{2}}}d x =\int 1d x +c_{1} \\ {} & \circ & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \arcsin \left (\frac {y}{2}\right )=x +c_{1} \\ {} & \circ & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=2 \sin \left (x +c_{1} \right ) \\ \square & {} & \textrm {Solve the equation}\hspace {3pt} y^{\prime }=-\sqrt {4-y^{2}} \\ {} & \circ & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime }}{\sqrt {4-y^{2}}}=-1 \\ {} & \circ & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime }}{\sqrt {4-y^{2}}}d x =\int \left (-1\right )d x +c_{1} \\ {} & \circ & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \arcsin \left (\frac {y}{2}\right )=-x +c_{1} \\ {} & \circ & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=2 \sin \left (-x +c_{1} \right ) \\ \bullet & {} & \textrm {Set of solutions}\hspace {3pt} \\ {} & {} & \left \{y=2 \sin \left (-x +c_{1} \right ), y=2 \sin \left (x +c_{1} \right )\right \} \end {array} \]

Maple trace

`Methods for first order ODEs: 
   *** Sublevel 2 *** 
   Methods for first order ODEs: 
   -> Solving 1st order ODE of high degree, 1st attempt 
   trying 1st order WeierstrassP solution for high degree ODE 
   trying 1st order WeierstrassPPrime solution for high degree ODE 
   trying 1st order JacobiSN solution for high degree ODE 
   trying 1st order ODE linearizable_by_differentiation 
   trying differential order: 1; missing variables 
   <- differential order: 1; missing  x  successful`
 

Solution by Maple

Time used: 0.062 (sec). Leaf size: 31

dsolve(diff(y(x),x)^2+y(x)^2=4,y(x), singsol=all)
 

\begin{align*} y \left (x \right ) &= -2 \\ y \left (x \right ) &= 2 \\ y \left (x \right ) &= -2 \sin \left (c_{1} -x \right ) \\ y \left (x \right ) &= 2 \sin \left (c_{1} -x \right ) \\ \end{align*}

Solution by Mathematica

Time used: 0.306 (sec). Leaf size: 43

DSolve[y'[x]^2+y[x]^2==4,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to 2 \cos (x+c_1) \\ y(x)\to 2 \cos (x-c_1) \\ y(x)\to -2 \\ y(x)\to 2 \\ y(x)\to \text {Interval}[\{-2,2\}] \\ \end{align*}