75.6.10 problem 134

Internal problem ID [16766]
Book : A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section : Section 6. Linear equations of the first order. The Bernoulli equation. Exercises page 54
Problem number : 134
Date solved : Tuesday, January 28, 2025 at 09:21:50 AM
CAS classification : [_separable]

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

With initial conditions

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

Solution by Maple

Time used: 0.004 (sec). Leaf size: 5

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

Solution by Mathematica

Time used: 0.002 (sec). Leaf size: 6

DSolve[{D[y[x],x]+y[x]*Cos[x]==Cos[x],{y[0]==1}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to 1 \]