Subtract the functions and take the definite integral between those points
It doesn't actually matter which curve your subtract, since
Double Integrals
In math119, we only deal with smooth functions and integrals with closed bounds
With multiple variables, the actually becomes a function of the unused variables
This is like getting the volume under some function with 2 variables inside some region
If that function is , then you just get the area inside the region
The intuition for this is to think about the sums along one variable, which gives a function of the other variable, which you then sum again
Make sure the bounds of the inner integral are based on the outer integral, if the bounds of the inner integral depend on the outer variable
If the inner bounds change when you do your sum, you need to account for that
Think about nested for loops
eg. if your bounds are , and you do , then your inner bounds must be
It doesn't matter which way you do first tho, but sometimes on direction is easier
You might be able to avoid computing an antiderivative until you have a substitution
If the function takes a single variable, integrate wrt the other variable first, so it's just a constant
When you do the inner integral, you get an expression for the area of some slice at
If the area is a rectangle or cube (the bounds do not depend on any of the variables), and you have a product of functions of the variables, you can express it as the product of integrals instead (since you keep moving out "constants")