Parametric Equations
In mathematics, a parametric equation defines a group of quantities as functions of one or more independent variables called parameters. Parametric equations are commonly used to express the coordinates of the points that make up a geometric object such as a curve or surface, in which case the equations are collectively called a parametric representation or parameterization (alternatively spelled as parametrisation) of the object.
For example, the equations
form a parametric representation of the unit circle, where t is the parameter: A point (x, y) is on the unit circle if and only if there is a value of t such that these two equations generate that point. Sometimes the parametric equations for the individual scalar output variables are combined into a single parametric equation in vectors:
Parametric representations are generally nonunique (see the "Examples in two dimensions" section below), so the same quantities may be expressed by a number of different parameterizations.
In addition to curves and surfaces, parametric equations can describe manifolds and algebraic varieties of higher dimension, with the number of parameters being equal to the dimension of the manifold or variety, and the number of equations being equal to the dimension of the space in which the manifold or variety is considered (for curves the dimension is one and one parameter is used, for surfaces dimension two and two parameters, etc.).
Parametric equations are commonly used in kinematics, where the trajectory of an object is represented by equations depending on time as the parameter. Because of this application, a single parameter is often labeled t; however, parameters can represent other physical quantities (such as geometric variables) or can be selected arbitrarily for convenience. Parameterizations are non-unique; more than one set of parametric equations can specify the same curve.
Contents
Applications
Kinematics
In kinematics, objects' paths through space are commonly described as parametric curves, with each spatial coordinate depending explicitly on an independent parameter (usually time). Used in this way, the set of parametric equations for the object's coordinates collectively constitute a vector-valued function for position. Such parametric curves can then be integrated and differentiated termwise. Thus, if a particle's position is described parametrically as
then its velocity can be found as
and its acceleration as
- .
Computer-aided design
Another important use of parametric equations is in the field of computer-aided design (CAD). For example, consider the following three representations, all of which are commonly used to describe planar curves.
| Type | Form | Example | Description |
|---|---|---|---|
| 1. Explicit | Line | ||
| 2. Implicit | Circle | ||
| 3. Parametric | Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = \frac{g(t)}{w(t)}} ; Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y = \frac{h(t)}{w(t)}} | Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = a_0 + a_1t; \,\!}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y = b_0 + b_1t\,\!}
|
Line Circle |
Each representation has advantages and drawbacks for CAD applications. The explicit representation may be very complicated, or even may not exist. Moreover, it does not behave well under geometric transformations, and in particular under rotations. On the other hand, as a parametric equation and an implicit equation may easily be deduced from an explicit representation, when a simple explicit representation exists, it has the advantages of both other representations. Implicit representations may make it difficult to generate points of the curve, and even to decide whether there are real points. On the other hand, they are well suited for deciding whether a given point is on a curve, or whether it is inside or outside of a closed curve. Such decisions may be difficult with a parametric representation, but parametric representations are best suited for generating points on a curve, and for plotting it.
Integer geometry
Numerous problems in integer geometry can be solved using parametric equations. A classical such solution is Euclid's parametrization of right triangles such that the lengths of their sides a, b and their hypotenuse c are coprime integers. As a and b are not both even (otherwise a, b and c would not be coprime), one may exchange them to have a even, and the parameterization is then
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a = 2mn, \ \ b = m^2 - n^2, \ \ c = m^2 + n^2,}
where the parameters m and n are positive coprime integers that are not both odd.
By multiplying a, b and c by an arbitrary positive integer, one gets a parametrization of all right triangles whose three sides have integer lengths.
Implicitization
Converting a set of parametric equations to a single implicit equation involves eliminating the variable Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t} from the simultaneous equations Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=f(t),\ y=g(t).} This process is called implicitization. If one of these equations can be solved for t, the expression obtained can be substituted into the other equation to obtain an equation involving x and y only: Solving Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=g(t)} to obtain Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t=g^{-1}(y)} and using this in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=f(t)} gives the explicit equation Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=f(g^{-1}(y)),} while more complicated cases will give an implicit equation of the form Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle h(x,y)=0.}
If the parametrization is given by rational functions
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=\frac{p(t)}{r(t)},\qquad y=\frac{q(t)}{r(t)},}
where p, q, r are set-wise coprime polynomials, a resultant computation allows one to implicitize. More precisely, the implicit equation is the resultant with respect to t of xr(t) – p(t) and yr(t) – q(t)
In higher dimensions (either more than two coordinates or more than one parameter), the implicitization of rational parametric equations may by done with Gröbner basis computation; see Gröbner basis § Implicitization in higher dimension.
To take the example of the circle of radius a, the parametric equations
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= a \cos(t) \\ y &= a \sin(t) \end{align}}
can be implicitized in terms of x and y by way of the Pythagorean trigonometric identity:
As
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} \frac{x}{a} &= \cos(t) \\ \frac{y}{a} &= \sin(t) \\ \end{align}}
and
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos(t)^2 + \sin(t)^2 = 1,}
we get
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left(\frac{x}{a}\right)^2 + \left(\frac{y}{a}\right)^2 = 1,}
and thus
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2+y^2=a^2,}
which is the standard equation of a circle centered at the origin.
Examples in two dimensions
Parabola
The simplest equation for a parabola,
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y = x^2\,}
can be (trivially) parameterized by using a free parameter t, and setting
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = t, y = t^2 \quad \mathrm{for} -\infty < t < \infty.\,}
Explicit equations
More generally, any curve given by an explicit equation
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y = f(x)\,}
can be (trivially) parameterized by using a free parameter t, and setting
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x = t, y = f(t) \quad \mathrm{for} -\infty < t < \infty.\,}
Circle
A more sophisticated example is the following. Consider the unit circle which is described by the ordinary (Cartesian) equation
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x^2 + y^2 = 1.\,}
This equation can be parameterized as follows:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (x,y)=(\cos(t),\; \sin(t))\quad\mathrm{for}\ 0\leq t < 2\pi.\,}
With the Cartesian equation it is easier to check whether a point lies on the circle or not. With the parametric version it is easier to obtain points on a plot.
In some contexts, parametric equations involving only rational functions (that is fractions of two polynomials) are preferred, if they exist. In the case of the circle, such a rational parameterization is
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= \frac{1 - t^2}{1 + t^2} \\ y &= \frac{2t}{1 + t^2} \end{align}.}
With this pair of parametric equations, the point (-1, 0) is not represented by a real value of t, but by the limit of x and y when t tends to infinity.
Ellipse
An ellipse in canonical position (center at origin, major axis along the X-axis) with semi-axes a and b can be represented parametrically as
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= a\,\cos t \\ y &= b\,\sin t. \end{align}}
An ellipse in general position can be expressed as
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= X_c + a\,\cos t\,\cos \varphi - b\,\sin t\,\sin\varphi \\ y &= Y_c + a\,\cos t\,\sin \varphi + b\,\sin t\,\cos\varphi \end{align}}
as the parameter t varies from 0 to 2π. Here Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (X_c,Y_c)} is the center of the ellipse, and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \varphi} is the angle between the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle X} -axis and the major axis of the ellipse.
Both parameterizations may be made rational by using the tangent half-angle formula and setting Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \tan\frac{t}{2} = u.}
Lissajous Curve
A Lissajous curve is similar to an ellipse, but the x and y sinusoids are not in phase. In canonical position, a Lissajous curve is given by
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= a\,\cos(k_xt) \\ y &= b\,\sin(k_yt) \end{align}}
where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_x} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle k_y} are constants describing the number of lobes of the figure.
Hyperbola
An east-west opening hyperbola can be represented parametrically by
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= a\sec t + h \\ y &= b\tan t + k \end{align}\quad} or, rationally Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \quad\begin{align} x &= a\frac{1 + t^2}{1 - t^2} + h \\ y &= b\frac{2t}{1 - t^2} + k \end{align}}
A north-south opening hyperbola can be represented parametrically as
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{matrix} x = b\tan t + h \\ y = a\sec t + k \\ \end{matrix}\quad} or, rationally Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \quad\begin{matrix} x = b\frac{2t}{1 - t^2} + h \\ y = a\frac{1 + t^2}{1 - t^2} + k \\ \end{matrix} }
In all these formulae (h,k) are the center coordinates of the hyperbola, a is the length of the semi-major axis, and b is the length of the semi-minor axis.
Hypotrochoid
A hypotrochoid is a curve traced by a point attached to a circle of radius r rolling around the inside of a fixed circle of radius R, where the point is at a distance d from the center of the interior circle.
The parametric equations for the hypotrochoids are:
Some sophisticated functions
Other examples are shown:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= [a - b] \cos(t)\ + b \cos \left[t \left(\frac{a}{b} - 1\right)\right] \\ y &= [a - b] \sin(t)\ - b \sin \left[t \left(\frac{a}{b} - 1\right)\right], k = \frac{a}{b} \end{align}}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= \cos(a t) - \cos(b t)^j \\ y &= \sin(c t) - \sin(d t)^k \end{align}}
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= i \cos(a t) - \cos(b t) \sin(c t) \\ y &= j \sin(d t) - \sin(e t) \end{align}}
Examples in three dimensions
Helix
Parametric equations are convenient for describing curves in higher-dimensional spaces. For example:
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= a \cos(t) \\ y &= a \sin(t) \\ z &= bt\, \end{align}}
describes a three-dimensional curve, the helix, with a radius of a and rising by 2πb units per turn. The equations are identical in the plane to those for a circle. Such expressions as the one above are commonly written as
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathbf{r}(t) = (x(t), y(t), z(t)) = (a \cos(t), a \sin(t), b t),}
where r is a three-dimensional vector.
Parametric surfaces
A torus with major radius R and minor radius r may be defined parametrically as
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x &= \cos(t)\left(R + r \cos(u)\right), \\ y &= \sin(t)\left(R + r \cos(u)\right), \\ z &= r \sin(u). \end{align}}
where the two parameters t and u both vary between 0 and 2π.
As u varies from 0 to 2π the point on the surface moves about a short circle passing through the hole in the torus. As t varies from 0 to 2π the point on the surface moves about a long circle around the hole in the torus.
Examples with vectors
The parametric equation of the line through the point Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \left( x_0, y_0, z_0 \right)} and parallel to the vector Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a \hat\mathbf{i} + b \hat\mathbf{j} + c \hat\mathbf{k}} is
- Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} x & = x_0 +a t \\ y & = y_0 +b t \\ z & = z_0 +c t \end{align}}
Resources
Introduction to Parametric Equations by James Sousa
Graphing Parametric Equations Using Desmos by James Sousa
Converting Parametric Equations to Rectangular Form by James Sousa
Converting Parametric Equations to Cartesian Equations, Example 1 by James Sousa
Converting Parametric Equations to Cartesian Equations, Example 2 by James Sousa
Converting Parametric Equations to Cartesian Equations, Example 3 by James Sousa
Converting Parametric Equations to Cartesian Equations, Example 4 by James Sousa
Parametric Equations for a Circle by James Sousa
Parametric Equations for an Ellipse by James Sousa
An Introduction to Parametric Equations by patrickJMT
Eliminating the Parameter to Graph Parametric Equations by patrickJMT
Parametric Equations (Introduction, Eliminating the Parameter, and Graphing) by The Organic Chemistry Tutor
How to Sketch Parametric Curves and Their Orientation by Krista King
Eliminating the Parameter by Krista King
Licensing
Content obtained and/or adapted from:
- Parametric equation, Wikipedia under a CC BY-SA license