Help me to remember changing the order of integration

I’m trying to remember how to do this and I am looking at a problem. The details of the function are not germane to this question, but the limits of integration are.

To clarify notation, let int(a,b)f(x)dx represent an integral of the function f(x) evaluated from a to b.

The problem I have looks like this
int(0,c)[int(0,y)f(x,y)dx]dy
and I want to swap the order of integration.

If I draw the domain on a piece of paper, the inner integral goes from x = 0, to x = y and the outer integral goes from 0 to c. So it is a triangle with the left side being the y axis from x = 0 to c, the top being parallel with the x axis at y = c, and the other line being x = y

The question is: how would this be written when changing the order of integration?

It seems to me that the inner integral becomes
int(x,c)f(x,y)dy
but the outer integral seems a bit off to me.
i get
int(0,c)[int(x,c)f(x,y)dy]dx

Is it OK that the constant c appears twice now?

You have it right, and there’s no issue with c appearing twice. (Think about what would happen if you were talking about the whole square with 0 ≤ xc and 0 ≤ yc.) You’re probably doing this already, but the best way I know of to think about it is to think about horizontal lines in the domain for the original integral and vertical lines for the second integral.

Agreed. You have it right.

Ok, thanks both!
Sent from my iPhone using Tapatalk