49.23.1 problem 1(a)

Internal problem ID [7759]
Book : An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY 1961
Section : Chapter 6. Existence and uniqueness of solutions to systems and nth order equations. Page 238
Problem number : 1(a)
Date solved : Monday, January 27, 2025 at 03:12:08 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} y^{\prime \prime }+y^{\prime }&=1 \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x$2)+diff(y(x),x)=1,y(x), singsol=all)
 
\[ y = -c_{1} {\mathrm e}^{-x}+x +c_{2} \]

Solution by Mathematica

Time used: 0.013 (sec). Leaf size: 18

DSolve[D[y[x],{x,2}]+D[y[x],x]==1,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x-c_1 e^{-x}+c_2 \]