9.12 problem 6, using elementary method

Internal problem ID [4395]

Book: Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section: Chapter 12, Series Solutions of Differential Equations. Section 1. Miscellaneous problems. page 564
Problem number: 6, using elementary method.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }-2 y^{\prime }+y=0} \end {gather*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 14

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

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

Solution by Mathematica

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

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

\begin{align*} y(x)\to e^x (c_2 x+c_1) \\ \end{align*}