2.27 ODE No. 27
- Problem in Latex
- Mathematica input
- Maple input
✓ Mathematica : cpu = 2.64591 (sec), leaf count = 88
✓ Maple : cpu = 0.418 (sec), leaf count = 72
This is Riccati first order non-linear ODE with . We can convert Riccati to Bernoulli which
is easier to solve using the substitution
This is of the form and since then it is Bernoulli differential equation. (when and it is
Riccati). To solve Bernoulli we always start by dividing by Then we let , hence , therefore
the above becomes
Integrating factor is , hence . Integrating both sides gives But Therefore
Hence
Since then
Verification
eq:=diff(y(x),x)+a*y(x)*(y(x)-x)-1 = 0;
sol:=exp(-a*x^2/2)/(sqrt(a*Pi/2)*erf(sqrt(a/2)*x)+_C1)+x;
odetest(y(x)=sol,eq);
0