Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

{ changing dxdx to dydx }, When ? and How ?

  1. Jan 13, 2009 #1
    for integration in two variables, say x and y

    let the original formula have dxdy
    when can i change it into dydx? and how to do that ?

    And also: Why ?

    the only reason for doing that i know till now is for example i have a function that is easy-to-integrate w.r.t. y but not w.r.t x, so i do make dy before dx to integrate the function w.r.t y then x, instead if x then y

    But how i do that ? and When ? And Why ( Another reasons .. ) ?
  2. jcsd
  3. Jan 13, 2009 #2


    User Avatar
    Homework Helper

    In most cases you encounter in practice you'll find that you can interchange the order of integration. The problem arises when the integral does not converge absolutely (that is, integrating the absolute value of the integrand yields an infinite result). See the following page for more information and an example of a function whose values differ by a sign under swapping the order:

  4. Jan 13, 2009 #3
    Can you write some example please ? as i can't get it from the wikipedia's page !
  5. Jan 14, 2009 #4
    i'm still needs help here!, i've exam after about 10 hours ..
  6. Jan 14, 2009 #5


    User Avatar
    Homework Helper

    What do you mean you "can't get it from wikipedia's page"? Do you mean the page isn't working or you don't understand the example? I'll assume the latter and explain wikipedia's example:

    The example given is

    [tex]\int_0^1\int_0^1 \frac{x^2-y^2}{(x^2+y^2)^2}\,dy\,dx[/tex]

    which the page claims you cannot change the order of integration in order to perform the integral. You can see this directly by noting that if you relabel the variable x by y and the variable y by x, the integrand looks exactly the same except that the terms in the numerator are reversed and the dydx is now dxdy. Pulling a minus sign out of the numerator you see that the integrand is again the same as before except for changing the order of integration - hence by changing the order of integration the value you calculate will change by a minus sign (in THIS particular example - this does NOT mean that in general changing the order of integration for such functions will just change the result by a minus sign).

    The reason you can't change the order without changing the value you calculate is that the function you are integrating is not absolutely convergent, meaning


    Observe the evaluation done on the page:

    [tex]=\int_0^1\left(\frac{1}{2y}+\frac{1}{2y}-\frac{1}{y^2+1}\right)\,dy=\int_0^1 \frac{1}{y}\,dy-\int_0^1\frac{1}{1+y^2}\,dy.[/tex]

    To quote wikipedia,

    The example given above is one of those cases.
  7. Jan 14, 2009 #6
    The way you would switch is by drawing a picture and seeing how that would change your bounds. Unless you are integrating to and from actual values, your inner integral goes from a function to a function, which is what you would need to adjust for.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook