# 12.2: Vectors in Three Dimensions

Vectors are useful tools for solving two-dimensional problems. Life, however, happens in three dimensions. To expand the use of vectors to more realistic applications, it is necessary to create a framework for describing three-dimensional space. For example, although a two-dimensional map is a useful tool for navigating from one place to another, in some cases the topography of the land is important. Does your planned route go through the mountains? Do you have to cross a river? To appreciate fully the impact of these geographic features, you must use three dimensions. This section presents a natural extension of the two-dimensional Cartesian coordinate plane into three dimensions.

## Three-Dimensional Coordinate Systems

As we have learned, the two-dimensional rectangular coordinate system contains two perpendicular axes: the horizontal *x*-axis and the vertical* y*-axis. We can add a third dimension, the *z*-axis, which is perpendicular to both the *x*-axis and the *y*-axis. We call this system the three-dimensional rectangular coordinate system. It represents the three dimensions we encounter in real life.

Definition: Three-dimensional Rectangular Coordinate System

The three-dimensional rectangular coordinate system consists of three perpendicular axes: the *x*-axis, the *y*-axis, and the *z*-axis. Because each axis is a number line representing all real numbers in \( R\), the three-dimensional system is often denoted by \( R^3\).

In Figure \( \PageIndex{1a}\), the positive* z*-axis is shown above the plane containing the *x-* and *y*-axes. The positive *x*-axis appears to the left and the positive *y*-axis is to the right. A natural question to ask is: How was arrangement determined? The system displayed follows the **right-hand rule**. If we take our right hand and align the fingers with the positive *x*-axis, then curl the fingers so they point in the direction of the positive* y-*axis, our thumb points in the direction of the positive *z*-axis. In this text, we always work with coordinate systems set up in accordance with the right-hand rule. Some systems do follow a left-hand rule, but the right-hand rule is considered the standard representation.

**Figure \( \PageIndex{1}\):** (a) We can extend the two-dimensional rectangular coordinate system by adding a third axis, the z-axis, that is perpendicular to both the x-axis and the y-axis. (b) The right-hand rule is used to determine the placement of the coordinate axes in the standard Cartesian plane.

In two dimensions, we describe a point in the plane with the coordinates \( (x,y)\). Each coordinate describes how the point aligns with the corresponding axis. In three dimensions, a new coordinate, *z,* is appended to indicate alignment with the *z*-axis: \( (x,y,z)\). A point in space is identified by all three coordinates (Figure \( \PageIndex{2}\)). To plot the point \( (x,y,z)\), go x units along the* x*-axis, then* y* units in the direction of the *y*-axis, then *z* units in the direction of the *z*-axis.

**Figure \( \PageIndex{2}\):** To plot the point \( (x,y,z)\) go \( x\) units along the x-axis, then \( y\) units in the direction of the y-axis, then \( z\) units in the direction of the z-axis.

Example \( \PageIndex{1}\): Locating Points in Space

Sketch the point \( (1,−2,3)\) in three-dimensional space.

**Solution**

To sketch a point, start by sketching three sides of a rectangular prism along the coordinate axes: one unit in the positive \( x\) direction, \( 2\) units in the negative \( y\) direction, and \( 3\) units in the positive *z *direction. Complete the prism to plot the point (Figure).

**Figure \( \PageIndex{3}\):** Sketching the point \( (1,−2,3).\)

Exercise \( \PageIndex{1}\)

Sketch the point \( (−2,3,−1)\) in three-dimensional space.

Hint: Start by sketching the coordinate axes. Then sketch a rectangular prism to help find the point in space.

**Solution**

