Parametric equation

From Wikipedia, the free encyclopedia
Jump to: navigation, 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,

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

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[edit]

Parabola[edit]

For example, the simplest equation for a parabola,

y = x^2\,

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

x = t, y = t^2 \quad \mathrm{for} -\infty < t < \infty.\,

Circle[edit]

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

 x^2 + y^2 = 1.\,

This equation can be parameterized as follows:

(\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

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

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[edit]

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

x(t)=a\,\cos t
y(t)=b\,\sin t.

An ellipse in general position can be expressed as

x(t)=X_c + a\,\cos t\,\cos \varphi - b\,\sin t\,\sin\varphi
y(t)=Y_c + a\,\cos t\,\sin \varphi + b\,\sin t\,\cos\varphi

as the parameter t varies from 0 to 2π. Here (X_c,Y_c) is the center of the ellipse, and \varphi is the angle between the X-axis and the major axis of the ellipse.

Hyperbola[edit]

An east-west opening hyperbola can be represented parametrically by

\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

\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[edit]

Other examples are shown:

x = (a - b) \cos(t)\ + b \cos(t ((a / b) - 1))
y = (a - b) \sin(t)\ - b \sin(t ((a / b) - 1)),     k = a/b
Several graphs by variation of k
x = \cos(a t) - \cos(b t)^j
y = \sin(c t) - \sin(d t)^k


x = i \cos(a t) - \cos(b t) \sin(c t)
y = j \sin(d t) - \sin(e t)

3D examples[edit]

Helix[edit]

Parametric helix

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

x = a \cos(t)\,
y = a \sin(t)\,
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

\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[edit]

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

x = \cos(t)(R + r \cos(u)),
y = \sin(t)(R + r \cos(u)),
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[edit]

This way of expressing curves is practical as well as efficient;[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:

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

and the acceleration as:

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.

Type Form Example Description
1. Explicit y = f(x) \,\! y = mx + b \,\! Line
2. Implicit f(x,y) = 0 \,\!  \left(x - a \right)^2 + \left( y - b \right)^2=r^2 Circle
3. Parametric x  = \frac{x(t)}{w(t)}; y  = \frac{y(t)}{w(t)} x = a_0 + a_1t; \,\!  y = b_0 + b_1t\,\!


x = a+r\,\cos t; \,\!  y = b+r\,\sin t\,\!

Line

Circle

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.[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[edit]

Converting a set of parametric equations to a single equation involves eliminating the variable t from the simultaneous equations 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 x(t) and 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

x = a \cos(t)\,
y = a \sin(t)\,

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

x/a = \cos(t)\,
y/a = \sin(t)\,
\cos(t)^2 + \sin(t)^2 = 1\,\!
\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[edit]

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:

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.

See also[edit]

Notes[edit]

  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. ^ Stewart, James (2003). Calculus (5th ed.). Belmont, CA: Thomson Learning, Inc. pp. 687–689. ISBN 0-534-39339-X. 
  4. ^ Shah, Jami J.; Martti Mantyla (1995). Parametric and feature-based CAD/CAM: concepts, techniques, and applications. New York, NY: John Wiley & Sons, Inc. pp. 29–31. ISBN 0-471-00214-3. 
  5. ^ See "Equation form and Parametric form conversion" for more information on converting from a series of parametric equations to single function.

External links[edit]