Skip to content
Tutorials Center
My learning

Topics

Lesson 13 of 68 ยท Derivatives

Curve Tracing: Polar and Parametric Curves

Sketch curves systematically: find asymptotes and symmetry, trace parametric and polar curves, compute slopes, areas and arc lengths, and plot them in Python.

You can plot any function by asking a computer. But engineers and scientists still need to predict what a curve looks like before it is plotted: to check that the output makes sense, to choose a good plotting window, or to spot where something interesting (a peak, a loop, a blow-up) is hiding. Curve tracing is the habit of reading a formula for its shape. You examine symmetry, intercepts, asymptotes and the sign of the derivative, and put together a sketch from those facts.

This lesson gives you a checklist for ordinary y = f(x) curves, then extends it to two ways of describing curves that cannot always be written as one function: parametric curves (x(t), y(t)) and polar curves r = f(theta). We compute slopes, areas and lengths and draw each curve in Python. It builds on functions and graphs, derivative applications and integral applications.

A tracing checklist

For a curve y = f(x) or an implicit equation F(x, y) = 0, work through these questions.

  1. Domain and range. Where is the formula defined? Denominators that vanish and even roots of negative numbers cut out parts of the plane.
  2. Intercepts. Set x = 0 for the y-intercept and y = 0 for the x-intercepts.
  3. Symmetry. If replacing y by -y leaves the equation unchanged, the curve is symmetric about the x-axis. Replacing x by -x gives symmetry about the y-axis. Replacing both gives symmetry about the origin. Swapping x and y gives symmetry about y = x.
  4. Asymptotes. Lines the curve approaches without touching (see below).
  5. Slope. Where is f' positive, negative or zero? That decides where the curve rises, falls and turns.
  6. Curvature (concavity). The sign of f'' shows where the curve bends up or down.
  7. Special points. Cusps, loops, points where the tangent is vertical.

Asymptotes

  • A vertical asymptote x = c occurs when f(x) grows without bound as x approaches c, typically where a denominator is zero but the numerator is not.
  • A horizontal asymptote y = L occurs when f(x) approaches L as x goes to plus or minus infinity.
  • A slant (oblique) asymptote y = m*x + k occurs when f(x) approaches a straight line; you find m as the limit of f(x)/x and k as the limit of f(x) - m*x. A rational function has one when the numerator's degree is exactly one more than the denominator's.

For f(x) = (x**2 + 1) / (x - 1): the denominator vanishes at x = 1 (vertical asymptote). Dividing out, x**2 + 1 = (x - 1)(x + 1) + 2, so f(x) = x + 1 + 2/(x - 1). The last term disappears at infinity, so the slant asymptote is y = x + 1.

Python Trace a rational function and find its asymptotes

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The derivative's zeros are 1 - sqrt(2) and 1 + sqrt(2). Together with the asymptotes, they tell you the curve has a local maximum on the left branch and a local minimum on the right.

Parametric curves

Some curves are not the graph of a function: a circle fails the vertical-line test, and a loop doubles back on itself. A parametric curve describes the position as x = x(t), y = y(t) where t is a parameter (often time or an angle). Tracing it means following the point as t increases.

Slope. By the chain rule, dy/dx = (dy/dt) / (dx/dt), wherever dx/dt is not zero. Where dy/dt = 0 the tangent is horizontal, and where dx/dt = 0 it is vertical.

Arc length. L = integral of sqrt( (dx/dt)**2 + (dy/dt)**2 ) dt.

Area under the curve. A = integral of y(t) * x'(t) dt.

The classic example is the cycloid, the path of a point on a rolling wheel of radius 1: x = t - sin(t), y = 1 - cos(t). One arch corresponds to 0 <= t <= 2*pi. Its length is 8 and the area under one arch is 3*pi, three times the area of the rolling disk.

Python The cycloid: slope, length and area

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

An implicit curve with an asymptote

The folium of Descartes, x**3 + y**3 = 3*x*y, is hard to trace directly but has a neat parametrization x = 3t/(1 + t**3), y = 3t**2/(1 + t**3). The parameter is t = y/x, the slope of the line through the origin. The curve has a loop in the first quadrant and the slanted asymptote x + y = -1, which appears as t approaches -1 where the denominator vanishes.

