13.7 problem 324

Internal problem ID [15182]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Chapter 2 (Higher order ODE’s). Section 13. Basic concepts and definitions. Exercises page 98
Problem number: 324.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

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

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

\[ y = {\mathrm e}^{2 x} c_{1} +c_{2} {\mathrm e}^{x}+1 \]

Solution by Mathematica

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

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

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