Question #89430

solve dy/dx=-1-x^2+y^2

Expert's answer

Answer to Question #89430 – Math – Differential Equations

Question

solve dy/dx=-1-x^2+y^2

Solution

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


As the above equation is in the form of the Ricotta Equation, So Its particular solution is given as:


dydx=A(x)y2+B(x)y+C(x)Y=y1+1vdydx=dy1dx1v2dvdxdydx=y2(1+x2)\begin{array}{l} \frac{dy}{dx} = A(x) y^2 + B(x) y + C(x) \\ Y = y_1 + \frac{1}{v} \\ \frac{dy}{dx} = \frac{dy_1}{dx} - \frac{1}{v^2} \frac{dv}{dx} \\ \frac{dy}{dx} = y^2 - (1 + x^2) \end{array}


Here,


A(x)=1B(x)=0C(x)=(x2+1)A(x) = 1 \quad B(x) = 0 \quad C(x) = -(x^2 + 1)

Y1=xY_1 = -x is the particular solution of the differential equation because it is verifying the differential equation

For checking y=xy = -x

So y=1y' = -1

Y=y2(x2+1)1=(x)2(x2+1)1=1checked and verifiedY=y+1vy=x+1vdydx=11v2dvdxdydx=y2(x2+1)11v2dvdx=(1vx2)2x2111v2dvdx=1v22xv+x2x2+1\begin{array}{l} Y' = y^2 - (x^2 + 1) \\ -1 = (-x)^2 - (x^2 + 1) \\ -1 = -1 \quad \text{checked and verified} \\ Y = y' + \frac{1}{v} \\ y = -x + \frac{1}{v} \\ \frac{dy}{dx} = -1 - \frac{1}{v^2} \frac{dv}{dx} \\ \frac{dy}{dx} = y^2 - (x^2 + 1) \\ -1 - \frac{1}{v^2} \frac{dv}{dx} = \left(\frac{1}{v} - x^2\right) \cdot 2 - x^2 - 1 \\ -1 - \frac{1}{v^2} \frac{dv}{dx} = \frac{1}{v^2} - \frac{2x}{v} + x^2 - x^2 + 1 \\ \end{array}


After Simplifying we have,


dvdx=1+2xvdvdx+v(2x)=1... Equation (1)It is the form ofdvdx+vP(x)=Q(x)\begin{array}{l} \frac{dv}{dx} = -1 + 2xv \\ \frac{dv}{dx} + v(-2x) = -1 \quad \text{... Equation (1)} \\ \text{It is the form of} \quad \frac{dv}{dx} + vP(x) = Q(x) \\ \end{array}


Integrating Factor =eP(x)dx= e^{\int P(x)dx}

=e2xdx=ex2\begin{array}{l} = e^{\int -2x\,dx} \\ = e^{-x^2} \\ \end{array}


Multiplying Integration factor by equation(1)


ex2(dvdx2xv)=ex2e^{-x^2} \left(\frac{dv}{dx} - 2xv\right) = -e^{-x^2}ddx(v.ex2)=ex2(ddx(V.I.F)=f(x))ddx(v.ex2)=ex2dx(v.ex2)=12πErf(x)+cV=1x+y1x+y.ex2=12πErf(x)+c\begin{array}{l} \frac{d}{dx}(v.e^{-x2}) = -e^{-x2}\left(\frac{d}{dx}(V.I.F) = f(x)\right) \\ \int \frac{d}{dx}(v.e^{-x2}) = \int -e^{-x2} dx \\ (v.e^{-x2}) = \frac{1}{2}\sqrt{\pi} \operatorname{Erf}(x) + c \\ V = \frac{1}{x+y} \\ \frac{1}{x+y}. e^{-x^2} = \frac{1}{2}\sqrt{\pi} \operatorname{Erf}(x) + c \\ \end{array}


So, we have


y=ex2c12πErf(x)xy = \frac{e^{-x2}}{c - \frac{1}{2}\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