Double Integral

Compute the total accumulation of a quantity over a 2D region—like volume under a surface or mass—by integrating a function of two variables over an area.

Rf(x,y)dA\iint_R f(x,y)\,dA

Solve a problem with Double Integral

Type the problem. The solver will use Double Integral where Double Integral is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Double Integral takes
ff
xx
yy
RR
Double Integral
SymbolMeaning
ffThe function f(x,y)f(x,y) represents the quantity at each point (height, density, temperature); treating it as single-variable loses information about how the quantity changes in both directions.
xxOne independent variable representing a coordinate in the plane; swapping it with yy changes the order of integration and your result.
yyThe other independent variable representing a coordinate in the plane; omitting it reduces the problem from 2D to 1D.
RRThe region over which you integrate, defined by bounds on xx and yy; forgetting to specify it leaves your integral ambiguous.

When to use it

When you need to find a total amount (volume, mass, probability) distributed across a 2D region.

Level

Usually taught in: Calculus III

Worked examples

1. Volume under a surface over a rectangle

Problem

Find the volume under f(x,y)=3x+2yf(x,y) = 3x + 2y over the rectangular region 0x20 \le x \le 2, 0y10 \le y \le 1.
  1. R(3x+2y)dA=0201(3x+2y)dydx\iint_R (3x + 2y) \, dA = \int_0^2 \int_0^1 (3x + 2y) \, dy \, dx

    Set up the double integral with constant bounds for both variables.

  2. 01(3x+2y)dy=[3xy+y2]01=3x+1\int_0^1 (3x + 2y) \, dy = \left[3xy + y^2\right]_0^1 = 3x + 1

    Integrate with respect to yy first, treating xx as a constant.

  3. 02(3x+1)dx=[3x22+x]02=6+2=8\int_0^2 (3x + 1) \, dx = \left[\frac{3x^2}{2} + x\right]_0^2 = 6 + 2 = 8

    Now integrate with respect to xx to get the total volume.

Answer: V=8 cubic unitsV = 8 \text{ cubic units}

We integrated first with respect to yy (treating xx as constant), then with respect to xx. This rectangular region allowed us to use simple constant bounds for both integrals.

2. Double integral with negative bounds and negative result

Problem

Evaluate R(2xy)dA\iint_R (2x - y) \, dA where RR is the rectangle 1x1-1 \le x \le 1, 0y20 \le y \le 2.
  1. R(2xy)dA=1102(2xy)dydx\iint_R (2x - y) \, dA = \int_{-1}^1 \int_0^2 (2x - y) \, dy \, dx

    Set up the double integral with the given bounds.

  2. 02(2xy)dy=[2xyy22]02=4x2\int_0^2 (2x - y) \, dy = \left[2xy - \frac{y^2}{2}\right]_0^2 = 4x - 2

    Integrate with respect to yy, treating xx as a constant.

  3. 11(4x2)dx=[2x22x]11=(22)(2+2)=4\int_{-1}^1 (4x - 2) \, dx = \left[2x^2 - 2x\right]_{-1}^1 = (2 - 2) - (2 + 2) = -4

    Integrate with respect to xx; the negative bounds and subtraction in the function produce a negative result.

Answer: R(2xy)dA=4\iint_R (2x - y) \, dA = -4

The negative bounds on xx and the negative result show that double integrals can handle regions with negative coordinates and produce negative outputs. The subtraction in 2xy2x - y means parts of the region contribute negatively to the total.

3. Volume of paint on a construction site

Problem

A construction company is painting a rectangular site measuring 10 meters by 8 meters. The paint thickness (in millimeters) at position (x,y)(x, y) is given by h(x,y)=0.5x+0.3yh(x,y) = 0.5x + 0.3y. Find the total volume of paint (in cubic meters) needed to cover the entire site.
  1. R(0.0005x+0.0003y)dA where 0x10,0y8\iint_R (0.0005x + 0.0003y) \, dA \text{ where } 0 \le x \le 10, 0 \le y \le 8

    The thickness is 0.5x+0.3y0.5x + 0.3y mm, which converts to 0.0005x+0.0003y0.0005x + 0.0003y meters. Set up the integral with these bounds.

  2. 08(0.0005x+0.0003y)dy=[0.0005xy+0.00015y2]08=0.004x+0.0096\int_0^8 (0.0005x + 0.0003y) \, dy = \left[0.0005xy + 0.00015y^2\right]_0^8 = 0.004x + 0.0096

    Integrate with respect to yy first.

  3. 010(0.004x+0.0096)dx=[0.002x2+0.0096x]010=0.2+0.096=0.296\int_0^{10} (0.004x + 0.0096) \, dx = \left[0.002x^2 + 0.0096x\right]_0^{10} = 0.2 + 0.096 = 0.296

    Integrate with respect to xx to find the total volume in cubic meters.

