BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Triple integrals and cylindrical coordinates

A triple integral ∫∫∫_R f dV adds up a function over a solid. To set one up with z first: for fixed (x, y), find the bottom and top surfaces; then integrate over the solid's shadow in the xy-plane, found where the bottom surface is below the top one. For the region between z = x² + y² and z = 4 − x² − y², the shadow is the disc x² + y² ≤ 2. Cylindrical coordinates (r, θ, z) keep z and use polar coordinates for (x, y), with dV = r dr dθ dz. Triple integrals give volume, mass, averages, the centre of mass and moments of inertia; a solid cone z = ar up to z = b, of density 1, has I_z = πb⁵/(10a⁴).

You need this first

Full reading path (23 pages)
  1. Vectors (8.01)
  2. Vectors and the dot product (18.02)
  3. Determinants and the cross product (18.02)
  4. Planes through three points, and matrices (18.02)
  5. Equations of planes and square systems (18.02)
  6. Parametric equations of lines and the cycloid (18.02)
  7. Velocity, acceleration and Kepler's second law (18.02)
  8. Functions of two variables and partial derivatives (18.02)
  9. Tangent planes, critical points and least squares (18.02)
  10. The second derivative test (18.02)
  11. Differentials and the chain rule (18.02)
  12. The gradient and directional derivatives (18.02)
  13. Lagrange multipliers (18.02)
  14. Non-independent variables (18.02)
  15. Double integrals (18.02)
  16. Double integrals in polar coordinates, and their uses (18.02)
  17. Change of variables in double integrals (18.02)
  18. Vector fields and line integrals (18.02)
  19. Gradient fields and path independence (18.02)
  20. Testing for gradient fields, potentials and curl (18.02)
  21. Green's theorem (18.02)
  22. Flux and the normal form of Green's theorem (18.02)
  23. Simply connected regions (18.02)
On this page · 6 sections
  1. Triple integrals
  2. Example: between two paraboloids
  3. Cylindrical coordinates
  4. Applications
  5. Two more examples
  6. Summary

From now to the end of the course, the plane is replaced by space: triple integrals, then work, flux, divergence and curl in three dimensions. Conceptually it is the same with one more coordinate, so anything shaky in the plane is worth reviewing first (transcript, p. 1).

Triple integrals#

For a function f(x,y,z)f(x, y, z) and a solid region RR in space, the triple integral adds up ff over every small piece of RR times its volume (transcript, p. 1; notes, p. 2):

Triple integral
∫∫∫Rf dV,dV=dx dy dz (in any order)\int\int\int_R f\,dV, \qquad dV = dx\,dy\,dz \text{ (in any order)}
In words

the integral of the integral of the integral of _ capital R f d V, d V equals d x d y d z (in any order)

The new difficulty is setting up the bounds; the integrand matters less, and the lecture's examples use simple ones (p. 1).

Example: between two paraboloids#

Let RR be the region between the paraboloids z=x2+y2z = x^2 + y^2 (opening up from the origin) and z=4−x2−y2z = 4 - x^2 - y^2 (opening down from height 4); its volume is ∫∫∫R1 dV\int\int\int_R 1\,dV (transcript, p. 1; notes, p. 2). The solid has a curved bottom and top and, by its symmetry about the zz-axis, a circular edge (p. 1).

Inner integral. Integrate over zz first: for given xx and yy, the vertical line above (x,y)(x, y) enters the solid on the bottom surface and leaves on the top one (p. 1; notes, p. 2):

Bounds for z
∫∫∫RdV=∫∫∫x2+y24−x2−y2dz dy dx\int\int\int_R dV = \int\int \int_{x^2 + y^2}^{4 - x^2 - y^2} dz\,dy\,dx
In words

the integral of the integral of the integral of _ capital R d V equals the integral of the integral of the integral over x squared plus y squared of to the power 4 minus x squared minus y squared, end of power, d z d y d x

Integrating first in xx would mean finding the front and back of the solid on lines parallel to the xx-axis, which is harder (p. 1). The inner bounds may depend on both outer variables (p. 2).

