25.1.10 problem 10

Internal problem ID [4222]
Book : Advanced Mathematica, Book2, Perkin and Perkin, 1992
Section : Chapter 11.3, page 316
Problem number : 10
Date solved : Monday, January 27, 2025 at 08:42:49 AM
CAS classification : [_separable]

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

Solution by Maple

Time used: 0.001 (sec). Leaf size: 15

dsolve(diff(y(x),x)=(2*y(x))/(x^2-1),y(x), singsol=all)
 
\[ y \left (x \right ) = -\frac {\left (x -1\right ) c_{1}}{x +1} \]

Solution by Mathematica

Time used: 0.030 (sec). Leaf size: 22

DSolve[D[y[x],x]==(2*y[x])/(x^2-1),y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to -\frac {c_1 (x-1)}{x+1} \\ y(x)\to 0 \\ \end{align*}