In two-dimensional space, the coordinate plane is defined by a pair of perpendicular axes. These axes allow us to name any location within the plane. In three dimensions, we define** coordinate planes** by the coordinate axes, just as in two dimensions. There are three axes now, so there are three intersecting pairs of axes. Each pair of axes forms a coordinate plane: the *xy*-plane, the* **xz*-plane, and the *yz*-plane (Figure \( \PageIndex{3}\)). We define the xy-plane formally as the following set: \( {(x,y,0):x,y∈R}.\) Similarly, the* **xz*-plane and the *yz*-plane are defined as \( {(x,0,z):x,z∈R}\) and \( {(0,y,z):y,z∈R},\) respectively.

To visualize this, imagine you’re building a house and are standing in a room with only two of the four walls finished. (Assume the two finished walls are adjacent to each other.) If you stand with your back to the corner where the two finished walls meet, facing out into the room, the floor is the *xy*-plane, the wall to your right is the* **xz*-plane, and the wall to your left is the* **yz-*plane.

**Figure \( \PageIndex{3}\):** The plane containing the x- and y-axes is called the xy-plane. The plane containing the x- and z-axes is called the xz-plane, and the y- and z-axes define the yz-plane.

In two dimensions, the coordinate axes partition the plane into four quadrants. Similarly, the coordinate planes divide space between them into eight regions about the origin, called **octants.** The octants fill \( R^3\) in the same way that quadrants fill \( R^2\), as shown in Figure \( \PageIndex{4}\).

**Figure \( \PageIndex{4}\):** Points that lie in octants have three nonzero coordinates.

Most work in three-dimensional space is a comfortable extension of the corresponding concepts in two dimensions. In this section, we use our knowledge of circles to describe spheres, then we expand our understanding of vectors to three dimensions. To accomplish these goals, we begin by adapting the distance formula to three-dimensional space.

If two points lie in the same coordinate plane, then it is straightforward to calculate the distance between them. We that the distance \( d\) between two points \( (x_1,y_1)\) and \( (x_2,y_2)\) in the *xy*-coordinate plane is given by the formula

\[d=\sqrt{(x_2−x_1)^2+(y_2−y_1)^2}\].

The formula for the distance between two points in space is a natural extension of this formula.

The Distance between Two Points in Space

The distance \( d\) between points \( (x_1,y_1,z_1)\) and \( (x_2,y_2,z_2)\) is given by the formula

\[d=\sqrt{(x_2−x_1)^2+(y_2−y_1)^2+(z_2−z_1)^2}\].

The proof of this theorem is left as an exercise. (Hint: First find the distance \( d_1\) between the points \( (x_1,y_1,z_1)\) and \( (x_2,y_2,z_1)\) as shown in Figure \( \PageIndex{5}\).)

**Figure \( \PageIndex{5}\):** The distance between \( P_1\) and \( P_2\) is the length of the diagonal of the rectangular prism having \( P_1\) and \( P_2\) as opposite corners.

Example \( \PageIndex{2}\): Distance in Space

Find the distance between points \( P_1=(3,−1,5)\) and \( P_2=(2,1,−1).\)

**Figure \( \PageIndex{6}\): **Find the distance between the two points.

**Solution**

Substitute values directly into the distance formula:

\( d(P_1,P_2)=\sqrt{(x_2−x_1)^2+(y_2−y_1)^2+(z_2−z_1)^2}\)

\( =\sqrt{(2−3)^2+(1−(−1))^2+(−1−5)^2}\)

\( =\sqrt{1^2+2^2+(−6)^2}\)

\( =\sqrt{41}\).

Exercise \( \PageIndex{2}\)

Find the distance between points \( P_1=(1,−5,4)\) and \( P_2=(4,−1,−1)\).

Hint: \( d=\sqrt{(x_2−x_1)^2+(y_2−y_1)^2+(z_2−z_1)^2}\)

**Solution**

\( 5\sqrt{2}\)

Before moving on to the next section, let’s get a feel for how \( R^3\) differs from \( R^2\). For example, in \( R^2\), lines that are not parallel must always intersect. This is not the case in R3. For example, consider the line shown in Figure \( \PageIndex{7}\). These two lines are not parallel, nor do they intersect.

