33.14 problem 843

Internal problem ID [15566]

Book: A book of problems in ordinary differential equations. M.L. KRASNOV, A.L. KISELYOV, G.I. MARKARENKO. MIR, MOSCOW. 1983
Section: Chapter 3. Section 24.2. Solving the Cauchy problem for linear differential equation with constant coefficients. Exercises page 249
Problem number: 843.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

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

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

\[ x = 1 \]

Solution by Mathematica

Time used: 0.023 (sec). Leaf size: 6

DSolve[{x''[t]-2*x'[t]+2*x[t]==2,{x[0]==1,x'[0]==0}},x[t],t,IncludeSingularSolutions -> True]
 

\[ x(t)\to 1 \]