74.2.1 problem 6

Internal problem ID [15842]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 1. Introduction to Differential Equations. Review exercises, page 23
Problem number : 6
Date solved : Tuesday, January 28, 2025 at 08:09:17 AM
CAS classification : [_separable]

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

Solution by Maple

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

dsolve(diff(y(x),x)+y(x)*cos(x)=0,y(x), singsol=all)
 
\[ y = c_{1} {\mathrm e}^{-\sin \left (x \right )} \]

Solution by Mathematica

Time used: 0.031 (sec). Leaf size: 27

DSolve[D[y[x],x]+y[x]*Cos[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to c_1 \exp \left (\int _1^x-\cos (K[1])dK[1]\right ) \\ y(x)\to 0 \\ \end{align*}