**Figure \( \PageIndex{7}\):** These two lines are not parallel, but still do not intersect.

You can also have circles that are interconnected but have no points in common, as in Figure \( \PageIndex{8}\).

**Figure \( \PageIndex{8}\): **These circles are interconnected, but have no points in common.

We have a lot more flexibility working in three dimensions than we do if we stuck with only two dimensions.

## Writing Equations in \(ℝ^3\)

Now that we can represent points in space and find the distance between them, we can learn how to write equations of geometric objects such as lines, planes, and curved surfaces in \( R^3\). First, we start with a simple equation. Compare the graphs of the equation \( x=0\) in \( R,R^2\),and \( R^3\) (Figure \( \PageIndex{9}\)). From these graphs, we can see the same equation can describe a point, a line, or a plane.

**Figure \( \PageIndex{9}\):** (a) In \( R\), the equation \( x=0\) describes a single point. (b) In \( R^2\), the equation \( x=0\) describes a line, the y-axis. (c) In \( R^3\), the equation \( x=0\) describes a plane, the yz-plane.

In space, the equation \( x=0\) describes all points \( (0,y,z)\). This equation defines the *yz-*plane. Similarly, the xy-plane contains all points of the form \( (x,y,0)\). The equation \( z=0\) defines the* **xy*-plane and the equation \( y=0\) describes the *xz-*plane (Figure \( \PageIndex{10}\)).

**Figure \( \PageIndex{10}\):** (a) In space, the equation \( z=0\) describes the xy-plane. (b) All points in the xz-plane satisfy the equation \( y=0\).

Understanding the equations of the coordinate planes allows us to write an equation for any plane that is parallel to one of the coordinate planes. When a plane is parallel to the* **xy-*plane, for example, the *z-*coordinate of each point in the plane has the same constant value. Only the *x-* and *y-*coordinates of points in that plane vary from point to point.

Rule: Equations of Planes Parallel to Coordinate Planes

- The plane in space that is parallel to the
*xy-*plane and contains point \( (a,b,c)\) can be represented by the equation \( z=c\). - The plane in space that is parallel to the
*xz-*plane and contains point \( (a,b,c)\) can be represented by the equation \( y=b\). - The plane in space that is parallel to the
*yz-*plane and contains point \( (a,b,c)\) can be represented by the equation \( x=a\).

Example \( \PageIndex{3}\): Writing Equations of Planes Parallel to Coordinate Planes

- Write an equation of the plane passing through point \( (3,11,7)\) that is parallel to the
*yz-*plane. - Find an equation of the plane passing through points \( (6,−2,9), (0,−2,4),\) and \( (1,−2,−3).\)

**Solution**

a. When a plane is parallel to the *yz-*plane, only the *y-* and *z-*coordinates may vary. The *x-*coordinate has the same constant value for all points in this plane, so this plane can be represented by the equation \( x=3\).

b. Each of the points \( (6,−2,9), (0,−2,4),\) and \( (1,−2,−3)\) has the same *y-*coordinate. This plane can be represented by the equation \( y=−2\).

Exercise \( \PageIndex{3}\)

Write an equation of the plane passing through point \( (1,−6,−4)\) that is parallel to the xy-plane.

Hint: If a plane is parallel to the *xy-*plane, the *z-*coordinates of the points in that plane do not vary.

**Solution**

\( z=−4\)

As we have seen, in \( R^2\) the equation \( x=5\) describes the vertical line passing through point \( (5,0)\). This line is parallel to the *y-*axis. In a natural extension, the equation \( x=5\) in \( R^3\) describes the plane passing through point \( (5,0,0)\), which is parallel to the* **yz-*plane. Another natural extension of a familiar equation is found in the equation of a sphere.

Definition: Sphere

A sphere is the set of all points in space equidistant from a fixed point, the center of the sphere (Figure \( \PageIndex{11}\)), just as the set of all points in a plane that are equidistant from the center represents a circle. In a sphere, as in a circle, the distance from the center to a point on the sphere is called the *radius.*

