Question #69645

Solve the Riccati's equaton dy/dx=−1−x2+y2

Expert's answer

Answer on Question #69645 – Math – Differential Equations

Question

Solve the Riccati's equation


dydx=1x2+y2.\frac{dy}{dx} = -1 - x^2 + y^2.

Solution

One searches for the general solution in the following form


y(x)=z(x)+yp(x),y(x) = z(x) + y_p(x),


where yp(x)y_p(x) is a particular solution of the given equation.

This substitution transforms the equation into Bernoulli's one of the unknown function z(x)z(x).

Let the particular solution be


yp(x)=ax.y_p(x) = ax.


Substituting it into the differential equation we get


ddx(ax)=1x2+(ax)2\frac{d}{dx}(ax) = -1 - x^2 + (ax)^2


or


a=1+(a21)x2.a = -1 + (a^2 - 1)x^2.


Value


a=1a = -1


satisfies the previous equation.

The particular solution is


yp(x)=x,y_p(x) = -x,


and the general solution may be found as


y(x)=z(x)x.y(x) = z(x) - x.


Substituting it into the Riccati's equation we get


ddx(z(x)x)=1x2+(z(x)x)2,\frac{d}{dx}(z(x) - x) = -1 - x^2 + (z(x) - x)^2,dzdx1=1x2+z22xz+x2,\frac {d z}{d x} - 1 = - 1 - x ^ {2} + z ^ {2} - 2 x z + x ^ {2},dzdx=z22xz.\frac {d z}{d x} = z ^ {2} - 2 x z.


This is Bernoulli's equation. It can be solved using the substitution z(x)=u(x)v(x)z(x) = u(x)v(x) :


d(uv)dx=(uv)22xuv,\frac {d (u v)}{d x} = (u v) ^ {2} - 2 x u v,vdudx+udvdx+2xuvu2v2=0,v \frac {d u}{d x} + u \frac {d v}{d x} + 2 x u v - u ^ {2} v ^ {2} = 0,(dudx+2xu)v+(udvdxu2v2)=0,\left(\frac {d u}{d x} + 2 x u\right) v + \left(u \frac {d v}{d x} - u ^ {2} v ^ {2}\right) = 0,


We get the system


{dudx+2xu=0udvdxu2v2=0.\left\{ \begin{array}{l} \frac {d u}{d x} + 2 x u = 0 \\ u \frac {d v}{d x} - u ^ {2} v ^ {2} = 0 \end{array} \right..


We need a particular solution of the first equation of the system. Check that it is u(x)=bex2u(x) = be^{-x^2} :


d(bex2)dx+2bxex2=0,\frac {d \left(b e ^ {- x ^ {2}}\right)}{d x} + 2 b x e ^ {- x ^ {2}} = 0,2xbex2+2bxex2=0,- 2 x b e ^ {- x ^ {2}} + 2 b x e ^ {- x ^ {2}} = 0,0=0.0 = 0.


Let b=1b = 1 , so a particular solution is u(x)=ex2u(x) = e^{-x^2} .

As u(x)=ex20u(x) = e^{-x^2} \neq 0 , the second equation may be reduced to


dvdxuv2=0\frac {d v}{d x} - u v ^ {2} = 0


or


dvdxex2v2=0.\frac {d v}{d x} - e ^ {- x ^ {2}} v ^ {2} = 0.


This is the separable DE.


dvv2=ex2dx,\int \frac {d v}{v ^ {2}} = \int e ^ {- x ^ {2}} d x,1v(x)=π2erfxC2,- \frac {1}{v (x)} = \frac {\sqrt {\pi}}{2} \operatorname {erf} x - \frac {C}{2},


where CC is an integration constant.

Then


v(x)=1π2erfxC2=2Cπerfxv (x) = - \frac {1}{\frac {\sqrt {\pi}}{2} \operatorname {erf} x - \frac {C}{2}} = \frac {2}{C - \sqrt {\pi} \operatorname {erf} x}


and


z(x)=u(x)v(x)=2ex2Cπerfx.z (x) = u (x) v (x) = \frac {2 e ^ {- x ^ {2}}}{C - \sqrt {\pi} \operatorname {erf} x}.


Finally, the general solution of the Riccati's equation is


y(x)=z(x)x=2ex2Cπerfxx.y (x) = z (x) - x = \frac {2 e ^ {- x ^ {2}}}{C - \sqrt {\pi} \operatorname {erf} x} - x.


Answer: y(x)=2ex2Cπerfxx.y(x) = \frac{2e^{-x^2}}{C - \sqrt{\pi}\operatorname{erf}x} - x.

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS