Home / Learn / Exam prep / IIT JAM Physics / Lesson 1.3
All lessons

Module 1: Mathematical methods · Lesson 1.3 · about 45 min

Double and triple integrals in any coordinates

How to set up double and triple integrals, read the limits off a sketch, change the order of integration, and switch to polar, cylindrical or spherical coordinates with the right Jacobian, then use them for areas, volumes, mass, centres of mass, moments of inertia and the Gaussian integral.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 1 · about 45 minutes. By the end you will be able to sketch a region and read off the limits of a double or triple integral in either order, choose the coordinates that make an integral easy, use the correct area or volume element every time, and compute the areas, volumes, masses, charges, centres of mass and moments of inertia that JAM asks for.

A multiple integral adds up tiny pieces. Choose pieces that fit the shape (rings for discs, shells for balls) and remember that a piece's size is not always dx dy dz.

1. Adding up pieces

A double integral ∬DfdA cuts the region D into tiny patches of area dA, multiplies each by the value of f there, and adds. If f is a surface density, the answer is a mass; if f=1, it is just the area. In practice you do it as two ordinary integrals one after the other (an iterated integral):

∬DfdA=∫ab(∫y1(x)y2(x)f(x,y)dy)dx

The inner integral runs along a vertical strip at fixed x, from the bottom edge y1(x) to the top edge y2(x). The outer one adds the strips from x=a to x=b. The inner limits may depend on the outer variable; the outer limits must be numbers.

Worked example. Find the area between y=x2 and y=x.

  1. Sketch: the curves meet at x=0 and x=1; between them the line is on top.
  2. Vertical strips: y from x2 to x. Area =∫01(x−x2)dx=12−13=16.
  3. Check with horizontal strips: for fixed y, x runs from y (the line) to y (the parabola): ∫01(y−y)dy=23−12=16.

See areas built from strips in the Riemann sums tool.

2. Changing the order of integration

Sometimes the inner integral cannot be done as written, but the other order is easy. The recipe is always the same: sketch the region, then describe it the other way.

Worked example. Evaluate ∫01∫y1ex2dxdy.

  1. ex2 has no elementary antiderivative, so the inner integral is stuck.
  2. The region is 0≤y≤x≤1: the triangle under the diagonal. For fixed x, y runs from 0 to x.
  3. Reversed: ∫01∫0xex2dydx=∫01xex2dx=12(e−1). The new inner integral supplied exactly the factor x that was missing.

Symmetry first. Before integrating anything, look for symmetry. If the region is unchanged by x→−x and the integrand changes sign, the integral is zero. Over a disc, ∬xdA=∬xydA=0, but ∬x2dA>0. And by symmetry ∬x2dA=∬y2dA=12∬r2dA, which turns many integrals into one line.

3. Curved coordinates and their elements

The patch dA is only dxdy in Cartesian coordinates. In other coordinates, find the patch’s edge lengths and multiply them (this is the Jacobian of lesson 1.2). Switch between the three systems below and move r and θ.

Each edge is a small step in one coordinate times how far that step moves you. The product is the element. In spherical coordinates the cells shrink near the poles because circles of latitude do.
Coordinates Element Use it for
Polar (r,θ) dA=rdrdθ discs, rings, sectors, anything round in a plane
Cylindrical (s,ϕ,z) dV=sdsdϕdz cylinders, cones, wires, anything with an axis
Spherical (r,θ,ϕ) dV=r2sin⁡θdrdθdϕ balls, shells, point sources, anything round in 3D

In spherical coordinates θ runs from 0 to π (pole to pole) and ϕ from 0 to 2π. Over a full sphere ∫sin⁡θdθdϕ=4π: the total solid angle. A shell of radius r and thickness dr has volume 4πr2dr, and a ring of radius r and width dr has area 2πrdr; most “radial” integrals use just these.

r dr dθ
a patch of a disc: arc length r dθ times radial width dr
s ds dφ dz
the same patch, given a height dz
r² sin θ dr dθ dφ
a piece of a spherical shell: r dθ along a meridian, r sin θ dφ round a circle of latitude, dr outwards
sin θ dθ dφ
solid angle: the area of the patch on a sphere of radius 1
Physical meaning
Far from the centre there is more room: a ring at large r holds more area than one near the middle. Forgetting the Jacobian treats every ring as equal, which is the most common integration error in JAM.

Worked example. A disc of radius R has surface density σ=kr. Its mass is M=∫0Rkr⋅2πrdr=23πkR3.

Worked example. A ball of radius 1 m holds charge density ρ=3cos2⁡θ C/m³. The charge is ∫01r2dr∫0π3cos2⁡θsin⁡θdθ∫02πdϕ=13⋅2⋅2π=4π/3 C. (The θ integral is ∫−113u2du=2 with u=cos⁡θ.)

