1.28 problem 28

Internal problem ID [475]

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

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

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

Solution by Maple

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

dsolve(2/3*y(t)+diff(y(t),t) = 1-1/2*t,y(t), singsol=all)
 

\[ y \relax (t ) = -\frac {3 t}{4}+\frac {21}{8}+{\mathrm e}^{-\frac {2 t}{3}} c_{1} \]

Solution by Mathematica

Time used: 0.056 (sec). Leaf size: 24

DSolve[2/3*y[t]+y'[t] == 1-1/2*t,y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to -\frac {3 t}{4}+c_1 e^{-2 t/3}+\frac {21}{8} \\ \end{align*}