The shadow. The remaining (x,y)(x, y) are those in the shadow of the solid on the xyxy-plane. It is where the bottom surface lies below the top one: x2+y2≤4−x2−y2x^2 + y^2 \le 4 - x^2 - y^2, that is x2+y2≤2x^2 + y^2 \le 2, a disc of radius 2\sqrt 2 (p. 2; notes, p. 2). Setting up a double integral over it as usual (p. 2; notes, p. 2):

The volume in rectangular coordinates
V=∫−22∫−2−x22−x2∫x2+y24−x2−y2dz dy dxV = \int_{-\sqrt2}^{\sqrt2}\int_{-\sqrt{2 - x^2}}^{\sqrt{2 - x^2}}\int_{x^2 + y^2}^{4 - x^2 - y^2} dz\,dy\,dx
In words

V equals the integral from minus the square root of 2 to the square root of 2 of the integral over minus the square root of 2 minus x squared, end of root, of to the power the square root of 2 minus x squared, end of root, end of power, the integral over x squared plus y squared of to the power 4 minus x squared minus y squared, end of power, d z d y d x

Source: 18.02 lecture summaries, Week 10 (Prof. Auroux), Lecture 25, pp. 2–3, Lecture 25, p. 2

(Symmetry could cut the work by 2, 4 or 8, p. 2.) After the inner integral the integrand is 4−2x2−2y24 - 2x^2 - 2y^2, the height of the solid, and polar coordinates make the rest easy (p. 2).

Cylindrical coordinates#

Cylindrical coordinates keep zz and use polar coordinates for the projection onto the xyxy-plane: x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta, z=zz = z. rr is the distance from the zz-axis, θ\theta the angle from the xx-axis (which in the usual drawing points towards us) (transcript, pp. 2–3; notes, p. 2). With x2+y2=r2x^2 + y^2 = r^2, the example becomes (p. 2; notes, p. 2):

The volume in cylindrical coordinates
V=∫02π∫02∫r24−r2dz r dr dθV = \int_0^{2\pi}\int_0^{\sqrt2}\int_{r^2}^{4 - r^2} dz\,r\,dr\,d\theta
In words

V equals the integral from 0 to 2 pi of the integral from 0 to the square root of 2 of the integral over r squared of to the power 4 minus r squared, end of power, d z r d r d theta

(The lecture leaves it there; it comes to 2π∫02(4−2r2) r dr=4π2\pi\int_0^{\sqrt2}(4 - 2r^2)\,r\,dr = 4\pi.)

The equation r=ar = a is a cylinder of radius aa about the zz-axis, hence the name; θ=\theta = constant is a vertical half-plane, since r≥0r \ge 0 by convention (p. 3; notes, p. 2). The volume element: a small piece with base area ΔA\Delta A and height Δz\Delta z has volume ΔA Δz\Delta A\,\Delta z, so (p. 3; notes, p. 2):

Volume element
dV=dx dy dz=r dr dθ dzdV = dx\,dy\,dz = r\,dr\,d\theta\,dz
In words

d V equals d x d y d z equals r d r d theta d z

Integrating zz first or last is the choice between the shell and disc methods of single-variable calculus (p. 3).

Applications#

As in the plane (transcript, p. 3; notes, pp. 2–3): the mass of a solid with density δ\delta (mass per unit volume) is M=∫∫∫Rδ dVM = \int\int\int_R \delta\,dV; the average of ff is fˉ=1Vol(R)∫∫∫Rf dV\bar f = \frac{1}{\text{Vol}(R)}\int\int\int_R f\,dV, or weighted, 1M∫∫∫Rf δ dV\frac1M\int\int\int_R f\,\delta\,dV; and the centre of mass is the average position (p. 3; notes, p. 3):

Centre of mass
xˉ=1M∫∫∫Rx δ dV,yˉ=1M∫∫∫Ry δ dV,zˉ=1M∫∫∫Rz δ dV\bar x = \frac{1}{M}\int\int\int_R x\,\delta\,dV, \quad \bar y = \frac{1}{M}\int\int\int_R y\,\delta\,dV, \quad \bar z = \frac{1}{M}\int\int\int_R z\,\delta\,dV
In words

