13.14 problem 35

Internal problem ID [5425]

Book: Schaums Outline. Theory and problems of Differential Equations, 1st edition. Frank Ayres. McGraw Hill 1952
Section: Chapter 18. Linear equations with variable coefficients (Equations of second order). Supplemetary problems. Page 120
Problem number: 35.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {\left (x +1\right ) y^{\prime \prime }-\left (3 x +4\right ) y^{\prime }+3 y=\left (2+3 x \right ) {\mathrm e}^{3 x}} \]

Solution by Maple

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

dsolve((x+1)*diff(y(x),x$2)-(3*x+4)*diff(y(x),x)+3*y(x)=(3*x+2)*exp(3*x),y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.364 (sec). Leaf size: 48

DSolve[(x+1)*y''[x]-(3*x+4)*y'[x]+3*y[x]==(3*x+2)*Exp[3*x],y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to e^{3 x} \left (x+\frac {2}{3}\right )+\frac {c_1 e^{3 x+3}}{\sqrt {2}}-\frac {1}{9} \sqrt {2} c_2 (3 x+4) \]