Question #79307

Exact equations
(e^(x^2)y)(1+2(x^2)y)dx + (x^3)(e^(x^2)y)dy = 0

Integrating factor
1. (2xy) dx + (2(x^2) + 3)dy = 0
Having an integration factor is just a function of y.
2. ((x^2) + 3x + 2) dx + ((x^2) + x + 1) dy = 0
Having an integration factor is just a function of (x + y)

Expert's answer

ANSWER on Question #79307 – Math – Differential Equations

QUESTION

Exact equations


(ex2y)(1+2(x2)y)dx+(x3)(ex2y)dy=0(e^{x^2}y)(1 + 2(x^2)y)dx + (x^3)(e^{x^2}y)dy = 0


Integrating factor:

1. Differential equation


(2xy)dx+(2(x2)+3)dy=0(2xy)dx + (2(x^2) + 3)dy = 0


Having an integration factor is just a function of yy.

2. Differential equation


((x2)+3x+2)dx+((x2)+x+1)dy=0((x^2) + 3x + 2)dx + ((x^2) + x + 1)dy = 0


Having an integration factor is just a function of (x+y)(x + y).

SOLUTION

The first part: solve the above differential equation.

1. STEP: We transform this differential equation


(ex2y)(1+2(x2)y)dx+(x3)(ex2y)dy=0(ex2y)(1+2(x2)y)dx=(x3)(ex2y)dy÷(1dx(x3)(ex2y))(ex2y)(1+2(x2)y)dxdx(x3)(ex2y)=(x3)(ex2y)dydx(x3)(ex2y)(1+2(x2)y)x3=dydxdydx=1x32yx2x3dydx=1x32yxdydx+2yx=1x3\begin{aligned} (e^{x^2}y)(1 + 2(x^2)y)dx + (x^3)(e^{x^2}y)dy &= 0 \rightarrow \\ (e^{x^2}y)(1 + 2(x^2)y)dx &= -(x^3)(e^{x^2}y)dy \Big| \div \left( \frac{-1}{dx \cdot (x^3)(e^{x^2}y)} \right) \rightarrow \\ &\quad - \frac{(e^{x^2}y)(1 + 2(x^2)y)dx}{dx \cdot (x^3)(e^{x^2}y)} = \frac{(x^3)(e^{x^2}y)dy}{dx \cdot (x^3)(e^{x^2}y)} \rightarrow -\frac{(1 + 2(x^2)y)}{x^3} = \frac{dy}{dx} \rightarrow \\ &\quad \frac{dy}{dx} = -\frac{1}{x^3} - \frac{2yx^2}{x^3} \rightarrow \frac{dy}{dx} = -\frac{1}{x^3} - \frac{2y}{x} \rightarrow \boxed{\frac{dy}{dx} + \frac{2y}{x} = -\frac{1}{x^3}} \end{aligned}


Conclusion,


(ex2y)(1+2(x2)y)dx+(x3)(ex2y)dy=0dydx+2yx=1x3(e^{x^2}y)(1 + 2(x^2)y)dx + (x^3)(e^{x^2}y)dy = 0 \rightarrow \frac{dy}{dx} + \frac{2y}{x} = -\frac{1}{x^3}


Nonhomogeneous differential equation of the first order.

2 STEP: Let us solve the transformed equation.

Since,


dydx+2yx=1x3\frac{dy}{dx} + \frac{2y}{x} = -\frac{1}{x^3}


Nonhomogeneous differential equation of the first order, then the solution consists of two parts:


