6.4 problem 4

Internal problem ID [14292]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.4, page 57
Problem number: 4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y \sec \left (t \right )^{2}+\tan \left (t \right ) y^{\prime }=-2 t} \]

Solution by Maple

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

dsolve((y(t)*sec(t)^2+2*t)+tan(t)*diff(y(t),t)=0,y(t), singsol=all)
 

\[ y \left (t \right ) = \cot \left (t \right ) \left (-t^{2}+c_{1} \right ) \]

Solution by Mathematica

Time used: 0.056 (sec). Leaf size: 16

DSolve[(y[t]*Sec[t]^2+2*t)+Tan[t]*y'[t]==0,y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \left (-t^2+c_1\right ) \cot (t) \]