Representation of vectors in three-dimensional space
A three-dimensional vector space is described using coordinates similar to a two-dimensional space. Imagine three number lines intersecting perpendicularly at the origin. One line, extending out of the horizontal plane, represents depth or height. The other two represent length and width. These are the x, y, and z axes.
The unit vectors in the x, y, and z directions are i, j, and k, respectively. A three-dimensional vector, representing width, length, and depth, is defined in this space.
Vectors are denoted by two capital letters with an arrow above (OA) or a single small boldface letter (a). Sometimes an underlined or tilde-marked small letter (a or a~) is used.
A vector a in three-dimensional space is an ordered triplet of real numbers (components) a1, a2, and a3 such that a=a1i+a2j+a3k (a position vector), where a1i, a2j, and a3k lie along the coordinate axes and have a common initial point at the origin.
In three-dimensional space, every point is identified by three numerical values. The z-axis is perpendicular to the x and y axes.
The positive z-axis is above the xy-plane, and the negative z-axis is below. The three axes follow the right-hand rule: if you align your right-hand fingers with the positive x-axis and curl them towards the positive y-axis, your thumb points in the positive z-axis direction.
If the figure is viewed from above along the z-axis, the positive z-axis points directly towards the viewer, with the positive x and y axes pointing left and right, respectively. Coordinates are written as (x,y,z). The x and y coordinates locate a point in the xy-plane, and the z-coordinate shows the vertical position.
A vector a with three components is represented as a=a1i+a2j+a3k, where i, j, and k are unit vectors in the x, y, and z directions, respectively.
A vector OP=(a,b,c) is represented in three-dimensional space.
For example, the vector OA=(2,−3,4) can be written as a=2i−3j+4k.
Representation of vectors in three-dimensional space follows the same principles as in two-dimensional space.
Magnitude of a vector in three-dimensional space
The magnitude of a vector a=(a1,a2,a3), denoted by ∣a∣, is:
∣a∣=a12+a22+a32
The unit vector a^ of vector a is:
a^=∣a∣a=a12+a22+a32a1i+a2j+a3k
The distance between two points P1(x1,y1,z1) and P2(x2,y2,z2) is:
r=∣P2−P1∣=(x2−x1)2+(y2−y1)2+(z2−z1)2
Consider the figures
In Figure 1, the distance between points P1(x1,y1) and P2(x2,y2) is given by:
∣P1P2∣=(x2−x1)2+(y2−y1)2
(This is from the Pythagorean theorem.)
In Figure 2, the distance between points P1(x1,y1,z1) and P2(x2,y2,z2) is given by r=∣P2−P1∣. The length (x2−x1)2+(y2−y1)2 is parallel to the xy-plane and represents the distance between the projections of P1 and P2 onto that plane.
Thus, the distance between points P1(x1,y1,z1) and P2(x2,y2,z2) is:
r=(x2−x1)2+(y2−y1)2+(z2−z1)2
In Figure 2, the positive x, y, and z-axes are labeled x, y, and z, respectively. Their negative counterparts are shown with dotted lines. The origin is the intersection of all three axes.
The most convenient way to express a vector analytically is using its components.
Example 1
Find a unit vector in the direction opposite to PQ, where P(1,3,2) and Q(−1,0,8).
Solution:
PQ=(−1−1)i+(0−3)j+(8−2)k=−2i−3j+6k
QP=−PQ=2i+3j−6k
∣QP∣=22+32+(−6)2=4+9+36=49=7
The unit vector in the direction opposite to PQ (which is the direction of QP) is:
∣QP∣QP=72i+3j−6k=72i+73j−76k
Example 2
Write the ordered triplet that represents the vector from R(−2,0,8) to S(5,4,−1), and then find the magnitude of RS.
Solution:
RS=(5−(−2),4−0,−1−8)=(7,4,−9)
∣RS∣=72+42+(−9)2=49+16+81=146
Example 3
Write AB in terms of i, j, and k if A(−5,10,3) and B(1,4,−2).