# 5.7: Vector Equations

**At Grade**Created by: CK-12

## Learning objectives

- Identify a line in space as the intersection of two planes.
- Find points on a line given the vector equation for the line.
- Find the vector equation for a line given two points on the line.

## Introduction

You are probably very familiar with using *y* = *mx* + *b*, the slope-intercept form, as the equation of a line. While this equation works well in two-dimensional space, it is insufficient to completely define the equation of a line in higher order spaces. To help you see this clearly, several people have developed java-applets which allow one to rotate a vector and its coordinate system. Two of the best such applets can be accessed at http://www.univie.ac.at/future.media/moe/galerie/geom1/geom1.html#gb and http://www.walter-fendt.de/m14e/line3d.htm You may want to spend some time with one or both of these applets before reading the rest of this section.

## Lines in Space

In a two-dimensional plane, a line can be represented by the equation *y* = *mx* + *b*, where m is the slope of the line and b is the y-intercept. In three-dimensional space, this equation can represent a line or a plane or the projection of a 3D line onto the x-y plane. For example, in the diagram below, the line on the left passes through points P and Q. The equation in 2D space for this line is \begin{align*}y = \frac{-P} {Q} x + P\end{align*}

The three orange lines in the diagram at right below can also be described by this equation. All three have slope \begin{align*}M = \frac{-P} {Q} \end{align*} and y-intercept *B* = *P*. If we want to specify one of these lines in particular, we need to identify the line as the intersection of two planes. For example, the line where \begin{align*}y = \frac{-P} {Q} x + P\end{align*} and *z* = 0 for all points is the intersection of the orange and green planes in the diagram below right. (Remember that the orange and green planes are drawn with edges for convenience, but that they represent planes that extend outward toward infinity.)

Therefore we can specify a particular line by requiring that the equations for both planes be simultaneously true. In a previous section we developed one equation for a plane given by *d* = -*n _{x}*

*x*-

_{o}*n*

_{y}*y*-

_{o}*n*

_{z}*z*This means that in this case

_{o}*Qy*+

*Px*-

*QP*= 0 and

*z*= 0 must both be satisfied for all points on the line passing through points

*P*and

*Q*.

## Finding the Vector Equation of a Line

Another way to identify points on a line can be found using the vector addition method we discussed earlier in this chapter. To find the position vector, \begin{align*}\overrightarrow{r}\end{align*}, for any point along a line, we can add the position vector of a point on the line which we already know and add to that a vector, \begin{align*}\overrightarrow{v}\end{align*}, that lies on the line as shown in the diagram below.

The position vector \begin{align*}\overrightarrow{R}\end{align*} for a point between *P* and *Q* is given by \begin{align*}\overrightarrow{R} = \overrightarrow{p} + \overrightarrow{v}\end{align*}

All other points on this line can be reached by traveling along the line from point *P*, therefore the position vector for any point on the line is given by \begin{align*}\overrightarrow{r} = \overrightarrow{p} + k\overrightarrow{v}\end{align*}.

If we know the locations of two points on a line, we can determine the equation of the line. All points on a line fulfill the equation \begin{align*}\overrightarrow{r} = \overrightarrow{p} + k\overrightarrow{v}\end{align*}, where *k* is a scalar that varies from -∞ to ∞. If we already know the position vectors for two points on the line, \begin{align*}\overrightarrow{p}\end{align*} and \begin{align*}\overrightarrow{q}\end{align*}, we can use the method of vector subtraction to determine the equation of the vector, \begin{align*}\overrightarrow{v} = \overrightarrow{p} - \overrightarrow{q}\end{align*}. Therefore, \begin{align*}\overrightarrow{r} = \overrightarrow{p} + k (\overrightarrow{p} - \overrightarrow{q})\end{align*}, where *k* varies from -∞ to ∞.

**Example:** Write the equation of \begin{align*}y = -\frac{5} {3}x + 5\end{align*} as a vector equation.

**Solution:** Start by choosing two points on the line, say (3,0) and (6,-5). Then \begin{align*}\overrightarrow{p} = \left \langle 3,0\right \rangle\end{align*} and \begin{align*}\overrightarrow{q} = \left \langle 6,-5\right \rangle\end{align*}. So,

