Internal problem ID [2611]
Internal file name [OUTPUT/2103_Sunday_June_05_2022_02_48_42_AM_58942872/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.2, Basic Ideas and Terminology.
page 21
Problem number: Problem 33.
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 }=\sin \left (x \right )} \]
Integrating both sides gives \begin {align*} y &= \int { \sin \left (x \right )\,\mathop {\mathrm {d}x}}\\ &= -\cos \left (x \right )+c_{1} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} y &= -\cos \left (x \right )+c_{1} \\ \end{align*}
Verification of solutions
\[ y = -\cos \left (x \right )+c_{1} \] Verified OK.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime }=\sin \left (x \right ) \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Integrate both sides with respect to}\hspace {3pt} x \\ {} & {} & \int y^{\prime }d x =\int \sin \left (x \right )d x +c_{1} \\ \bullet & {} & \textrm {Evaluate integral}\hspace {3pt} \\ {} & {} & y=-\cos \left (x \right )+c_{1} \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} y \\ {} & {} & y=-\cos \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: 10
dsolve(diff(y(x),x)=sin(x),y(x), singsol=all)
\[ y \left (x \right ) = -\cos \left (x \right )+c_{1} \]
✓ Solution by Mathematica
Time used: 0.005 (sec). Leaf size: 12
DSolve[y'[x]==Sin[x],y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -\cos (x)+c_1 \]