2.2 problem 1(b)

2.2.1 Solving as separable ode
2.2.2 Maple step by step solution

Internal problem ID [6140]
Internal file name [OUTPUT/5388_Sunday_June_05_2022_03_35_59_PM_76582465/index.tex]

Book: Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section: Chapter 1. What is a differential equation. Section 1.3 SEPARABLE EQUATIONS. Page 12
Problem number: 1(b).
ODE order: 1.
ODE degree: 1.

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

Maple gives the following as the ode type

[_separable]

\[ \boxed {y^{\prime }-4 y x=0} \]

2.2.1 Solving as separable ode

In canonical form the ODE is \begin {align*} y' &= F(x,y)\\ &= f( x) g(y)\\ &= 4 y x \end {align*}

Where \(f(x)=4 x\) and \(g(y)=y\). Integrating both sides gives \begin {align*} \frac {1}{y} \,dy &= 4 x \,d x\\ \int { \frac {1}{y} \,dy} &= \int {4 x \,d x}\\ \ln \left (y \right )&=2 x^{2}+c_{1}\\ y&={\mathrm e}^{2 x^{2}+c_{1}}\\ &=c_{1} {\mathrm e}^{2 x^{2}} \end {align*}

Summary

The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} {\mathrm e}^{2 x^{2}} \\ \end{align*}

Figure 50: Slope field plot

Verification of solutions

\[ y = c_{1} {\mathrm e}^{2 x^{2}} \] Verified OK.

2.2.2 Maple step by step solution

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

Maple trace

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

Solution by Maple

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

dsolve(diff(y(x),x)=4*x*y(x),y(x), singsol=all)
 

\[ y \left (x \right ) = c_{1} {\mathrm e}^{2 x^{2}} \]

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 20

DSolve[y'[x]==4*x*y[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to c_1 e^{2 x^2} \\ y(x)\to 0 \\ \end{align*}