20.4.5 problem Problem 13

Internal problem ID [3640]
Book : Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section : Chapter 1, First-Order Differential Equations. Section 1.8, Change of Variables. page 79
Problem number : Problem 13
Date solved : Sunday, March 30, 2025 at 01:55:30 AM
CAS classification : [[_homogeneous, `class A`], _rational, _dAlembert]

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

Maple. Time used: 0.034 (sec). Leaf size: 29
ode:=x*diff(y(x),x) = (16*x^2-y(x)^2)^(1/2)+y(x); 
dsolve(ode,y(x), singsol=all);
 
\[ -\arctan \left (\frac {y}{\sqrt {16 x^{2}-y^{2}}}\right )+\ln \left (x \right )-c_1 = 0 \]
Mathematica. Time used: 0.386 (sec). Leaf size: 18
ode=x*D[y[x],x]==Sqrt[16*x^2-y[x]^2]+y[x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to -4 x \cosh (i \log (x)+c_1) \]
Sympy. Time used: 0.951 (sec). Leaf size: 14
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*Derivative(y(x), x) - sqrt(16*x**2 - y(x)**2) - y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = - 4 x \sin {\left (C_{1} - \log {\left (x \right )} \right )} \]