I'm stuck at solving this differential equation. I know it is of Riccati type but I have no clue how to proceed. Any help would be appreciated.
$y'+y^{2}+2a\tanh(x)y+a(a-1)\tanh(x)^{2}+1=0$
I'm stuck at solving this differential equation. I know it is of Riccati type but I have no clue how to proceed. Any help would be appreciated.
$y'+y^{2}+2a\tanh(x)y+a(a-1)\tanh(x)^{2}+1=0$
By completing the square one finds $$ (y+a\tanh(x))'+(y+a\tanh(x))^2+1=0 $$ so setting $u=y+a\tanh(x)$ gets the separable equation $$u'=-(1+u^2).$$