0:00 / 0:00

Lines in Rn\colorOne{\reals^n}

Vector Form

A line in Rn\mathbb{R}^n can be described by
  • a point on the line, and
  • a vector parallel to the line called a direction vector.

Let PP be a known point on the line, dRn\vec{d} \in \reals^n be a direction vector, and tRt\in\reals be a parameter.
Then every vector x=x1,x2,,xn\vec x=\lang x_1, x_2, \dots, x_n \rang on the line can be described in vector form (or point-parallel form) by:
x = P+td\boxed{\quad \vec x\ =\ \vec{P}+t\vec{d} \quad}
Geometrically
Start at point PP and run along a direction vector d\vec d to form a line!

PAGE BREAK

Parametric Form

We can break up the vector form into separate parametric equations.

Example: R2\reals^2
  • Known point on the line: P(x1,y1)P(x_1,y_1)
  • Direction vector: d=d1,d2\vec{d}= \lang d_1,d_2 \rang
x=P+td{x=x1+td1y=y1+td2\begin{array}{c} \vec x = \vec P + t\vec d\\[0.3em] \Downarrow\\[0.3em] \begin{cases} x=x_1+td_1\\ y=y_1+td_2 \end{cases} \end{array}
Symmetric Form
Solving for the parameter for each parametric equation and equating the solutions, we obtain the symmetric form of a line:

xx1d1=yy1d2  (=zz1d3=)\boxed{\quad \frac{x-x_1}{d_1} = \frac{y-y_1}{d_2} \ \ \left(=\frac{z-z_1}{d_3} = \dots\right) \quad}

PAGE BREAK

Two-Point Form

We can also describe a line using just two points.
Given points PP and QQ on the line, we may write the line as:
x=(1t)P+tQ\boxed{\quad \vec x = (1-t)\vec P + t \vec Q \quad}

Show that this is equivalent to vector form with d=PQ\vec d = \overrightarrow{PQ}.
x=(1t)P+tQ=PtP+tQ=P+t(QP)=P+t PQ=P+td\begin{aligned} \vec x &= (1-t)\vec P + t \vec Q\\ &= \vec P - t\vec P + t \vec Q\\ &= \vec P + t (\vec Q - \vec P)\\ &= \vec P + t\ \overrightarrow{PQ}\\ &= \vec P + t\vec d \end{aligned}

PAGE BREAK

Lines in R2\colorOne{\reals^2}

Lines in R2\reals^2 have some special forms. Note that these forms describe hyperplanes in Rn\reals^n.

Point-Normal Form
Given a point on the line P(x1,y1)P(x_1,y_1) and a normal (orthogonal) vector n=a,b\vec n = \lang a,b \rang:
n(xP)=0\boxed{\quad \vec n \cdot (\vec x - \vec P) = 0 \quad}

Wize Concept
Recall: given a direction vector [ab]R2\begin{bmatrix} a\\ b\\ \end{bmatrix} \in \reals^2, we can "switch and flip" to find an orthogonal vector: [ba]\begin{bmatrix} b\\ -a\\ \end{bmatrix}

Standard Form
Given a point on the line P(x1,y1)P(x_1, y_1) and a normal vector n=a,b\vec n = \lang a,b\rang, and with c=nPc = \vec n \cdot \vec P:
ax+by=c\boxed{\quad ax + by = c \quad}
Show that point-normal form is equivalent to standard form.
n(xP)=0nxnP=0nx=nPa,bx,y=cax+by=c\begin{aligned} \vec n \cdot (\vec x - \vec P) &= 0\\ \vec n \cdot \vec x - \vec n \cdot \vec P &= 0\\ \vec n \cdot \vec x &= \vec n \cdot \vec P\\ \lang a,b \rang \cdot \lang x, y \rang &= c\\ ax + by &= c \end{aligned}

Wize Tip
  • Two lines are parallel if their direction vectors are parallel: d1=kd2 \vec{d_1}=k\vec{d_2}
  • Two lines coincide (same line) if they are parallel and they share one point
  • Two lines are orthogonal if their direction vectors are orthogonal: d1d2=0\vec{d_1}\cdot\vec{d_2}=0

0:00 / 0:00

Example: Lines in Rn\colorOne{\reals^n}

Find the vector form, parametric form, and two-point form of the line that passes through the points A(2,5,8)A\left(-2,5,8\right) and B(1,1,3)B\left(-1,-1,3\right).
Given two points, we can immediately write the two-point form:
x=(1t)A+tBx,y,z=(1t)2,5,8+t1,1,3\begin{aligned} \vec x &= (1-t)\vec A + t\vec B\\[0.5em] \lang x,y,z \rang &= (1-t)\lang -2,5,8 \rang + t\lang -1,-1,3 \rang\\ \end{aligned}

Using vector form instead, we first need to find the direction vector:
d=AB = 1,1,32,5,8 = 1,6,5\vec{d}=\overrightarrow{AB} \ =\ \lang -1,-1,3 \rang - \lang-2,5,8\rang \ =\ \lang 1,-6,-5\rang

Now we can use either point AA or point BB as our known point.
Using the known point AA we have:

x=A+tdx,y,z=2,5,8+t1,6,5\begin{aligned} \vec x &= \vec A + t\vec d\\ \lang \colorOne{x}, \colorTwo{y}, \colorThree{z} \rang &= \lang \colorOne{-2},\colorTwo{5},\colorThree{8} \rang + t\lang\colorOne{1},\colorTwo{-6},\colorThree{-5}\rang \end{aligned}

Splitting the vector form into its parametric equations yields:

x=2+t,y=56t,z=85t\colorOne{x=-2+t},\quad \colorTwo{y=5-6t},\quad \colorThree{z=8-5t}

Exam Tip
For a multiple choice question, you might have to use BB instead of AA if you don't see this answer.

0:00 / 0:00

Example: Lines in R2\colorOne{\reals^2}

Find the point-normal and standard form equations of the line that passes through the point P(11,0)P(11,0) and is parallel to the line with parametric equations:
x=3t,y=2tx=-3t,\quad y=2-t
The given line's parametric equations can be written as:

x=03t,y=2t    x,y=0,2+t3,1\begin{aligned} & x=\colorOne{0}\colorTwo{-3t},\quad y=\colorOne{2}\colorTwo{-t}\\[0.5em] \implies & \lang x,y\rang = \colorOne{\lang 0,2\rang} + \colorTwo{t\lang-3,-1\rang} \end{aligned}

Since the line we want is parallel to this one, we use the direction vector: d=3,1\vec{d}=\colorTwo{\lang-3,-1\rang}

We want our line to pass through P(11,0)P(11,0), so the vector form equation of our line is:

x,y=11,0+t3,1\lang x,y\rang = \lang 11,0 \rang + t\lang -3,-1\rang
Since we want the point-normal and standard form, we need a normal vector:
Use "switch and flip" on d\vec d to get n=1,3\vec n = \lang -1,3 \rang.
So the point-normal form is:
n(xP)=01,3(x11,0)=0\begin{array}{r} \vec n \cdot (\vec x - \vec P) = 0\\[0.5em] \boxed{\lang -1, 3 \rang \cdot ( \vec x - \lang 11,0 \rang) = 0} \end{array}
For the standard form, all that's left to do is calculate c=nP=1,311,0=11c = \vec n \cdot \vec P = \lang -1,3 \rang \cdot \lang 11,0 \rang = -11.
So we read off the coefficients from n\vec n for the LHS, and the RHS is simply c=11c=-11:
x+3y=11\boxed{-x + 3y = -11}

Practice: Point on Line

Find all values of kk such that the point P(k+3,k,5)P(k+3,k,-5) lies on the line
l: x=[214]+t[131]l: \ \vec x =\begin{bmatrix} 2\\ 1\\ -4\\ \end{bmatrix} + t \begin{bmatrix} 1\\ 3\\ 1\\ \end{bmatrix}

Practice: Lines in Rn\colorOne{\reals^n}

Various pieces of information can be given to find the equation of a line.

Given Two Points

Find the vector form and standard form of the equation of the line that passes through the points A(3,0)A\left(-3,0\right) and B(1,2)B\left(1,2\right).

Practice: Lines in Rn\colorOne{\reals^n}

Find the parametric equations of the line passing through the point A(3,3,3)A(3,3,-3) and parallel to the line with equations:
x=12t,y=3+t,z=6tx=1-2t,\quad y=3+t,\quad z=-6t

Answer below with the appropriate coefficients:
x =
+
t
y =
+
t
z =
+
t
Extra Practice