\begin{align*}\overrightarrow{p} - \overrightarrow{q} = \left \langle 3,0\right \rangle - \left \langle 6,-5\right \rangle = \left \langle 3 -6, 0-(-5)\right \rangle = \left \langle -3,5\right \rangle\end{align*}

Finally, the vector equation of the line is

\begin{align*}\overrightarrow{r} = \left \langle 3,0\right \rangle + k \left \langle -3,5\right \rangle = \left \langle 3 -3k, 5k\right \rangle\end{align*}

**Example:** Write the vector equation of the line defined by the points (2, 3, 4) and (-5, 2, -1).

**Solution:** These two points have position vectors \begin{align*}\left \langle 2, 3, 4\right \rangle\end{align*} and \begin{align*}\left \langle -5, 2, -1\right \rangle\end{align*}. The vector of the line connecting the two points is given by

\begin{align*}\overrightarrow{v} = \overrightarrow{p} - \overrightarrow{q} = \left \langle (2 - (-5)), (3 - 2), (4 - (-1))\right \rangle\end{align*}

\begin{align*}\hat{v} = \overrightarrow{p} - \overrightarrow{q} = \left \langle 7, -1, 5\right \rangle\end{align*}

The equation of the line then becomes

\begin{align*}\overrightarrow{r} = \left \langle 2, 3, 4\right \rangle + k \left \langle 7, -1, 5\right \rangle \qquad \qquad \overrightarrow{r} = \left \langle 2, 3, 4\right \rangle + k \left \langle 7, -1, 5\right \rangle\end{align*}

**Example 2:** Determine the equation for the line defined by the points *P* = (6, 7, 5) and *Q* = (3, 2, 11). Then find the position vector for a point, *R,* half-way between these two points.

**Solution:**

\begin{align*}\overrightarrow{v} = \overrightarrow{p} - \overrightarrow{q} = \left \langle (6 - 3), (7 - 2), (5 - 11)\right \rangle\end{align*}

\begin{align*}\hat{v} = \overrightarrow{p} - \overrightarrow{q} = \left \langle 3, 5, -6\right \rangle\end{align*}

The equation of the line then becomes

\begin{align*}\overrightarrow{r} = \left \langle 6, 7, 5\right \rangle + k \left \langle 3, 5, -6\right \rangle \qquad \qquad \overrightarrow{r} = \left \langle 6, 7, 5\right \rangle + k \left \langle 3, 5, -6\right \rangle\end{align*}

Since the vector \begin{align*}\overrightarrow{v}\end{align*} points from *P*, the value of *k* for a particular point gives us some information about the location of that point. If 0 < *k* < 1, the point lies on the line between *P* and *Q*. If *k*< 0, the point is not between *P* and *Q* and is closer to *P* than *Q*. If *k* > 1, the point lies on the line between *P* and *Q*. If *k* < 0, the point is not between *P* and *Q* and is closer to *P* than *Q*. The point halfway between the two points has \begin{align*}k = \frac{1} {2}\end{align*}.

\begin{align*}\overrightarrow{R} = \left \langle 6, 7, 5\right \rangle + \frac{1} {2} \left \langle 3, 5, -6\right \rangle\end{align*}

