47.1.8 problem 8

Internal problem ID [7389]
Book : Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold Scientific. Singapore. 1995
Section : Chapter 1. First order differential equations. Section 1.1 Separable equations problems. page 7
Problem number : 8
Date solved : Wednesday, March 05, 2025 at 04:25:04 AM
CAS classification : [_quadrature]

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

With initial conditions

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

Maple. Time used: 0.004 (sec). Leaf size: 5
ode:=diff(y(x),x) = 3*y(x)^(2/3); 
ic:=y(2) = 0; 
dsolve([ode,ic],y(x), singsol=all);
 
\[ y = 0 \]
Mathematica. Time used: 0.003 (sec). Leaf size: 6
ode=D[y[x],x]==3*y[x]^(2/3); 
ic={y[2]==0}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to 0 \]
Sympy. Time used: 0.219 (sec). Leaf size: 15
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-3*y(x)**(2/3) + Derivative(y(x), x),0) 
ics = {y(2): 0} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = x^{3} - 6 x^{2} + 12 x - 8 \]