8.1 problem 1.2-3 (a)

Internal problem ID [2482]

Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.2-3, page 12
Problem number: 1.2-3 (a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }+4 \tan \left (2 t \right ) y=\tan \left (2 t \right )} \] With initial conditions \begin {align*} \left [y \left (\frac {\pi }{8}\right ) = 2\right ] \end {align*}

Solution by Maple

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

dsolve([diff(y(t),t)+4*tan(2*t)*y(t)=tan(2*t),y(1/8*Pi) = 2],y(t), singsol=all)
 

\[ y \left (t \right ) = 2+\frac {7 \cos \left (4 t \right )}{4} \]

Solution by Mathematica

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

DSolve[{y'[t]+4*Tan[2*t]*y[t]==Tan[2*t],y[Pi/8]==2},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {7}{4} \cos (4 t)+2 \]