5.24 problem 24

Internal problem ID [14253]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.3, page 49
Problem number: 24.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {p^{\prime }-\frac {p}{t}=t^{3}} \]

Solution by Maple

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

dsolve(diff(p(t),t)=t^3+p(t)/t,p(t), singsol=all)
 

\[ p \left (t \right ) = \frac {\left (t^{3}+3 c_{1} \right ) t}{3} \]

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 17

DSolve[p'[t]==t^3+p[t]/t,p[t],t,IncludeSingularSolutions -> True]
 

\[ p(t)\to \frac {t^4}{3}+c_1 t \]