Double Integral Calculator

CalculusFreeNo sign-up

A double integral adds up f(x, y) over a region R. You integrate the inner variable first, treating the other as a constant, then integrate the result. For example, \(\int_{0}^{2}\int_{0}^{x} xy^{2}\,dy\,dx = \int_{0}^{2} \frac{x^{4}}{3}\,dx = \frac{32}{15}\).

FreeStep by stepPolar too

\(f = x y^{2}\)Use x and y (or r and theta in polar mode).

Can depend on the outer variable, like x^2.

Numbers or expressions like pi/2.

Try:
Double integral
\(\displaystyle \int_{0}^{2}\int_{0}^{x} x y^{2}\,dy\,dx = \frac{32}{15} \approx 2.1333333\)
Exact value found: 2.133333333.
xy0−2.0−1.5−1.0−0.50.51.01.52.02.53.03.54.0−1.0−0.50.51.01.52.02.53.0

The shaded region R in the plane.

Integral \(\int_{0}^{2}\int_{0}^{x} x y^{2}\,dy\,dx\)
Decimal value 2.133333333
Area of the region 2
Average value of f 1.0666667
Show steps
  1. Integrate the inside with respect to y, treating x as a constant: \(\int x y^{2}\,dy = \frac{x y^{3}}{3}\)
  2. Evaluate from \(y = 0\) to \(y = x\): \(\frac{x^{4}}{3}\)
  3. Integrate the result with respect to x: \(\int \frac{x^{4}}{3}\,dx = \frac{x^{5}}{15}\)
  4. Evaluate from \(x = 0\) to \(x = 2\): \(\frac{32}{15}\)

How to use the double integral calculator

  1. Enter f(x, y).
  2. Choose the order: dy dx means y is integrated first (inner), then x.
  3. Enter the inner limits (they may use the outer variable) and the outer limits (numbers).
  4. For polar regions choose Polar; the calculator includes the extra factor r automatically.
  5. Press Integrate to see the steps, the exact value when one exists, and the region.

How double integrals are evaluated

By Fubini’s theorem, a double integral is computed as an iterated integral:

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

  1. Integrate the inside with respect to y, holding x constant.
  2. Substitute the inner limits.
  3. Integrate the resulting function of x between the outer limits.

Worked example: region between two curves

Find the area between \(y = x^{2}\) and \(y = \sqrt{x}\) for \(0 \le x \le 1\):

\(\int_{0}^{1}\int_{x^{2}}^{\sqrt{x}} 1\,dy\,dx = \int_{0}^{1}\left(\sqrt{x} – x^{2}\right)dx = \left[\tfrac{2}{3}x^{3/2} – \tfrac{1}{3}x^{3}\right]_{0}^{1} = \tfrac{1}{3}\)

Polar coordinates

For disks, rings and sectors use \(x = r\cos\theta,\ y = r\sin\theta\) and \(dA = r\,dr\,d\theta\):

\(\int_{0}^{2\pi}\int_{0}^{2} r^{2}\cdot r\,dr\,d\theta = \int_{0}^{2\pi} 4\,d\theta = 8\pi\)

Forgetting the factor r is the most common polar mistake.

Changing the order of integration

Some integrals are easy in one order and impossible in the other. \(\int_{0}^{1}\int_{y}^{1} e^{x^{2}}\,dx\,dy\) has no elementary inner antiderivative, but the same region described as \(0 \le y \le x,\ 0 \le x \le 1\) gives \(\int_{0}^{1} x e^{x^{2}}\,dx = \frac{e-1}{2}\). When no exact form is found, the calculator still gives an accurate decimal.

Double integrals practice quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. Evaluate ∫01∫02 1 dy dx.

Found a mistake? Let us know!

2. In ∫∫ f dy dx, which variable is integrated first?

Found a mistake? Let us know!

3. Evaluate ∫01∫01 xy dy dx.

Found a mistake? Let us know!

4. In polar coordinates, dA equals…

Found a mistake? Let us know!

5. The area of a disk of radius 3 as a polar integral is…

Found a mistake? Let us know!

6. Evaluate ∫02∫0x 1 dy dx.

Found a mistake? Let us know!

7. ∫01∫01 (x + y) dy dx = ?

Found a mistake? Let us know!

8. Region 0 ≤ y ≤ x², 0 ≤ x ≤ 1. Which order fits the limits?

Found a mistake? Let us know!

9. What does ∫∫R 1 dA give?

Found a mistake? Let us know!

10. Average value of f over R equals…

Found a mistake? Let us know!

Frequently asked questions

How do you solve a double integral?

Integrate the inner integral with respect to its variable while treating the other variable as a constant, substitute the limits, then integrate the result with respect to the outer variable.

Does the order of integration matter?

For continuous functions the value is the same in either order (Fubini’s theorem), but the limits change and one order can be much easier.

Why is there an extra r in polar double integrals?

A small polar region has area approximately r·dr·dθ, so dA = r dr dθ.

What if there is no antiderivative?

The calculator then evaluates the integral numerically with adaptive Gauss–Kronrod quadrature and shows a decimal accurate to about 8 digits.

Can the inner limits be functions?

Yes. Inner limits may use the outer variable, such as y from x² to √x. The outer limits must be numbers.

Sources

Related calculators

Browse all calculators

More calculus calculators

Browse all 354 calculators

Related to This Article

What people say about "Double Integral Calculator: Steps, Region Graph, Polar"?

No one replied yet.

Leave a Reply