Answer: V=0.296 m3V = 0.296 \text{ m}^3

Double integrals appear naturally in applied problems where a quantity varies across a 2D region. Here, integrating the varying thickness over the rectangular site gives the total paint volume needed.

Common mistakes

Where Double Integral usually goes wrong
Answer came out wrong
Writing abcdf(x,y)dxdy\int_a^b \int_c^d f(x,y) \, dx \, dy without specifying the region RR.
Always specify the region RR explicitly by describing its bounds in terms of xx and yy, or by sketching it first to determine the correct limits of integration.
Treating Rf(x,y)dA\iint_R f(x,y) \, dA as (Rf(x)dx)(Rf(y)dy)\left(\int_R f(x) \, dx\right) \cdot \left(\int_R f(y) \, dy\right) (multiplying two separate single integrals).
Compute the double integral by iterating two single integrals: integrate with respect to one variable first, then with respect to the other, keeping the bounds correct for each step.
Writing Rf(x,y)\iint_R f(x,y) without the differential dAdA (or $dx \, dy$).
Always write Rf(x,y)dA\iint_R f(x,y) \, dA or Rf(x,y)dxdy\int \int_R f(x,y) \, dx \, dy to clearly show the infinitesimal area element.
The mistakeWhy it is wrongThe fix
Writing abcdf(x,y)dxdy\int_a^b \int_c^d f(x,y) \, dx \, dy without specifying the region RR.The bounds and order of integration depend on the shape and geometry of RR; what works for a rectangle differs from a triangle or circle.Always specify the region RR explicitly by describing its bounds in terms of xx and yy, or by sketching it first to determine the correct limits of integration.
Treating Rf(x,y)dA\iint_R f(x,y) \, dA as (Rf(x)dx)(Rf(y)dy)\left(\int_R f(x) \, dx\right) \cdot \left(\int_R f(y) \, dy\right) (multiplying two separate single integrals).The double integral is not a product; it is a unified sum of the function values over the 2D region.Compute the double integral by iterating two single integrals: integrate with respect to one variable first, then with respect to the other, keeping the bounds correct for each step.
Writing Rf(x,y)\iint_R f(x,y) without the differential dAdA (or $dx \, dy$).The differential dAdA indicates that you are accumulating over infinitesimal area elements; without it, the notation is incomplete and does not define a valid integral.Always write Rf(x,y)dA\iint_R f(x,y) \, dA or Rf(x,y)dxdy\int \int_R f(x,y) \, dx \, dy to clearly show the infinitesimal area element.

Tips and when to use something else

  • Set up the region RR first by sketching or describing its bounds; this determines the limits for both integrals.
  • Choose the order of integration (dx dy or dy dx) based on which one keeps your bounds simpler; sometimes one order requires piecewise bounds while the other uses constants.
  • For a non-rectangular region (like a circle or triangle), express the bounds on the inner variable as functions of the outer variable.
  • To find the area of a region RR without integrating a function, use RdA\iint_R dA; do not confuse this with Area Between Curves, which finds area between two 1D graphs instead of over a 2D region.

Frequently asked questions

Do I integrate dxdx first or dydy first in a double integral?
Either order works for rectangular regions, but for non-rectangular regions, one order often has simpler bounds. Sketch your region, identify which bounds should be constants, and make the inner variable depend on the outer one if needed. The choice is yours—just pick the one that is easier to compute.
What does dAdA mean in a double integral?
The notation dAdA represents an infinitesimal area element. When you write Rf(x,y)dA\iint_R f(x,y) \, dA, you are summing up the product of the function value and the tiny area piece at each location, which gives you the total accumulation. In Cartesian coordinates, dA=dxdydA = dx \, dy.
Is the double integral of a constant just the constant times the area of RR?
Yes! If f(x,y)=cf(x,y) = c (a constant), then RcdA=cArea(R)\iint_R c \, dA = c \cdot \text{Area}(R). This is why RdA\iint_R dA alone gives you the area of the region without integrating any function over it.
Can a double integral be negative?
Yes, if the function f(x,y)f(x,y) takes negative values over part or all of the region RR. The double integral sums positive contributions where f>0f > 0 and negative contributions where f<0f < 0, so the final result can be negative overall.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18