Question #69646

Solve the diferential equation y′=−y+x2y2

Expert's answer

Answer on Question #69646, Math / Differential Equations

Solve the differential equation y=y+x2y2y' = -y + x^2 y^2

Solution

It's not hard to see that this is a Bernoulli differential equation


y+p(x)y=q(x)yny' + p(x)y = q(x)y^n


In this case, we have that n=2n = 2

y+y=x2y2.y' + y = x^2 y^2.


Then to find the solution, change the dependent variable from yy to zz,

where z=y1z = y^{-1}. This gives a differential equation in xx and zz that is linear, and can be solved using the integrating factor method.


y=1z,y=(1z)=1z2z1z2z+1z=x21z2z+z=x2zz=x2\begin{array}{l} y = \frac{1}{z}, y' = \left(\frac{1}{z}\right)' = -\frac{1}{z^2} z' \\ \quad -\frac{1}{z^2} z' + \frac{1}{z} = x^2 \frac{1}{z^2} \\ \quad -z' + z = x^2 \\ \quad z' - z = -x^2 \\ \end{array}


Integrating Factor =v(x)=ep(x)dx=e(1)dx=ex= v(x) = e^{\int p(x)dx} = e^{\int (-1)dx} = e^{-x}

Constant of integration is 0, so vv is simple as possible.

Multiple both sides by a positive function v(x)v(x) that transforms the left-hand side into the derivative of the product v(x)zv(x) \cdot z.


exdzdxexz=x2exe^{-x} \frac{dz}{dx} - e^{-x}z = -x^2 e^{-x}ddx(exz)=exdzdxexzddx(exz)=x2exd(exz)=(x2ex)dx\begin{array}{l} \frac{d}{dx}(e^{-x}z) = e^{-x} \frac{dz}{dx} - e^{-x}z \\ \frac{d}{dx}(e^{-x}z) = -x^2 e^{-x} \\ \int d(e^{-x}z) = \int (-x^2 e^{-x}) dx \\ \end{array}(x2ex)dx=x2ex2xexdx=x2ex+2xex+2ex+Cudv=uvvduu=x2,du=2xdxdv=exdx,v=ex2xexdx=2xex2exdx=2xex+2ex+Cudv=uvvduu=2x,du=2dxdv=exdx,v=ex\begin{array}{l} \int (-x^2 e^{-x}) dx = x^2 e^{-x} - 2 \int x e^{-x} dx = x^2 e^{-x} + 2x e^{-x} + 2 e^{-x} + C \\ \int u dv = uv - \int v du \\ u = x^2, du = 2xdx \\ dv = -e^{-x}dx, v = e^{-x} \\ \quad -2 \int x e^{-x} dx = 2x e^{-x} - 2 \int e^{-x} dx = 2x e^{-x} + 2 e^{-x} + C \\ \int u dv = uv - \int v du \\ u = 2x, du = 2dx \\ dv = -e^{-x}dx, v = e^{-x} \\ \end{array}exz=x2ex+2xex+2ex+Cz=x2+2x+2+CexPut back z=y1y=1x2+2x+2+Cex\begin{array}{l} e^{-x} z = x^{2} e^{-x} + 2x e^{-x} + 2e^{-x} + C \\ z = x^{2} + 2x + 2 + C e^{x} \\ \text{Put back } z = y^{-1} \\ y = \frac{1}{x^{2} + 2x + 2 + C e^{x}} \\ \end{array}


Answer: y=1x2+2x+2+Cexy = \frac{1}{x^{2} + 2x + 2 + C e^{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