Multiple integrals · Definition
Cylindrical and spherical coordinates
Before you start you need to know
When a solid is round, describing it with \(x,y,z\) produces limits with roots; with angles and radii the limits are constants.
Definition
Cylindrical coordinates \((r,\theta,z)\) and spherical coordinates \((\rho,\theta,\varphi)\) locate a point in space with distances and angles, and simplify solids with rotational symmetry.
In cylindrical coordinates, \(r\) is the distance to the \(z\)-axis, \(\theta\) the angle of the projection onto the \(xy\)-plane, and \(z\) the height, so \(r^2=x^2+y^2\) and \(\tan\theta=y/x\). They are polar coordinates plus a height: \(r=c\) is a cylinder, \(\theta=c\) a half-plane and \(z=c\) a horizontal plane. In spherical coordinates, \(\rho\) is the distance to the origin and \(\varphi\in[0,\pi]\) the angle from the positive \(z\)-axis; then \(\rho=c\) is a sphere, \(\varphi=c\) a cone and \(\theta=c\) the same half-plane. Also, \(\rho^2=x^2+y^2+z^2\) and \(r=\rho\sin\varphi\).
When integrating, each system brings its own volume factor: \(dV=r\,dz\,dr\,d\theta\) in cylindrical and \(dV=\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta\) in spherical coordinates. The factor is the volume of the small curved cell: in spherical coordinates its sides measure \(d\rho\), \(\rho\,d\varphi\) and \(\rho\sin\varphi\,d\theta\). The integral becomes \(\iiint_E f\,dV=\iiint f(\ldots)\,\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta\), with \(f\) rewritten in the new variables.
Guiding example: the volume of the ball of radius \(a\) is \(\int_0^{2\pi}\!\int_0^\pi\!\int_0^a\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta=\tfrac43\pi a^3\). Rule of thumb: use cylindrical coordinates if the solid revolves around the \(z\)-axis (cylinders, paraboloids \(z=r^2\)), and spherical ones if there are spheres or cones centered at the origin.
Typical mistakes: forgetting the factor \(r\) or \(\rho^2\sin\varphi\), swapping \(\theta\) and \(\varphi\) (other books name them the other way round, so fix the convention first), and letting \(\varphi\) run from \(0\) to \(2\pi\) instead of \(0\) to \(\pi\).
Think about it
What surface does \(\rho=2\cos\varphi\) describe?
Multiplying by \(\rho\): \(\rho^2=2z\), i.e. \(x^2+y^2+(z-1)^2=1\), a sphere of radius \(1\) centered at \((0,0,1)\).
Why does \(\varphi\) only go up to \(\pi\) while \(\theta\) goes up to \(2\pi\)?
With \(\theta\in[0,2\pi)\) you go all the way around the \(z\)-axis; \(\varphi\) measures the tilt from the north pole to the south pole, and beyond \(\pi\) points would repeat.
Exercises 10
- A point has cylindrical coordinates \((r,\theta,z)=(2,\pi/2,5)\). What are its rectangular coordinates?
- The rectangular point \((1,1,3)\) has, with \(r>0\) and \(0\le\theta<2\pi\), cylindrical coordinates:
- A point has spherical coordinates \((\rho,\theta,\varphi)=(2,\pi/2,\pi/2)\). What are its rectangular coordinates?
- The cone \(z=\sqrt{x^2+y^2}\) is written in spherical coordinates as:
- The sphere \(x^2+y^2+z^2=9\) is written in cylindrical coordinates as:
- In cylindrical coordinates, the volume element is \(dV=\)
- Compute the volume of a ball of radius \(2\) by integrating in spherical coordinates.
- Compute \(\iiint_E z\,dV\), where \(E\) is the cylinder \(r\le1\), \(0\le z\le2\).
- Compute \(\iiint_E z\,dV\), where \(E\) is the upper half-ball \(x^2+y^2+z^2\le1\), \(z\ge0\).
- In which of these solids is it most convenient to use spherical coordinates?
References
- James Stewart, Daniel K. Clegg, Saleem Watson, Calculus: Early Transcendentals, 9th edition, Cengage, 2021. §15.7–15.8
- Joel Hass, Christopher Heil, Przemyslaw Bogacki, Maurice D. Weir, George B. Thomas Jr., Thomas' Calculus, 15th edition, Pearson, 2023. §15.6
- Jerrold E. Marsden, Anthony Tromba, Vector Calculus, 6th edition, W. H. Freeman, 2012. Cap. 6