Finding the slope of a polar function


You don't have to know anything about parametric functions to work with polar functions, but if you do, keep in mind that [because more things are the same in mathematics than different] polar functions are parametric functions, parameterized by the angle, θ.

Just to remind you of the basics of polar coordinates, take a look at the figure on the right. Any point in the Cartesian (x, y) plane can be re-located by a pair of coordinates, (r, θ) on the polar plane, where r is a distance from the origin, and θ is the counterclockwise rotation from θ = 0, which is, by convention, along the +x axis.

By constructing a right triangle with the x-and y-coordinates and the r vector, we just get the transformations between polar and Cartesian coordinates by trigonometry.

x = r·cos(θ)

y = r·sin(θ)

Polar ↔ Parametric

Polar functions are just parametric functions parameterized by the angle, θ

x = r·cos(θ)   and   y = r·sin(θ)


Slope of a parametric function


Pro tip: (x, y) vs. (r, θ) notation

In Cartesian coordinates, (x, y) ordered pairs are written (usually) with the independent variable first. Generally y = f(x).

In polar coordinates, θ is usually the independent variable. It's reversed. Generally, r = f(θ).

Who knows why this is. It's probably just an accident of history, and we're stuck with it. Don't let it throw you off.

Let's do an example that we already know from experience with implicit differentiation: Find the slope of the circle x2 + y2 = r2 at any point on the curve, then use it to find the horizontal and vertical tangents. Here is a picture of the circle.

The locations of the horizontal and vertical tangents are marked in the circle above; they're not too hard to find. But let's find them, first with implicit differentiation of the Cartesian equation, then using the polar form of the circle equation, r = R.

Taking the derivative of each term with respect to x (implicit differentiation), we get

Solving for dy/dx gives the slope at any point:

Now the zero(s) of the numerator (x = 0) give the locations of the horizontal tangent(s), and the zeros of the denominator are where the derivative is infinite, and thus the function has a vertical tangent. Because there are two locations for x = 0 and for y = 0, we have the tangent points:

Polar coordinates

In polar coordinates, the equation of a circle of radius R centered at the origin is simple:

Now the transformations between Cartesian and polar coordinates are

where r is a function of θ:

For x, we have

and its derivative with respect to θ (using the product rule) is

We can do the same procedure for the y-coordinate,

The derivative is

Now to find dy/dx, we take advantage of the fact that derivatives written this way are just ratios of differentials, and thus can be treated like variables in fractions:

So the slope of our function is

That looks a bit complicated, but if you focus on remembering how it was derived, it's not that bad.

Because r = R is constant in our original polar function, we simplify dramatically:

to get the final derivative:

Now for horizontal tangents, the numerator must be zero:

which gives

Now we can convert those back to Cartesian coordinates:

and

The vertical tangents are found by setting the denominator of the derivative to zero:

The solutions are:

We can now convert to Cartesian coordinates:

and

So we recover the same locations of horizontal and vertical tangents:

Derivative of a polar function

The derivative of a polar function specified by r = f(θ) is

Pro tip: Instead of memorizing this derivative formula, just remember how to find the derivative of a parametric function where x = f(t) and y = g(t), and derive this formula when you need it.


Example 1

Find the horizontal tangents of the polar function r = 2 - 3 cos(θ)


Here's what this figure, one of a class of curves called cardiods, looks like. The approximate locations of the horizontal and vertical tangents are shown.

Solution: Let's do the first part of this solution in two ways. First we'll find dy/dx directly from r = 2 - 3 cos(θ), the we'll express this polar function as a parametric function and show that they're the same. Finally, we'll solve for the zeros of the numerator of that derivative to find the horizontal tangents.

Direct derivative of r = 2 - 3 cos(θ)

Our derivative formula is:

Now r' = 3 sin(θ), so our derivative is

As the arrows above indicate, we can begin to simplify this derivative by distributing the (2 - 3 cos(θ)) term to get

We'll eventually want to set the numerator equal to zero to find horizontal tangents, and the denominator equal to zero to find vertical tangents. Using the Pythagorean identity on the top and factoring 2 sin(θ) from the bottom gives:

Now it's clear why we used the trig identity; it creates a quadratic equation (in cos(θ)) in the numerator:

Notice that getting the derivative was pretty simple. As with most problems in calculus, we make a calculus "move" or two and then the rest is just remembering our algebra skills.


Getting the same result by parameterizing the polar function.

Now let's just make sure that expressing this function as x = f(θ), y = f(θ) yields the same derivative.

Recall that for a polar function, x = r cos(θ) and y = r sin(θ). So x(θ) is:

and y(θ) is:

Now the derivatives of x and y can be easily found using the product rule:

and

These are precisely the numerator and denominator of our derivative above, so either way you choose to go with these problems is fine. Now let's find the horizontal tangents.

Horizontal tangents

To find the horizontal tangents, the derivative is set equal to zero, which means that its numerator has to be zero:

To solve this equation, we recognize that it looks a lot like a simple quadratic equation with x = cos(θ). We can solve the resulting simplified quadratic by completing the square (see quadratic functions):

Now we re-substitute x = cos(θ), to find:

Here we've solved for cos(θ) for both the plus- and minus solutions for x, and accounted for the fact that we have to find all solutions on between 0 and radians— thus θ and 2π-θ are solutions.

Here is a summary of the angles in radians and degrees.

It's easy to solve for the r that goes with each θ to find the points of horizontal tangency. Here they are on the graph of the function.


Vertical tangents

Vertical tangents exist at locations where the denominator of our derivative go to zero. That is:

This equation is true when either sin(θ) = 0 or cos(θ) = 1/3. We need to take account of all solutions on the interval between 0 and 2π radians— thus θ and (in this case) π-θ are solutions. Here is a summary of those solutions in radians and degrees.

Finally, here are the (r, θ) coordinates of the vertical tangents plotted on the graph of our function.

Whew! That was a long problem, but if you can work through it, you'll have accomplished a lot. Give it a try!

You can help


This site is a one-person operation. If you can manage it, I'd appreciate anything you could give to help defray the cost of keeping up the domain name, server, search service and my time.


Creative Commons License   optimized for firefox
xaktly.com by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2012, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.