1.8 problem 8

Internal problem ID [8]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.2. Integrals as general and particular solutions. Page 16
Problem number: 8.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

dsolve([diff(y(x),x) = cos(2*x),y(0) = 1],y(x), singsol=all)
 

\[ y \left (x \right ) = \frac {\sin \left (2 x \right )}{2}+1 \]

Solution by Mathematica

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

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

\[ y(x)\to \sin (x) \cos (x)+1 \]