1.10 problem 10

Internal problem ID [3061]

Book: Advanced Mathematica, Book2, Perkin and Perkin, 1992
Section: Chapter 11.3, page 316
Problem number: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime }-\frac {2 y}{x^{2}-1}=0} \]

Solution by Maple

Time used: 0.016 (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.031 (sec). Leaf size: 22

DSolve[y'[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*}