What Is a Parametric Equation and How Do You Graph One?

Try writing 'y = f(x)' for a circle. You can't, not with one formula. Here's the trick mathematicians, GPS trackers, and game engines use instead, and how to graph it yourself.

By Petrus Sheya

July 21, 2026 · 5 min read

Try to write a circle as y=f(x)y = f(x).

Go ahead. Pick a formula. You'll get stuck almost immediately, because for most values of xx a circle has two yy values, one on top, one on the bottom. A single function can only ever spit out one yy per xx. A circle just doesn't fit that mold.

So how does a compass draw one? How does a GPS unit trace your walking route, loops and all? How does a video game move a ball along a curved arc?

They all cheat the same way. They stop asking "what's yy in terms of xx" and start asking "where is the point at time tt." That's the whole idea behind a parametric equation, and once you see it, a lot of curves that used to feel impossible become almost easy.


What does a parametric equation actually mean?

Picture a bug crawling across a table, dragging an inked leg behind it. Every second, you jot down two numbers: how far east it's moved, and how far north.

That's it. That's the whole idea. You're not writing one rule that connects east and north directly. You're writing two separate rules, one for east, one for north, and both of them are driven by the same clock.

We call that clock tt (for time, though it doesn't have to be time at all, just a shared input). We write the two rules as x(t)x(t) and y(t)y(t). Watch what happens when the bug walks steadily east while bobbing up and down like it's riding a wave:

One clock, two rules. x(t) crawls east at a steady pace while y(t) bobs up and down, watch how the two strips below combine into the path above.

(x, y)x(t) = ty(t) = 2 sin(t)
x(t)0.00
y(t)0.00

Scrub tt or hit play. Notice the two strips underneath, they're each showing one rule in isolation. x(t)x(t) climbs in a straight line because the bug moves east at a constant rate. y(t)y(t) waves up and down because the bug's north-south position oscillates on its own schedule. Neither strip knows about the other. Combine them at every instant and you get the curved path up top.

That's a parametric equation: two independent functions of the same input, traced out together.


Why can this describe shapes a normal function can't?

Here's the payoff. A regular function y=f(x)y = f(x) has to pass the vertical line test, one yy per xx, no exceptions. That rules out circles, spirals, and loops before you even start.

A parametric curve has no such rule. xx and yy are both free to wander however tt tells them to, including doubling back on themselves. That's exactly how you get a circle.

The classic example, the one you'll see everywhere once you know it, is this pair:

x=costy=sintx = \cos t \qquad y = \sin t

Drag the point around the circle. x and y each swing between -1 and 1 on their own, but x squared plus y squared never budges from 1.

t (rad)0.79
x = cos t0.707
y = sin t0.707
x² + y²1.000

Drag the point around. xx and yy each swing back and forth between 1-1 and 11, completely independently, and yet the point never strays from the circle. Watch the readout in the corner: x2+y2x^2 + y^2 stays locked at 11 no matter where you drag. That's not a coincidence, it's the Pythagorean identity, cos2t+sin2t=1\cos^2 t + \sin^2 t = 1, showing up as a picture instead of a proof.

One equation, and it draws a shape that "y = f(x)" simply can't touch.


Does changing the parameter change the shape?

Now for the interesting part. What if we speed up the clock?

Try replacing tt with ktkt in the same circle equations, x=cos(kt)x = \cos(kt), y=sin(kt)y = \sin(kt). Does the picture change?

Same circle, same path, different clocks. Slide k and watch the orange dot lap the teal one, the shape never changes, only the timing does.

1x2x
reference laps0.00
k · t laps0.00

Slide kk up and down. The path stays exactly the same circle. What changes is how fast the point travels around it. At k=2k = 2, the orange dot laps the circle twice as often as the teal one. At k=0.5k = 0.5, it crawls at half speed. Check the lap counters, the ratio always matches kk exactly.

That's the part a lot of people miss: a parametric equation doesn't just encode a shape, it encodes a journey along that shape, including speed and direction. Two totally different parametrizations can trace the identical curve while disagreeing completely about timing. The shape is only half the story.


How do we get back to a familiar equation?

So parametric equations are more powerful than y=f(x)y = f(x). But sometimes you don't need that power, you just want the plain old equation back. How do you undo the parametrization?

You eliminate the parameter. Solve one equation for tt, then substitute it into the other. Take the simplest case, x=tx = t and y=t2y = t^2. Since xx already equals tt, just swap tt for xx in the second equation:

y=t2    y=x2y = t^2 \;\longrightarrow\; y = x^2

...and there's your familiar parabola. For the circle, you don't even solve for tt, you just square both equations and add them, and the tt cancels out via that same identity from before:

x2+y2=cos2t+sin2t=1x^2 + y^2 = \cos^2 t + \sin^2 t = 1

Toggle the example. The dashed line is drawn straight from the Cartesian formula, the solid line is drawn by sweeping t, they sit exactly on top of each other.

point at t(-0.48, 0.23)
eliminated formy = x²

Substitute t = x directly into y = t², since x = t.

Toggle between the two examples. The dashed curve is drawn straight from the plain Cartesian formula, no tt involved at all. The solid curve is drawn by sweeping tt through its whole range. They land on the exact same pixels, because eliminating the parameter doesn't change the shape, it just changes which variable is doing the describing.


The short version

A parametric equation describes a curve using two separate functions, x(t)x(t) and y(t)y(t), both driven by the same input instead of one variable depending directly on the other. That extra freedom is exactly what lets it draw circles, spirals, and loops that a plain y=f(x)y = f(x) equation can never represent.

The parameter carries more information than the shape alone, it also encodes speed and direction, which is why the same curve can come from wildly different-looking equations. And whenever you do want the plain equation back, eliminating the parameter, solving for tt in one equation and substituting into the other, gets you there without changing the picture at all.

Next time you see a circle, a spiral, or anything that loops back on itself, you'll know why it needed two functions and a clock instead of one.


All visualizations are interactive React components running entirely in your browser. Every curve is recomputed live from its parametric formula as you drag, scrub, or slide, nothing is a precomputed image. No libraries beyond React.