Answer on Question #40385, Math, Differential Calculus
Task was solve the differential equation:
(xy2−x2)dx+(3x2y2+x2y−2x3+y2)dy=0
Solution:
Let's find the integrating factor μ(y) by which you multiply the equation, that it was resolved in the total derivatives. For this let R(x,y)=xy2−x2 , S(x,y)=3x2y2+x2y−2x3+y2 .
Now we have equation like μ(y)R(x.y)+μ(y)S(x,y)dxdy=0
Condition for the existence the integrating factor μ(y) is ∂y∂(μ(y)R(x.y))=∂∂(μ(y)S(x,y)).
Substitute R(x,y) and S(x,y) into (1):
dydμ(y)(xy2−x2)+2yxμ(y)=μ(y)(6xy2+2xy−6x2)
Collect the common multipliers
dydμ(y)(xy2−x2)=μ(y)(6xy2−6x2)μ(y)dμ(y)=(xy2−x2)(6xy2−6x2)dy=6dy.
Integrate to y : In μ(y)=6y=>μ(y)=e6y .
Now we found integrating factor μ(y) . Multiply our equation for μ(y) :
e6y(xy2−x2)dx+e6y(3x2y2+x2y−2x3+y2)dy=0
Let P(x,y)=e6y(xy2−x2),Q(x,y)=e6y(3x2y2+x2y−2x3+y2)
This is an exact equation, because ∂y∂P(x,y)=6xe6y(y2−x)+2xe6yy=∂x∂Q(x,y) .
Define f(x,y) such that ∂x∂f(x,y)=P(x,y),∂y∂f(x,y)=Q(x,y) .
Then solution will be given by f(x,y)=C , where C is arbitrary constant.
Integrate ∂x∂f(x,y) with respect to x in order to find f(x,y) :
f(x,y)=∫e6y(xy2−x2)dx=e6y(2y2x2−3x3)+g(y) , where g(y) is an arbitrary function of y .
Differentiate f(x,y) with respect to y in order to find g(y) :
∂y∂f(x,y)=∂y∂(e6y(2y2x2−3x3)+g(y))=e6yyx2+6e6y(2y2x2−3x3)+dydg(y)
Substitute into ∂y∂f(x,y)=Q(x,y) :
e6yyx2+6e6y(2y2x2−3x3)+dydg(y)=e6y(3x2y2+x2y−2x3+y2)e6yyx2+e6y(3y2x2−2x3)+dydg(y)=e6y(3x2y2+x2y−2x3+y2)dydg(y)=e6yy2
Integrate dydg(y) with respect to y:
g(y)=∫e6yy2dy=61∫y2de6y=61y2e6y−61∫e6y⋅2ydy=61y2e6y−31(61ye6y−61∫e6ydy)==61y2e6y−31(61ye6y−361e6y)=1081e6y(18y2−6y+1)
Substitute g(y) into f(x,y):
f(x,y)=∫e6y(xy2−x2)dx=e6y(2y2x2−3x3)+1081e6y(18y2−6y+1)
The solution is f(x,y)=C
e6y(2y2x2−3x3)+1081e6y(18y2−6y+1)=C
Answer:
e6y(2y2x2−3x3)+1081e6y(18y2−6y+1)=C