**Figure \( \PageIndex{11}\):** Each point \( (x,y,z)\) on the surface of a sphere is r units away from the center \( (a,b,c)\).

The equation of a circle is derived using the distance formula in two dimensions. In the same way, the equation of a sphere is based on the three-dimensional formula for distance.

Rule: Equation of a Sphere

The sphere with center \( (a,b,c)\) and radius \( r\) can be represented by the equation

\[(x−a)^2+(y−b)^2+(z−c)^2=r^2.\]

This equation is known as the *standard equation of a sphere*.

Example \( \PageIndex{4}\): Finding an Equation of a Sphere

Find the standard equation of the sphere with center \( (10,7,4)\) and point \( (−1,3,−2)\), as shown in Figure \( \PageIndex{12}\).

**Figure \( \PageIndex{12}\): **The sphere centered at \( (10,7,4)\) containing point \( (−1,3,−2).\)

**Solution**

Use the distance formula to find the radius \( r\) of the sphere:

\( r=\sqrt{(−1−10)^2+(3−7)^2+(−2−4)^2}\)

\( =\sqrt{(−11)^2+(−4)^2+(−6)^2}\)

\( =\sqrt{173}\).

The standard equation of the sphere is

\[ (x−10)^2+(y−7)^2+(z−4)^2=173.\]

Exercise \( \PageIndex{4}\)

Find the standard equation of the sphere with center \( (−2,4,−5)\) containing point \( (4,4,−1).\)

Hint: First use the distance formula to find the radius of the sphere.

**Solution**

\[ (x+2)^2+(y−4)^2+(z+5)^2=52\]

Example \( \PageIndex{5}\): Finding the Equation of a Sphere

Let \( P=(−5,2,3)\) and \( Q=(3,4,−1)\), and suppose line segment \( PQ\) forms the diameter of a sphere (Figure \( \PageIndex{13}\)). Find the equation of the sphere.

**Figure \( \PageIndex{13}\):** Line segment \( PQ.\)

**Solution**:

Since \( PQ\) is a diameter of the sphere, we know the center of the sphere is the midpoint of PQ.Then,

\( C=(\frac{−5+3}{2},\frac{2+4}{2},\frac{3+(−1)}{2})=(−1,3,1).\)

Furthermore, we know the radius of the sphere is half the length of the diameter. This gives

\( r=\frac{1}{2}\sqrt{(−5−3)^2+(2−4)^2+(3−(−1))^2}\)

\( =\frac{1}{2}\sqrt{64+4+16}\)

\( =\sqrt{21}\).

Then, the equation of the sphere is \( (x+1)^2+(y−3)^2+(z−1)^2=21.\)

Exercise \( \PageIndex{5}\)

Find the equation of the sphere with diameter \( PQ\), where \( P=(2,−1,−3)\) and \( Q=(−2,5,−1).\)

Hint: Find the midpoint of the diameter first.

**Solution**

\( x^2+(y−2)^2+(z+2)^2=14\)

Example \( \PageIndex{6}\): Graphing Other Equations in Three Dimensions

Describe the set of points that satisfies \( (x−4)(z−2)=0,\) and graph the set.

**Solution**

We must have either \( x−4=0\) or \( z−2=0\), so the set of points forms the two planes \( x=4\) and \( z=2\) (Figure \( \PageIndex{14}\)).

**Figure \( \PageIndex{14}\):** The set of points satisfying \( (x−4)(z−2)=0\) forms the two planes \( x=4\) and \( z=2\).

Exercise \( \PageIndex{6}\)

Describe the set of points that satisfies \( (y+2)(z−3)=0,\) and graph the set.

Hint: One of the factors must be zero.

**Solution**

The set of points forms the two planes \( y=−2\) and \( z=3\).

Example \( \PageIndex{7}\): Graphing Other Equations in Three Dimensions

