# Parametric equation

Jump to navigation Jump to search
One example of a sketch defined by parametric equations is the butterfly curve.

In mathematics, parametric equations of a curve express the coordinates of the points of the curve as functions of a variable, called a parameter.[1][2] For example,

{\displaystyle {\begin{aligned}x&=\cos t\\y&=\sin t\end{aligned}}}

are parametric equations for the unit circle, where t is the parameter. Together, these equations are called a parametric representation of the curve.

A common example occurs in kinematics, where the trajectory of a point is usually represented by a parametric equation with time as the parameter.

The notion of parametric equation has been generalized to surfaces, 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.).

## 2D examples

### Parabola

For example, the simplest equation for a parabola,

${\displaystyle y=x^{2}\,}$

can be (trivially) parameterized by using a free parameter t, and setting

${\displaystyle x=t,y=t^{2}\quad {\mathrm {for} }-\infty

### Circle

A more sophisticated example might be the following. Consider the unit circle which is described by the ordinary (Cartesian) equation

${\displaystyle x^{2}+y^{2}=1.\,}$

This equation can be parameterized as follows:

${\displaystyle (\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

{\displaystyle {\begin{aligned}x&={\frac {1-t^{2}}{1+t^{2}}}\\y&={\frac {2t}{1+t^{2}}}\end{aligned}}.}

With this parametric equation, 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

${\displaystyle x(t)=a\,\cos t}$
${\displaystyle y(t)=b\,\sin t.}$

An ellipse in general position can be expressed as

${\displaystyle x(t)=X_{c}+a\,\cos t\,\cos \varphi -b\,\sin t\,\sin \varphi }$
${\displaystyle y(t)=Y_{c}+a\,\cos t\,\sin \varphi +b\,\sin t\,\cos \varphi }$

as the parameter t varies from 0 to 2π. Here ${\displaystyle (X_{c},Y_{c})}$ is the center of the ellipse, and ${\displaystyle \varphi }$ is the angle between the ${\displaystyle X}$-axis and the major axis of the ellipse.

### Hyperbola

An east-west opening hyperbola can be represented parametrically by

${\displaystyle {\begin{matrix}x=a\sec t+h\\y=b\tan t+k\\\end{matrix}}\qquad {\mathrm {or} }\qquad {\begin{matrix}x=\pm a\cosh t+h\\y=b\sinh t+k\\\end{matrix}}}$

A north-south opening hyperbola can be represented parametrically as

${\displaystyle {\begin{matrix}x=b\tan t+h\\y=a\sec t+k\\\end{matrix}}\qquad {\mathrm {or} }\qquad {\begin{matrix}x=b\sinh t+h\\y=\pm a\cosh t+k\\\end{matrix}}}$

In all 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.

### Some sophisticated functions

Other examples are shown:

${\displaystyle x=(a-b)\cos(t)\ +b\cos(t((a/b)-1))}$
${\displaystyle y=(a-b)\sin(t)\ -b\sin(t((a/b)-1)),k=a/b}$
Several graphs by variation of k
${\displaystyle x=\cos(at)-\cos(bt)^{j}}$
${\displaystyle y=\sin(ct)-\sin(dt)^{k}}$

${\displaystyle x=i\cos(at)-\cos(bt)\sin(ct)}$
${\displaystyle y=j\sin(dt)-\sin(et)}$

## 3D examples

### Helix

Parametric helix

Parametric equations are convenient for describing curves in higher-dimensional spaces. For example:

${\displaystyle x=a\cos(t)\,}$
${\displaystyle y=a\sin(t)\,}$
${\displaystyle z=bt\,}$

describes a three-dimensional curve, the helix, with a radius of a and rising by 2πb units per turn. Note that the equations are identical in the plane to those for a circle. Such expressions as the one above are commonly written as

${\displaystyle \mathbf {r} (t)=(x(t),y(t),z(t))=(a\cos(t),a\sin(t),bt),}$

where r is a three-dimensional vector.

## Parametric surfaces

A torus with major radius R and minor radius r may be defined parametrically as

${\displaystyle x=\cos(t)(R+r\cos(u)),}$
${\displaystyle y=\sin(t)(R+r\cos(u)),}$
${\displaystyle z=r\sin(u).}$

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.

## Usefulness

This way of expressing curves is practical as well as efficient;Template:Opinion for example, one can integrate and differentiate such curves termwise. Thus, one can describe the velocity of a particle following the parametrized path of a helix as:

${\displaystyle v(t)=r'(t)=(x'(t),y'(t),z'(t))=(-a\sin(t),a\cos(t),b)\,}$

and the acceleration as:

${\displaystyle a(t)=r''(t)=(x''(t),y''(t),z''(t))=(-a\cos(t),-a\sin(t),0)\,}$

In general, a parametric curve is a function of one independent parameter (usually denoted t). For the corresponding concept with two (or more) independent parameters, see Parametric surface.

Another important use of parametric equations is in the field of computer aided design (CAD).[3] For example, consider the following three representations, all of which are commonly used to describe planar curves.

The first two types are known as analytical or nonparametric representations of curves, and, in general tend to be unsuitable for use in CAD applications.Template:Opinion For instance, both are dependent upon the choice of coordinate system and do not lend themselves well to geometric transformations, such as rotations, translations, and scaling. In addition, the implicit representation is awkward for generating points on a curve because x values may be chosen which do not actually lie on the curve. These problems are eliminated by rewriting the equations in parametric form.[4]

## Conversion from two parametric equations to a single equation

Converting a set of parametric equations to a single equation involves eliminating the variable ${\displaystyle t}$ from the simultaneous equations ${\displaystyle x=x(t),\ y=y(t)}$. 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. If ${\displaystyle x(t)}$ and ${\displaystyle y(t)}$ are rational functions then the techniques of the theory of equations such as resultants can be used to eliminate t. In some cases there is no single equation in closed form that is equivalent to the parametric equations.[5]

To take the example of the circle of radius a above, the parametric equations

${\displaystyle x=a\cos(t)\,}$
${\displaystyle y=a\sin(t)\,}$

can be simply expressed in terms of x and y by way of the Pythagorean trigonometric identity:

${\displaystyle x/a=\cos(t)\,}$
${\displaystyle y/a=\sin(t)\,}$
${\displaystyle \cos(t)^{2}+\sin(t)^{2}=1\,\!}$
${\displaystyle \therefore (x/a)^{2}+(y/a)^{2}=1,}$

which is easily identifiable as a type of conic section (in this case, a circle).

## In integer geometry

Numerous problems in integer geometry can be solved using parametric equations. The most widely known such solution is Euclid's solution in integers for the legs a, b and the hypotenuse c of a primitive right triangle:

${\displaystyle a=2mn,\ \ b=m^{2}-n^{2},\ \ c=m^{2}+n^{2},}$

which is parametric on the coprime integers m and n of opposite parity.

## Notes

1. Thomas, George B., and Finney, Ross L., Calculus and Analytic Geometry, Addison Wesley Publishing Co., fifth edition, 1979, p. 91.
2. Weisstein, Eric W. "Parametric Equations." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/ParametricEquations.html
3. {{#invoke:citation/CS1|citation |CitationClass=book }}
4. {{#invoke:citation/CS1|citation |CitationClass=book }}
5. See "Equation form and Parametric form conversion" for more information on converting from a series of parametric equations to single function.