74.4.53 problem 53

Internal problem ID [15867]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Exercises 2.2, page 39
Problem number : 53
Date solved : Thursday, March 13, 2025 at 06:55:06 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }&=\frac {y+3}{3 x +1} \end{align*}

With initial conditions

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

Maple. Time used: 0.016 (sec). Leaf size: 15
ode:=diff(y(x),x) = (3+y(x))/(3*x+1); 
ic:=y(0) = 1; 
dsolve([ode,ic],y(x), singsol=all);
 
\[ y = 4 \left (3 x +1\right )^{{1}/{3}}-3 \]
Mathematica. Time used: 0.03 (sec). Leaf size: 18
ode=D[y[x],x]==(y[x]+3)/(3*x+1); 
ic={y[0]==1}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to 4 \sqrt [3]{3 x+1}-3 \]
Sympy. Time used: 0.248 (sec). Leaf size: 14
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(Derivative(y(x), x) - (y(x) + 3)/(3*x + 1),0) 
ics = {y(0): 1} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = 4 \sqrt [3]{3 x + 1} - 3 \]