Internal problem ID [2622]
Internal file name [OUTPUT/2114_Sunday_June_05_2022_02_49_02_AM_83416222/index.tex
]
Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth
edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.4, Separable Differential
Equations. page 43
Problem number: Problem 1.
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 }-2 y x=0} \]
In canonical form the ODE is \begin {align*} y' &= F(x,y)\\ &= f( x) g(y)\\ &= 2 y x \end {align*}
Where \(f(x)=2 x\) and \(g(y)=y\). Integrating both sides gives \begin {align*} \frac {1}{y} \,dy &= 2 x \,d x\\ \int { \frac {1}{y} \,dy} &= \int {2 x \,d x}\\ \ln \left (y \right )&=x^{2}+c_{1}\\ y&={\mathrm e}^{x^{2}+c_{1}}\\ &=c_{1} {\mathrm e}^{x^{2}} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} {\mathrm e}^{x^{2}} \\ \end{align*}
Verification of solutions
\[ y = c_{1} {\mathrm e}^{x^{2}} \] Verified OK.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime }-2 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 }=2 y x \\ \bullet & {} & \textrm {Separate variables}\hspace {3pt} \\ {} & {} & \frac {y^{\prime }}{y}=2 x \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int \frac {y^{\prime }}{y}d x =\int 2 x d x +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & \ln \left (y\right )=x^{2}+c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y={\mathrm e}^{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: 10
dsolve(diff(y(x),x)=2*x*y(x),y(x), singsol=all)
\[ y \left (x \right ) = {\mathrm e}^{x^{2}} c_{1} \]
✓ Solution by Mathematica
Time used: 0.023 (sec). Leaf size: 18
DSolve[y'[x]==2*x*y[x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to c_1 e^{x^2} \\ y(x)\to 0 \\ \end{align*}