Describe the set of points in three-dimensional space that satisfies \( (x−2)^2+(y−1)^2=4,\) and graph the set.

**Solution**

The *x-* and* y*-coordinates form a circle in the* **xy-*plane of radius \( 2\), centered at \( (2,1)\). Since there is no restriction on the *z-*coordinate, the three-dimensional result is a circular cylinder of radius \( 2\) centered on the line with \( x=2\) and \( y=1\). The cylinder extends indefinitely in the *z-*direction (Figure \( \PageIndex{15}\)).

**Figure \( \PageIndex{15}\): **The set of points satisfying \( (x−2)^2+(y−1)^2=4\). This is a cylinder of radius \( 2\) centered on the line with \( x=2\) and \( y=1\).

Exercise \( \PageIndex{7}\)

Describe the set of points in three dimensional space that satisfies \( x^2+(z−2)^2=16\), and graph the surface.

Hint: Think about what happens if you plot this equation in two dimensions in the *xz-*plane.

**Solution**

A cylinder of radius 4 centered on the line with \( x=0\) and \( z=2\).

## Working with Vectors in \( ℝ^3\)

Just like two-dimensional vectors, three-dimensional vectors are quantities with both magnitude and direction, and they are represented by directed line segments (arrows). With a three-dimensional vector, we use a three-dimensional arrow.

Three-dimensional vectors can also be represented in component form. The notation \( v=⟨x,y,z⟩\) is a natural extension of the two-dimensional case, representing a vector with the initial point at the origin, \( (0,0,0)\), and terminal point \( (x,y,z)\). The zero vector is \( 0=⟨0,0,0⟩\). So, for example, the three dimensional vector \( v=⟨2,4,1⟩\) is represented by a directed line segment from point \( (0,0,0)\) to point \( (2,4,1)\) (Figure \( \PageIndex{16}\)).

**Figure \( \PageIndex{16}\):** Vector \( v=⟨2,4,1⟩\) is represented by a directed line segment from point \( (0,0,0)\) to point \( (2,4,1).\)

Vector addition and scalar multiplication are defined analogously to the two-dimensional case. If \( v=⟨x_1,y_1,z_1⟩\) and \( w=⟨x_2,y_2,z_2⟩\) are vectors, and \( k\) is a scalar, then

\[v+w=⟨x_1+x_2,y_1+y2,z_1+z_2⟩\] and \[kv=⟨kx_1,ky_1,kz_1⟩.\]

If \( k=−1,\) then \( kv=(−1)v\) is written as \( −v\), and vector subtraction is defined by \( v−w=v+(−w)=v+(−1)w\).

The standard unit vectors extend easily into three dimensions as well—\( i=⟨1,0,0⟩, j=⟨0,1,0⟩,\) and \( k=⟨0,0,1⟩\)—and we use them in the same way we used the standard unit vectors in two dimensions. Thus, we can represent a vector in \( R^3\) in the following ways:

\[v=⟨x,y,z⟩=xi+yj+zk\].

Example \( \PageIndex{8}\): Vector Representations

Let \( \vec{PQ}\) be the vector with initial point \( P=(3,12,6)\) and terminal point \( Q=(−4,−3,2)\) as shown in Figure \( \PageIndex{17}\). Express \( \vec{PQ}\) in both component form and using standard unit vectors.

**Figure \( \PageIndex{17}\):** The vector with initial point \( P=(3,12,6)\) and terminal point \( Q=(−4,−3,2)\).

**Solution**

In component form,

\[ \vec{PQ}=⟨x_2−x_1,y_2−y_1,z_2−z_1⟩=⟨−4−3,−3−12,2−6⟩=⟨−7,−15,−4⟩.\]

In standard unit form,

\[ \vec{PQ}=−7i−15j−4k.\]

Exercise \( \PageIndex{8}\)

