Polar curves and tangent slopes
In polar coordinates, a point is given by a direction, the angle \(\theta\), and a signed distance \(r\) along it. A polar curve such as \(r=1+2\cos\theta\) gives \(r\) as a function of \(\theta\), while a slope compares changes in \(y\) and \(x\). This topic converts between polar and Cartesian coordinates. It then finds the slope of the tangent line to a polar curve, and the points where that line is horizontal or vertical.
Polar coordinates
A polar grid: faint circles 1, 2, 3 and 4 units from the pole, with their numbers on the x-axis, and faint rays every pi over 6, with their angles. An orange point P is 3 units from the pole at the end of an orange segment, and a small arc marks the angle theta from the positive x-axis to the segment. Two dashed legs, along the x-axis and then up or down to P, show the coordinates x and y of P, each green when positive and red when negative. A button makes r negative: P moves through the pole to the ray opposite the direction theta, which a faint dotted ray then shows.
The origin is called the pole. The angle \(\theta\) is measured counterclockwise from the positive x-axis to a ray from the pole, or clockwise if \(\theta\lt 0\). If \(r>0\), the point \(P\) with polar coordinates \((r,\theta)\) lies on that ray at distance \(r\) from the pole, as in Figure 1. If \(r\lt 0\), \(P\) lies at distance \(|r|\) on the opposite ray. If \(r=0\), \(P\) is the pole.
By the definitions of cosine and sine, the point at the angle \(\theta\) on the unit circle is \((\cos\theta,\sin\theta)\), in every quadrant. For \(r>0\), \(P\) lies on the same ray, \(r\) times as far from the pole, so \(x=r\cos\theta\) and \(y=r\sin\theta\). In Figure 1, these are the dashed legs. Move \(\theta\) through the four quadrants. The horizontal leg changes color where \(\cos\theta\) changes sign, and the vertical leg where \(\sin\theta\) does.
Use the button under Figure 1 to make \(r\) negative. The point \(P\) moves through the pole to the ray opposite the faint dotted ray at \(\theta\). The opposite ray has the angle \(\theta+\pi\), and adding \(\pi\) to an angle changes the signs of its cosine and sine, so
The last step uses \(-|r|=r\) for \(r\lt 0\), and in the same way \(y=r\sin\theta\). At the pole, both formulas give 0, so they hold for every \(r\). To go back from \(x\) and \(y\) to \(r\) and \(\theta\), square both formulas and add them:
For \(r>0\), this gives \(r=\sqrt{x^2+y^2}\). If \(x\ne0\), dividing \(y\) by \(x\) gives \(\tan\theta=\frac{y}{x}\). Because \(\tan\theta\) repeats every \(\pi\), this equation holds on two opposite rays. The arctangent gives the angle between \(-\frac{\pi}{2}\) and \(\frac{\pi}{2}\), whose ray points into the right half of the plane. For \(r>0\) and \(x\lt 0\), add \(\pi\) to that angle, so that the ray points toward \(P\). If \(x=0\) and \(r>0\), \(P\) lies on the y-axis, at \(\theta=\frac{\pi}{2}\) if \(y>0\) and \(\theta=\frac{3\pi}{2}\) if \(y\lt 0\).
A point has many polar names. Adding \(2\pi\) to \(\theta\) returns to the same ray, so \((r,\theta+2\pi)\) names the same point as \((r,\theta)\). Changing the sign of \(r\) and adding \(\pi\) to \(\theta\) reaches it from the opposite ray, so \((-r,\theta+\pi)\) names it too. The pole is \((0,\theta)\) for every \(\theta\).
The slope of a polar curve
The limacon r = 1 plus 2 cosine theta, a large loop with a small inner loop that passes through the pole, on faint circles 1 unit apart. An orange point P on the curve is joined to the pole by an orange segment, and a faint dotted ray from the pole shows the angle theta. At P an orange arrow, the vector of dx over d theta and dy over d theta, points along the faint tangent line, with a horizontal and a vertical leg, each green when positive and red when negative. Buttons split the arrow into two faint arrows, one along the ray and one across it, move P to the pole, where the arrow and the tangent line lie along the ray, and close the inner loop into the cardioid r = 1 plus cosine theta, whose cusp at the pole leaves the arrow with no length.
In Figure 2, the orange dot \(P\) moves along the curve as \(\theta\) increases. On any polar curve \(r=f(\theta)\), the conversion formulas give the coordinates of \(P\) as functions of \(\theta\):
A polar curve is therefore a parametric curve with the parameter \(\theta\). Topic 9.1 showed that the tangent line to such a curve has the slope \(\frac{dy}{d\theta}\) divided by \(\frac{dx}{d\theta}\), wherever \(\frac{dx}{d\theta}\ne0\). Each coordinate is a product of two functions of \(\theta\). If \(f\) is differentiable at \(\theta\), the product rule gives
If \(f\) is a composition, such as \(\sin 3\theta\), find \(f'\) with the chain rule first. The vector of the two rates is the sum of two parts. One is along the ray at the angle \(\theta\), and the other is across it, along the direction a quarter turn counterclockwise from the ray:
In Figure 2, the orange arrow at \(P\) is this vector, and its legs are the two rates. By topic 9.4, where this vector is not zero, it points along the tangent line, in the direction that \(P\) moves. Use the button under Figure 2 to split the arrow into two faint arrows. The arrow along the ray stands for \(\frac{dr}{d\theta}=f'(\theta)\), the rate at which \(r\) changes, because a change in \(r\) moves \(P\) along the ray. The arrow across the ray stands for \(f(\theta)\), because when the ray turns through a small angle \(\Delta\theta\), \(P\) moves about \(|f|\,\Delta\theta\) along a circle. The slope therefore depends on both \(f\) and \(f'\), and it is not \(\frac{dr}{d\theta}\).
Horizontal and vertical tangents
The tests of topic 9.1 apply with \(\theta\) as the parameter. The tangent is horizontal where \(\frac{dy}{d\theta}=0\) and \(\frac{dx}{d\theta}\ne0\), because the slope is 0 there. It is vertical where \(\frac{dx}{d\theta}=0\) and \(\frac{dy}{d\theta}\ne0\), because the arrow then points straight up or down. Move \(\theta\) to 0 in Figure 2. There \(f'(0)=0\), so only the part across the ray is left, and the tangent at \((3,0)\) is vertical.
Suppose that the curve passes through the pole at the angle \(\theta_0\), so \(f(\theta_0)=0\). The part across the ray then vanishes, and the vector is \(f'(\theta_0)\langle\cos\theta_0,\sin\theta_0\rangle\). If \(f'(\theta_0)\ne0\), the tangent line at the pole is the line through the pole at the angle \(\theta_0\). Its slope is \(\tan\theta_0\), and it is vertical if \(\cos\theta_0=0\). Use the button under Figure 2 to move \(P\) to the pole, at \(\theta_0=\frac{2\pi}{3}\). The orange arrow and the tangent line lie on the line of the dotted ray. The curve passes through the pole again at \(\frac{4\pi}{3}\), with a second tangent line there.
If \(f'(\theta_0)=0\) as well, both rates are 0, and neither test decides. Use the button under Figure 2 to close the loop into a cusp, a sharp point. The curve becomes the cardioid \(r=1+\cos\theta\), with its cusp at the pole. Then move \(P\) to the pole again. The arrow shrinks to a point, and the figure draws no tangent line, because a zero vector has no direction. Move \(P\) toward the cusp with the slider. The tangent line turns toward the x-axis, and the slope approaches 0. As in topic 9.1, this limit gives the tangent at the cusp, the x-axis. Example 4 finds such a limit.
Example 1
Convert between polar and Cartesian coordinates
The point \(P\) has polar coordinates \(\left(-4,\dfrac{\pi}{6}\right)\). Find the Cartesian coordinates of \(P\). Then find polar coordinates \((r,\theta)\) for \(P\) with \(r>0\) and \(0\le\theta\lt 2\pi\).
Solution
Here \(r\lt 0\), so \(P\) lies 4 units from the pole on the ray opposite the ray at \(\frac{\pi}{6}\). The conversion formulas hold for every \(r\):
The Cartesian coordinates of \(P\) are \(\left(-2\sqrt3,-2\right)\), in the third quadrant. For \(r>0\), the distance from the pole is
The angle satisfies \(\tan\theta=\frac{y}{x}\), which is \(\frac{1}{\sqrt3}\) here. This holds at \(\frac{\pi}{6}\) and at \(\frac{7\pi}{6}\), and only the ray at \(\frac{7\pi}{6}\) points into the third quadrant. The polar coordinates are \(\left(4,\frac{7\pi}{6}\right)\). As a check, \(\left(-4,\frac{\pi}{6}\right)\) and \(\left(4,\frac{\pi}{6}+\pi\right)\) name the same point.
Example 2
Differentiate the Cartesian coordinates
For the polar curve \(r=\sin 3\theta\), find \(\dfrac{dx}{d\theta}\) and \(\dfrac{dy}{d\theta}\) at \(\theta=\dfrac{\pi}{4}\). Is \(y\) increasing or decreasing at \(\theta=\dfrac{\pi}{4}\)? Give a reason for your answer.
Solution
The coordinates \(x=\sin 3\theta\cos\theta\) and \(y=\sin 3\theta\sin\theta\) are products. By the chain rule, their first factor has the derivative \(3\cos 3\theta\) for every \(\theta\), and the product rule gives
At \(\theta=\frac{\pi}{4}\), the angle \(3\theta\) is \(\frac{3\pi}{4}\), so \(\cos 3\theta=-\frac{\sqrt2}{2}\). The other three values, \(\sin 3\theta\), \(\cos\theta\) and \(\sin\theta\), all equal \(\frac{\sqrt2}{2}\), so each product of two values is \(\frac12\) or \(-\frac12\):
Because \(\frac{dy}{d\theta}\lt 0\), \(y\) is decreasing at \(\theta=\frac{\pi}{4}\).
Example 3
Find a polar tangent slope
Find the slope of the line tangent to the polar curve \(r=5-3\cos\theta\) at the point where \(\theta=\dfrac{\pi}{3}\).
Solution
Here \(f(\theta)=5-3\cos\theta\), with \(f'(\theta)=3\sin\theta\) for every \(\theta\). At \(\theta=\frac{\pi}{3}\), \(f=\frac72\) and \(f'=\frac{3\sqrt3}{2}\). With \(\cos\theta=\frac12\) and \(\sin\theta=\frac{\sqrt3}{2}\), the two rates are
The rate \(\frac{dx}{d\theta}\) is not 0, so the slope is the quotient of the two rates:
Example 4
Locate horizontal and vertical tangents
Find the points on the cardioid \(r=1+\sin\theta\), for \(0\le\theta\lt 2\pi\), at which the tangent line is horizontal.
Solution
Here \(f'(\theta)=\cos\theta\) for every \(\theta\). The product rule gives both rates, and \(\cos^2\theta=(1-\sin\theta)(1+\sin\theta)\) factors the second:
The rate \(\frac{dy}{d\theta}\) is 0 where \(\cos\theta=0\), at \(\frac{\pi}{2}\) and \(\frac{3\pi}{2}\), and where \(\sin\theta=-\frac12\), at \(\frac{7\pi}{6}\) and \(\frac{11\pi}{6}\). At \(\frac{\pi}{2}\), \(\frac{7\pi}{6}\) and \(\frac{11\pi}{6}\), the rate \(\frac{dx}{d\theta}\) is \(-2\), 1 and 1, so these tangents are horizontal.
At \(\frac{3\pi}{2}\), \(r=0\) and both rates are 0, so the test does not decide. Near \(\frac{3\pi}{2}\), multiply the top and bottom of \(\frac{\cos\theta}{1+\sin\theta}\) by \(1-\sin\theta\), which makes its bottom \(\cos^2\theta\):
As \(\theta\) approaches \(\frac{3\pi}{2}\), the top of \(\frac{1-\sin\theta}{\cos\theta}\) approaches 2 and its bottom approaches 0, while the second factor approaches \(-\frac13\). The size of the slope grows without bound, so its reciprocal \(\frac{dx}{dy}\) approaches 0. At every other angle near \(\frac{3\pi}{2}\), \(\frac{dy}{d\theta}\ne0\), so the argument of topic 9.1 applies with \(x\) and \(y\) exchanged. The tangent at the pole is therefore vertical. At the other three angles, \(r\) is 2, \(\frac12\) and \(\frac12\), so the points are
Each example is one of the four skills of topic 9.7 in Which & Why: AP Calculus.