\begin{align*}\overrightarrow{R} = \left \langle (6 + 1.5), (7 + 2.5), (5 + (-3)\right \rangle = \left \langle 7.5, 9.5, 2\right \rangle\end{align*}

**Example:** Air-craft control is tracking two planes in the vicinity of their airport. At a given moment, one plane is at a location 45 km east and 120 km north of the airport at an altitude of 7.5 km. The second plane is located 63 km east and 96 km south of the airport at an altitude of 6.0 km. The first plane is flying directly toward the airport while the second plane is continuing at a constant altitude with a heading defined by the vector \begin{align*}\overrightarrow{h_2} = \left \langle 3, 4, 0\right \rangle\end{align*} to land eventually at another airport to the northwest of our air-traffic controllers. Do the paths of these two aircraft cross? (Note: Two lines that are not parallel but do not cross are called **skew lines**.)

**Solution:** The first thing we need to do is to determine the position vectors of the two planes. Define our airport as the origin of coordinates and define \begin{align*}\hat{x}\end{align*} = east, \begin{align*}\hat{y}\end{align*} = north, and \begin{align*}\hat{z}\end{align*} = upward. Call the position of plane #1, *P*, and the position of plane #2, *Q*. This gives \begin{align*}\overrightarrow{p} = \left \langle 45, 120, 7.5\right \rangle\end{align*} and \begin{align*}\overrightarrow{q} = \left \langle63, -96, 6.0\right \rangle\end{align*}

Plane #1 is heading directly toward the airport. The vector from the position of plane #1 to the origin is given by

\begin{align*}\overrightarrow{v} = \overrightarrow{o} - \overrightarrow{p} = \left \langle (0 - 45), (0 - 120), (0 - 7.5)\right \rangle\end{align*}

\begin{align*}\overrightarrow{v} = \overrightarrow{p} - \overrightarrow{q} = \left \langle -45, -120, -7.5\right \rangle\end{align*}

The equation of the line representing plane #1’s motion then becomes

\begin{align*}\overrightarrow{r_1} = \left \langle 45, 120, 7.5\right \rangle + k_1 \left \langle -45, -120, -7.5\right \rangle \qquad \overrightarrow{r_1} = \left \langle 45, 120, 7.5\right \rangle +\end{align*} \begin{align*}k_1 \left \langle -45, -120, -7.5\right \rangle\end{align*}

Plane #2 continues at a constant altitude with a heading \begin{align*}\overrightarrow{h_2} = \left \langle 3, 4, 0\right \rangle\end{align*}. The equation of the line representing plane #2’s motion then becomes

\begin{align*}\overrightarrow{r_2} = \left \langle -63, 96, 6.0\right \rangle + k_2 \left \langle 3, 4, 0\right \rangle \qquad \qquad \overrightarrow{r_2} = \left \langle 63, -96, 6.0\right \rangle + k_2 \left \langle 3, 4, 0\right \rangle\end{align*}

\begin{align*}\overrightarrow{r_2} = \left \langle -63, 96, 6.0\right \rangle + k_2 \left \langle 3, 4, 0\right \rangle\end{align*}

\begin{align*}\overrightarrow{r_1} = \left \langle 45, 120, 7.5\right \rangle + k_1 \left \langle -45, -120, -7.5\right \rangle\end{align*}

If the paths of the two planes intersect, the position of that intersection must have coordinates which satisfy both equations.

To satisfy both equations, *r*_{1}* _{x}* must equal

*r*

_{2}

*,*

_{x}*r*

_{1}

*must equal*

_{y}*r*

_{2}

*, and*

_{y}*r*

_{1}

*must equal*

_{z}*r*

_{2}

*. This means that 45 - 45*

_{z}*k*

_{1}= 63 + 3

*k*

_{2}, 120 - 120

*k*

_{1}= -96 + 4

*k*

_{2}, and 7.5 - 7.5

*k*

_{1}= 6.0 + 0

*k*

_{2}must all be simultaneously true.

The first equation simplifies to 15 - 15*k*_{1} = 21 + k_{2} or *k*_{2} = -6 - 15*k*_{1}. The second simplifies to 30 - 30*k*_{1} = -24 + *k*_{2} or *k*_{2} = 54 - 30*k*_{1}. The third equation simplifies to 7.5 - 7.5*k*_{1} = 6 or \begin{align*}k_1 = \frac{1} {5}\end{align*}.

Inserting the value of *k*_{1} from the third equation into the first two equations, we find \begin{align*}k_2 = -6 - 15 \left (\frac{1} {5}\right ) = -6 - 3 = -9\end{align*} and \begin{align*}k_2 = 54 - 30k_1 = 54 - 30 \left (\frac{1} {5}\right ) = 54 - 6 = 48\end{align*} Since *k*_{2} = 33 and *k*_{2} = 0 cannot be simultaneously true, the two planes’ paths do not cross.

Note: There are other ways to reason through this problem. Can you find some? (Hint: Think of the geometry in 2-dimensions, or focus on the altitude as a way to simplify this problem).

## General Vector Equations

In general, a vector equation is any function that takes any one or more variables and returns a vector. The vector equation of a line is an equation that identifies the position vector of every point along the line. This works for straight lines and for curves. For example, the vector equation \begin{align*}\overrightarrow{p} = \left \langle 3\ \mbox{cos}\ \theta, 3\ \mbox{sin}\ \theta, 2\right \rangle\end{align*} defines a circle having a radius of 3 units which sits parallel to the x-y plane at a distance of 2 units along the z-axis as shown below. The orange line is the set of points that satisfy the vector equation \begin{align*}\overrightarrow{p} = \left \langle 3\ \mbox{cos}\ \theta, 3\ \mbox{sin}\ \theta, 2\right \rangle\end{align*} while the grey lines are various individual position vectors which satisfy the vector equation.

## Lesson Summary

In two-dimensional space, a line is defined by the equation *y* = *mx* + *b* where *m* is the slope of the line and *b* is the y-intercept. In three-dimensional space, a line is defined by the intersection of two planes. In other words, the line is the set of points for which the equations of the two planes are simultaneously true. Also, if we know the position vector \begin{align*}\overrightarrow{p}\end{align*} of one point on the line and the unit vector \begin{align*}\hat{u}\end{align*} in the direction of the line, all other points on the line satisfy the equation \begin{align*}\overrightarrow{r} = \overrightarrow{p} +k\hat{u}\end{align*}. In general, a vector equation is any function that takes any one or more variables and returns a vector.

## Practice Problems

- Write the vector equation of the line defined by the points (5, -7, 3) and (2, 6, -4).
- Are the two vectors \begin{align*}\overrightarrow{D} = \left \langle 1, -1, 4\right \rangle + d \left \langle 1, -1, 1\right \rangle\end{align*} and \begin{align*}\overrightarrow{F} = \left \langle 2, 4, 7\right \rangle + f \left \langle 2, 1, 3\right \rangle\end{align*} skew lines or do they intersect one another?
- In physics, the motion of an object traveling at a constant speed is described by the equation \begin{align*}\overrightarrow{s_t} = \overrightarrow{s_i} + \overrightarrow{v}t\end{align*} where
*s*_{i}is the initial position,*s*is the position at some later time*t*, and*v*is the velocity of the object. Write the vector equation which returns the set of position vectors \begin{align*}\overrightarrow{s}\end{align*} for an object having an initial position \begin{align*}\overrightarrow{s_i} = \left \langle 2, 3, 4\right \rangle\end{align*} and a velocity of \begin{align*}\overrightarrow{v} = \left \langle 1, 1, -2\right \rangle\end{align*} and determine the object’s location at t = 10s. - An object has a position of \begin{align*}\overrightarrow{s_i} = \left \langle 3, 3, 6\right \rangle\end{align*} at
*t*= 0 and a velocity of \begin{align*}\overrightarrow{v} = \left \langle 10, 7, 3\right \rangle\end{align*}. Use the vector equation \begin{align*}\overrightarrow{s} = \overrightarrow{s_i} + \overrightarrow{v}t\end{align*} to determine the distance traveled by the object between*t*= 3s and*t*= 5s. Distance measured in meters. - Determine the vector equation of the straight line defined by the points (2, 2, 2) and (1, 3, 5).
- Do the two lines \begin{align*}\overrightarrow{R} = \left \langle 4, 4, -2\right \rangle + r \left \langle -3, 7, 2\right \rangle\end{align*} and \begin{align*}\overrightarrow{K} = \left \langle 9, -8, 7\right \rangle + k \left \langle -2, 1, 3\right \rangle\end{align*} intersect?

### Notes/Highlights Having trouble? Report an issue.

Color | Highlighted Text | Notes | |
---|---|---|---|

Please Sign In to create your own Highlights / Notes | |||

Show More |

### Image Attributions

## Concept Nodes:

**Save or share your relevant files like activites, homework and worksheet.**

To add resources, you must be the owner of the section. Click Customize to make your own copy.