3.7 problem Problem 7

Internal problem ID [2136]

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.6, First-Order Linear Differential Equations. page 59
Problem number: Problem 7.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

Solve \begin {gather*} \boxed {2 \left (\cos ^{2}\relax (x )\right ) y^{\prime }+y \sin \left (2 x \right )-4 \left (\cos ^{4}\relax (x )\right )=0} \end {gather*}

Solution by Maple

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

dsolve(2*(cos(x)^2)*diff(y(x),x)+y(x)*sin(2*x)=4*cos(x)^4,y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.06 (sec). Leaf size: 15

DSolve[2*(Cos[x]^2)*y'[x]+y[x]*Sin[2*x]==4*Cos[x]^4,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \cos (x) (2 \sin (x)+c_1) \\ \end{align*}