Subsection 3.2.1 Polar Coordinates
It may have been a while since you did anything in polar coordinates. So let’s review before we resume integrating.
Definition 3.2.1.
The polar coordinates of any point \((x,y)\) in the \(xy\)-plane are
\begin{align*}
r&=\text{ the distance from }(0,0)\text{ to }(x,y)\\
\theta&=\text{ the (counter-clockwise) angle between the $x$-axis }\\
& \qquad \text{ and the line joining $(x,y)$ to $(0,0)$}
\end{align*}
Cartesian and polar coordinates are related, via a quick bit of trigonometry, by
Equation 3.2.2.
\begin{align*}
x&=r\cos\theta &
y&=r\sin\theta\\
r&=\sqrt{x^2+y^2} &
\theta&=\arctan\frac{y}{x}
\end{align*}
The following two figures show a number of lines of constant \(\theta\text{,}\) on the left, and curves of constant \(r\text{,}\) on the right.
Note that the polar angle \(\theta\) is only defined up to integer multiples of \(2\pi\text{.}\) For example, the point \((1,0)\) on the \(x\)-axis could have \(\theta=0\text{,}\) but could also have \(\theta=2\pi\) or \(\theta=4\pi\text{.}\) It is sometimes convenient to assign \(\theta\) negative values. When \(\theta \lt 0\text{,}\) the counter-clockwise angle \(\theta\) refers to the clockwise angle \(|\theta|\text{.}\) For example, the point \((0,-1)\) on the negative \(y\)-axis can have \(\theta=-\frac{\pi}{2}\) and can also have \(\theta=\frac{3\pi}{2}\text{.}\)
It is also sometimes convenient to extend the above definitions by saying that \(x=r\cos\theta\) and \(y=r\sin\theta\) even when \(r\) is negative. For example, the following figure shows \((x,y)\) for \(r=1\text{,}\) \(\theta=\frac{\pi}{4}\) and for \(r=-1\text{,}\) \(\theta=\frac{\pi}{4}\text{.}\)
Both points lie on the line through the origin that makes an angle of \(45^\circ\) with the \(x\)-axis and both are a distance one from the origin. But they are on opposite sides of the origin.
Subsection 3.2.3 Integrals in Polar Coordinates
We now return to the problem of using polar coordinates to set up double integrals. So far, we have used Cartesian coordinates, in the sense that we have cut up our domains of integration into tiny rectangles (on which the integrand is essentially constant) by drawing in many lines of constant \(x\) and many lines of constant \(y\text{.}\) To use polar coordinates, we instead draw in both lines of constant \(\theta\) and curves of constant \(r\text{.}\) This cuts the \(xy\)-plane up into approximate rectangles.
Here is an enlarged sketch of one such approximate rectangle.
One side has length \(\dee{r}\text{,}\) the spacing between the curves of constant \(r\text{.}\) The other side is a portion of a circle of radius \(r\) that subtends, at the origin, an angle \(\dee{\theta}\text{,}\) the angle between the lines of constant \(\theta\text{.}\) As the circumference of the full circle is \(2\pi r\) and as \(\dee{\theta}\) is the fraction \(\frac{\dee{\theta}}{2\pi}\) of a full circle, the other side of the approximate rectangle has length \(\frac{\dee{\theta}}{2\pi}2\pi r = r\dee{\theta}\text{.}\) So the shaded region has area approximately
Equation 3.2.5.
\begin{equation*}
\dee{A} = r\,\dee{r}\,\dee{\theta}
\end{equation*}
By way of comparison, using Cartesian coordinates we had \(\dee{A}
=\dee{x}\,\dee{y}\text{.}\)
This intuitive computation has been somewhat handwavy. But using it in the usual integral setup procedure, in which we choose
\(\dee{r}\) and
\(\dee{\theta}\) to be constants times
\(\frac{1}{n}\) and then take the limit
\(n\rightarrow 0\text{,}\) gives, in the limit, error exactly zero. A sample argument, in which we see the error going to zero in the limit
\(n\rightarrow\infty\text{,}\) is provided in the (optional) section §
3.2.4.
Example 3.2.6. Mass.
Let \(0\le a \lt b\le 2\pi\) be constants and let \(\cR\) be the region
\begin{equation*}
\cR=\Set{(r\cos\theta,r\sin\theta)}{a\le\theta\le b,
B(\theta)\le r\le T(\theta)}
\end{equation*}
where the functions \(T(\theta)\) and \(B(\theta)\) are continuous and obey \(B(\theta)\le T(\theta)\) for all \(a\le\theta\le b\text{.}\) Find the mass of \(\cR\) if it has density \(f(x,y)\text{.}\)
Solution.
The figure on the left below is a sketch of \(\cR\text{.}\) Notice that \(r=T(\theta)\) is the outer curve while \(r=B(\theta)\) is the inner curve.
Divide \(\cR\) into wedges (as in wedges of pie or wedges of cheese) by drawing in many lines of constant \(\theta\text{,}\) with the various values of \(\theta\) differing by a tiny amount \(\dee{\theta}\text{.}\) The figure on the right above shows one such wedge, outlined in blue.
Concentrate on any one wedge. Subdivide the wedge further into approximate rectangles by drawing in many circles of constant \(r\text{,}\) with the various values of \(r\) differing by a tiny amount \(\dee{r}\text{.}\) The figure below shows one such approximate rectangle, in black.
Now concentrate on one such rectangle. Let’s say that it contains the point with polar coordinates
\(r\) and
\(\theta\text{.}\) As we saw in
3.2.5 above,
the area of that rectangle is essentially \(\dee{A} = r\,\dee{r}\,\dee{\theta}\text{.}\)
As the mass density on the rectangle is essentially \(f\big(r\cos\theta\,,\,r\sin\theta\big)\text{,}\) the mass of the rectangle is essentially \(f\big(r\cos\theta\,,\,r\sin\theta\big)\,r\,\dee{r}\,\dee{\theta}\text{.}\)
To get the mass of any one wedge, say the wedge whose polar angle runs from
\(\theta\) to
\(\theta+\dee{\theta}\text{,}\) we just add up the masses of the approximate rectangles in that wedge, by integrating
\(r\) from its smallest value on the wedge, namely
\(B(\theta)\text{,}\) to its largest value on the wedge, namely
\(T(\theta)\text{.}\) The mass of the wedge is thus
\begin{equation*}
\dee{\theta} \int_{B(\theta)}^{T(\theta)} \dee{r}\,r\,
f\big(r\cos\theta\,,\,r\sin\theta\big)
\end{equation*}
Finally, to get the mass of \(\cR\text{,}\) we just add up the masses of all of the different wedges, by integrating \(\theta\) from its smallest value on \(\cR\text{,}\) namely \(a\text{,}\) to its largest value on \(\cR\text{,}\) namely \(b\text{.}\)
In conclusion,
\begin{equation*}
\text{Mass}(\cR) = \int_a^b \dee{\theta}
\int_{B(\theta)}^{T(\theta)} \dee{r}\,r\,
f\big(r\cos\theta\,,\,r\sin\theta\big)
\end{equation*}
We have repeatedly used the word “essentially” above to avoid getting into the nitty-gritty details required to prove things rigorously. The mathematically correct proof of
3.2.7 follows the same intuition, but requires some more careful error bounds, as in the optional §
3.2.4 below.
In the last example, we derived the important formula that the mass of the region
\begin{equation*}
\cR=\Set{(r\cos\theta,r\sin\theta)}{a\le\theta\le b,
B(\theta)\le r\le T(\theta)}
\end{equation*}
with mass density \(f(x,y)\) is
Equation 3.2.7.
\begin{equation*}
\text{Mass}(\cR) = \int_a^b \dee{\theta}
\int_{B(\theta)}^{T(\theta)} \dee{r}\,r\,
f\big(r\cos\theta\,,\,r\sin\theta\big)
\end{equation*}
We can immediately adapt that example to calculate areas and derive the formula that the area of the region
\begin{equation*}
\cR=\Set{(r\cos\theta,r\sin\theta)}{a\le\theta\le b,
0\le r\le R(\theta)}
\end{equation*}
is
Equation 3.2.8.
\begin{equation*}
\text{Area}(\cR) =\frac{1}{2} \int_a^b R(\theta)^2\ \dee{\theta}
\end{equation*}
We just have set the density to \(1\text{.}\) We do so in the next example.
Example 3.2.9. Polar Area.
Let \(0\le a \lt b\le 2\pi\) be constants. Find the area of the region
\begin{equation*}
\cR=\Set{(r\cos\theta,r\sin\theta)}{a\le\theta\le b,
0\le r\le R(\theta)}
\end{equation*}
where the function \(R(\theta)\ge 0\) is continuous.
Solution.
To get the area of
\(\cR\) we just need to assign it a density one and find the resulting mass. So, by
3.2.7, with
\(f(x,y)=1\text{,}\) \(B(\theta)=0\) and
\(T(\theta)=R(\theta)\text{,}\)
\begin{align*}
\text{Area}(\cR) &= \int_a^b \dee{\theta}
\int_0^{R(\theta)} \dee{r}\,r
\end{align*}
In this case we can easily do the inner \(r\) integral, giving
\begin{equation*}
\text{Area}(\cR) =\frac{1}{2} \int_a^b R(\theta)^2\ \dee{\theta}
\end{equation*}
The expression
\(\frac{1}{2} R(\theta)^2\ \dee{\theta}\) in
3.2.8 has a geometric interpretation. It is just the area of a wedge of a circular disk of radius
\(R(\theta)\) (with
\(R(\theta)\) treated as a constant) that subtends the angle
\(\dee{\theta}\text{.}\)
To see this, note that area of the wedge is the fraction
\(\frac{\dee{\theta}}{2\pi}\) of the area of the entire disk, which is
\(\pi R(\theta)^2\text{.}\) So
3.2.8 just says that the area of
\(\cR\) can be computed by cutting
\(\cR\) up into tiny wedges and adding up the areas of all of the tiny wedges.
Example 3.2.10. Polar Area.
Find the area of one petal of the three petal rose \(r=\sin(3\theta)\text{.}\)
Solution.
Looking at the last figure in Example
3.2.4, we see that we want the area of
\begin{equation*}
\cR=\Set{(r\cos\theta,r\sin\theta)}{0\le\theta\le \frac{\pi}{3},\
0\le r\le \sin(3\theta)}
\end{equation*}
So, by
3.2.8 with
\(a=0\text{,}\) \(b=\frac{\pi}{3}\text{,}\) and
\(R(\theta) =\sin(3\theta)\text{,}\)
\begin{align*}
\text{area}(\cR)
&=\frac{1}{2} \int_0^{\frac{\pi}{3}} \sin^2(3\theta)\ \dee{\theta}\\
&=\frac{1}{4} \int_0^{\frac{\pi}{3}} \big(1-\cos(6\theta)\big)
\ \dee{\theta}\\
&= \frac{1}{4}\left[\theta -\frac{1}{6}\sin(6\theta)\right]
_0^{\frac{\pi}{3}}\\
&=\frac{\pi}{12}
\end{align*}
In the first step we used the double angle formula \(\cos(2\phi) = 1-2\sin^2(\phi)\text{.}\) Unsurprisingly, trig identities show up a lot when polar coordinates are used.
Example 3.2.11. Volumes Using Polar Coordinates.
A cylindrical hole of radius \(b\) is drilled symmetrically (i.e. along a diameter) through a metal sphere of radius \(a\ge b\text{.}\) Find the volume of metal removed.
Solution.
Let’s use a coordinate system with the sphere centred on \((0,0,0)\) and with the centre of the drill hole following the \(z\)-axis. In particular, the sphere is \(x^2+y^2+z^2\le a^2\text{.}\)
Here is a sketch of the part of the sphere in the first octant. The hole in the sphere made by the drill is outlined in red. By symmetry the total amount of metal removed will be eight times the amount from the first octant.
That is, the volume of metal removed will be eight times the volume of the solid
\begin{equation*}
\cV_1 = \Set{(x,y,z)}{(x,y)\in\cR_1,\ 0\le z\le\sqrt{a^2-x^2-y^2}}
\end{equation*}
where the base region
\begin{equation*}
\cR_1 = \Set{(x,y)}{x^2+y^2\le b^2,\ x\ge 0,\ y\ge 0}
\end{equation*}
In polar coordinates
\begin{align*}
\cV_1 &= \Set{(r\cos\theta,r\sin\theta,z)}{(r\cos\theta,r\sin\theta)\in\cR_1,\
0\le z\le\sqrt{a^2-r^2}}\\
\cR_1 &= \Set{(r\cos\theta,r\sin\theta)}{0\le r\le b,\
0\le\theta\le\frac{\pi}{2}}
\end{align*}
We follow our standard divide and sum up strategy. We will cut the base region \(\cR_1\) into small pieces and sum up the volumes that lie above each small piece.
-
Divide \(\cR_1\) into wedges by drawing in many lines of constant \(\theta\text{,}\) with the various values of \(\theta\) differing by a tiny amount \(\dee{\theta}\text{.}\) The figure on the left below shows one such wedge, outlined in blue.
Concentrate on any one wedge. Subdivide the wedge further into approximate rectangles by drawing in many circles of constant \(r\text{,}\) with the various values of \(r\) differing by a tiny amount \(\dee{r}\text{.}\) The figure on the right above shows one such approximate rectangle, in black.
Concentrate on one such rectangle. Let’s say that it contains the point with polar coordinates
\(r\) and
\(\theta\text{.}\) As we saw in
3.2.5 above,
the area of that rectangle is essentially \(\dee{A} = r\,\dee{r}\,\dee{\theta}\text{.}\)
-
The part of \(\cV_1\) that is above that rectangle is like an office tower whose height is essentially \(\sqrt{a^2-r^2}\text{,}\) and whose base has area \(\dee{A} = r\,\dee{r}\,\dee{\theta}\text{.}\) It is outlined in black in the figure below. So the volume of the part of \(\cV_1 \) that is above the rectangle is essentially \(\sqrt{a^2-r^2}\,r\,\dee{r}\,\dee{\theta}\text{.}\)
-
To get the volume of the part of \(\cV_1\) above any one wedge (outlined in blue in the figure below), say the wedge whose polar angle runs from \(\theta\) to \(\theta+\dee{\theta}\text{,}\) we just add up the volumes above the approximate rectangles in that wedge, by integrating \(r\) from its smallest value on the wedge, namely \(0\text{,}\) to its largest value on the wedge, namely \(b\text{.}\) The volume above the wedge is thus
\begin{align*}
\dee{\theta} \int_0^b \dee{r}\,r\, \sqrt{a^2-r^2}
&= \dee{\theta} \int_{a^2}^{a^2-b^2} \frac{\dee{u}}{-2}\, \sqrt{u}\\
&\hskip0.5in \text{where } u= a^2-r^2,\ \dee{u} =-2r\,\dee{r}\\
&= \dee{\theta}\left[\frac{u^{3/2}}{-3}\right]_{a^2}^{a^2-b^2}\\
&= \frac{1}{3}\dee{\theta}\left[a^3-{\big(a^2-b^2\big)}^{3/2}\right]
\end{align*}
Notice that this quantity is independent of \(\theta\text{.}\) If you think about this for a moment, you can see that this is a consequence of the fact that our solid is invariant under rotations about the \(z\)-axis.
Finally, to get the volume of
\(\cV_1\text{,}\) we just add up the volumes over all of the different wedges, by integrating
\(\theta\) from its smallest value on
\(\cR_1\text{,}\) namely
\(0\text{,}\) to its largest value on
\(\cR_1\text{,}\) namely
\(\frac{\pi}{2}\text{.}\)
\begin{align*}
\text{Volume}(\cV_1)
&=\frac{1}{3}\int_0^{\pi/2}\dee{\theta}
\left[a^3-{\big(a^2-b^2\big)}^{3/2}\right]\\
&=\frac{\pi}{6}\left[a^3-{\big(a^2-b^2\big)}^{3/2}\right]
\end{align*}
In conclusion, the total volume of metal removed is
\begin{align*}
\text{Volume}(\cV)
&=8\,\text{Volume}(\cV_1)\\
&=\frac{4\pi}{3}\left[a^3-{\big(a^2-b^2\big)}^{3/2}\right]
\end{align*}
Note that we can easily apply a couple of sanity checks to our answer.
If the radius of the drill bit \(b=0\text{,}\) no metal is removed at all. So the total volume removed should be zero. Our answer does indeed give \(0\) in this case.
If the radius of the drill bit \(b=a\text{,}\) the radius of the sphere, then the entire sphere disappears. So the total volume removed should be the volume of a sphere of radius \(a\text{.}\) Our answer does indeed give \(\frac{4}{3}\pi a^3\) in this case.
If the radius, \(a\text{,}\) of the sphere and the radius, \(b\text{,}\) of the drill bit are measured in units of meters, then the remaining volume \(\frac{4\pi}{3}\left[a^3-{\big(a^2-b^2\big)}^{3/2}\right]\text{,}\) has units \(\text{meters}^3\text{,}\) as it should.
The previous two problems were given to us (or nearly given to us) in polar coordinates. We’ll now get a little practice converting integrals into polar coordinates, and recognising when it is helpful to do so.
Example 3.2.12. Changing to Polar Coordinates.
Convert the integral \(\int_0^1\int_0^x y\sqrt{x^2+y^2}\ \dee{y}\,\dee{x}\) to polar coordinates and evaluate the result.
Solution.
First recall that in polar coordinates \(x=r\cos\theta\text{,}\) \(y=r\sin\theta\) and \(\dee{x}\,\dee{y}=\dee{A}=r\,\dee{r}\,\dee{\theta}\) so that the integrand (and \(\dee{A}\))
\begin{gather*}
y\sqrt{x^2+y^2}\ \dee{y}\,\dee{x}
=(r\sin\theta)\ r\ r\, \dee{r}\,\dee{\theta}
=r^3\sin\theta\,\dee{r}\,\dee{\theta}
\end{gather*}
is very simple. So whether or not this integral will be easy to evaluate using polar coordinates will be largely determined by the domain of integration.
So our main task is to sketch the domain of integration. To prepare for the sketch, note that in the integral
\begin{equation*}
\int_0^1\int_0^x y\sqrt{x^2+y^2}\ \dee{y}\,\dee{x}
=\int_0^1\dee{x} \left[\int_0^x \dee{y}\ y\sqrt{x^2+y^2}\right]
\end{equation*}
the variable \(x\) runs from \(0\) to \(1\) and
for each fixed \(0\le x\le 1\text{,}\) \(y\) runs from \(0\) to \(x\text{.}\)
So the domain of integration is
\begin{equation*}
\cD=\Set{(x,y)}{0\le x\le 1,\ 0\le y\le x}
\end{equation*}
which is sketched in the figure on the left below. It is a right angled triangle.
Next we express the domain of integration in terms of polar coordinates, by expressing the equations of each of the boundary lines in terms of polar coordinates.
The \(x\)-axis, i.e. \(y=r\sin\theta=0\text{,}\) is \(\theta=0\text{.}\)
The line \(x=1\) is \(r\cos\theta=1\) or \(r=\frac{1}{\cos\theta}\text{.}\)
Finally, (in the first quadrant) the line
\begin{gather*}
y=x
\iff
r\sin\theta = r\cos\theta
\iff
\tan\theta=\frac{\sin\theta}{\cos\theta}=1
\iff
\theta=\frac{\pi}{4}
\end{gather*}
So, in polar coordinates, we can write the domain of integration as
\begin{equation*}
\cR=\Big\{(r,\theta)\ \Big|\ 0\le\theta\le\frac{\pi}{4},\
0\le r\le \frac{1}{\cos\theta}\Big\}
\end{equation*}
We can now slice up \(\cR\) using polar coordinates.
Divide \(\cR\) into wedges by drawing in many lines of constant \(\theta\text{,}\) with the various values of \(\theta\) differing by a tiny amount \(\dee{\theta}\text{.}\) The figure on the right above shows one such wedge.
Concentrate on any one wedge. Subdivide the wedge further into approximate rectangles by drawing in many circles of constant \(r\text{,}\) with the various values of \(r\) differing by a tiny amount \(\dee{r}\text{.}\) The figure on the right above shows one such approximate rectangle, in black.
The rectangle that contains the point with polar coordinates \(r\) and \(\theta\) has area (essentially) \(r\,\dee{r}\,\dee{\theta}\text{.}\)
The first rectangle has \(r=0\text{.}\)
The last rectangle has \(r=\frac{1}{\cos\theta}\text{.}\)
So our integral is
\begin{align*}
\int_0^1\int_0^x y\sqrt{x^2+y^2}\ \dee{y}\,\dee{x}
&=\int_0^{\pi/4}\dee{\theta}\int_0^{\frac{1}{\cos\theta}}\dee{r}\
r\overbrace{(r^2\sin\theta)}^{y\sqrt{x^2+y^2}}
\end{align*}
Because the \(r\)-integral treats \(\theta\) as a constant, we can pull the \(\sin\theta\) out of the inner \(r\)-integral.
\begin{align*}
\int_0^1\int_0^x y\sqrt{x^2+y^2}\ \dee{y}\,\dee{x}
&=\int_0^{\pi/4}\dee{\theta}\ \sin\theta\int_0^{\frac{1}{\cos\theta}}\dee{r}\
r^3\\
&=\frac{1}{4}\int_0^{\pi/4}\dee{\theta}\ \sin\theta\frac{1}{\cos^4\theta}
\end{align*}
Make the substitution
\begin{equation*}
u=\cos\theta,\ \dee{u}=-\sin\theta\ \dee{\theta}
\end{equation*}
When \(\theta=0\text{,}\) \(u=\cos\theta=1\) and when \(\theta=\frac{\pi}{4}\text{,}\) \(u=\cos\theta=\frac{1}{\sqrt{2}}\text{.}\) So
\begin{align*}
\int_0^1\int_0^x y\sqrt{x^2+y^2}\ \dee{y}\,\dee{x}
&=\frac{1}{4}\int_1^{1/\sqrt{2}} (-\dee{u})\frac{1}{u^4}\\
&=-\frac{1}{4}\left[\frac{u^{-3}}{-3}\right]_1^{1/\sqrt{2}}
=\frac{1}{12}\left[2\sqrt{2}-1\right]
\end{align*}
Example 3.2.13. Changing to Polar Coordinates.
Evaluate \(\displaystyle\int_0^\infty e^{-x^2}\ \dee{x}\text{.}\)
Solution.
This is actually a trick question. In fact it is a famous trick question.
The integrand \(e^{-x^2}\) does not have an antiderivative that can be expressed in terms of elementary functions. So we cannot evaluate this integral using the usual Calculus II methods. However we can evaluate it’s square
\begin{gather*}
\left[\int_0^\infty e^{-x^2}\ \dee{x}\right]^2
=\int_0^\infty e^{-x^2}\ \dee{x}\ \int_0^\infty e^{-y^2}\ \dee{y}
=\int_0^\infty \dee{x} \int_0^\infty \dee{y}\ e^{-x^2-y^2}
\end{gather*}
precisely because this double integral can be easily evaluated just by changing to polar coordinates! The domain of integration is the first quadrant \(\Set{(x,y)}{x\ge 0,\ y\ge 0}\text{.}\) In polar coordinates, \(\dee{x}\dee{y} = r\,\dee{r}\dee{\theta}\) and the first quadrant is
\begin{equation*}
\Set{(r\cos\theta\,,\,r\sin\theta)}{r\ge 0,\ 0\le\theta\le \frac{\pi}{2}}
\end{equation*}
So
\begin{gather*}
\left[\int_0^\infty e^{-x^2}\ \dee{x}\right]^2
=\int_0^\infty \dee{x} \int_0^\infty \dee{y}\ e^{-x^2-y^2}
=\int_0^{\pi/2}\dee{\theta}\int_0^\infty \dee{r}\ r\, e^{-r^2}
\end{gather*}
As \(r\) runs all the way to \(+\infty\text{,}\) this is an improper integral, so we should be a little bit careful.
\begin{align*}
\left[\int_0^\infty e^{-x^2}\ \dee{x}\right]^2
&=\lim_{R\rightarrow\infty}
\int_0^{\pi/2}\dee{\theta}\int_0^R \dee{r}\ r\, e^{-r^2}\\
&=\lim_{R\rightarrow\infty}
\int_0^{\pi/2}\dee{\theta}\int_0^{R^2} \frac{\dee{u}}{2}\ e^{-u} \qquad
\text{where } u= r^2,\ \dee{u} =2r\,\dee{r}\\
&=\lim_{R\rightarrow\infty}
\int_0^{\pi/2}\dee{\theta}\ \left[-\frac{e^{-u}}{2}\right]_0^{R^2}\\
&=\lim_{R\rightarrow\infty} \frac{\pi}{2}
\left[\frac{1}{2}-\frac{e^{-R^2}}{2}\right]\\
&=\frac{\pi}{4}
\end{align*}
and so we get the famous result
\begin{gather*}
\int_0^\infty e^{-x^2}\ \dee{x} =\frac{\sqrt{\pi}}{2}
\end{gather*}
Example 3.2.14.
Find the area of the region that is inside the circle \(r=4\cos\theta\) and to the left of the line \(x=1\text{.}\)
Solution.
First, let’s check that \(r=4\cos\theta\) really is a circle and figure out what circle it is. To do so, we’ll convert the equation \(r=4\cos\theta\) into Cartesian coordinates. Multiplying both sides by \(r\) gives
\begin{gather*}
r^2=4r\cos\theta
\iff x^2+y^2 =4x
\iff (x-2)^2 + y^2 = 4
\end{gather*}
So \(r=4\cos\theta\) is the circle of radius \(2\) centred on \((2,0)\text{.}\) We’ll also need the intersection point(s) of \(x=r\cos\theta=1\) and \(r=4\cos\theta\text{.}\) At such an intersection point
\begin{align*}
r\cos\theta=1,\ r=4\cos\theta
&\implies \frac{1}{\cos\theta} = 4\cos\theta\\
&\implies \cos^2\theta = \frac{1}{4}\\
&\implies \cos\theta =\frac{1}{2}\qquad\text{since }r\cos\theta=1 \gt 0\\
&\implies \theta = \pm \frac{\pi}{3}
\end{align*}
Here is a sketch of the region of interest, which we’ll call \(\cR\text{.}\)
We could figure out the area of
\(\cR\) by using some high school geometry, because
\(\cR\) is a circular wedge with a triangle removed. (See Example
3.2.15, below.)
Instead, we’ll treat its computation as an exercise in integration using polar coordinates.
As \(\cR\) is symmetric about the \(x\)-axis, the area of \(\cR\) is twice the area of the part that is above the \(x\)-axis. We’ll denote by \(\cR_1\) the upper half of \(\cR\text{.}\) Note that we can write the equation \(x=1\) in polar coordinates as \(r=\frac{1}{\cos\theta}\text{.}\) Here is a sketch of \(\cR_1\text{.}\)
Observe that, on \(\cR_1\text{,}\) for any fixed \(\theta\) between \(0\) and \(\frac{\pi}{2}\text{,}\)
if \(\theta \lt \frac{\pi}{3}\text{,}\) then \(r\) runs from \(0\) to \(\frac{1}{\cos\theta}\text{,}\) while
if \(\theta \gt \frac{\pi}{3}\text{,}\) then \(r\) runs from \(0\) to \(4\cos\theta\text{.}\)
This naturally leads us to split the domain of integration at \(\theta
=\frac{\pi}{3}\text{:}\)
\begin{align*}
\text{Area}(\cR_1)& =
\int_0^{\pi/3}\dee{\theta}\int_0^{1/\cos\theta}\dee{r}\ r
+\int_{\pi/3}^{\pi/2}\dee{\theta}\int_0^{4\cos\theta}\dee{r}\ r
\end{align*}
As \(\int r\ \dee{r}=\frac{r^2}{2}+C\text{,}\)
\begin{align*}
\text{Area}(\cR_1)
&=\int_0^{\pi/3}\dee{\theta}\ \frac{\sec^2\theta}{2}
+\int_{\pi/3}^{\pi/2}\dee{\theta}\ 8\cos^2\theta\\
&=\frac{1}{2}\tan\theta\Big|_0^{\pi/3}
+4\int_{\pi/3}^{\pi/2}\dee{\theta}\ \big[1+\cos(2\theta)\big]\\
&=\frac{\sqrt{3}}{2} +4\left[\theta+\frac{\sin(2\theta)}{2}\right]_{\pi/3}^{\pi/2}\\
&=\frac{\sqrt{3}}{2} +4\left[\frac{\pi}{6}-\frac{\sqrt{3}}{4}\right]\\
&=\frac{2\pi}{3}-\frac{\sqrt{3}}{2}
\end{align*}
and
\begin{gather*}
\text{Area}(\cR)=2\text{Area}(\cR_1) = \frac{4\pi}{3}-\sqrt{3}
\end{gather*}
Example 3.2.15. Optional — Example 3.2.14 by high school geometry.
We’ll now again compute the area of the region
\(\cR\) that is inside the circle
\(r=4\cos\theta\) and to the left of the line
\(x=1\text{.}\) That was the region of interest in Example
3.2.14. This time we’ll just use some geometry. Think of
\(\cR\) as being the wedge
\(\cW\text{,}\) of the figure on the left below, with the triangle
\(\cT\text{,}\) of the figure on the right below, removed.
First we’ll get the area of \(\cW\text{.}\) The cosine of the angle between the \(x\) axis and the radius vector from \(C\) to \(A\) is \(\frac{1}{2}\text{.}\) So that angle is \(\frac{\pi}{3}\) and \(\cW\) subtends an angle of \(\frac{2\pi}{3}\text{.}\) The entire circle has area \(\pi 2^2\text{,}\) so that \(\cW\text{,}\) which is the fraction \(\frac{2\pi/3}{2\pi}=\frac{1}{3}\) of the full circle, has area \(\frac{4\pi}{3}\text{.}\)
Now we’ll get the area of the triangle \(\cT\text{.}\) Think of \(\cT\) as having base \(BD\text{.}\) Then the length of the base of \(\cT\) is \(2\sqrt{3}\) and the height of \(\cT\) is \(1\text{.}\) So \(\cT\) has area \(\frac{1}{2}(2\sqrt{3})(1)
=\sqrt{3}\text{.}\)
All together
\begin{align*}
\text{Area}(\cR)
&=\text{Area}(\cW)-\text{Area}(\cT)
=\frac{4\pi}{3}-\sqrt{3}
\end{align*}
We used some hand waving in deriving the area formula
3.2.8: the word “essentially” appeared quite a few times. Here is how do that derivation more rigorously.
Subsection 3.2.4 Optional— Error Control for the Polar Area Formula>
Let
\(0\le a \lt b\le 2\pi\text{.}\) In Examples
3.2.6 and
3.2.9 we derived the formula
\begin{equation*}
A=\frac{1}{2}\int_a^b R(\theta)^2\,d\theta
\end{equation*}
for the area of the region
\begin{equation*}
\cR=\Set{\big(r\cos\theta,r\sin\theta\big)}
{a\le\theta\le b,\ 0\le r\le R(\theta)}
\end{equation*}
In the course of that derivation we approximated the area of the shaded region in
by \(\dee{A} = r\,\dee{r}\,\dee{\theta}\text{.}\)
We will now justify that approximation, under the assumption that
\begin{equation*}
0\le R(\theta)\le M \qquad |R'(\theta)|\le L
\end{equation*}
for all \(a\le \theta\le b\text{.}\) That is, \(R(\theta)\) is bounded and its derivative exists and is bounded too.
Divide the interval \(a\le \theta\le b\) into \(n\) equal subintervals, each of length \(\De\theta=\frac{b-a}{n}\text{.}\) Let \(\theta_i^*\) be the midpoint of the \(i^{\rm th}\) interval. On the \(i^{\rm th}\) interval, \(\theta\) runs from \(\theta_i^*-\frac{1}{2}\De\theta\) to \(\theta_i^*+\frac{1}{2}\De\theta\text{.}\)
By the mean value theorem
\begin{gather*}
R(\theta)-R(\theta_i^*) = R'(c) (\theta-\theta_i^*)
\end{gather*}
for some \(c\) between \(\theta\) and \(\theta_i^*\text{.}\) Because \(|R'(\theta)|\le L\)
\begin{equation*}
\big|R(\theta)-R(\theta_i^*)\big| \le L \big|\theta-\theta_i^*\big|
\tag{$*$}
\end{equation*}
This tells us that the difference between \(R(\theta)\) and \(R(\theta_i^*)\) can’t be too big compared to \(\big|\theta-\theta_i^*\big|\text{.}\)
On the \(i^{\rm th}\) interval, the radius \(r=R(\theta)\) runs over all values of \(R(\theta)\) with \(\theta\) satisfying \(\big|\theta-\theta_i^*\big|\le\frac{1}{2}\De\theta\text{.}\) By \((*)\text{,}\) all of these values of \(R(\theta)\) lie between \(r_i=R(\theta_i^*)-\frac{1}{2} L\De\theta\) and \(R_i=R(\theta_i^*) +\frac{1}{2} L\De\theta\text{.}\) Consequently the part of \(\cR\) having \(\theta\) in the \(i^{\rm th}\) subinterval, namely,
\begin{equation*}
\cR_i=\Set{\big(r\cos\theta,r\sin\theta\big)}
{\theta_i^*-\half\De\theta\le\theta\le \theta_i^*+\half\De\theta,
\ 0\le r\le R(\theta)}
\end{equation*}
must contain all of the circular sector
\begin{equation*}
\Set{\big(r\cos\theta,r\sin\theta\big)}
{\theta_i^*-\half\De\theta\le\theta\le \theta_i^*+\half\De\theta,
\ 0\le r\le r_i}
\end{equation*}
and must be completely contained inside the circular sector
\begin{equation*}
\Set{\big(r\cos\theta,r\sin\theta\big)}
{\theta_i^*-\half\De\theta\le\theta\le \theta_i^*+\half\De\theta,
\ 0\le r\le R_i}
\end{equation*}
That is, we have found one circular sector that is bigger than the one we are approximating, and one circular sector that is smaller. The area of a circular disk of radius \(\rho\) is \(\pi\rho^2\text{.}\) A circular sector of radius \(\rho\) that subtends an angle \(\De \theta\) is the fraction \(\frac{\De\theta}{2\pi}\) of the full disk and so has the area \(\frac{\De\theta}{2\pi}\pi\rho^2 = \frac{\De\theta}{2}\rho^2\text{.}\)
So the area of \(\cR_i\) must lie between
\begin{equation*}
\frac{1}{2}\De\theta\, r_i^2
=\frac{1}{2}\De\theta\left[R(\theta_i^*)-\frac{1}{2} L\De\theta\right]^2
\quad\text{and}\quad
\frac{1}{2}\De\theta\, R_i^2
=\frac{1}{2}\De\theta\left[R(\theta_i^*)+\frac{1}{2} L\De\theta\right]^2
\end{equation*}
Observe that
\begin{equation*}
\left[R(\theta_i^*)\pm \frac{1}{2} L\De\theta\right]^2
=R(\theta_i^*)^2 \pm L R(\theta_i^*)\De\theta +\frac{1}{4} L^2\De\theta^2
\end{equation*}
implies that, since \(0\le R(\theta)\le M\text{,}\)
\begin{gather*}
R(\theta_i^*)^2 - L M\De\theta +\frac{1}{4} L^2\De\theta^2\hskip2in\\
\le \left[R(\theta_i^*)\pm \frac{1}{2} L\De\theta\right]^2\le\\
\hskip2in R(\theta_i^*)^2 + L M\De\theta +\frac{1}{4} L^2\De\theta^2
\end{gather*}
Hence (multiplying by \(\frac{\De\theta}{2}\) to turn them into areas)
\begin{gather*}
\frac{1}{2} R(\theta_i^*)^2\De\theta - \frac{1}{2} L M\De\theta^2
+\frac{1}{8} L^2\De\theta^3\hskip2in\\
\le\text{Area}(\cR_i)\le\\
\hskip2in\frac{1}{2} R(\theta_i^*)^2\De\theta
+ \frac{1}{2} L M\De\theta^2 +\frac{1}{8} L^2\De\theta^3
\end{gather*}
and the total area \(A\) obeys the bounds
\begin{gather*}
\sum_{i=1}^n\left[ \frac{1}{2} R(\theta_i^*)^2\De\theta
- \frac{1}{2} L M\De\theta^2 +\frac{1}{8} L^2\De\theta^3\right]\hskip2in\\
\le A\le\\
\hskip2in\sum_{i=1}^n\left[\frac{1}{2} R(\theta_i^*)^2\De\theta
+ \frac{1}{2} L M\De\theta^2 +\frac{1}{8} L^2\De\theta^3\right]
\end{gather*}
and
\begin{gather*}
\frac{1}{2}\sum_{i=1}^n R(\theta_i^*)^2\De\theta
- \frac{1}{2} n L M\De\theta^2 +\frac{1}{8} n L^2\De\theta^3\hskip2in\\
\le A\le\\
\hskip2in\sum_{i=1}^n\frac{1}{2} R(\theta_i^*)^2\De\theta + \frac{1}{2} n L M\De\theta^2 +\frac{1}{8}
nL^2\De\theta^3
\end{gather*}
Since \(\De \theta=\frac{b-a}{n}\text{,}\)
\begin{gather*}
\frac{1}{2}\sum_{i=1}^n R(\theta_i^*)^2\De\theta
\!-\! \frac{ L M}{2}\frac{(b\!-\!a)^2}{n}
\!+\!\frac{L^2}{8} \frac{(b\!-\!a)^3}{n^2}\hskip2in\\
\le A\le\\
\hskip2in\frac{1}{2}\sum_{i=1}^n R(\theta_i^*)^2\De\theta
\!+\! \frac{ L M}{2}\frac{(b\!-\!a)^2}{n}
\!+\! \frac{L^2}{8} \frac{(b\!-\!a)^3}{n^2}
\end{gather*}
Now take the limit as \(n\rightarrow\infty\text{.}\) Since
\begin{align*}
&\lim_{n\rightarrow\infty}\left[
\frac{1}{2}\sum_{i=1}^n R(\theta_i^*)^2\De\theta
\pm \frac{ L M}{2}\frac{(b-a)^2}{n}
+\frac{L^2}{8} \frac{(b-a)^3}{n^2}\right]
\cr
&\hskip1in=\frac{1}{2}\int_a^b R(\theta)^2\,d\theta
\pm \lim_{n\rightarrow\infty}\frac{ L M}{2}\frac{(b-a)^2}{n}
+\lim_{n\rightarrow\infty}\frac{L^2}{8} \frac{(b-a)^3}{n^2}\\
&\hskip1in=\frac{1}{2}\int_a^b R(\theta)^2\,d\theta \qquad
\text{(since $L, M, a$ and $b$ are all constants)}
\end{align*}
we have that
\begin{equation*}
A=\frac{1}{2}\int_a^b R(\theta)^2\,d\theta
\end{equation*}
exactly, as desired.