10.8 problem 8

Internal problem ID [690]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Chapter 3, Second order linear equations, section 3.6, Variation of Parameters. page 190
Problem number: 8.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime }+4 y-3 \csc \left (2 t \right )=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.016 (sec). Leaf size: 47

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

\begin{align*} y(t)\to \frac {1}{4} ((-6 t+4 c_1) \cos (2 t)+\sin (2 t) (3 \log (\tan (2 t))+3 \log (\cos (2 t))+4 c_2)) \\ \end{align*}