x bar equals 1 over M, times the integral of the integral of the integral of _ capital R x delta d V, y bar equals 1 over M, times the integral of the integral of the integral of _ capital R y delta d V, z bar equals 1 over M, times the integral of the integral of the integral of _ capital R z delta d V

Symmetry often saves work (in the example, xˉ=yˉ=0\bar x = \bar y = 0, and by the mirror symmetry of the two paraboloids about z=2z = 2, zˉ=2\bar z = 2), but only if the density is symmetric too (p. 3).

Moments of inertia use the squared distance to the axis; the distance to the zz-axis is rr, to the xx-axis y2+z2\sqrt{y^2 + z^2} (pp. 3–4; notes, p. 3):

Moments of inertia about the axes
Iz=∫∫∫R(x2+y2) δ dV,Ix=∫∫∫R(y2+z2) δ dV,Iy=∫∫∫R(x2+z2) δ dVI_z = \int\int\int_R (x^2 + y^2)\,\delta\,dV, \qquad I_x = \int\int\int_R (y^2 + z^2)\,\delta\,dV, \qquad I_y = \int\int\int_R (x^2 + z^2)\,\delta\,dV
In words

I sub z equals the integral of the integral of the integral of _ capital R the quantity x squared plus y squared, delta d V, I sub x equals the integral of the integral of the integral of _ capital R the quantity y squared plus z squared, delta d V, I sub y equals the integral of the integral of the integral of _ capital R the quantity x squared plus z squared, delta d V

Source: 18.02 lecture summaries, Week 10 (Prof. Auroux), Lecture 25, pp. 2–3, Lecture 25, p. 3

For a flat object in the xyxy-plane (z=0z = 0) these become the plane formulas; the old "moment about the origin" was really about the zz-axis (p. 4).

Two more examples#

A solid cone. The cone z=arz = ar (height proportional to the distance from the axis, slope aa), up to the plane z=bz = b, with δ=1\delta = 1 (transcript, p. 4; notes, p. 3). This time integrate rr and θ\theta first: a horizontal slice at height zz is a disc of radius z/az/a; the first slice is z=0z = 0, the last z=bz = b (p. 4):

Moment of inertia of a cone
Iz=∫0b∫02π∫0z/ar2 r dr dθ dz=πb510 a4I_z = \int_0^b\int_0^{2\pi}\int_0^{z/a} r^2\,r\,dr\,d\theta\,dz = \frac{\pi b^5}{10\,a^4}
In words

I sub z equals the integral from 0 to b of the integral from 0 to 2 pi of the integral over 0 of to the power z over a, end of power, r squared r d r d theta d z equals pi b to the power 5 over the quantity 10 a to the power 4

A cap of the ball. The region of the unit ball x2+y2+z2≤1x^2 + y^2 + z^2 \le 1 above the plane z=1−yz = 1 - y (transcript, pp. 4–5; notes, p. 3). With zz first, zz runs from the plane up to the sphere. The shadow is where the plane is below the sphere, 1−y<1−x2−y21 - y < \sqrt{1 - x^2 - y^2}; squaring gives x2<2y−2y2x^2 < 2y - 2y^2 (which has solutions only for 0≤y≤10 \le y \le 1), an ellipse, the projection of the slanted circle where the plane cuts the sphere (pp. 4–5; notes, p. 3):

The cap
∫01∫−2y−2y22y−2y2∫1−y1−x2−y2dz dx dy\int_0^1\int_{-\sqrt{2y - 2y^2}}^{\sqrt{2y - 2y^2}}\int_{1 - y}^{\sqrt{1 - x^2 - y^2}} dz\,dx\,dy
In words

the integral from 0 to 1 of the integral over minus the square root of 2 y minus 2 y squared, end of root, of to the power the square root of 2 y minus 2 y squared, end of root, end of power, the integral over 1 minus y of to the power the square root of 1 minus x squared minus y squared, end of root, end of power, d z d x d y

