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`]]

\[ \boxed {\frac {2 y}{3}+y^{\prime }=-\frac {t}{2}+1} \]

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 \left (t \right ) = -\frac {3 t}{4}+\frac {21}{8}+{\mathrm e}^{-\frac {2 t}{3}} c_{1} \]

Solution by Mathematica

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

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

\[ y(t)\to -\frac {3 t}{4}+c_1 e^{-2 t/3}+\frac {21}{8} \]