73.1.27 problem 2.4 (e)

Internal problem ID [15005]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 2. Integration and differential equations. Additional exercises. page 32
Problem number : 2.4 (e)
Date solved : Tuesday, January 28, 2025 at 07:27:24 AM
CAS classification : [_quadrature]

\begin{align*} y^{\prime } \cos \left (x \right )-\sin \left (x \right )&=0 \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=3 \end{align*}

Solution by Maple

Time used: 0.011 (sec). Leaf size: 11

dsolve([cos(x)*diff(y(x),x)-sin(x)=0,y(0) = 3],y(x), singsol=all)
 
\[ y = -\ln \left (\cos \left (x \right )\right )+3 \]

Solution by Mathematica

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

DSolve[{Cos[x]*D[y[x],x]-Sin[x]==0,{y[0]==3}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to 3-\log (\cos (x)) \]