For the volume alone one would rotate the cap onto the zz-axis first; for other integrands that may not be possible (p. 5).

Worked example

A cylinder heavier at the top

A solid cylinder r≤1r \le 1, 0≤z≤20 \le z \le 2 has density δ=z\delta = z. Find its mass, its centre of mass, and its moment of inertia about the zz-axis.

Mass

M=∫02∫02π∫01z r dr dθ dz=12⋅2π⋅∫02z dz=π⋅2=2πM = \int_0^2\int_0^{2\pi}\int_0^1 z\,r\,dr\,d\theta\,dz = \frac12 \cdot 2\pi \cdot \int_0^2 z\,dz = \pi \cdot 2 = 2\pi.

Centre of mass

By symmetry xˉ=yˉ=0\bar x = \bar y = 0. ∫∫∫z⋅z dV=π∫02z2 dz=8π3\int\int\int z \cdot z\,dV = \pi\int_0^2 z^2\,dz = \frac{8\pi}{3}, so zˉ=8π/32π=43≈1.33\bar z = \frac{8\pi/3}{2\pi} = \frac43 \approx 1.33: above the middle height 1, as the top is heavier.

Moment of inertia

Iz=∫02∫02π∫01r2⋅z⋅r dr dθ dz=14⋅2π⋅2=πI_z = \int_0^2\int_0^{2\pi}\int_0^1 r^2 \cdot z \cdot r\,dr\,d\theta\,dz = \frac14 \cdot 2\pi \cdot 2 = \pi, which is 12M⋅12\frac12 M \cdot 1^2, the familiar result for a cylinder: the vertical distribution of mass does not matter for spinning about the axis.

Summary#

  • ∫∫∫Rf dV\int\int\int_R f\,dV adds ff over a solid. With zz first: bottom to top surface for fixed (x,y)(x, y), then a double integral over the shadow in the xyxy-plane.
  • The shadow is where the bottom surface lies below the top one (for the two paraboloids, x2+y2≤2x^2 + y^2 \le 2).
  • Cylindrical coordinates: x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta, zz; dV=r dr dθ dzdV = r\,dr\,d\theta\,dz.
  • Mass ∫∫∫δ dV\int\int\int \delta\,dV; centre of mass xˉ=1M∫∫∫xδ dV\bar x = \frac1M\int\int\int x\delta\,dV etc.; Iz=∫∫∫(x2+y2)δ dVI_z = \int\int\int (x^2 + y^2)\delta\,dV, and likewise IxI_x, IyI_y.
  • A solid cone z=arz = ar, z≤bz \le b, of density 1: Iz=πb5/(10a4)I_z = \pi b^5/(10a^4).

Symbols on this page