Let \( S=(3,8,2)\) and \( T=(2,−1,3)\). Express \( \vec{ST}\) in component form and in standard unit form.

Hint: Write \( \vec{ST}\) in component form first. \( T\) is the terminal point of \( \vec{ST}\).

**Solution**

\( \vec{ST}=⟨−1,−9,1⟩=−i−9j+k\)

As described earlier, vectors in three dimensions behave in the same way as vectors in a plane. The geometric interpretation of vector addition, for example, is the same in both two- and three-dimensional space (Figure \( \PageIndex{18}\)).

**Figure \( \PageIndex{18}\):** To add vectors in three dimensions, we follow the same procedures we learned for two dimensions.

We have already seen how some of the algebraic properties of vectors, such as vector addition and scalar multiplication, can be extended to three dimensions. Other properties can be extended in similar fashion. They are summarized here for our reference.

Rule: Properties of Vectors in Space

Let \( v=⟨x_1,y_1,z_1⟩\) and \( w=⟨x_2,y_2,z_2⟩\) be vectors, and let \( k\) be a scalar.

**Scalar multiplication:**

\[kv=⟨kx_1,ky_1,kz_1⟩\]

**Vector addition: **

\[v+w=⟨x_1,y_1,z_1⟩+⟨x_2,y_2,z_2⟩=⟨x_1+x_2,y_1+y_2,z_1+z_2⟩\]

**Vector subtraction:**

\[v−w=⟨x_1,y_1,z_1⟩−⟨x_2,y_2,z_2⟩=⟨x_1−x_2,y_1−y_2,z_1−z_2⟩\]

**Vector magnitude:**

\( ‖v‖=\sqrt{x_1^2+y_1^2+z_1^2}\)

**Unit vector in the direction of v**:

\( \frac{1}{‖v‖}v=\frac{1}{‖v‖}⟨x_1,y_1,z_1⟩=⟨\frac{x_1}{‖v‖},\frac{y_1}{‖v‖},\frac{z_1}{‖v‖}⟩,\) if \( v≠0\)

We have seen that vector addition in two dimensions satisfies the commutative, associative, and additive inverse properties. These properties of vector operations are valid for three-dimensional vectors as well. Scalar multiplication of vectors satisfies the distributive property, and the zero vector acts as an additive identity. The proofs to verify these properties in three dimensions are straightforward extensions of the proofs in two dimensions.

Example \( \PageIndex{9}\): Vector Operations in Three Dimensions

Let \( v=⟨−2,9,5⟩\) and \( w=⟨1,−1,0⟩\) (Figure \( \PageIndex{19}\)). Find the following vectors.

- \( 3v−2w\)
- \( 5‖w‖\)
- \( ∥5w∥\)
- A unit vector in the direction of \( v\)

**Figure \( \PageIndex{19}\):** The vectors \( v=⟨−2,9,5⟩\) and \( w=⟨1,−1,0⟩.\)

**Solution**

a. First, use scalar multiplication of each vector, then subtract:

\( 3v−2w=3⟨−2,9,5⟩−2⟨1,−1,0⟩\)

\( =⟨−6,27,15⟩−⟨2,−2,0⟩\)

\( =⟨−6−2,27−(−2),15−0⟩\)

\( =⟨−8,29,15⟩.\)

b. Write the equation for the magnitude of the vector, then use scalar multiplication:

\( 5‖w‖=5\sqrt{1^2+(−1)^2+0^2}=5\sqrt{2}\).

c. First, use scalar multiplication, then find the magnitude of the new vector. Note that the result is the same as for part b.:

\( ∥5w∥=∥⟨5,−5,0⟩∥=\sqrt{5^2+(−5)^2+0^2}=\sqrt{50}=5\sqrt{2}\).

d. Recall that to find a unit vector in two dimensions, we divide a vector by its magnitude. The procedure is the same in three dimensions:

\( \frac{v}{‖v‖}=\frac{1}{‖v‖}⟨−2,9,5⟩\)

