11.4 problem 18.1 (iv)

Internal problem ID [11737]

Book: AN INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS by JAMES C. ROBINSON. Cambridge University Press 2004
Section: Chapter 18, The variation of constants formula. Exercises page 168
Problem number: 18.1 (iv).
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {t^{2} x^{\prime \prime }-2 x=t^{3}} \]

Solution by Maple

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

dsolve(t^2*diff(x(t),t$2)-2*x(t)=t^3,x(t), singsol=all)
 

\[ x \left (t \right ) = \frac {t^{3}}{4}+\frac {c_{1}}{t}+c_{2} t^{2} \]

Solution by Mathematica

Time used: 0.02 (sec). Leaf size: 25

DSolve[t^2*x''[t]-2*x[t]==t^3,x[t],t,IncludeSingularSolutions -> True]
 

\[ x(t)\to \frac {t^3}{4}+c_2 t^2+\frac {c_1}{t} \]