Show the 28 symbols used here
δ\delta delta.
The density of the solid: mass per unit volume. Unit: kg/m³. Say it: “delta”.
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
θ\theta theta.
An angle. Say it: “theta” (sounds like “thay-ta or thee-ta”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ρ\rho rho.
Density: mass (or energy divided by c²) per unit volume. ρ_c is the critical density, ρ̄ the mean density. Unit: kg/m³ (on some pages an energy density in natural units: GeV⁴, eV/cm³). Say it: “rho”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
≥\ge greater than or equal.
Is greater than or equal to. Say it: “is greater than or equal to”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
ρˉ\bar\rho bar.
A mean (average) value, such as ρ̄; in 8.902 also a smoothed field (δ̄). Say it: “bar”.
aa a.
The slope of the cone z = ar (or the radius of the cylinder r = a). Say it: “a”.
zz z.
The height, the z coordinate (also a cylindrical coordinate). Say it: “z”.
xx x.
The x coordinate. Say it: “x”.
yy y.
The y coordinate. Say it: “y”.
dd d.
The d of dV, dx, dy, dz, dr, dθ. Say it: “d”.
ff f.
A function of three variables, f(x, y, z), integrated over the solid. Say it: “f”.
rr r.
The cylindrical coordinate: the distance from the z-axis. Say it: “r”.
AA A.
Area; ΔA is the base area of a small piece. Say it: “capital A”.
bb b.
The height of the top of the cone, z = b. Say it: “b”.
MM M.
The mass of the solid, ∫∫∫ δ dV. Unit: kg. Say it: “M”.
RR R.
The solid region of integration; in the cosmology note, the radius of the ball. Say it: “capital R”.
VV V.
Volume; dV is a small piece of volume. Unit: m³. Say it: “V”.
IxI_{x} I x.
The moment of inertia about the x-axis. Unit: kg m². Say it: “I sub x”.
IyI_{y} I y.
The moment of inertia about the y-axis. Unit: kg m². Say it: “I sub y”.
IzI_{z} I z.
The moment of inertia about the z-axis. Unit: kg m². Say it: “I sub z”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 30 words used here

New here

triple integral.
An integral over a region of space: cut the region into tiny boxes, multiply each by the function's value there, and add.

Also used

work.
The energy a force gives to a body as it moves: the part of the force along the motion times the distance moved. Explained in Kinetic energy and work in one dimension.
flux.
How much of a field, or of a flow of matter or energy, passes through a surface (per second, for a flow). Explained in Towards the universe: what starlight tells us.
divergence.
A measure of how much a vector field spreads out from each point: the amount flowing out of a tiny region per unit size. Explained in Flux and the normal form of Green's theorem.
curl.
A measure of how much a vector field turns or swirls around each point. Explained in Testing for gradient fields, potentials and curl.
dimension.
The number of independent directions in a space: one for a line, two for a plane, three for ordinary space. Explained in Position and velocity in one dimension.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
integrand.
The function being integrated: the f(x) in ∫ f(x) dx. Explained in The logarithm from an integral, and areas between curves.
symmetry.
A change, such as a reflection, a rotation or a shift, that leaves something looking exactly the same. Explained in The derivative: slope of the tangent line and rate of change.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
double integral.
An integral over a region of the plane: cut the region into tiny pieces, multiply each by the function's value there, and add. Explained in Double integrals.
polar coordinates.
Coordinates in a flat plane that give a point's distance r from the origin and its angle θ from a fixed direction. Explained in Vectors.
cylindrical coordinates.
Polar coordinates in a plane plus a height z along the axis, suited to problems with an axis of symmetry. Explained in Vectors.
projection.
The shadow of a vector on a line or plane: the nearest point to it there, found by dropping a perpendicular. Explained in Projections onto subspaces.
density.
How much of something (mass, charge, energy, particles or probability) there is in each unit of volume, area, length or other variable. Explained in Density and pressure.
centre of mass.
The mass-weighted average position of a body or system: the point that moves as if all the mass and all outside forces were there. Explained in Torque and balance.
symmetric.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
moment of inertia.
How hard a body is to set spinning about an axis: each bit of mass times its squared distance from the axis, all added up. Explained in Rotation and angular momentum.
proportional.
Of two quantities: always in the same ratio, so that doubling one doubles the other. Explained in Graphs, straight lines and slope.
ellipse.
An oval curve: the set of points whose distances from two fixed points, the foci, add up to the same total. Explained in Kepler's laws and orbits.
spin.
Turning about an axis through the body itself, as a wheel, a planet or a black hole does. Explained in Kinetic energy and angular momentum of a rolling body.
uniform.
The same at every point, or unchanging in time: a uniform rod has the same density all along it. Explained in The electric field.
etc..
And so on: more things of the same kind follow but are not listed.

Academic

conceptual.
To do with ideas and understanding rather than calculation.
transcript.
A written record of exactly what was said in a recorded lecture, word for word.
hence.
For this reason; as a result of what was just said.
convention.
An agreed choice, such as which direction counts as positive, that could have been made differently.
model.
A simplified description of a real system, usually in equations, that keeps what matters and leaves out the rest.
likewise.
In the same way; similarly.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

33 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. In cylindrical coordinates, dV=dV =
  2. The surface r=2r = 2 in cylindrical coordinates is…
  3. The moment of inertia about the xx-axis of a solid of density δ\delta is…
0 of 3 answered

Flashcards

1 / 3