“A hemisphere covers a solid angle of π, because θ only goes to π/2.” Wrong. The whole sphere is 4π, so half of it is 2π: ∫02π∫0π/2sin⁡θdθdϕ=2π×1. The same slip in the other direction is integrating θ from 0 to 2π for a full sphere, which gives zero.

4. The Gaussian integral, at last

Lesson 1.1 used ∫−∞∞e−x2dx=π. Here is why. Call the integral I and square it:

Square it. I² = ∫e−x²dx · ∫e−y²dy = ∬ e−(x²+y²) dx dy over the whole plane.

Go polar. x² + y² = r² and dx dy = r dr dθ, with r from 0 to ∞ and θ from 0 to 2π.

The Jacobian helps. ∫₀∞ e−r² r dr = ½, because the extra r makes it an exact derivative.

Finish. I² = 2π × ½ = π, so I = √π. With e−ax² every length scales by 1/√a, giving √(π/a).

5. Centres of mass and moments of inertia

The centre of mass is the mass-weighted average position, and the moment of inertia about an axis adds up mass times squared distance from it:

z‾=1M∫zdm,I=∫d⟂2dm

Slice so that each slice is simple. For a solid hemisphere of radius R, discs at height z have radius R2−z2:

z‾=∫0Rzπ(R2−z2)dz23πR3=πR4/42πR3/3=3R8

The results worth remembering (measured from the centre of the full circle or sphere): semicircular wire 2R/π, semicircular plate 4R/3π, hemispherical shell R/2, solid hemisphere 3R/8, solid cone h/4 from its base. See moment of inertia for the axis theorems that go with these integrals.

Worked example. A ball’s density rises as ρ0r/R. Its mass is ∫ρ0(r/R)4πr2dr=πρ0R3. Its moment of inertia about a diameter uses d⟂2 averaged over a shell, 23r2: I=23∫ρ0(r/R)4πr4dr=49πρ0R5=49MR2. More than the uniform ball’s 25MR2, because the mass sits further out.

6. Any substitution: the general Jacobian

For a general change u=u(x,y), v=v(x,y), the area element is dxdy=|∂(x,y)/∂(u,v)|dudv. Choose u and v so that the boundary curves become u = constant and v = constant.

Worked example. The region between xy=1, xy=2, y=x and y=4x becomes the rectangle 1≤u≤2, 1≤v≤4 with u=xy, v=y/x. Since ∂(u,v)/∂(x,y)=2v, dxdy=dudv/(2v), and the area is ∫12∫14dv2vdu=12ln⁡4=ln⁡2. Similarly, scaling x=au, y=bv, z=cw turns an ellipsoid into a unit ball, so its volume is abc⋅43π.

  • Sketch the region first. Inner limits may depend on the outer variable; outer limits are numbers.
  • Changing the order of integration can turn an impossible inner integral into an easy one.
  • Use symmetry: odd integrands over symmetric regions vanish; ∬x2=∬y2=12∬r2.
  • Elements: rdrdθ, sdsdϕdz, r2sin⁡θdrdθdϕ; rings 2πrdr, shells 4πr2dr; full solid angle 4π.
  • ∫−∞∞e−ax2dx=π/a comes from squaring and going polar.
  • Centres of mass: wire 2R/π, plate 4R/3π, shell R/2, solid hemisphere 3R/8.

Practise: exam questions on this lesson

They start easy and climb to top-rank level. Check each answer, then read the full solution. More on the multiple integrals practice page.

Before this: lesson 1.2, partial derivatives and Jacobians. Next: lesson 1.4, vector algebra. Surface and volume integrals of fields come back in the integral theorems and in Gauss’s law, where choosing spherical or cylindrical pieces does all the work. Practise the rules for single integrals in definite integral properties.

Go deeper: for GATE, Gaussian and polar-coordinate integrals come back in probability and statistics for physicists, and volume elements in any coordinates in tensors.

Check yourself

1What is the volume element in spherical coordinates (θ measured from the z-axis)?
2Over the disc x² + y² ≤ 1, which integral is zero by symmetry alone?
3Where is the centre of mass of a uniform solid hemisphere of radius R?

Sources

  • M. L. Boas, Mathematical Methods in the Physical Sciences, 3rd ed. (2006), chapter 5: multiple integrals
  • K. F. Riley, M. P. Hobson and S. J. Bence, Mathematical Methods for Physics and Engineering, 3rd ed. (2006), chapter 6
  • D. Kleppner and R. Kolenkow, An Introduction to Mechanics, 2nd ed. (2014), centre of mass and moment of inertia integrals
  • IIT JAM Physics syllabus (Mathematical Methods section), published by the organising IIT each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.