# Standard parametrizations

The simplest curve to parametrize is a straight line.
A line through the origin along a vector ⟨*a*, *b*⟩
can be parametrized with
If you want a *ray* (half-line) starting at the origin
and travelling in the direction of this vector,
then use the same formulas for *x* and *y*
but add the restriction
for a closed ray (including the endpoint at the origin)
or
for an open ray (*not* including that endpoint).
For a line *segment* running along the length of that vector,
use the restriction
for a closed line segment (including both endpoints)
or
for an open line segment (including neither endpoint).
For both rays and line segments, the closed version is the usual standard,
although there are times when the open version is needed instead.
If the line (or ray or line segment) doesn't go through the origin,
then you'll need
some point (*x*_{1}, *y*_{1})
that it *does* go through.
Then you can use

*x* = *x*_{1} + *a**t*,
*y* = *y*_{1} + *b**t*.

Again, without any restriction on *t*, this is a line;
but you can restrict *t* as above to get a ray or a line segment.
Or if you have two points on the line,
then you can subtract them to get the relevant vector.
Then the parametrization becomes
*x* =
*x*_{1} +
(*x*_{2} − *x*_{1})*t*,
*y* =
*y*_{1} +
(*y*_{2} − *y*_{1})*t*.

All of this works in any number of dimensions;
the line through *P*_{1} along the vector **v**
has the parametrization
and the line through *P*_{1} and *P*_{2}
is
*P* =
*P*_{1} +
*t*(*P*_{2} − *P*_{1}).

The same restrictions on *t* as before
will turn these into rays or line segments.
Going back to 2 dimensions,
the unit circle (whose radius is 1 and whose centre is at the origin)
is usually parametrized like this:

If there are no restrictions on *t*,
then you are effectively going around and around the circle forever,
counterclockwise (in a counterclockwise coordinate system).
If you want the parametrization to be one-to-one,
so that every point on the circle is covered exactly once,
then you need a restriction on *t*;
the usual one is
It's even more common
to use
this is *almost* one-to-one
(since only the point (1, 0) is covered twice,
once when *t* = 0 and once when *t* = 2π),
and it has a compact domain (which is helpful for some things).
So this restriction is the standard one for a circle.
If the radius of the circle is *r*,
then the parametrization becomes

*x* = *r* cos *t*,
*y* = *r* sin *t*.

If the circle is centred at (*h*, *k*)
instead of at the origin,
then the parametrization becomes
*x* =
*h* + *r* cos *t*,
*y* =
*k* + *r* sin *t*.

You use the same restrictions as before
to make the parametrization one-to-one or almost one-to-one.
Another useful parametrization is the graph of a function *f*.
For this, you can use *x* itself as the parameter:

Since you can always call the parameter something else instead of *t*,
you can even call it *x*:
If you only want the graph of the function
restricted to an interval [*a*, *b*],
then place this restriction on the parameter:
(or *a* ≤ *x* ≤ *b*
if you are calling the parameter *x* instead of *t*).
This works more generally
any time you have an equation that you can solve for *y*;
if you get a unique solution, then this equation defines a function,
and the equation *y* = *f*(*x*)
in the parametrization above
is the equation that you get when you solve for *y*.
If you solve for *x* instead of for *y*,
then you can say that *x* is some function *g* of *y*.
This isn't the graph of that function exactly,
since the variables come in the wrong order,
but you can still parametrize the curve using *y* as the parameter:

Again, you can put a restriction on *t*
if you only want certain values of
the independent variable, which is now *y*.

Go back to the course homepage.

This web page was written by Toby Bartels, last edited on 2020 November 19.
Toby reserves no legal rights to it.
The permanent URI of this web page
is
`http://tobybartels.name/MATH-2080/2022FA/params/`

.