Slope of a polar curve
A curve is drawn by an angle and a distance, r = f(\theta), rather than by y as a function of x. How steep is it at a point, and how is that steepness different from how fast the distance r is changing?
Where you are 5 in Parametric, polar and vector valued functions
When you reach for it
Tsering has a nautilus shell sawn in half. The cut shows a spiral wall winding out from a center point, and its outline is close to r = e^{\theta/3}, with r in centimeters measured from the center (the pole) and \theta in radians. She wants the direction of the wall at a given point. The curve is given in polar form (Polar coordinates); it winds around the pole and is not the graph of any function y = F(x).
But every polar curve is a parametric curve with the angle as its parameter, and Derivatives of parametric curves already gives the slope of a parametric curve: \displaystyle \frac{dy}{dx} = \frac{dy/dt}{dx/dt}, horizontal where only the top is 0, vertical where only the bottom is 0, and a limit to take where both are 0. This lesson applies that to r = f(\theta). Reach for it whenever a polar curve needs a slope, a tangent line, its level and upright points, its tangent lines at the pole, or the angle it makes with the radius.
The procedure
A polar curve is a parametric curve. The point with polar coordinates (r, \theta) has rectangular coordinates x = r\cos\theta, y = r\sin\theta (Converting between polar and rectangular). On the curve r = f(\theta), substitute:
The angle \theta plays the part of the parameter t. A negative value of f needs no special care: that point is plotted on the opposite ray, and the formulas put it there, since both coordinates change sign.
The two rates. The product rule on each coordinate gives
The slope. Where f is differentiable and \displaystyle \frac{dx}{d\theta} \ne 0, the parametric result gives
The tangent line at \theta_0 passes through \big(f(\theta_0)\cos\theta_0,\ f(\theta_0)\sin\theta_0\big) with this slope, built as in Tangent lines and normal lines. The tangent is horizontal where \displaystyle \frac{dy}{d\theta} = 0 and \displaystyle \frac{dx}{d\theta} \ne 0, vertical where \displaystyle \frac{dx}{d\theta} = 0 and \displaystyle \frac{dy}{d\theta} \ne 0, and undecided by the ratio where both are 0.
What the two rates mean. Let \mathbf{u} = (\cos\theta, \sin\theta), the unit vector pointing out along the ray at angle \theta, and \mathbf{v} = (-\sin\theta, \cos\theta), the same vector turned a quarter turn counterclockwise. Reading the two rates off term by term,
The tangent direction has a part f'(\theta) along the radius and a part f(\theta) across it. Four facts follow.
- \displaystyle \frac{dr}{d\theta} = f'(\theta) is only the radial part. It says how fast the point moves away from the pole, not how steep the curve is. The slope \displaystyle \frac{dy}{dx} measures the whole direction against the x axis, so it uses both parts and the angle \theta as well. On the circle r = c, \displaystyle \frac{dr}{d\theta} = 0 everywhere, yet the slope -\cot\theta takes every real value.
- Where f(\theta_0) \ne 0 and f'(\theta_0) = 0, the tangent is perpendicular to the radius: for that instant the curve neither approaches nor leaves the pole.
- At the pole: if f(\theta_0) = 0 and f'(\theta_0) \ne 0, the tangent direction is f'(\theta_0)\,\mathbf{u}, along the ray itself. When \cos\theta_0 \ne 0, the slope is \displaystyle \frac{dy}{dx} = \frac{f'(\theta_0)\sin\theta_0}{f'(\theta_0)\cos\theta_0} = \tan\theta_0, and when \cos\theta_0 = 0 the tangent is vertical. Either way the tangent line at the pole is the line \theta = \theta_0. A curve that reaches the pole at several angles has a tangent line for each.
- The angle with the radius: where f(\theta) > 0, let \psi be the angle from the outward radius \mathbf{u} to the tangent direction of increasing \theta. Its cosine and sine are the two parts divided by \displaystyle \sqrt{f'^2 + f^2}, so where f'(\theta) \ne 0, \displaystyle \tan\psi = \frac{f(\theta)}{f'(\theta)} = \frac{r}{dr/d\theta}, and \displaystyle \psi = \frac{\pi}{2} where f'(\theta) = 0.
Worked examples
A tangent line to a spiral
Find the slope of the spiral r = 2\theta at \theta = \pi and the tangent line there. Compare the slope with \displaystyle \frac{dr}{d\theta}.
SolutionHere f(\theta) = 2\theta and f'(\theta) = 2, so at \theta = \pi, f = 2\pi and f' = 2. The point is x = 2\pi\cos\pi = -2\pi, y = 2\pi\sin\pi = 0, that is (-2\pi, 0). The two rates:
The bottom is not 0, so the slope is \displaystyle \frac{-2\pi}{-2} = \pi, and the tangent line is y = \pi(x + 2\pi), that is y = \pi x + 2\pi^2. Meanwhile \displaystyle \frac{dr}{d\theta} = 2 at every angle. The point leaves the pole at 2 units per radian everywhere on the spiral, but the slope changes from point to point; at \theta = \pi the curve is crossing the negative x axis heading down, and its steepness \pi owes as much to the term 2\pi\cos\pi as to f'.
A tangent line to a rose
Dorje plots the rose r = 7\sin 2\theta (four petals, see Rose curves). Find the tangent line at \displaystyle \theta = \frac{\pi}{6}.
SolutionWith f(\theta) = 7\sin 2\theta and f'(\theta) = 14\cos 2\theta: at \displaystyle \theta = \frac{\pi}{6}, \displaystyle f = 7\sin\frac{\pi}{3} = \frac{7\sqrt{3}}{2} and \displaystyle f' = 14\cos\frac{\pi}{3} = 7. The point is
The rates are
So \displaystyle \frac{dy}{dx} = \frac{35/4}{7\sqrt{3}/4} = \frac{5}{\sqrt{3}} = \frac{5\sqrt{3}}{3}. The tangent line is \displaystyle y - \frac{7\sqrt{3}}{4} = \frac{5\sqrt{3}}{3}\left(x - \frac{21}{4}\right). Since \displaystyle \frac{5\sqrt{3}}{3}\cdot\frac{21}{4} = \frac{35\sqrt{3}}{4}, this is \displaystyle y = \frac{5\sqrt{3}}{3}x - 7\sqrt{3}. Check: at \displaystyle x = \frac{21}{4} it gives \displaystyle \frac{35\sqrt{3}}{4} - \frac{28\sqrt{3}}{4} = \frac{7\sqrt{3}}{4}.
Level and upright points of a limaçon
Pasang studies the limaçon r = 2 - 5\sin\theta for 0 \le \theta < 2\pi, which has an inner loop (compare the limaçons in Limacons and cardioids). Find every point with a horizontal tangent and every point with a vertical tangent.
SolutionHere f' = -5\cos\theta. Factor each rate.
using \cos^2\theta = 1 - \sin^2\theta in the second.
Horizontal. \displaystyle \frac{dy}{d\theta} = 0 when \cos\theta = 0 or \displaystyle \sin\theta = \frac{1}{5}. At \displaystyle \theta = \frac{\pi}{2}, r = -3 and the point is (0, -3), the bottom of the inner loop; at \displaystyle \theta = \frac{3\pi}{2}, r = 7 and the point is (0, -7). At \displaystyle \sin\theta = \frac{1}{5} (\displaystyle \theta = \arcsin\frac{1}{5} and \displaystyle \pi - \arcsin\frac{1}{5}), r = 1 and \displaystyle \cos\theta = \pm\frac{2\sqrt{6}}{5}, giving \displaystyle \left(\pm\frac{2\sqrt{6}}{5}, \frac{1}{5}\right). In each case \displaystyle \frac{dx}{d\theta} is 3, 7 or -5, never 0, so all four tangents are horizontal.
Vertical. \displaystyle \frac{dx}{d\theta} = 0 is a quadratic in \sin\theta, solved by the quadratic formula:
Both values, about 0.814 and -0.614, lie in [-1, 1], so each gives two angles: \theta \approx 0.95, 2.19 and \theta \approx 3.80, 5.62. There \cos\theta \ne 0 and \displaystyle \sin\theta \ne \frac{1}{5}, so \displaystyle \frac{dy}{d\theta} \ne 0 and the tangents are vertical. The points are y = r\sin\theta = 2\sin\theta - 5\sin^2\theta, which is \displaystyle \frac{\sqrt{51} - 24}{10} \approx -1.69 for the first value and \displaystyle -\frac{24 + \sqrt{51}}{10} \approx -3.11 for the second; with x = r\cos\theta they are (\pm 1.20, -1.69) on the inner loop and (\pm 4.00, -3.11) on the outer.
Tangent lines at the pole
Find the tangent lines to Pasang’s limaçon r = 2 - 5\sin\theta at the pole.
SolutionThe curve is at the pole when f(\theta) = 0, that is \displaystyle \sin\theta = \frac{2}{5}: \displaystyle \theta_1 = \arcsin\frac{2}{5} \approx 0.41 and \displaystyle \theta_2 = \pi - \arcsin\frac{2}{5} \approx 2.73. There \displaystyle \cos\theta = \pm\frac{\sqrt{21}}{5}, so \displaystyle f'(\theta) = -5\cos\theta = \mp\sqrt{21} \ne 0. The rule at the pole applies: the tangent lines are the lines \theta = \theta_1 and \theta = \theta_2, with slopes
In rectangular form they are \displaystyle y = \frac{2\sqrt{21}}{21}x and \displaystyle y = -\frac{2\sqrt{21}}{21}x. Between \theta_1 and \theta_2, r < 0, and that stretch of the curve is the inner loop; it leaves the pole along one line and returns along the other.
Where r stops changing
On Dorje’s rose r = 7\sin 2\theta, find \displaystyle \frac{dr}{d\theta} and \displaystyle \frac{dy}{dx} at \displaystyle \theta = \frac{\pi}{4}, and the tangent line there.
SolutionAt \displaystyle \theta = \frac{\pi}{4}, \displaystyle f = 7\sin\frac{\pi}{2} = 7, the largest value of r, and \displaystyle \frac{dr}{d\theta} = 14\cos\frac{\pi}{2} = 0. This is the tip of the petal, the point \displaystyle \left(\frac{7\sqrt{2}}{2}, \frac{7\sqrt{2}}{2}\right). With f' = 0 the slope formula reduces to
So \displaystyle \frac{dr}{d\theta} = 0 does not make the tangent horizontal; it makes the tangent perpendicular to the radius, whose slope here is 1. The tangent line is \displaystyle y = -x + 7\sqrt{2}. The two numbers answer different questions: \displaystyle \frac{dr}{d\theta} = 0 says the distance from the pole has stopped growing, and \displaystyle \frac{dy}{dx} = -1 says which way the curve points. In Example 2 they were 7 and \displaystyle \frac{5\sqrt{3}}{3}.
The nautilus spiral
Tsering’s shell outline is r = e^{\theta/3}. Find \displaystyle \frac{dy}{dx} as a function of \theta, the tangent line at \displaystyle \theta = \frac{\pi}{2}, and the angle \psi between the radius and the tangent.
SolutionHere \displaystyle f' = \frac{1}{3}e^{\theta/3} = \frac{f}{3}. In the slope formula every term carries the factor e^{\theta/3}, which cancels; multiplying top and bottom by 3,
At \displaystyle \theta = \frac{\pi}{2} this is \displaystyle \frac{1}{-3} = -\frac{1}{3}, and the point is \left(0, e^{\pi/6}\right) \approx (0, 1.69). The tangent line is \displaystyle y = -\frac{1}{3}x + e^{\pi/6}.
For the angle, r > 0 everywhere and
so \psi = \arctan 3 \approx 1.249 radians, about 71.6^\circ, at every point of the spiral. Each ray from the pole crosses every coil of the shell wall at the same angle. That is why such a spiral is called equiangular, and why a shell growing this way keeps its shape as it grows.
Boundaries
- The formula needs f differentiable at \theta_0 and \displaystyle \frac{dx}{d\theta} \ne 0 there. Where \displaystyle \frac{dx}{d\theta} = 0 and \displaystyle \frac{dy}{d\theta} \ne 0 the tangent is vertical and has no slope as a number.
- Where both rates are 0, the ratio is \displaystyle \frac{0}{0} and decides nothing; take the limit of \displaystyle \frac{dy}{dx} as \theta \to \theta_0, which may or may not exist. At the pole both rates are 0 exactly when f(\theta_0) = f'(\theta_0) = 0, as at the cusp of a cardioid.
- The rule “the tangent at the pole is the line \theta = \theta_0” assumes f'(\theta_0) \ne 0.
- A slope belongs to a value of \theta, not to a point. The pole, and any point the curve passes more than once, can carry several tangent lines.
- \displaystyle \tan\psi = \frac{r}{dr/d\theta} as derived assumes r > 0; at the pole \psi is not defined.
- \displaystyle \frac{dr}{d\theta} is not a slope. It is 0 all around a circle centered at the pole, whose tangents point in every direction.
Where this goes next
The decomposition f'(\theta)\,\mathbf{u} + f(\theta)\,\mathbf{v} also gives the speed at which a polar curve is traced: \mathbf{u} and \mathbf{v} are perpendicular unit vectors, so the length of that vector is \displaystyle \sqrt{f'(\theta)^2 + f(\theta)^2}, the integrand of polar arc length in Arc length and speed on parametric and polar curves. Area inside a polar curve, which uses the angles where it meets the pole found here, is in Area in polar coordinates. Circles through the pole, such as those in Polar circles and symmetry tests, meet the pole at a single angle each, and their tangent there is the line through the pole at that angle. In Vector valued functions and motion in the plane the pair \displaystyle \left(\frac{dx}{d\theta}, \frac{dy}{d\theta}\right) becomes a velocity vector.
Exercises
Slopes and tangent lines
- Find the tangent line to r = 3 + 2\cos\theta at \displaystyle \theta = \frac{\pi}{2}.
- Find the tangent line to the spiral \displaystyle r = \frac{4}{\theta} at \displaystyle \theta = \frac{\pi}{2}.
- Find the tangent line to r = \theta^2 at \theta = \pi.
- Find the tangent line to Dorje’s rose r = 7\sin 2\theta at \displaystyle \theta = \frac{\pi}{3}.
- Find the tangent line to r = 1 + 4\cos\theta at \displaystyle \theta = \frac{2\pi}{3}, where r is negative.
Level and upright points
- Find every point of r = 4 + 2\sin\theta, 0 \le \theta < 2\pi, with a horizontal tangent and every point with a vertical tangent.
- Find the highest point of the petal of r = 7\sin 2\theta traced for \displaystyle 0 \le \theta \le \frac{\pi}{2}.
- Find the point of the same petal farthest to the right.
- Show that r = 2\csc\theta, 0 < \theta < \pi, has a horizontal tangent at every point, and name the curve.
Tangents at the pole
- Find the tangent lines at the pole of \displaystyle r = \sqrt{3} + 2\sin\theta.
- Find the tangent lines at the pole of r = 3\sin 4\theta, 0 \le \theta < \pi.
- The spiral r = \theta - 1 passes through the pole at \theta = 1. Find its tangent line there.
- For r = \theta^2, both f(0) and f'(0) are 0. Find the limit of \displaystyle \frac{dy}{dx} as \theta \to 0 and the tangent line at the pole.
The rate of r and the angle with the radius
- On the circle r = 4, find \displaystyle \frac{dr}{d\theta} and \displaystyle \frac{dy}{dx} at \displaystyle \theta = \frac{\pi}{3}.
- For \displaystyle r = e^{\sqrt{3}\,\theta}, find the angle \psi between the radius and the tangent, and the slope at \displaystyle \theta = \frac{\pi}{2}.
- For the spiral r = 2\theta, \theta > 0, find \psi at \theta = 1 and at \theta = 10. What happens to \psi as \theta grows?
Reasoning
- Prove that if f(\theta_0) \ne 0 and f'(\theta_0) = 0, the tangent line at \theta_0 is perpendicular to the radius.
- Refute the claim: “If \displaystyle \frac{dr}{d\theta} = 0 at a point, the tangent line there is horizontal.”
- Suppose f > 0 and the angle \psi between radius and tangent is the same at every point, with \displaystyle \tan\psi = \frac{1}{k}. Show that f(\theta) = Ce^{k\theta} for a constant C > 0.
- The curve in Exercise 10 has two tangent lines at the pole, yet its slope is a single formula in \theta. Explain why there is no contradiction.
Answers
- \displaystyle y = \frac{2}{3}x + 3. At \displaystyle \theta = \frac{\pi}{2}, f = 3 and f' = -2\sin\theta = -2; the point is (0, 3), \displaystyle \frac{dy}{d\theta} = -2 and \displaystyle \frac{dx}{d\theta} = -3.
- \displaystyle y = \frac{2}{\pi}x + \frac{8}{\pi}. \displaystyle f = \frac{8}{\pi}, \displaystyle f' = -\frac{4}{\theta^2} = -\frac{16}{\pi^2}; the point is \displaystyle \left(0, \frac{8}{\pi}\right), \displaystyle \frac{dy}{d\theta} = -\frac{16}{\pi^2}, \displaystyle \frac{dx}{d\theta} = -\frac{8}{\pi}.
- \displaystyle y = \frac{\pi}{2}x + \frac{\pi^3}{2}. f = \pi^2, f' = 2\pi; the point is (-\pi^2, 0), \displaystyle \frac{dy}{d\theta} = -\pi^2, \displaystyle \frac{dx}{d\theta} = -2\pi, slope \displaystyle \frac{\pi}{2}.
- \displaystyle y = \frac{\sqrt{3}}{5}x + \frac{21}{5}. \displaystyle f = \frac{7\sqrt{3}}{2}, \displaystyle f' = 14\cos\frac{2\pi}{3} = -7; the point is \displaystyle \left(\frac{7\sqrt{3}}{4}, \frac{21}{4}\right), \displaystyle \frac{dy}{d\theta} = -\frac{7\sqrt{3}}{4}, \displaystyle \frac{dx}{d\theta} = -\frac{35}{4}. The point and line are the mirror images in y = x of Example 2’s.
- \displaystyle y = -\frac{5\sqrt{3}}{9}x - \frac{2\sqrt{3}}{9}. f = -1, \displaystyle f' = -4\sin\frac{2\pi}{3} = -2\sqrt{3}; the point is \displaystyle \left(\frac{1}{2}, -\frac{\sqrt{3}}{2}\right), \displaystyle \frac{dy}{d\theta} = -\frac{5}{2}, \displaystyle \frac{dx}{d\theta} = \frac{3\sqrt{3}}{2}.
- Horizontal at (0, 6) and (0, -2); vertical at \displaystyle (\pm 4.40, \sqrt{3}). \displaystyle \frac{dy}{d\theta} = 4\cos\theta\,(1 + \sin\theta) is 0 only at \displaystyle \theta = \frac{\pi}{2}, \frac{3\pi}{2}, where \displaystyle \frac{dx}{d\theta} = -6 and 2. \displaystyle \frac{dx}{d\theta} = 2 - 4\sin\theta - 4\sin^2\theta = 0 gives \displaystyle \sin\theta = \frac{\sqrt{3} - 1}{2}; then \displaystyle r = 3 + \sqrt{3}, \displaystyle y = r\sin\theta = \sqrt{3} and \displaystyle x = \pm(3 + \sqrt{3})\cos\theta \approx \pm 4.40.
- \displaystyle \left(\frac{14\sqrt{6}}{9}, \frac{28\sqrt{3}}{9}\right) \approx (3.81, 5.39). \displaystyle \frac{dy}{d\theta} = 14\sin\theta\,(2 - 3\sin^2\theta); inside the petal it is 0 at \displaystyle \sin^2\theta = \frac{2}{3}, where \displaystyle r = \frac{14\sqrt{2}}{3} and \displaystyle \frac{dx}{d\theta} = -14\cos\theta \ne 0. The other zero, \theta = 0, is the pole, the lowest point.
- \displaystyle \left(\frac{28\sqrt{3}}{9}, \frac{14\sqrt{6}}{9}\right) \approx (5.39, 3.81). \displaystyle \frac{dx}{d\theta} = 14\cos\theta\,(1 - 3\sin^2\theta) is 0 at \displaystyle \sin^2\theta = \frac{1}{3}, again with \displaystyle r = \frac{14\sqrt{2}}{3}; the other zero, \displaystyle \theta = \frac{\pi}{2}, is the pole, where x is least.
- The line y = 2. With f' = -2\csc\theta\cot\theta, \displaystyle \frac{dy}{d\theta} = -2\cot\theta + 2\cot\theta = 0 and \displaystyle \frac{dx}{d\theta} = -2\cot^2\theta - 2 = -2\csc^2\theta \ne 0. Indeed y = r\sin\theta = 2.
- \displaystyle y = \sqrt{3}x and \displaystyle y = -\sqrt{3}x. r = 0 when \displaystyle \sin\theta = -\frac{\sqrt{3}}{2}, at \displaystyle \theta = \frac{4\pi}{3} and \displaystyle \frac{5\pi}{3}, where f' = 2\cos\theta = \mp 1 \ne 0; the slopes are \displaystyle \tan\frac{4\pi}{3} = \sqrt{3} and \displaystyle \tan\frac{5\pi}{3} = -\sqrt{3}.
- y = 0, y = x, x = 0 and y = -x. r = 0 at \displaystyle \theta = 0, \frac{\pi}{4}, \frac{\pi}{2}, \frac{3\pi}{4}, where f' = 12\cos 4\theta = \pm 12 \ne 0.
- y = (\tan 1)\,x \approx 1.557x. f' = 1 \ne 0, so the tangent is the line \theta = 1.
- The limit is 0 and the tangent is y = 0. For \theta \ne 0, dividing top and bottom by \theta gives \displaystyle \frac{dy}{dx} = \frac{2\sin\theta + \theta\cos\theta}{2\cos\theta - \theta\sin\theta}, which tends to \displaystyle \frac{0}{2} = 0.
- \displaystyle \frac{dr}{d\theta} = 0 and \displaystyle \frac{dy}{dx} = -\frac{\sqrt{3}}{3}. With f' = 0, \displaystyle \frac{dy}{dx} = \frac{4\cos\theta}{-4\sin\theta} = -\cot\frac{\pi}{3}; the radius has slope \displaystyle \sqrt{3}, and the product of the slopes is -1.
- \displaystyle \psi = \frac{\pi}{6}; slope \displaystyle -\sqrt{3}. \displaystyle \tan\psi = \frac{r}{dr/d\theta} = \frac{1}{\sqrt{3}}. At \displaystyle \theta = \frac{\pi}{2}, \displaystyle \frac{dy}{d\theta} = \sqrt{3}\,r and \displaystyle \frac{dx}{d\theta} = -r.
- \displaystyle \psi = \frac{\pi}{4} at \theta = 1 and \psi = \arctan 10 \approx 1.471 (about 84.3^\circ) at \theta = 10. \displaystyle \tan\psi = \frac{2\theta}{2} = \theta, so \psi increases toward \displaystyle \frac{\pi}{2}: the outer coils are nearly circles about the pole.
- The tangent direction is f'(\theta_0)\,\mathbf{u} + f(\theta_0)\,\mathbf{v} = f(\theta_0)\,\mathbf{v}, a nonzero multiple of \mathbf{v}, and \mathbf{v} = (-\sin\theta_0, \cos\theta_0) is perpendicular to the radius direction \mathbf{u} = (\cos\theta_0, \sin\theta_0) because \mathbf{u}\cdot\mathbf{v} = 0.
- On r = 4 at \theta = 0, \displaystyle \frac{dr}{d\theta} = 0 but \displaystyle \frac{dx}{d\theta} = 0 and \displaystyle \frac{dy}{d\theta} = 4, so the tangent is the vertical line x = 4. By Exercise 17, \displaystyle \frac{dr}{d\theta} = 0 makes the tangent perpendicular to the radius, which is horizontal only where the radius is vertical.
- \displaystyle \tan\psi = \frac{f}{f'} = \frac{1}{k} gives \displaystyle \frac{f'(\theta)}{f(\theta)} = k, that is \displaystyle \frac{d}{d\theta}\ln f(\theta) = k. So \ln f(\theta) = k\theta + c and f(\theta) = e^{c}e^{k\theta} = Ce^{k\theta} with C = e^c > 0.
- The slope is a function of \theta, not of the point. The pole is reached at two angles, \displaystyle \frac{4\pi}{3} and \displaystyle \frac{5\pi}{3}, and the curve passes through it twice, once along each line. Each pass has one tangent line, so the point carries two.