Internal problem ID [4520]
Book: Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section: Chapter 2. Special types of differential equations of the first kind. Lesson 11, Bernoulli
Equations
Problem number: Exercise 11.28, page 97.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [[_homogeneous, `class G`], _rational, _Riccati]
\[ \boxed {y^{\prime }+\frac {y}{x}+y^{2}=\frac {1}{x^{2}}} \]
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 16
dsolve(diff(y(x),x)=1/x^2-y(x)/x-y(x)^2,y(x), singsol=all)
\[ y \left (x \right ) = -\frac {\tanh \left (-\ln \left (x \right )+c_{1} \right )}{x} \]
✓ Solution by Mathematica
Time used: 1.192 (sec). Leaf size: 62
DSolve[y'[x]==1/x^2-y[x]/x-y[x]^2,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \frac {i \tan (c_1-i \log (x))}{x} \\ y(x)\to -\frac {-x^2+e^{2 i \text {Interval}[\{0,\pi \}]}}{x^3+x e^{2 i \text {Interval}[\{0,\pi \}]}} \\ \end{align*}