74.8.38 problem 40 (a)

Internal problem ID [16103]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Review exercises, page 80
Problem number : 40 (a)
Date solved : Monday, March 31, 2025 at 02:43:42 PM
CAS classification : [_separable]

\begin{align*} y^{\prime }&=t y^{3} \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=0 \end{align*}

Maple. Time used: 0.012 (sec). Leaf size: 5
ode:=diff(y(t),t) = t*y(t)^3; 
ic:=y(0) = 0; 
dsolve([ode,ic],y(t), singsol=all);
 
\[ y = 0 \]
Mathematica. Time used: 0.002 (sec). Leaf size: 6
ode=D[y[t],t]==t*y[t]^3; 
ic={y[0]==0}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 
\[ y(t)\to 0 \]
Sympy
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(-t*y(t)**3 + Derivative(y(t), t),0) 
ics = {y(0): 0} 
dsolve(ode,func=y(t),ics=ics)