73.1.38 problem 2.7 b

Internal problem ID [14945]
Book : Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section : Chapter 2. Integration and differential equations. Additional exercises. page 32
Problem number : 2.7 b
Date solved : Monday, March 31, 2025 at 01:04:40 PM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=\frac {x}{\sqrt {x^{2}+5}} \end{align*}

With initial conditions

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

Maple. Time used: 0.031 (sec). Leaf size: 13
ode:=diff(y(x),x) = x/(x^2+5)^(1/2); 
ic:=y(2) = 7; 
dsolve([ode,ic],y(x), singsol=all);
 
\[ y = \sqrt {x^{2}+5}+4 \]
Mathematica. Time used: 0.006 (sec). Leaf size: 16
ode=D[y[x],x]==x/Sqrt[x^2+5]; 
ic={y[2]==7}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \sqrt {x^2+5}+4 \]
Sympy. Time used: 0.173 (sec). Leaf size: 12
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x/sqrt(x**2 + 5) + Derivative(y(x), x),0) 
ics = {y(2): 7} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \sqrt {x^{2} + 5} + 4 \]