10.10 problem 12

Internal problem ID [1763]

Book: Differential equations and their applications, 3rd ed., M. Braun
Section: Section 2.4, The method of variation of parameters. Page 154
Problem number: 12.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

\[ \boxed {y^{\prime \prime }-\frac {2 t y^{\prime }}{t^{2}+1}+\frac {2 y}{t^{2}+1}=t^{2}+1} \]

Solution by Maple

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

dsolve(diff(y(t),t$2)-2*t/(1+t^2)*diff(y(t),t)+2/(1+t^2)*y(t)=1+t^2,y(t), singsol=all)
 

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

Solution by Mathematica

Time used: 0.047 (sec). Leaf size: 33

DSolve[y''[t]-2*t/(1+t^2)*y'[t]+2/(1+t^2)*y[t]==1+t^2,y[t],t,IncludeSingularSolutions -> True]
                                                                                    
                                                                                    
 

\[ y(t)\to \frac {1}{6} \left (t^2+3\right ) t^2+c_2 t-c_1 (t-i)^2 \]