y(x)=y1(x)+y2(x),where{y1(x)solution of the homogeneous equationy2(x)a particular solution of the nonhomogeneous equationy(x) = y_1(x) + y_2(x), \quad \text{where} \quad \left\{ \begin{array}{c} y_1(x) - \text{solution of the homogeneous equation} \\ y_2(x) - a \text{ particular solution of the nonhomogeneous equation} \end{array} \right.


2A STEP: We solve the homogeneous equation.

For the solution, we use the method of separation of variables.

(More information: https://en.wikipedia.org/wiki/Separation_of_variables)


dydx+2yx=0dydx=2yxdyy=2dxxdyy=(2dxx)lny=2lnx+lnC\frac{dy}{dx} + \frac{2y}{x} = 0 \rightarrow \frac{dy}{dx} = -\frac{2y}{x} \rightarrow \frac{dy}{y} = -2\frac{dx}{x} \rightarrow \int \frac{dy}{y} = \int \left(-2\frac{dx}{x}\right) \rightarrow \ln |y| = -2 \cdot \ln |x| + \ln |C| \rightarrowlny=lnx2+lnClny=lnCx2y1(x)=Cx2\ln |y| = \ln |x^{-2}| + \ln |C| \rightarrow \ln |y| = \ln |C \cdot x^{-2}| \rightarrow y_1(x) = \frac{C}{x^2}


Conclusion,


dydx+2yx=0y1(x)=Cx2\boxed{\frac{dy}{dx} + \frac{2y}{x} = 0 \rightarrow y_1(x) = \frac{C}{x^2}}


2B STEP: We solve the nonhomogeneous equation.

For the solution, we use the method of variation of the parameter.

(More information: https://en.wikipedia.org/wiki/Variation_of_parameters)


\left\{ \begin{array}{c} \frac{dy}{dx} + \frac{2y}{x} = -\frac{1}{x^3} \\ y(x) = \frac{C(x)}{x^2} \rightarrow \frac{dy}{dx} = \frac{1}{x^2} \cdot \frac{dC}{dx} - \frac{2C(x)}{x^2} \rightarrow \frac{1}{x^2} \cdot \frac{dC}{dx} - \frac{2C(x)}{x^2} + \frac{2}{x} \cdot \frac{C(x)}{x^2} = -\frac{1}{x^3} \rightarrow \\ \frac{1}{x^2} \cdot \frac{dC}{dx} = -\frac{1}{x^3} \right| \times (dx \cdot x^2) \rightarrow dC = -\frac{dx}{x} \rightarrow \int dC = \int \left(-\frac{dx}{x}\right) \rightarrow \boxed{C(x) = -\ln |x| + C_1}


Then,


{y(x)=C(x)x2C(x)=C1lnxy(x)=C1lnxx2=C1x2lnxx, where {y1(x)=C1x2y2(x)=lnxx\left\{ \begin{array}{c} y (x) = \frac {C (x)}{x ^ {2}} \\ C (x) = C _ {1} - \ln | x | \end{array} \right. \to y (x) = \frac {C _ {1} - \ln | x |}{x ^ {2}} = \frac {C _ {1}}{x ^ {2}} - \frac {\ln | x |}{x}, \text{ where } \left\{ \begin{array}{c} y _ {1} (x) = \frac {C _ {1}}{x ^ {2}} \\ y _ {2} (x) = - \frac {\ln | x |}{x} \end{array} \right.


Conclusion,


(ex2y)(1+2(x2)y)dx+(x3)(ex2y)dy=0y(x)=C1x2lnxx\boxed{(e ^ {x ^ {2}} y) (1 + 2 (x ^ {2}) y) d x + (x ^ {3}) (e ^ {x ^ {2}} y) d y = 0 \rightarrow y (x) = \frac {C _ {1}}{x ^ {2}} - \frac {\ln | x |}{x}}


The second part: we solve the problems associated with the integral factor.

We recall the definition of an equation in exact differentials:


M(x,y)dx+N(x,y)dy=0M(x, y)dx + N(x, y)dy = 0


is exact if


My=Nx\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}


Recall another definition:

If the equation


M(x,y)dx+N(x,y)dy=0M(x, y)dx + N(x, y)dy = 0


is not exact, but the equation


μ(x,y)M(x,y)dx+μ(x,y)N(x,y)dy=0\mu(x, y)M(x, y)dx + \mu(x, y)N(x, y)dy = 0


is exact, then μ(x,y)\mu(x, y) is an integrating factor of equation.

We recall one theorem connected with the integral factor.

Theorem:

If


M/yN/xN is continuous and depends only on x, then\frac{\partial M / \partial y - \partial N / \partial x}{N} \text{ is continuous and depends only on } x, \text{ then}μ(x)=exp[(M/yN/xN)dx] is an integrating factor for the DE.\mu(x) = \exp \left[ \int \left( \frac{\partial M / \partial y - \partial N / \partial x}{N} \right) dx \right] \text{ is an integrating factor for the } DE.


If


N/xM/yM is continuous and depends only on y, then\frac{\partial N / \partial x - \partial M / \partial y}{M} \text{ is continuous and depends only on } y, \text{ then}μ(y)=exp[(N/xM/yM)dy] is an integrating factor for the DE.\mu(y) = \exp \left[ \int \left( \frac{\partial N / \partial x - \partial M / \partial y}{M} \right) dy \right] \text{ is an integrating factor for the } DE.


Now we can start solving the problem.

1. Differential equation


(2xy)dx+(2(x2)+3)dy=0(2xy) \, dx + (2(x^2) + 3) \, dy = 0


Having an integration factor is just a function of yy.

In our case,


{M(x,y)=2xyN(x,y)=2x2+3{My=2xNx=22x=4xMy=2x4x=Nx\left\{ \begin{array}{l} M(x, y) = 2xy \\ N(x, y) = 2x^2 + 3 \end{array} \right. \rightarrow \left\{ \begin{array}{l} \frac{\partial M}{\partial y} = 2x \\ \frac{\partial N}{\partial x} = 2 \cdot 2x = 4x \end{array} \right. \rightarrow \frac{\partial M}{\partial y} = 2x \neq 4x = \frac{\partial N}{\partial x}


Conclusion,


(2xy)dx+(2(x2)+3)dy=0 is not exact(2xy) \, dx + (2(x^2) + 3) \, dy = 0 \text{ is not exact}


We now verify the fulfillment of the conditions of the theorem:


N/xM/yM=4x2x2xy=2x2xy=1y is continuous and depends only on y\frac{\partial N / \partial x - \partial M / \partial y}{M} = \frac{4x - 2x}{2xy} = \frac{2x}{2xy} = \frac{1}{y} \text{ is continuous and depends only on } y


Then,


μ(y) is an integrating factor for the DE.\exists \mu(y) \text{ is an integrating factor for the DE}.


We can easily find this integral factor, using the formula from the theorem


μ(y)=exp[(N/xM/yM)dy]=exp[(1y)dy]=exp(lny)=yμ(y)=y\mu(y) = \exp \left[ \int \left(\frac{\partial N / \partial x - \partial M / \partial y}{M}\right) dy \right] = \exp \left[ \int \left(\frac{1}{y}\right) dy \right] = \exp(\ln y) = y \rightarrow \boxed{\mu(y) = y}


Checking:


(2xy)dx+(2(x2)+3)dy=0×(y)(2xy2)dx+(2yx2+3y)dy=0{M(x,y)=2xy2N(x,y)=(2x2y+3y){My=4xyNx=22xy=4xyMy=4xy=Nx\begin{array}{l} (2xy) \, dx + (2(x^2) + 3) \, dy = 0 \mid \times (y) \rightarrow (2xy^2) \, dx + (2yx^2 + 3y) \, dy = 0 \rightarrow \\ \left\{ \begin{array}{l} M(x, y) = 2xy^2 \\ N(x, y) = (2x^2y + 3y) \end{array} \right. \rightarrow \left\{ \begin{array}{l} \frac{\partial M}{\partial y} = 4xy \\ \frac{\partial N}{\partial x} = 2 \cdot 2xy = 4xy \end{array} \right. \rightarrow \frac{\partial M}{\partial y} = 4xy = \frac{\partial N}{\partial x} \\ \end{array}


Conclusion,


(2xy2)dx+(2yx2+3y)dy=0 is exact(2xy^2) \, dx + (2yx^2 + 3y) \, dy = 0 \text{ is exact}


2. Differential equation


((x2)+3x+2)dx+((x2)+x+1)dy=0((x^2) + 3x + 2)dx + ((x^2) + x + 1)dy = 0


Having an integration factor is just a function of (x+y)(x + y).

In our case,


{M(x,y)=x2+3x+2N(x,y)=x2+x+1{My=0Nx=2x+1My=02x+1=Nx\left\{ \begin{array}{l} M(x, y) = x^2 + 3x + 2 \\ N(x, y) = x^2 + x + 1 \end{array} \right. \rightarrow \left\{ \begin{array}{l} \frac{\partial M}{\partial y} = 0 \\ \frac{\partial N}{\partial x} = 2x + 1 \end{array} \right. \rightarrow \frac{\partial M}{\partial y} = 0 \neq 2x + 1 = \frac{\partial N}{\partial x}


Conclusion,


(x2)+3x+2dx+((x2)+x+1)dy=0 is not exact\boxed{(x^2) + 3x + 2 \cdot dx + ((x^2) + x + 1)dy = 0 \text{ is not exact}}


We now verify the fulfillment of the conditions of the theorem:


M/yN/xN=0(2x+1)x2+x+1=2x+1x2+x+1 is continuous and depends only on x\frac{\partial M / \partial y - \partial N / \partial x}{N} = \frac{0 - (2x + 1)}{x^2 + x + 1} = -\frac{2x + 1}{x^2 + x + 1} \text{ is continuous and depends only on } x


Then,


μ(x) is an integrating factor for the DE.\exists \mu(x) \text{ is an integrating factor for the DE}.


We can easily find this integral factor, using the formula from the theorem


μ(x)=exp[(M/yN/xN)dx]=exp[(2x+1x2+x+1)dx]=[x2+x+1=t(2x+1)dx=dt]==exp[(1t)dt]=exp[lnt]=exp[ln1t]=1t=1x2+x+1μ(x)=1x2+x+1\begin{aligned} \mu(x) &= \exp \left[ \int \left(\frac{\partial M / \partial y - \partial N / \partial x}{N}\right) dx \right] = \exp \left[ \int \left(-\frac{2x + 1}{x^2 + x + 1}\right) dx \right] = \begin{bmatrix} x^2 + x + 1 &= t \\ (2x + 1)dx &= dt \end{bmatrix} = \\ &= \exp \left[ \int \left(-\frac{1}{t}\right) dt \right] = \exp \left[ -\ln |t| \right] = \exp \left[ \ln \left| \frac{1}{t} \right| \right] = \frac{1}{t} = \frac{1}{x^2 + x + 1} \rightarrow \boxed{ \mu(x) = \frac{1}{x^2 + x + 1} } \end{aligned}


Checking:


((x2)+3x+2)dx+((x2)+x+1)dy=0×(1x2+x+1)\left(\left(x ^ {2}\right) + 3 x + 2\right) d x + \left(\left(x ^ {2}\right) + x + 1\right) d y = 0 \mid \times \left(\frac {1}{x ^ {2} + x + 1}\right)\rightarrow(x2+3x+2)x2+x+1dx+(x2+x+1)x2+x+1dy=0(x2+3x+2x2+x+1)dx+1dy=0\frac {(x ^ {2} + 3 x + 2)}{x ^ {2} + x + 1} d x + \frac {(x ^ {2} + x + 1)}{x ^ {2} + x + 1} d y = 0 \rightarrow \left(\frac {x ^ {2} + 3 x + 2}{x ^ {2} + x + 1}\right) \cdot d x + 1 \cdot d y = 0{M(x,y)=x2+3x+2x2+x+1N(x,y)=1{My=0Nx=0My=0=Nx\left\{ \begin{array}{c} M (x, y) = \frac {x ^ {2} + 3 x + 2}{x ^ {2} + x + 1} \\ N (x, y) = 1 \end{array} \right. \to \left\{ \begin{array}{l} \frac {\partial M}{\partial y} = 0 \\ \frac {\partial N}{\partial x} = 0 \end{array} \right. \to \frac {\partial M}{\partial y} = 0 = \frac {\partial N}{\partial x}


Conclusion,


(x2+3x+2x2+x+1)dx+1dy=0 is exact\boxed {\left(\frac {x ^ {2} + 3 x + 2}{x ^ {2} + x + 1}\right) \cdot d x + 1 \cdot d y = 0 \text{ is exact}}


ANSWER:


(ex2y)(1+2(x2)y)dx+(x3)(ex2y)dy=0y(x)=C1x2lnxx\left(e ^ {x ^ {2}} y\right) (1 + 2 (x ^ {2}) y) d x + (x ^ {3}) \left(e ^ {x ^ {2}} y\right) d y = 0 \rightarrow y (x) = \frac {C _ {1}}{x ^ {2}} - \frac {\ln | x |}{x}


1.


μ(y)=y is an integrating factor for the DE\mu (y) = y \text{ is an integrating factor for the DE}μ(y)=y is a function only of the variable y\mu (y) = y \text{ is a function only of the variable } y


2.


μ(x)=x2+x+1 is an integrating factor for the DE\mu (x) = x ^ {2} + x + 1 \text{ is an integrating factor for the DE}μ(x)=x2+x+1 is not a function of a variable (x+y)\mu (x) = x ^ {2} + x + 1 \text{ is not a function of a variable } (x + y)


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