Python Folium of Descartes with its asymptote

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Polar curves

In polar coordinates a point is described by its distance r from the origin and its angle theta. A polar curve is a rule r = f(theta). Convert with x = r*cos(theta), y = r*sin(theta). For tracing:

  • Symmetry. If f(-theta) = f(theta), the curve is symmetric about the horizontal axis (the polar axis). If f(pi - theta) = f(theta) it is symmetric about the vertical axis.
  • Where r = 0. These angles are the tangent directions at the origin.
  • Maximum |r|. Gives the farthest reach.
  • Slope. Treat (x(theta), y(theta)) as a parametric curve and apply dy/dx = (dy/dtheta)/(dx/dtheta).

Three families worth knowing:

Curve Equation Shape
Cardioid r = a*(1 + cos(theta)) heart with one cusp at the origin
Rose r = a*cos(n*theta) n petals if n is odd, 2n petals if n is even
Lemniscate r**2 = a**2 * cos(2*theta) figure eight

Area in polar form. A thin wedge with angle d(theta) and radius r has area (1/2)*r**2*d(theta), so A = (1/2) * integral of r**2 dtheta. Arc length is integral of sqrt(r**2 + (dr/dtheta)**2) dtheta.

For the cardioid with a = 1, A = (1/2) * integral from 0 to 2*pi of (1 + cos(theta))**2 dtheta = 3*pi/2, about 4.712. Its perimeter is 8.

Python Cardioid, rose and lemniscate

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Putting it together

When you meet a new curve, ask in this order: What is the domain? Where does it cross the axes? What symmetry does it have? Where does it blow up? Where does it rise, fall and bend? Then decide whether a parameter or polar description makes it simpler. Round shapes, spirals and petals are natural in polar form. Paths of moving objects, rolling curves and anything with loops are natural in parametric form. Finish by checking your sketch against a plot, as above.

Common mistakes

  • Treating r as always positive. A negative r plots the point on the opposite side of the origin.
  • Forgetting that polar curves can retrace themselves, so the interval for theta matters: r = cos(3*theta) is complete after pi, while r = cos(theta/2) needs 4*pi.
  • Using dy/dx = dy/dt instead of the ratio (dy/dt)/(dx/dt).
  • Declaring a slant asymptote without checking both ends (x to +infinity and -infinity); the lines can differ.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. How do you find the slope dy/dx of a parametric curve x = x(t), y = y(t)?

    By the chain rule dy/dt = (dy/dx)(dx/dt), so dy/dx = (dy/dt)/(dx/dt) wherever dx/dt is not zero.
  2. 2. What is the slant asymptote of f(x) = (x^2 + 1)/(x - 1)?

    Polynomial division gives f(x) = x + 1 + 2/(x - 1), and the last term vanishes at infinity.
  3. 3. What is the area enclosed by the cardioid r = 1 + cos(theta)?

    A = (1/2) times the integral of (1 + cos(theta))^2 from 0 to 2 pi, which equals (1/2)(2 pi + pi) = 3 pi / 2.
  4. 4. If replacing y by -y leaves the equation of a curve unchanged, the curve is symmetric about...

    Each point (x, y) on the curve has the mirror point (x, -y) on the curve as well, so the curve is symmetric about the x-axis.

Summary

  • Trace curves systematically: domain, intercepts, symmetry, asymptotes, slope and concavity.
  • Vertical, horizontal and slant asymptotes come from limits; for rational functions, polynomial division reveals the slant one.
  • For parametric curves: dy/dx = (dy/dt)/(dx/dt), arc length integral of sqrt(x'**2 + y'**2) dt.
  • For polar curves r = f(theta): area (1/2) * integral of r**2 dtheta, arc length integral of sqrt(r**2 + r'**2) dtheta; check symmetry and where r = 0.
  • Always confirm the sketch against a computed plot.

Next: sharpen your approach to integrals with the Gamma and Beta functions, or revisit derivative applications.