12.7 problem 7

Internal problem ID [14582]

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

CAS Maple gives this as type [[_2nd_order, _linear, _nonhomogeneous]]

\[ \boxed {y^{\prime \prime }+16 y=\csc \left (4 t \right )} \]

Solution by Maple

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

dsolve(diff(y(t),t$2)+16*y(t)=csc(4*t),y(t), singsol=all)
 

\[ y \left (t \right ) = -\frac {\ln \left (\csc \left (4 t \right )\right ) \sin \left (4 t \right )}{16}+\frac {\left (-t +4 c_{1} \right ) \cos \left (4 t \right )}{4}+c_{2} \sin \left (4 t \right ) \]

Solution by Mathematica

Time used: 0.036 (sec). Leaf size: 37

DSolve[y''[t]+16*y[t]==Csc[4*t],y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \left (-\frac {t}{4}+c_1\right ) \cos (4 t)+\frac {1}{16} \sin (4 t) (\log (\sin (4 t))+16 c_2) \]