74.1.37 problem 44

Internal problem ID [15738]
Book : INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section : Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number : 44
Date solved : Thursday, March 13, 2025 at 06:16:58 AM
CAS classification : [_quadrature]

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

Maple. Time used: 0.001 (sec). Leaf size: 18
ode:=diff(y(x),x) = 1/(x^2-16); 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {\ln \left (x -4\right )}{8}-\frac {\ln \left (x +4\right )}{8}+c_{1} \]
Mathematica. Time used: 0.005 (sec). Leaf size: 23
ode=D[y[x],x]==1/(x^2-16); 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\[ y(x)\to \int _1^x\frac {1}{K[1]^2-16}dK[1]+c_1 \]
Sympy. Time used: 0.160 (sec). Leaf size: 17
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(Derivative(y(x), x) - 1/(x**2 - 16),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} + \frac {\log {\left (x - 4 \right )}}{8} - \frac {\log {\left (x + 4 \right )}}{8} \]