# Finding the Integrating Factor

by Happydog
Tags: integrating factor
 P: 3 Hi ok so te question is asking for me to fin the integrating factor of (y2x+y)dy + (x2y+2x)dy = 0 the only thing i know is that the integrating factor should be a function of xy Can some one pleas explain how to do this? Thank you.
 HW Helper P: 2,618 You appear to have mistyped your problem. There 2 "dy"s here but no "dx".
PF Patron
Thanks
Emeritus
P: 38,406
 Quote by Happydog Hi ok so te question is asking for me to fin the integrating factor of (y2x+y)dy + (x2y+2x)dy = 0 the only thing i know is that the integrating factor should be a function of xy Can some one pleas explain how to do this? Thank you.
Assuming that you mean $(y^2x+ y)dx+ (x^2y+ 2x)dy= 0$, if you know that the integrating factor is a function of xy, the obvious thing to do is to put multiply that equation by u(xy) and see what happens. In order that $u(xy)(y^2x+ y)dx+ u(xy)(x^2y+ 2x)dy= 0$ be exact, we must have $(u(y^2x+ y))_y$ and $(u(x^2y+ 2x)_x)$ equal. That is, $u_x(y^2x+ y)+ u(2xy+1)= u_x(x^2y+ 2x)+ u(2xy+ 2)$. Since u is a function of xy specifically, $u_x= yu'$ and $u_y= xu'$. That is, u must satisfy $xu(y^2x+ y)+ u(2xy+1)= yu'(x^2y+ 2x)+ u(2xy+ 2)$. That gives you a differential equation for u which may or may not be solvable, depending upon whether there really is an integrating factor that is a function of xy only.

P: 3

## Finding the Integrating Factor

Yes the original equation is (y2x+y)dx + (x2y+2x)dy = 0, i have taken your sugestion but it did not work, i tryed a more general form of xnym and multiplied it through to see if i could solve for the n and m and equate the two of them but the two are not equal i end up getting (m+2)=(n+2) and (m+1)=2(n+1).

so can any one also give me some advice on how to solve this problem i am having. Thank you.
 HW Helper P: 2,618 I think HallsofIvy's advice is spot on. Equate the two derivatives after differentiating the product of u and the expression preceding the dx and dy. Use the chain rule when differentiating u(xy) with respect to x and y only by denoting product xy as v. Simplify the resulting equation and you'll notice it reduces to a simple separable differential equation. Solve that and express u in terms of x,y only and you're done. I tried it out and it works like a charm.
PF Patron