Cal 2 3 Vectors in 3D Space
Cal 2 3 Vectors in 3D Space
Definition of a Vector in the Plane A vector in the plane is an ordered pair of real
numbers 〈𝑥, 𝑦〉. The numbers 𝑥 and 𝑦 are the components of the vector 〈𝑥, 𝑦〉.
Let 𝑨 = 〈𝑥, 𝑦〉. If 𝐴 = (𝑥, 𝑦) is a point on the plane, then vector 𝑨 may be
represented by the directed line segment 𝑂𝐴 ⃗⃗⃗⃗⃗ . Any directed line segment equal to
⃗⃗⃗⃗⃗ is also a representation of vector 𝑨.
𝑂𝐴
Theorem 1
If A is the vector (𝑎1 , 𝑎2 ), then
‖A‖ = √𝑎1 2 + 𝑎2 2 .
1|Page
Math 211- Calculus 2
b. The magnitude of 𝑨 is
‖𝐴‖ = √(−2)2 + (3)2 = √13
2|Page
Math 211- Calculus 2
3|Page
Math 211- Calculus 2
𝑨 − 𝑩 = 𝑨 + (−𝑩)
4|Page
Math 211- Calculus 2
Theorem 2
If 𝑨, 𝑩 and 𝑪 are vectors in 𝑉2 , and 𝑐 and 𝑑 are any scalars, then the vector addition
and scalar multiplication satisfy the following properties:
a. 𝑨 + 𝑩 = 𝑩 + 𝑨 (commutative law)
b. 𝑨 + (𝑩 + 𝑪) = (𝑨 + 𝑩) + 𝑪 (associative law)
c. There is a vector 𝟎 in 𝑉2 for which 𝑨 + 𝟎 = 𝑨 (existence of additive identity)
d. There is a vector −𝑨 in 𝑉2 such that 𝑨 + (−𝑨) = 𝟎 (existence of negative)
e. (𝑐𝑑 )𝑨 = 𝑐(𝑑𝑨) (associative law)
f. 𝑐 (𝑨 + 𝑩) = 𝑐𝑨 + 𝑐𝑩 (distributive law)
g. (𝑐 + 𝑑 )𝑨 = 𝑐𝑨 + 𝑑𝑨 (distributive law)
h. 1(𝐴) = 𝐴 (existence of scalar multiplicative identity)
The vectors 𝒊 = 〈1, 0〉 and 𝒋 = 〈0, 1〉 are called unit vectors because their
magnitude is 1. Thus,
〈𝑎1 , 𝑎2 〉 = 𝑎1 𝒊 + 𝑎2 𝒋
5|Page
Math 211- Calculus 2
Thus,
−6 4
〈−6, 4〉 = √52 ( 𝒊+ 𝒋)
√52 √52
Theorem 3
If the nonzero vector 𝑨 = 𝑎1 𝐢 + 𝑎2 𝐣, then the unit vector 𝑼 having the same direction
as 𝑨 is given by
𝑎1 𝑎2
𝑼= 𝐢+ 𝐣
‖𝐀‖ ‖𝐀‖
Example 7. Let 𝑨 = 2𝒊 + 𝒋. Find the unit vector having the same direction as 𝑨.
Example 8. Let 𝑨 = 𝒊 + 2𝒋 and 𝑩 = 3𝒊 + 4𝒋. Find the unit vector having the same
direction as 𝑨 − 𝑩.
Solution.
𝑨 − 𝑩 = (𝒊 + 2𝒋) − (3𝒊 + 4𝒋) = −2𝒊 − 2𝒋
Thus,
‖𝑨 − 𝑩‖ = √8
Hence, the unit vector is
2 2
𝑼=− 𝒊− 𝒋
√8 √8
6|Page
Math 211- Calculus 2
Theorem 5
(i) A line is parallel to the x axis if and only if all points on the line have equal
y coordinates and equal z coordinates.
(ii) A line is parallel to the y axis if and only if all points on the line have equal
x coordinates and equal z coordinates.
(iii) A line is parallel to the z axis if and only if all points on the line have
equal x coordinates and equal y coordinates.
7|Page
Math 211- Calculus 2
Theorem 6
(i) If A(x1, y, z) and B(x2, y, z) are two points on a line parallel to the x axis,
then the directed distance from A to B, denoted by 𝐴𝐵 ̅̅̅̅ , is given by
̅̅̅̅ = 𝑥2 − 𝑥1
𝐴𝐵
(ii) If C(x, y1, z) and D(x, y2, z) are two points on a line parallel to the y axis,
then the directed distance from C to D, denoted by ̅̅̅̅ 𝐶𝐷, is given by
̅̅̅̅
𝐶𝐷 = 𝑦2 − 𝑦1
(iii) If E(x, y, z1) and F(x, y, z2) are two points on a line parallel to the z axis,
the directed distance from E to F, denoted by 𝐸𝐹 ̅̅̅̅ , is given by
̅̅̅̅
𝐸𝐹 = 𝑧2 − 𝑧1
Theorem 7
The undirected distance between the two points P1(x1, y1, z1) and P2(x2, y2, z2) is
given by
̅̅̅̅̅̅
|𝑃 2 2
1 𝑃2 | = √(𝑥2 − 𝑥1 ) + (𝑦2 − 𝑦1 ) + (𝑧2 − 𝑧1 )
2
Example 10. Find the undirected distance between the points 𝑃(3, 4, −1) and
𝑄(4, −5, 2).
Solution.
̅̅̅̅| = √(𝑥2 − 𝑥1 )2 + (𝑦2 − 𝑦1 )2 + (𝑧2 − 𝑧1 )2
|PQ
= √(4 − 3)2 + (−5 − 4)2 + (2 − (−1))2
= √1 + 81 + 9 = √91
8|Page
Math 211- Calculus 2
Theorem 8
The coordinates of the midpoint of the line segment having endpoints P1(x1, y1, z1)
and P2(x2, y2, z2) are given by
𝑥 +𝑥 𝑦 +𝑦 𝑧 +𝑧
𝑥̅ = 1 2 2 𝑦̅ = 1 2 2 𝑧̅ = 1 2 2
Example 11. Find the midpoint of the line segment having endpoints the
𝑃(3, 4, −1) and 𝑄(4, −5, 2).
Solution.
x1 + x2 7
x̅ = =
2 2
y1 + y2 1
y̅ = =−
2 2
z1 + z2 1
z̅ = =
2 2
Therefore, the midpoint of the segment is
7 1 1
( ,− , )
2 2 2
9|Page
Math 211- Calculus 2
Definition of a Sphere
A sphere is the set of all points in the three-dimensional space equidistant from a
fixed point. The fixed point is called the center of the sphere and the measure of
the constant distance is called the radius of the sphere.
Theorem 9
An equation of the sphere of radius r and center at (h, k, l) is
( 𝑥 − ℎ )2 + (𝑦 − 𝑘 )2 + (𝑧 − 𝑙 )2 = 𝑟 2
Theorem 10
The graph of any second-degree equation in 𝑥, 𝑦, and 𝑧 of the form
𝑥 2 + 𝑦 2 + 𝑧 2 + G𝑥 + 𝐻𝑦 + 1𝑧 + 𝑗 = 0
Is either a sphere, a point, or the empty set.
10 | P a g e
Math 211- Calculus 2
Example 15. Find the equation of the sphere having the points 𝐴(4, 6, 2) and
𝐵(8, −4, 0) as endpoints of a diameter.
Solution. The center of the sphere is the midpoint of the line segment between
𝐴(4, 6, 2) and 𝐵(2, −4, 0). Thus,
x1 + x2
x̅ = =3
2
y1 + y2
y̅ = =1
2
z1 + z2
z̅ = =1
2
The center is 𝐶(3, 1, 1) and the radius is |𝐶𝐵̅̅̅̅|. Solving for the radius, we get
̅̅̅̅ | = √(𝑥2 − 𝑥1 )2 + (𝑦2 − 𝑦1 )2 + (𝑧2 − 𝑧1 )2
|𝐶𝐵
= √(3 − 2)2 + (1 − (−4))2 + (1 − 0)2
= √27
Therefore, the equation of the sphere is
(𝑥 − 3)2 + (𝑦 − 1)2 + (𝑧 − 1)2 = 27
11 | P a g e
Math 211- Calculus 2
If 𝑨 = 〈𝑎1 , 𝑎2 , 𝑎3 〉, then the directed line having its initial point at the origin and its
terminal point at the point (𝑎1 , 𝑎2 , 𝑎3 ) is called the position representation of 𝑨. A
directed line segment having its initial point at (𝑥, 𝑦, 𝑧) and its terminal point at the
point (𝑥 + 𝑎1 , 𝑦 + 𝑎2 , 𝑧 + 𝑎3 ) is also a representation of the vector 𝑨.
The zero vector is the vector 〈0,0,0〉 and is denoted by 𝟎. Any point is a
representation of 𝟎.
The direction of a nonzero vector in 𝑉3 , is given by three angles, called the direction
angles.
Each direction angle is greater than or equal to zero and less than or equal to 𝜋.
The following are the direction cosines of vector 𝑨. The zero vector has no direction
and so it has no direction cosines.
𝑎1
cos 𝛼 =
‖𝐴‖
𝑎2
cos 𝛽 =
‖𝐴‖
12 | P a g e
Math 211- Calculus 2
𝑎3
cos 𝛾 =
‖𝐴‖
Example 16. Let 𝑨 = 〈1, 2, −3〉. Find the magnitude and the direction cosines.
Solution.
‖𝑨‖ = √(𝟏)𝟐 + (𝟐)𝟐 + (−𝟑)𝟐 = √𝟏𝟒
Thus,
𝑎1 1
cos 𝛼 = = ⟹ 𝛼 = 74.5°
‖𝐴‖ √𝟏𝟒
𝑎2 2
cos 𝛽 = = ⟹ 𝛽 = 57.69°
‖𝐴‖ √𝟏𝟒
𝑎3 3
cos 𝛾 = =− ⟹ 𝛾 = 143.30°
‖𝐴‖ √𝟏𝟒
Theorem 10
If cos α, cos β, and cos γ are the direction cosines of a vector,
cos2 α + cos2 β + cos2 γ = 1
13 | P a g e
Math 211- Calculus 2
Theorem 11
If the nonzero vector
𝑨 = 𝑎1 𝒊 + 𝑎2 𝒋 + 𝑎3 𝒌
Example 18. Let the points be 𝑃(2, 3, 4) and 𝑄(1, 5, 3). Find the unit vector having
⃗⃗⃗⃗⃗ ).
the same direction as 𝑽(𝑃𝑄
References:
14 | P a g e