74.5.16 problem 16

Internal problem ID [15901]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 2. First Order Equations. Exercises 2.3, page 49
Problem number : 16
Date solved : Thursday, March 13, 2025 at 06:56:43 AM
CAS classification : [_linear]

\begin{align*} y^{\prime }-\frac {9 x y}{9 x^{2}+49}&=x \end{align*}

Maple. Time used: 0.002 (sec). Leaf size: 20
ode:=diff(y(x),x)-9*x/(9*x^2+49)*y(x) = x; 
dsolve(ode,y(x), singsol=all);
 
\[ y = x^{2}+\frac {49}{9}+\sqrt {9 x^{2}+49}\, c_{1} \]
Mathematica. Time used: 0.04 (sec). Leaf size: 26
ode=D[y[x],x]-9*x/(9*x^2+49)*y[x]==x; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to x^2+c_1 \sqrt {9 x^2+49}+\frac {49}{9} \]
Sympy. Time used: 0.454 (sec). Leaf size: 20
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x - 9*x*y(x)/(9*x**2 + 49) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} \sqrt {9 x^{2} + 49} + x^{2} + \frac {49}{9} \]