Solveeit Logo

Question

Mathematics Question on Differential equations

An integrating factor of the differential equation xdyydx+x2exdx=0xdy - ydx + x^2e^xdx = 0 is

A

1x\frac{1}{x}

B

log1+x2log\sqrt{1+x^{2}}

C

1+x2\sqrt{1+x^{2}}

D

xx

Answer

1x\frac{1}{x}

Explanation

Solution

Given differential equation i
xdyydx+x2exdx=0\mid x d y-y d x+x^{2} e^{x} d x=0
xdy+dx(x2exy)=0\Rightarrow x d y+d x\left(x^{2} e^{x}-y\right)=0
dydxyx=xex\Rightarrow \frac{d y}{d x}-\frac{y}{x}=-x e^{x}
IF=ePdx=e1xdx\therefore IF =e^{\int P d x}=e^{\int-\frac{1}{x} d x}
=elogx=e^{-\log x}