2.32 problem Problem 5(f)

Internal problem ID [10905]

Book: APPLIED DIFFERENTIAL EQUATIONS The Primary Course by Vladimir A. Dobrushkin. CRC Press 2015
Section: Chapter 4, Second and Higher Order Linear Differential Equations. Problems page 221
Problem number: Problem 5(f).
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime }-y^{\prime } \left (x -1\right )+x^{2} y-\tan \left (x \right )=0} \] With initial conditions \begin {align*} [y \left (0\right ) = 0, y^{\prime }\left (0\right ) = 0] \end {align*}

Solution by Maple

Time used: 0.328 (sec). Leaf size: 528

dsolve([diff(y(x),x$2)-(x-1)*diff(y(x),x)+x^2*y(x)=tan(x),y(0) = 0, D(y)(0) = 0],y(x), singsol=all)
 

\[ \text {Expression too large to display} \]

Solution by Mathematica

Time used: 29.378 (sec). Leaf size: 4228

DSolve[{y''[x]-(x-1)*y'[x]+x^2*y[x]==Tan[x],{y[0]==0,y'[0]==1}},y[x],x,IncludeSingularSolutions -> True]
 

Too large to display