4.2.5 \(y'(x)=a+b y(x)^2\)

ODE
\[ y'(x)=a+b y(x)^2 \] ODE Classification

[_quadrature]

Book solution method
Separable ODE, Independent variable missing

Mathematica
cpu = 0.245614 (sec), leaf count = 32

\[\left \{\left \{y(x)\to \frac {\sqrt {a} \tan \left (\sqrt {a} \sqrt {b} (x+c_1)\right )}{\sqrt {b}}\right \}\right \}\]

Maple
cpu = 0.036 (sec), leaf count = 29

\[\left [y \left (x \right ) = \frac {\tan \left (\textit {\_C1} \sqrt {a b}+x \sqrt {a b}\right ) \sqrt {a b}}{b}\right ]\] Mathematica raw input

DSolve[y'[x] == a + b*y[x]^2,y[x],x]

Mathematica raw output

{{y[x] -> (Sqrt[a]*Tan[Sqrt[a]*Sqrt[b]*(x + C[1])])/Sqrt[b]}}

Maple raw input

dsolve(diff(y(x),x) = a+b*y(x)^2, y(x))

Maple raw output

[y(x) = tan(_C1*(a*b)^(1/2)+x*(a*b)^(1/2))*(a*b)^(1/2)/b]