1.12 problem 26

1.12.1 Solving as quadrature ode
1.12.2 Maple step by step solution

Internal problem ID [12584]
Internal file name [OUTPUT/11237_Thursday_October_19_2023_04_43_36_PM_55985488/index.tex]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 1. Introduction. Exercises page 14
Problem number: 26.
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 } x=\sin \left (x \right )} \]

1.12.1 Solving as quadrature ode

Integrating both sides gives \begin {align*} y &= \int { \frac {\sin \left (x \right )}{x}\,\mathop {\mathrm {d}x}}\\ &= \operatorname {Si}\left (x \right )+c_{1} \end {align*}

Summary

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

Figure 20: Slope field plot

Verification of solutions

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

1.12.2 Maple step by step solution

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

Maple trace

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

Solution by Maple

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

dsolve(x*diff(y(x),x)-sin(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = \operatorname {Si}\left (x \right )+c_{1} \]

Solution by Mathematica

Time used: 0.012 (sec). Leaf size: 10

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

\[ y(x)\to \text {Si}(x)+c_1 \]