2.2 problem 1(b)

Internal problem ID [5924]

Book: An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY 1961
Section: Chapter 1.6 Introduction– Linear equations of First Order. Page 41
Problem number: 1(b).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, `class A`]]

\[ \boxed {y+y^{\prime }={\mathrm e}^{x}} \]

Solution by Maple

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

dsolve(diff(y(x),x)+y(x)=exp(x),y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[y'[x]+y[x]==Exp[x],y[x],x,IncludeSingularSolutions -> True]
 

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