\( =\frac{1}{\sqrt{(−2)^2+9^2+5^2}}⟨−2,9,5⟩\)

\( =\frac{1}{\sqrt{110}}⟨−2,9,5⟩\)

\( =⟨\frac{−2}{\sqrt{110}},\frac{9}{\sqrt{110}},\frac{5}{\sqrt{110}}⟩\).

Exercise \( \PageIndex{9}\):

Let \( v=⟨−1,−1,1⟩\) and \( w=⟨2,0,1⟩\). Find a unit vector in the direction of \( 5v+3w.\)

Hint: Start by writing \( 5v+3w\) in component form.

**Solution**

\( ⟨\frac{1}{3\sqrt{10}},−\frac{5}{3\sqrt{10}},\frac{8}{3\sqrt{10}}⟩\)

Example \( \PageIndex{10}\): Throwing a Forward Pass

A quarterback is standing on the football field preparing to throw a pass. His receiver is standing 20 yd down the field and 15 yd to the quarterback’s left. The quarterback throws the ball at a velocity of 60 mph toward the receiver at an upward angle of \( 30°\) (see the following figure). Write the initial velocity vector of the ball, \( v\), in component form.

**Solution**

The first thing we want to do is find a vector in the same direction as the velocity vector of the ball. We then scale the vector appropriately so that it has the right magnitude. Consider the vector \( w\) extending from the quarterback’s arm to a point directly above the receiver’s head at an angle of \( 30°\) (see the following figure). This vector would have the same direction as \( v\), but it may not have the right magnitude.

The receiver is 20 yd down the field and 15 yd to the quarterback’s left. Therefore, the straight-line distance from the quarterback to the receiver is

**Dist from QB to receiver**\( =\sqrt{15^2+20^2}=\sqrt{225+400}=\sqrt{625}=25yd\).

We have \( \frac{25}{‖w‖}=cos30°.\) Then the magnitude of \( w\) is given by

\( ‖w‖=\frac{25}{cos30°}=\frac{25⋅2}{\sqrt{3}}=\frac{50}{\sqrt{3}}yd\)

and the vertical distance from the receiver to the terminal point of \( w\) is

**Vert dist from receiver to terminal point of **\( w=‖w‖sin30°=\frac{50}{\sqrt{3}}⋅\frac{1}{2}=\frac{25}{\sqrt{3}}yd.\)

Then \( w=⟨20,15,\frac{25}{\sqrt{3}}⟩,\) and has the same direction as \( v\).

Recall, though, that we calculated the magnitude of \( w\) to be \( ‖w‖=\frac{50}{\sqrt{3}}\), and \( v\) has magnitude \( 60\) mph. So, we need to multiply vector \( w\) by an appropriate constant, \( k\). We want to find a value of \( k\) so that \( ∥kw∥=60\) mph. We have

\( ∥kw∥=k‖w‖=k\frac{50}{\sqrt{3}}mph,\)

so we want

\( k\frac{50}{\sqrt{3}}=60\)

\( k=\frac{60\sqrt{3}}{50}\)

\( k=\frac{6\sqrt{3}}{5}\).

Then

\( v=kw=k⟨20,15,\frac{25}{\sqrt{3}}⟩=\frac{6\sqrt{3}}{5}⟨20,15,\frac{25}{\sqrt{3}}⟩=⟨24\sqrt{3},18\sqrt{3},30⟩.\)

Let’s double-check that \( ‖v‖=60.\) We have

\( ‖v‖=\sqrt{(24\sqrt{3})^2+(18\sqrt{3})^2+(30)^2}=\sqrt{1728+972+900}=\sqrt{3600}=60mph.\)

So, we have found the correct components for \( v\).

Exercise \( \PageIndex{10}\)

Assume the quarterback and the receiver are in the same place as in the previous example. This time, however, the quarterback throws the ball at velocity of \( 40\) mph and an angle of \( 45°\). Write the initial velocity vector of the ball, \( v\), in component form.

