1.104 problem 151

Internal problem ID [12201]

Book: DIFFERENTIAL and INTEGRAL CALCULUS. VOL I. by N. PISKUNOV. MIR PUBLISHERS, Moscow 1969.
Section: Chapter 8. Differential equations. Exercises page 595
Problem number: 151.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {y^{\prime \prime }-y=5 x +2} \]

Solution by Maple

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

dsolve(diff(y(x),x$2)-y(x)=5*x+2,y(x), singsol=all)
 

\[ y \left (x \right ) = c_{2} {\mathrm e}^{x}+c_{1} {\mathrm e}^{-x}-2-5 x \]

Solution by Mathematica

Time used: 0.021 (sec). Leaf size: 24

DSolve[y''[x]-y[x]==5*x+2,y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to -5 x+c_1 e^x+c_2 e^{-x}-2 \]