Double Integral Calculator (General Region)
This Double Integral Calculator (General Region) integrates a function over a region whose upper and lower edges are curves rather than straight lines, and shows the working line by line. The inner limits depend on the outer variable, so the inner integral must be done first and its result still carries that variable. Only then do the outer limits apply. Following the same pattern every time keeps the order of integration fixed.
Step-by-step method
- Set up the problem.
- Write the formula.
- Integrate with respect to y.
- Evaluate at the y-curves.
- Integrate with respect to x.
- Evaluate at the x-limits.
Formula: Double Integral over a General Region
This formula integrates over a region between two curves. The inner integral runs from the lower curve to the upper curve in y, then the outer integral runs from a to b in x.
Useful Tips to Remember
The inner limits are functions of x, so the inner integral must be done first and its answer still contains x. Check that \(g_{1}(x) \le g_{2}(x)\) for every x in the interval, or the sign of the answer flips. Sketching the region makes the limits much easier to choose. With an integrand of 1, the double integral is the area between the curves.
Required knowledge
- How to find an antiderivative, covered in the Indefinite Integral Calculator.
- How to evaluate a definite integral, covered in the Definite Integral Calculator.
- The same method over a rectangle, covered in the Double Integral Calculator (Rectangular Region).
Where Are Double Integrals over General Regions Used?
Most real regions are not rectangles, so double integrals over curved regions are how areas, volumes and masses of real shapes are found. Engineers integrate over curved plates to find mass and centre of mass. In probability, regions like \(x < y\) appear when comparing two random quantities. Architects and designers use them for areas and volumes of curved parts, and physicists use them for charge and flux over irregular regions.
- Area between two curves
- Mass of curved plates and parts
- Probabilities over regions like x < y
- Volumes of curved solids
- Charge and flux over irregular regions
Double Integral over a General Region Practice Problems
Example 1 integrates \(x y\) over the triangle under \(y = x\), and Example 2 integrates \(x + y\) between \(y = x^{2}\) and \(y = x\). Do the inner integral between the curves, then the outer one, and compare. For two more free worked examples, check out the Double Integral (General Region) Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Integrate with respect to y.
- Evaluate at the y-curves.
- Integrate with respect to x.
- Evaluate at the x-limits.
Formula
Formula: Double Integral over a General Region
This formula integrates over a region between two curves. The inner integral runs from the lower curve to the upper curve in y, then the outer integral runs from a to b in x.
Step 1
Step 1 - Set up the problem.
In this problem: We are integrating f over the region where x runs from a to b and, for each x, y runs from the lower curve to the upper curve.
Step 2
Step 2 - Write the formula.
In this problem: Over a region between two curves, the inner integral is done with respect to y between the curves, holding x constant. Its result is a function of x, which is then integrated from a to b.
Step 3
Step 3 - Integrate with respect to y.
In this problem: Treating \(x\) as a constant, integrating \(x y\) with respect to \(y\), covered in the Power Rule Integration Calculator, gives \(\frac{x y^{2}}{2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- If there is a number in front, move it out with the constant multiple rule.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(y\), so \(n = 1\). The number \(x\) in front is a constant multiple.
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Move the number in front out with the constant multiple rule.
In this problem: \(x\) is a constant, so it moves outside the integral and the power rule only works on \(y\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = x\) and the function is \(y\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(x\) in front of the integral sign and leave \(y\) inside.
Final Answer
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Here \(n = 1\). Put it into the formula, but do not simplify yet.
Step 5
Step 5 - Solve and simplify, adding C.
In this problem: The new exponent is \(1 + 1 = 2\).
Final Answer
Step 4
Step 4 - Evaluate at the y-curves.
In this problem: Putting the y limits in and subtracting gives \(\frac{x^{3}}{2} - 0 = \frac{x^{3}}{2}\). This is now a function of x only.
Step 5
Step 5 - Integrate with respect to x.
In this problem: Integrating \(\frac{x^{3}}{2}\) with respect to \(x\), covered in the Power Rule Integration Calculator, gives \(\frac{x^{4}}{8}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- If there is a number in front, move it out with the constant multiple rule.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x^{3}\), so \(n = 3\). The number \(\frac{1}{2}\) in front is a constant multiple.
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Move the number in front out with the constant multiple rule.
In this problem: \(\frac{1}{2}\) is a constant, so it moves outside the integral and the power rule only works on \(x^{3}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = \frac{1}{2}\) and the function is \(x^{3}\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(\frac{1}{2}\) in front of the integral sign and leave \(x^{3}\) inside.
Final Answer
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Here \(n = 3\). Put it into the formula, but do not simplify yet.
Step 5
Step 5 - Solve and simplify, adding C.
In this problem: The new exponent is \(3 + 1 = 4\).
Final Answer
Step 6
Step 6 - Evaluate at the x-limits.
In this problem: Putting the x limits in and subtracting gives \(\frac{1}{8} - 0 = \frac{1}{8}\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Integrate with respect to y.
- Evaluate at the y-curves.
- Integrate with respect to x.
- Evaluate at the x-limits.
Formula
Formula: Double Integral over a General Region
This formula integrates over a region between two curves. The inner integral runs from the lower curve to the upper curve in y, then the outer integral runs from a to b in x.
Step 1
Step 1 - Set up the problem.
In this problem: We are integrating f over the region where x runs from a to b and, for each x, y runs from the lower curve to the upper curve.
Step 2
Step 2 - Write the formula.
In this problem: Over a region between two curves, the inner integral is done with respect to y between the curves, holding x constant. Its result is a function of x, which is then integrated from a to b.
Step 3
Step 3 - Integrate with respect to y.
In this problem: Treating \(x\) as a constant, integrating \(x + y\) with respect to \(y\), covered in the Sum Rule Integration Calculator, gives \(x y + \frac{y^{2}}{2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the sum rule for integration.
- Split the integral across the addition signs.
- Integrate each separated term as Step 4a, Step 4b, Step 4c, and so on.
- Combine the results and add the constant of integration C.
Step 1
Step 1 - Set up the terms in the sum.
In this problem: We are integrating a sum. The separate terms are \(x\), \(y\).
Step 2
Step 2 - Write the sum rule for integration.
In this problem: The integral of a sum is the sum of the integrals.
Step 3
Step 3 - Split the integral across the addition signs.
In this problem: Apply the integral to each separated term, keeping each sign.
Step 4a
Step 4a - Integrate the separated term \(x\).
In this problem: The separated term is \(x\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant rule for integration.
- Multiply the constant by x and add the constant of integration C.
Step 1
Step 1 - Identify the constant k.
In this problem: The constant is \(k = x\).
Step 2
Step 2 - Write the constant rule for integration.
In this problem: The integral of a constant is the constant times x.
Step 3
Step 3 - Multiply the constant by x and add the constant of integration C.
In this problem: The antiderivative is \(x y\).
Final Answer
Step 4b
Step 4b - Integrate the separated term \(y\).
In this problem: The separated term is \(y\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(y\), so \(n = 1\).
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Substitute the exponent into the formula.
In this problem: Here \(n = 1\). Put it into the formula, but do not simplify yet.
Step 4
Step 4 - Solve and simplify, adding C.
In this problem: The new exponent is \(1 + 1 = 2\).
Final Answer
Step 5
Step 5 - Combine the results and add the constant of integration C.
In this problem: Put the integral of each term back together, keeping the signs, and add one constant C.
Final Answer
Step 4
Step 4 - Evaluate at the y-curves.
In this problem: Putting the y limits in and subtracting gives \(\frac{3 x^{2}}{2} - \left(\frac{x^{4}}{2} + x^{3}\right) = - \frac{x^{4}}{2} - x^{3} + \frac{3 x^{2}}{2}\). This is now a function of x only.
Step 5
Step 5 - Integrate with respect to x.
In this problem: Integrating \(- \frac{x^{4}}{2} - x^{3} + \frac{3 x^{2}}{2}\) with respect to \(x\), covered in the Difference Rule Integration Calculator, gives \(- \frac{x^{5}}{10} - \frac{x^{4}}{4} + \frac{x^{3}}{2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the sum rule and difference rule for integration.
- Split the integral across the plus and minus signs.
- Integrate each separated term as Step 4a, Step 4b, Step 4c, and so on.
- Combine the results and add the constant of integration C.
Step 1
Step 1 - Set up the terms in the sum and difference.
In this problem: We are integrating a sum and difference. The separate terms are \(x^{3}\), \(\frac{3 x^{2}}{2}\), \(\frac{\left(-1\right) x^{4}}{2}\).
Step 2
Step 2 - Write the sum rule and difference rule for integration.
In this problem: The integral of a sum or difference is the sum or difference of the integrals.
Step 3
Step 3 - Split the integral across the plus and minus signs.
In this problem: Apply the integral to each separated term, keeping each sign.
Step 4a
Step 4a - Integrate the separated term \(x^{3}\).
In this problem: The separated term is \(x^{3}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x^{3}\), so \(n = 3\).
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Substitute the exponent into the formula.
In this problem: Here \(n = 3\). Put it into the formula, but do not simplify yet.
Step 4
Step 4 - Solve and simplify, adding C.
In this problem: The new exponent is \(3 + 1 = 4\).
Final Answer
Step 4b
Step 4b - Integrate the separated term \(\frac{3 x^{2}}{2}\).
In this problem: The separated term is \(\frac{3 x^{2}}{2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- If there is a number in front, move it out with the constant multiple rule.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x^{2}\), so \(n = 2\). The number \(\frac{3}{2}\) in front is a constant multiple.
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Move the number in front out with the constant multiple rule.
In this problem: \(\frac{3}{2}\) is a constant, so it moves outside the integral and the power rule only works on \(x^{2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = \frac{3}{2}\) and the function is \(x^{2}\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(\frac{3}{2}\) in front of the integral sign and leave \(x^{2}\) inside.
Final Answer
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Here \(n = 2\). Put it into the formula, but do not simplify yet.
Step 5
Step 5 - Solve and simplify, adding C.
In this problem: The new exponent is \(2 + 1 = 3\).
Final Answer
Step 4c
Step 4c - Integrate the separated term \(\frac{\left(-1\right) x^{4}}{2}\).
In this problem: The separated term is \(\frac{\left(-1\right) x^{4}}{2}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the power rule for integration.
- If there is a number in front, move it out with the constant multiple rule.
- Substitute the exponent into the formula.
- Solve and simplify, adding C.
Step 1
Step 1 - Set up the problem.
In this problem: The power is \(x^{4}\), so \(n = 4\). The number \(- \frac{1}{2}\) in front is a constant multiple.
Step 2
Step 2 - Write the power rule for integration.
In this problem: Raise the exponent by one, then divide by the new exponent.
Step 3
Step 3 - Move the number in front out with the constant multiple rule.
In this problem: \(- \frac{1}{2}\) is a constant, so it moves outside the integral and the power rule only works on \(x^{4}\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the constant multiple rule for integration.
- Pull the constant outside the integral.
Step 1
Step 1 - Identify the constant multiple k and the function f(x).
In this problem: The constant is \(k = - \frac{1}{2}\) and the function is \(x^{4}\).
Step 2
Step 2 - Write the constant multiple rule for integration.
In this problem: A constant factor can be moved outside the integral.
Step 3
Step 3 - Pull the constant outside the integral.
In this problem: Move \(- \frac{1}{2}\) in front of the integral sign and leave \(x^{4}\) inside.
Final Answer
Step 4
Step 4 - Substitute the exponent into the formula.
In this problem: Here \(n = 4\). Put it into the formula, but do not simplify yet.
Step 5
Step 5 - Solve and simplify, adding C.
In this problem: The new exponent is \(4 + 1 = 5\).
Final Answer
Step 5
Step 5 - Combine the results and add the constant of integration C.
In this problem: Put the integral of each term back together, keeping the signs, and add one constant C.
Final Answer
Step 6
Step 6 - Evaluate at the x-limits.
In this problem: Putting the x limits in and subtracting gives \(\frac{3}{20} - 0 = \frac{3}{20}\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Double Integral (General Region) Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Double Integral (General Region) Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.
Login and upgrade to Pro to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.