Double Integral (General Region) Notes

Published on: September 29, 2026

These Double Integral (General Region) Notes explain how to integrate a function over a region whose upper and lower edges are curves rather than straight lines, with the working shown 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

  1. Set up the problem.
  2. Write the formula.
  3. Integrate with respect to y.
  4. Evaluate at the y-curves.
  5. Integrate with respect to x.
  6. 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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

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

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\). Examples 3 and 4 give you two more of the same kind to try, \(\int_{0}^{2} \int_{0}^{x^{2}} x \, dy \, dx\) and \(\int_{0}^{1} \int_{x}^{1} 2 y \, dy \, dx\). Do the inner integral between the curves, then the outer one, and compare.

The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. Try each problem on paper first, then open the example and check your working one step at a time, so you can see exactly which step went wrong if your answer does not match. Use them to check your answers and to understand why each step works.

See Example 1 Hide Example 1

Problem

\(\int_{0}^{1} \int_{0}^{x} x y \, dy \, dx\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Integrate with respect to y.
  4. Evaluate at the y-curves.
  5. Integrate with respect to x.
  6. 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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

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.

\(\int_{0}^{1} \int_{0}^{x} x y \, dy \, dx\)

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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

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}\).

\(\int x y \, dy = \frac{x y^{2}}{2}\)

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.

\(\left[ \frac{x y^{2}}{2} \right]_{y = 0}^{y = x} = \frac{x^{3}}{2} - 0 = \frac{x^{3}}{2}\)

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}\).

\(\int \frac{x^{3}}{2} \, dx = \frac{x^{4}}{8}\)

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}\).

\(\left[ \frac{x^{4}}{8} \right]_{0}^{1} = \frac{1}{8} - 0 = \frac{1}{8}\)

Final Answer

\(\int_{0}^{1} \int_{0}^{x} x y \, dy \, dx = \frac{1}{8}\)
See Example 2 Hide Example 2

Problem

\(\int_{0}^{1} \int_{x^{2}}^{x} \left(x + y\right) \, dy \, dx\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Integrate with respect to y.
  4. Evaluate at the y-curves.
  5. Integrate with respect to x.
  6. 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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

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.

\(\int_{0}^{1} \int_{x^{2}}^{x} \left(x + y\right) \, dy \, dx\)

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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

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}\).

\(\int \left(x + y\right) \, dy = x y + \frac{y^{2}}{2}\)

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.

\(\left[ x y + \frac{y^{2}}{2} \right]_{y = x^{2}}^{y = x} = \frac{3 x^{2}}{2} - \left(\frac{x^{4}}{2} + x^{3}\right) = - \frac{x^{4}}{2} - x^{3} + \frac{3 x^{2}}{2}\)

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}\).

\(\int \left(- \frac{x^{4}}{2} - x^{3} + \frac{3 x^{2}}{2}\right) \, dx = - \frac{x^{5}}{10} - \frac{x^{4}}{4} + \frac{x^{3}}{2}\)

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}\).

\(\left[ - \frac{x^{5}}{10} - \frac{x^{4}}{4} + \frac{x^{3}}{2} \right]_{0}^{1} = \frac{3}{20} - 0 = \frac{3}{20}\)

Final Answer

\(\int_{0}^{1} \int_{x^{2}}^{x} \left(x + y\right) \, dy \, dx = \frac{3}{20}\)
See Example 3 Hide Example 3

Problem

\(\int_{0}^{2} \int_{0}^{x^{2}} x \, dy \, dx\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Integrate with respect to y.
  4. Evaluate at the y-curves.
  5. Integrate with respect to x.
  6. 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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

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.

\(\int_{0}^{2} \int_{0}^{x^{2}} x \, dy \, dx\)

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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

Step 3

Step 3 - Integrate with respect to y.

In this problem: Treating \(x\) as a constant, integrating \(x\) with respect to \(y\), covered in the Constant Rule Integration Calculator, gives \(x y\).

\(\int x \, dy = x y\)

Step 4

Step 4 - Evaluate at the y-curves.

In this problem: Putting the y limits in and subtracting gives \(x^{3} - 0 = x^{3}\). This is now a function of x only.

\(\left[ x y \right]_{y = 0}^{y = x^{2}} = x^{3} - 0 = x^{3}\)

Step 5

Step 5 - Integrate with respect to x.

In this problem: Integrating \(x^{3}\) with respect to \(x\), covered in the Power Rule Integration Calculator, gives \(\frac{x^{4}}{4}\).

\(\int x^{3} \, dx = \frac{x^{4}}{4}\)

Step 6

Step 6 - Evaluate at the x-limits.

In this problem: Putting the x limits in and subtracting gives \(4 - 0 = 4\).

\(\left[ \frac{x^{4}}{4} \right]_{0}^{2} = 4 - 0 = 4\)

Final Answer

\(\int_{0}^{2} \int_{0}^{x^{2}} x \, dy \, dx = 4\)
See Example 4 Hide Example 4

Problem

\(\int_{0}^{1} \int_{x}^{1} 2 y \, dy \, dx\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Integrate with respect to y.
  4. Evaluate at the y-curves.
  5. Integrate with respect to x.
  6. 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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

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.

\(\int_{0}^{1} \int_{x}^{1} 2 y \, dy \, dx\)

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.

\(\iint_{R} f(x, y)\,dA = \int_{a}^{b} \left( \int_{g_{1}(x)}^{g_{2}(x)} f(x, y)\,dy \right) dx\)

Step 3

Step 3 - Integrate with respect to y.

In this problem: Treating \(x\) as a constant, integrating \(2 y\) with respect to \(y\), covered in the Power Rule Integration Calculator, gives \(y^{2}\).

\(\int 2 y \, dy = y^{2}\)

Step 4

Step 4 - Evaluate at the y-curves.

In this problem: Putting the y limits in and subtracting gives \(1 - x^{2}\). This is now a function of x only.

\(\left[ y^{2} \right]_{y = x}^{y = 1} = 1 - x^{2}\)

Step 5

Step 5 - Integrate with respect to x.

In this problem: Integrating \(1 - x^{2}\) with respect to \(x\), covered in the Difference Rule Integration Calculator, gives \(- \frac{x^{3}}{3} + x\).

\(\int \left(1 - x^{2}\right) \, dx = - \frac{x^{3}}{3} + x\)

Step 6

Step 6 - Evaluate at the x-limits.

In this problem: Putting the x limits in and subtracting gives \(\frac{2}{3} - 0 = \frac{2}{3}\).

\(\left[ - \frac{x^{3}}{3} + x \right]_{0}^{1} = \frac{2}{3} - 0 = \frac{2}{3}\)

Final Answer

\(\int_{0}^{1} \int_{x}^{1} 2 y \, dy \, dx = \frac{2}{3}\)

Calculator and Practice Mode