What is purpose of an integrating factor and how do you get one?

jenzao
Messages
48
Reaction score
0

Homework Statement



Am I doing this correctly?
Is 2y^4dx +4xy^3dy exact or inexact?

Homework Equations





The Attempt at a Solution



So if its exact, then M(x,y)dx = N(x,y)dy right? (Euler)

But how can I take partial derivative of 2y^4 with respect to x, if there is no x to derive??

thats where I am stuck?
 
Physics news on Phys.org
Am I doing this correctly?
Is 2y^4dx +4xy^3dy exact or inexact?

This is unclear.


So if its exact, then M(x,y)dx = N(x,y)dy right? (Euler)

Unclear

But how can I take partial derivative of 2y^4 with respect to x, if there is no x to derive??

2y^4 is constant does not change with respect to x

If the function f = 2y^4 does not change as x changes; it remains constant
d [f] / dx should be?
 
jenzao said:

Homework Statement



Am I doing this correctly?
Is 2y^4dx +4xy^3dy exact or inexact?

Homework Equations





The Attempt at a Solution



So if its exact, then M(x,y)dx = N(x,y)dy right? (Euler)

You have omitted something here: this is supposed to be

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

is an exact differential equation (in R) iff

M_y (x,y) = N_x (x,y) everywhere on R.

So you need to take partial derivatives to check this...

But how can I take partial derivative of 2y^4 with respect to x, if there is no x to derive??

... which you have reversed the order of in your work. You should be taking the partial derivative of 2y^4 with respect to y.
 
jenzao said:

Homework Statement



Am I doing this correctly?
Is 2y^4dx +4xy^3dy exact or inexact?

Homework Equations





The Attempt at a Solution



So if its exact, then M(x,y)dx = N(x,y)dy right? (Euler)
No, you have it reversed. It is M(x,y)y= N(x,y)x- assuming you mean M(x,y)dx+ N(x,y)dy.

But how can I take partial derivative of 2y^4 with respect to x, if there is no x to derive??
Then it is a constant with respect to x and the derivative would be 0. However what you want is (2y4)y and (4xy3)x.

thats where I am stuck?
Remember WHY you are doing that. IF M(x,y)dx+ N(x,y)dy is an exact differential, then there exist some function f(x,y) such that df= M(x,y)dx+ N(x,y)dy. By the chain rule,
df= \frac{\partial f}{\partial x}dx+ \frac{\partial f}{\partial y} dy[/itex] <br /> so if M(x,y)dx + N(x,y)dy is exact, M(x,y)= f<sub>x</sub> and N(x,y)= f<sub>y</sub>. Taking the derivatives of M and N give the <b>mixed</b> derivatives: M(x,y)<sub>y</sub>= f<sub>xy</sub> and N(x,y)<sub>x</sub>= f<sub>yx</sub>. As long as the derivatives are all continuous, those mixed derivatives must be equal.<br /> <br /> That does NOT answer your title questin &quot;What is the purpose of an integrating factor and how do we find one&quot;. <br /> <br /> Given a function f(x,y), it &quot;differential&quot; is <br /> df= \frac{\partial f}{\partial x}dx+ \frac{\partial f}{\partial y}dy<br /> Writing arbitrary functions for M(x,y) and N(x,y) in M(x,y)dx+ N(x,y)dy may LOOK like a differential but as I pointed out above, such an f exists if and only if the above criterion is satisfied- if and only if the differential is <b>exact</b>. It can be shown that, given anything of the form M(x,y)dx+ N(x,y)dy you can always multiply it by some function of x and y to <b>make</b> it exact- an &quot;integrating factor&quot;. There is, however, NO general method of finding an integrating factor.<br /> <br /> In this particular case, since both M(x,y) and N(x,y) involve only powers of x and y, I might <b>try</b> x<sup>n</sup>y<sup>m</sup> as an integrating factor. Multiplying by that, I have 2x<sup>n</sup>y<sup>m+4</sup>dx+ 4x<sup>n+1</sup>y<sup>m+3</sup>dy. Now, (2x<sup>n</sup>y<sup>m+4</sup>)<sub>y</sub>= 2(m+4)x<sup>n</sup>y<sup>m+3</sup> and (4x<sup>n+1</sup>y<sup>m+3</sup>)<sub>x</sub>= 4(n+1)x<sup>n</sup>y<sup>m+3</sup>. The powers of x and y are correct! In order that those be equal we must have 2(m+4)= 4(n+1) or 2m+ 8= 4n+ 4 so m= 2n- 2. It is easest to take n= 1 so m= 0. That means that x itself is an integrating factor: (2xy<sup>4</sup>)<sub>y[/sup]= 8xy<sup>3</sup> and (4x<sup>2</sup>y<sup>3</sup>)<sub>x<sub>= 8xy<sup>3</sup> also.<br /> <br /> That means there must exist some function f(x,y) so that df= f<sub>x</sub>dx+ f<sub>y</sub>ydy= (2xy<sup>4</sup>)dx+ (4x<sup>2</sup>y<sup>3</sup>)dy. In particular, f<sub>x</sub>= 2xy<sup>4</sup> so, integrating with respect to x (while treating y as a constant since this is a partial derivative) we have f(x,y)= x<sup>2</sup>y<sup>4</sup>+ C(y). Notice that, because y is treated as a constant in <a href="https://www.physicsforums.com/insights/partial-differentiation-without-tears/" class="link link--internal">partial differentiation</a>, the &quot;constant of integration&quot; <b>might</b> be a function of y. However, differentiating that with respect to y we have (x<sup>2</sup>y<sup>4</sup>+ C(y))<sub>y</sub>= 4x<sup>2</sup>y<sup>3</sup>+ C&#039;(y)= 4x<sup>2</sup>y<sup>3</sup> so C&#039;(y)= 0- C really is a constant. f(x,y)= x<sup>2</sup> y<sup>4</sup>+ C.<br /> <br /> Now, whether multiplying by that &quot;integrating factor&quot; disrupts the <b>rest</b> of the problem depends upon what the problem is! dynamicsolo is incorrect to suggest that there <b>must</b> be an &quot;= 0&quot; on that. A &quot;differential&quot; is <b>not</b> a &quot;differential equation&quot; and an &quot;exact differential is not an &quot;exact differential equation&quot;. However, if the problem really were, as he suggested, to solve the (non-exact) differential equation 2y<sup>4</sup>dx+ 4xy<sup>3</sup>= 0, then multiply both sides by x gives 2xy<sup>4</sup>dx+ 4x<sup>2</sup>y<sup>3</sup>= d(x<sup>2</sup>y<sup>4</sup>)= 0 which has the general solution x<sup>2</sup>y<sup>4</sup>= C.</sub></sub></sub>
 
Last edited by a moderator:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top