1.23 problem 23

Internal problem ID [470]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.1. Page 40
Problem number: 23.
ODE order: 1.
ODE degree: 1.

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

\[ \boxed {-2 y+3 y^{\prime }={\mathrm e}^{-\frac {\pi t}{2}}} \] With initial conditions \begin {align*} [y \left (0\right ) = a] \end {align*}

Solution by Maple

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

dsolve([-2*y(t)+3*diff(y(t),t) = exp(-1/2*Pi*t),y(0) = a],y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {\left (3 \pi a -2 \,{\mathrm e}^{t \left (-\frac {\pi }{2}-\frac {2}{3}\right )}+4 a +2\right ) {\mathrm e}^{\frac {2 t}{3}}}{3 \pi +4} \]

Solution by Mathematica

Time used: 0.083 (sec). Leaf size: 43

DSolve[{-2*y[t]+3*y'[t] == Exp[-1/2*Pi*t],y[0]==a},y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to \frac {e^{2 t/3} \left ((4+3 \pi ) a-2 e^{-\frac {1}{6} (4+3 \pi ) t}+2\right )}{4+3 \pi } \]