Ctrl+k

Write parametric equations of lines

A line is represented by a point and a nonzero direction vector, r(t)=r0+tv\mathbf r(t)=\mathbf r_0+t\mathbf v, or component-wise as x=x0+at, y=y0+bt, z=z0+ctx=x_0+at,\ y=y_0+bt,\ z=z_0+ct, with tt ranging over the real numbers. The direction vector can be obtained from two points, and different nonzero scalar multiples of it describe the same line; this scope is limited to straight lines in two- and three-dimensional coordinate geometry, not parametric curves or higher-dimensional generalizations.

Detailed Explanation: Write parametric equations of lines

A line can be written using:

  1. a point on the line, and
  2. a nonzero direction vector showing how the line moves.

The vector form is

r(t)=r0+tv,tR,\mathbf r(t)=\mathbf r_0+t\mathbf v,\qquad t\in\mathbb R,

where r0\mathbf r_0 is a point on the line and v\mathbf v is its direction vector.

Example

Find parametric equations for the line through

A(1,2,1)andB(4,0,5).A(1,2,-1)\quad\text{and}\quad B(4,0,5).

Step 1: Find a direction vector.

Subtract the coordinates of AA from those of BB:

AB=BA=(41, 02, 5(1))=(3,2,6).\overrightarrow{AB}=B-A =(4-1,\ 0-2,\ 5-(-1)) =(3,-2,6).

So a direction vector is

v=(3,2,6).\mathbf v=(3,-2,6).

Step 2: Choose a point on the line.

Use A(1,2,1)A(1,2,-1) as the starting point:

r0=(1,2,1).\mathbf r_0=(1,2,-1).

Step 3: Substitute into the line formula.

r(t)=(1,2,1)+t(3,2,6),tR.\mathbf r(t)=(1,2,-1)+t(3,-2,6), \qquad t\in\mathbb R.

Therefore, the parametric equations are

x=1+3t,y=22t,z=1+6t,tR.\boxed{x=1+3t,\qquad y=2-2t,\qquad z=-1+6t,\qquad t\in\mathbb R.}

When t=0t=0, the equations give the point A(1,2,1)A(1,2,-1). When t=1t=1, they give

(1+3, 22, 1+6)=(4,0,5),(1+3,\ 2-2,\ -1+6)=(4,0,5),

which is point BB. Thus the equations describe the entire line through AA and BB.

Any nonzero scalar multiple of the direction vector, such as (6,4,12)(6,-4,12), would describe the same line.

Learn by doing: Write parametric equations of lines

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

3D Space - Line Vector Form - Two Points to Vector Form


    ?