Skip to content
    Calculus

    Double Integrals Explained: How to Evaluate Them

    How do you find the total mass of a plate that's heavier at one corner, or the volume under a curved roof? A single integral adds along a line; a double integral adds over a whole flat region. This guide shows how to evaluate one, one integral at a time.

    Math Solver Academic Editorial Board5 min read

    Key takeaways

    • A double integral adds f(x, y) over a flat region: ∬ f dA.
    • Over a rectangle, do the inner integral first, then the outer one.
    • If f = g(x)·h(y), the answer is (∫g dx) × (∫h dy).
    • If f is a height, the double integral is the volume under the surface.
    In this guide
    1. 01What is a double integral?
    2. 02Why do double integrals matter?
    3. 03The formula
    4. 04How to evaluate a double integral step by step
    5. 05Common mistakes to avoid
    6. 06Tips and tricks
    7. 07Where you'll use it in real life
    8. 08Quick summary
    9. 09Worked example
    10. 10Frequently asked questions

    What is a double integral?

    A normal integral adds up thin strips under a curve to get an area. A double integral adds up tiny squares over a flat region of the xy-plane. On each small square with area dA, you multiply by the value f(x, y) there, and then add everything.

    A good picture: a rectangle of land with a roof above it at height f(x, y). The double integral is the volume of air between the ground and the roof. If f is a density, like kilograms per square metre, the double integral gives the total mass instead.

    Why do double integrals matter?

    The real world is not one-dimensional. Rain falls over a whole field, heat spreads across a whole floor, and a metal plate can be thicker in some places than others. Double integrals add up quantities like these over an area.

    The good news is that you never need a new technique. A double integral is just two ordinary integrals, one inside the other.

    Integrate f = 1 over a region and you get its area. Integrate a height and you get a volume. Integrate a density and you get a mass. Same tool, three meanings.

    The formula

    ∬_R f(x, y) dA = ∫ᶜᵈ ∫ₐᵇ f(x, y) dx dy
    SymbolWhat it meansExample
    RThe rectangle a ≤ x ≤ b, c ≤ y ≤ d[0, 2] × [0, 3]
    f(x, y)What you add up (height, density…). Here xⁿ·yᵐx·y²
    a, bThe x-limits0 and 2
    c, dThe y-limits0 and 3
    dAA tiny piece of area, dx × dy—

    This calculator uses f(x, y) = xⁿ · yᵐ. Because this splits into an x-part times a y-part, the double integral becomes a simple product: (∫ₐᵇ xⁿ dx) × (∫ᶜᵈ yᵐ dy). It needs a < b and c < d.

    How to evaluate a double integral step by step

    1. 1Do the inner integral first. Integrate in x, treating y as a constant.
    2. 2Put in the x-limits. Substitute b and a and subtract. You now have an expression in y only.
    3. 3Do the outer integral. Integrate that result in y from c to d.
    4. 4Use the shortcut when you can. For a product like xⁿyᵐ, just multiply two separate definite integrals.

    Now try your own powers and limits. The calculator below shows each of the two integrals and their product.

    Try it yourself

    Pre-filled with the example — change any value.

    🧮
    Calculus
    University

    Double Integral (Rectangle)

    Compute ∬ f(x,y) = xⁿ·yᵐ over rectangle [a,b]×[c,d].

    ∬_R f(x,y) dA = ∫[c,d] ∫[a,b] f(x,y) dx dy

    Area Under Curve ∫f(x)dx
    0.120
    0.120
    120
    0.120
    120
    0.120

    💡 Example

    Reference
    Inputs:n=1, m=1, a=0, b=1, c=0, d=1
    Result:0.25
    Open the full Double Integral (Rectangle) calculator

    Common mistakes to avoid

    • Mixing up the limits. The x-limits go with dx and the y-limits go with dy.
    • Forgetting to treat the other variable as a constant. In the inner x-integral, y behaves like a plain number.
    • Using fixed limits for curved regions. For triangles or circles, the inner limits depend on the other variable.
    • Forgetting units. Density in kg/m² over an area in m² gives kg.

    Tips and tricks

    • Average value: divide the double integral by the area of the region. For the example, 18 ÷ 6 = 3 kg per m².
    • Quick check: set f = 1 and you should get the area (b − a)(d − c).
    • Changing variables? You'll need the Jacobian to rescale dA.

    Where you'll use it in real life

    • Engineering: the total mass of a thin plate with uneven thickness.
    • Architecture: the volume under a curved roof or dome.
    • Weather: total rainfall over a region from rainfall per square metre.
    • Statistics: probabilities for two random variables at once.

    Quick summary

    A double integral adds f(x, y) over a flat region. Over a rectangle, integrate in x, then in y; and if f = xⁿ·yᵐ, just multiply the two single integrals. Use the calculator above to see both integrals and the final answer.

    Worked example

    A metal plate covers the rectangle 0 ≤ x ≤ 2, 0 ≤ y ≤ 3 (in metres). Its density is x·y² kilograms per square metre, so it gets heavier towards one corner. What is its total mass? Use n = 1, m = 2, a = 0, b = 2, c = 0 and d = 3.

    1. 01∬_R x^1·y^2 dA over [0,2]×[0,3]
    2. 02= (∫[0,2] x^1 dx) × (∫[0,3] y^2 dy) [separable]
    3. 03∫[0,2] x^1 dx = [x^2/2]|[0,2] = 2
    4. 04∫[0,3] y^2 dy = [y^3/3]|[0,3] = 9
    5. 05∬ = 2 × 9 = 18

    These numbers are pre-filled in the calculator above.

    Frequently asked questions

    Does the order of integration matter in a double integral?

    For a continuous function over a rectangle, no. You can integrate x first or y first and get the same answer (this is called Fubini's theorem).

    What does a double integral represent?

    If f(x, y) is positive, it is the volume under the surface z = f(x, y) above the region. It can also mean total mass, charge or probability, depending on what f measures.

    What is the double integral of xy over the unit square?

    It is (∫₀¹ x dx) × (∫₀¹ y dy) = (1/2) × (1/2) = 1/4.

    Can this calculator handle circles or triangles?

    No. It works over rectangles with f = xⁿ·yᵐ. For other regions the inner limits depend on the outer variable, so set them up by hand.

    #Calculus#University#Double Integral (Rectangle)
    Updated

    Keep reading

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX