3.4 problem 1(d)

Internal problem ID [5936]

Book: An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY 1961
Section: Chapter 1. Introduction– Linear equations of First Order. Page 45
Problem number: 1(d).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime }-y \tan \left (x \right )={\mathrm e}^{\sin \left (x \right )}} \]

Solution by Maple

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

dsolve(diff(y(x),x)-tan(x)*y(x)=exp(sin(x)),y(x), singsol=all)
 

\[ y \left (x \right ) = \sec \left (x \right ) \left ({\mathrm e}^{\sin \left (x \right )}+c_{1} \right ) \]

Solution by Mathematica

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

DSolve[y'[x]-Tan[x]*y[x]==Exp[Sin[x]],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \sec (x) \left (e^{\sin (x)}+c_1\right ) \]