Hint: Follow the process used in the previous example.

**Solution**

\( v=⟨16\sqrt{2},12\sqrt{2},20\sqrt{2}⟩\)

## Key Concepts

- The three-dimensional coordinate system is built around a set of three axes that intersect at right angles at a single point, the origin. Ordered triples \( (x,y,z)\) are used to describe the location of a point in space.
- The distance \( d\) between points \( (x_1,y_1,z_1)\) and \( (x_2,y_2,z_2)\) is given by the formula

\[d=\sqrt{(x_2−x_1)^2+(y_2−y_1)^2+(z_2−z_1)^2}\].

- In three dimensions, the equations \( x=a,y=b,\) and \( z=c\) describe planes that are parallel to the coordinate planes.
- The standard equation of a sphere with center \( (a,b,c)\) and radius \( r\) is

\[(x−a)^2+(y−b)^2+(z−c)^2=r^2.\]

- In three dimensions, as in two, vectors are commonly expressed in component form, \( v=⟨x,y,z⟩\), or in terms of the standard unit vectors, \( xi+yj+zk.\)
- Properties of vectors in space are a natural extension of the properties for vectors in a plane. Let \( v=⟨x_1,y_1,z_1⟩\) and \( w=⟨x_2,y_2,z_2⟩\) be vectors, and let \( k\) be a scalar.

**Scalar multiplication:**

[(kv=⟨kx_1,ky_1,kz_1⟩\]

**Vector addition:**

\[v+w=⟨x_1,y_1,z_1⟩+⟨x_2,y_2,z_2⟩=⟨x_1+x_2,y_1+y_2,z_1+z_2⟩\]

**Vector subtraction:**

\[v−w=⟨x_1,y_1,z_1⟩−⟨x_2,y_2,z_2⟩=⟨x_1−x_2,y_1−y_2,z_1−z_2⟩\]

**Vector magnitude:**

\[‖v‖=\sqrt{x_1^2+y_1^2+z_1^2}\]

**Unit vector in the direction of v:**

\[\frac{v}{‖v‖}=\frac{1}{‖v‖}⟨x_1,y_1,z_1⟩=⟨\frac{x_1}{‖v‖},\frac{y_1}{‖v‖},\frac{z_1}{‖v‖}⟩, v≠0\]

## Key Equations

**Distance between two points in space:**

\[d=\sqrt{(x_2−x_1)^2+(y_2−y_1)^2+(z_2−z_1)^2}\]

**Sphere with center \( (a,b,c)\) and radius \( r\):**

\[(x−a)^2+(y−b)^2+(z−c)^2=r^2\]

## Glossary

**coordinate plane**

a plane containing two of the three coordinate axes in the three-dimensional coordinate system, named by the axes it contains: the *xy-*plane,* **xz-*plane, or the *yz-*plane

**right-hand rule**

a common way to define the orientation of the three-dimensional coordinate system; when the right hand is curved around the* z*-axis in such a way that the fingers curl from the positive *x*-axis to the positive* y*-axis, the thumb points in the direction of the positive z-axis

**octants**

the eight regions of space created by the coordinate planes

**sphere**

the set of all points equidistant from a given point known as the center

**standard equation of a sphere**

\( (x−a)^2+(y−b)^2+(z−c)^2=r^2\) describes a sphere with center \( (a,b,c)\) and radius \( r\)

**three-dimensional rectangular coordinate system**

a coordinate system defined by three lines that intersect at right angles; every point in space is described by an ordered triple \( (x,y,z)\) that plots its location relative to the defining axe

### Contributors

**The OpenStax College name, OpenStax College logo, OpenStax College book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the creative commons license and may not be reproduced without the prior and express written consent of Rice University.**For questions regarding this license, please contact partners@openstaxcollege.org. "Download for free at http://cnx.org/contents/fd53eae1-fa2...49835c3c@5.191."