8.9 problem 5 (b)

8.9.1 Existence and uniqueness analysis
8.9.2 Solving as quadrature ode
8.9.3 Maple step by step solution

Internal problem ID [12706]
Internal file name [OUTPUT/11359_Friday_November_03_2023_06_31_04_AM_20545278/index.tex]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 2. The Initial Value Problem. Exercises 2.4.4, page 115
Problem number: 5 (b).
ODE order: 1.
ODE degree: 1.

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

Maple gives the following as the ode type

[_quadrature]

\[ \boxed {y^{\prime }-y^{2}=0} \] With initial conditions \begin {align*} [y \left (-1\right ) = 0] \end {align*}

8.9.1 Existence and uniqueness analysis

This is non linear first order ODE. In canonical form it is written as \begin {align*} y^{\prime } &= f(x,y)\\ &= y^{2} \end {align*}

The \(y\) domain of \(f(x,y)\) when \(x=-1\) is \[ \{-\infty

The \(y\) domain of \(\frac {\partial f}{\partial y}\) when \(x=-1\) is \[ \{-\infty

8.9.2 Solving as quadrature ode

Since ode has form \(y^{\prime }= f(y)\) and initial conditions \(y = 0\) is verified to satisfy the ode, then the solution is \begin {align*} y&=y_0 \\ &=0 \end {align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= 0 \\ \end{align*}

(a) Solution plot

(b) Slope field plot

Verification of solutions

\[ y = 0 \] Verified OK.

8.9.3 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \left [y^{\prime }-y^{2}=0, y \left (-1\right )=0\right ] \\ \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} \\ {} & {} & y^{\prime }=y^{2} \\ \bullet & {} & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime }}{y^{2}}=1 \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime }}{y^{2}}d x =\int 1d x +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & -\frac {1}{y}=x +c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=-\frac {1}{x +c_{1}} \\ \bullet & {} & \textrm {Use initial condition}\hspace {3pt} y \left (-1\right )=0 \\ {} & {} & 0=-\frac {1}{c_{1} -1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} c_{1} \\ {} & {} & c_{1} =\left (\right ) \\ \bullet & {} & \textrm {Solution does not satisfy initial condition}\hspace {3pt} \end {array} \]

Maple trace

`Methods for first order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
trying 1st order linear 
trying Bernoulli 
<- Bernoulli successful`
 

Solution by Maple

Time used: 0.0 (sec). Leaf size: 5

dsolve([diff(y(x),x)=y(x)^2,y(-1) = 0],y(x), singsol=all)
 

\[ y \left (x \right ) = 0 \]

Solution by Mathematica

Time used: 0.001 (sec). Leaf size: 6

DSolve[{y'[x]==y[x]^2,{y[-1]==0}},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to 0 \]