Internal problem ID [5174]
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(e).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_linear, class A]]
Solve \begin {gather*} \boxed {y^{\prime }+3 y-{\mathrm e}^{i x}=0} \end {gather*}
✓ Solution by Maple
Time used: 0.002 (sec). Leaf size: 21
dsolve(diff(y(x),x)+3*y(x)=exp(I*x),y(x), singsol=all)
\[ y \relax (x ) = \left (\left (\frac {3}{10}-\frac {i}{10}\right ) {\mathrm e}^{\left (3+i\right ) x}+c_{1}\right ) {\mathrm e}^{-3 x} \]
✓ Solution by Mathematica
Time used: 0.055 (sec). Leaf size: 29
DSolve[y'[x]+3*y[x]==Exp[I*x],y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \left (\frac {3}{10}-\frac {i}{10}\right ) e^{i x}+c_1 e^{-3 x} \\ \end{align*}