← Back to Articles
What are Parametric Curves?
Parametric curves are mathematical curves defined by parametric equations. Instead of expressing y as a function of x (like y = f(x)), parametric curves express both x and y as functions of a third variable called a parameter, typically denoted as t.
General Form:
x = f(t)
y = g(t)
where t is the parameter, usually representing time or angle.
Why Use Parametric Equations?
Parametric equations offer several advantages over regular function notation:
- Multiple y-values: Can represent curves where one x-value corresponds to multiple y-values (like circles)
- Motion representation: Natural way to describe motion and trajectories
- Complex shapes: Can create intricate curves that would be impossible with standard functions
- Direction and orientation: The parameter can represent time, showing how curves are traced
Basic Parametric Curves
1. Circle
x(t) = cos(t)
y(t) = sin(t)
t: 0 to 2π
This creates a unit circle centered at the origin. As t increases from 0 to 2π, the point traces out a complete circle.
2. Ellipse
x(t) = a * cos(t)
y(t) = b * sin(t)
t: 0 to 2π
Where a and b are the semi-major and semi-minor axes. Try a = 3, b = 2 for an ellipse.
3. Parabola
x(t) = t
y(t) = t^2
t: -5 to 5
This creates the familiar parabola y = x², but using parametric form.
Advanced Parametric Curves
Cycloid
x(t) = r*(t - sin(t))
y(t) = r*(1 - cos(t))
The path traced by a point on a circle rolling along a line.
Epicycloid
x(t) = (R+r)*cos(t) - r*cos((R+r)*t/r)
y(t) = (R+r)*sin(t) - r*sin((R+r)*t/r)
The path of a point on a circle rolling around another circle.
Lissajous Curve
x(t) = A*sin(a*t + φ)
y(t) = B*sin(b*t)
Beautiful curves created by combining sine waves with different frequencies.
Butterfly Curve
x(t) = sin(t)*(exp(cos(t)) - 2*cos(4*t) - sin(t/12)^5)
y(t) = cos(t)*(exp(cos(t)) - 2*cos(4*t) - sin(t/12)^5)
An intricate curve resembling a butterfly.
Plotting Parametric Curves in FooPlot
Step 1: Select Parametric Mode
In FooPlot, select the "Parametric (x(t), y(t))" option from the plot type selector.
Step 2: Enter Your Equations
Enter your x(t) and y(t) equations in the respective input fields. For example:
x(t): cos(t)
y(t): sin(t)
Step 3: Set Parameter Range
Adjust the t range to control how much of the curve is plotted. Common ranges:
- 0 to 2π: For one complete cycle of trigonometric functions
- 0 to 4π: For two complete cycles
- -π to π: For symmetric curves
- 0 to 10: For linear parameter relationships
💡 Pro Tip: Start with a small parameter range and gradually increase it to see how the curve develops. This helps understand the curve's behavior.
Understanding Parameter Direction
The parameter t gives direction to the curve. As t increases, you can see how the curve is traced:
- Counterclockwise circle: x = cos(t), y = sin(t)
- Clockwise circle: x = cos(-t), y = sin(-t) or x = cos(t), y = -sin(t)
- Faster tracing: x = cos(2t), y = sin(2t) (completes circle in π instead of 2π)
Common Parametric Patterns
Spirals
Archimedean Spiral:
x(t) = t * cos(t)
y(t) = t * sin(t)
Logarithmic Spiral:
x(t) = exp(t/10) * cos(t)
y(t) = exp(t/10) * sin(t)
Roses and Petals
Rose with n petals:
x(t) = cos(n*t) * cos(t)
y(t) = cos(n*t) * sin(t)
Try n = 3, 4, 5 for different petal counts
Heart Shape
x(t) = 16*sin(t)^3
y(t) = 13*cos(t) - 5*cos(2*t) - 2*cos(3*t) - cos(4*t)
t: 0 to 2π
Applications of Parametric Curves
Physics and Engineering
- Projectile Motion: x(t) = v₀ cos(θ)t, y(t) = v₀ sin(θ)t - ½gt²
- Planetary Orbits: Elliptical paths around the sun
- Oscillations: Complex harmonic motion
Computer Graphics
- Animation: Smooth curved paths for moving objects
- Design: Creating logos and artistic patterns
- CAD: Defining complex shapes and surfaces
Tips for Plotting Parametric Curves
- Start Simple: Begin with basic curves like circles before attempting complex ones
- Understand the Parameter: Know what t represents in your context
- Choose Appropriate Ranges: Match the t range to the curve's natural period
- Experiment with Speed: Multiply t by constants to change how fast the curve is traced
- Combine Functions: Mix trigonometric, exponential, and polynomial functions
⚠️ Common Mistake: Don't forget that both x and y are functions of t. If you want to plot y = x², use x(t) = t and y(t) = t², not x(t) = t and y(t) = x².
Exercises to Try
- Plot a circle with radius 5 centered at the origin
- Create an ellipse with width 8 and height 4
- Plot the path of a projectile with initial velocity 20 m/s at 45° angle
- Create a three-petal rose curve
- Plot a spiral that makes 3 complete turns
- Try the butterfly curve with different parameter ranges
Advanced Topics
Parametric Derivatives
The slope of a parametric curve is given by:
dy/dx = (dy/dt) / (dx/dt)
Arc Length
The arc length of a parametric curve from t = a to t = b is:
L = ∫[a to b] √((dx/dt)² + (dy/dt)²) dt
Parametric Surfaces
Extend to 3D with parametric surfaces:
x = f(u, v)
y = g(u, v)
z = h(u, v)
🎯 Challenge: Try creating your own parametric curve by combining different mathematical functions. Share your discoveries with the mathematical community!
Conclusion
Parametric curves open up a world of mathematical beauty and practical applications. From simple circles to complex fractals, they provide a powerful way to describe motion, create art, and solve real-world problems. Practice with the examples above, and don't be afraid to experiment with your own parametric equations!