Cal 2 4 Dot Product
Cal 2 4 Dot Product
Dot Product
Definition (Dot Product) The dot product of two vectors 𝑨 and 𝑩, denoted by 𝑨 ∙
𝑩 is defined as follows:
i. 𝑐 (𝑨 ∙ 𝑩) = (𝑐𝑨) ∙ 𝑩
ii. 𝟎∙𝑨= 𝟎
iii. 𝑨 ∙ 𝑨 = ‖𝑨‖𝟐
1|Page
Math 211- Calculus 2
Therefore, 𝑨 ∙ 𝑨 = ‖𝑨‖𝟐 .
Definition (Angle Between Two Vectors) Let 𝑨 and 𝑩 be two nonzero vectors.
Theorem 2 If 𝜃 is the angle between the two nonzero vectors 𝑨 and 𝑩, then
𝑨 ∙ 𝑩 = ‖𝑨‖‖𝑩‖ cos 𝜃
Example 6. Given the vectors
𝑨 = 5𝒊 − 2𝒋 + 3𝒌 and 𝑩 = 4𝒊 + 6𝒋 − 𝒌
find cos 𝜃 if 𝜃 is the angle between 𝑨 and 𝑩.
2|Page
Math 211- Calculus 2
Definition (Parallel Vectors) Two vectors are said to be parallel if and only if one
of the vectors is a scalar multiple of the other.
Example 7. Observe that 〈6, −4, 10〉 = 2〈3, −2, 5〉. Thus, 𝑨 = 〈6, −4, 10〉 and 𝑩 =
〈3, −2, 5〉 are parallel.
Example 8. The vectors 𝑪 = 〈6, −5, −3〉 and 𝑫 = 〈3, 3, 1〉 are orthogonal since
〈6, −5, −3〉 ∙ 〈3, 3, 1〉 = 18 − 15 − 3 = 0
Example 10. Prove by using vectors that the points 𝐴(4, 9, 1), 𝐵(−2, 6, 3) and 𝐶(6,
3, −2) are the vertices of a right triangle, and find the area of the triangle.
Solution. From the figure of triangle 𝐶𝐴𝐵 below, angle 𝐴 maybe the one that is a
right angle. Solving for 𝑽(𝐴𝐵 ⃗⃗⃗⃗⃗ ) and 𝑽(𝐴𝐶 ⃗⃗⃗⃗⃗ ) we have
⃗⃗⃗⃗⃗ ) = 〈−2 − 4, 6 − 9, 3 − 1〉 = 〈−6, −3, 2〉
𝑉(𝐴𝐵
⃗⃗⃗⃗⃗ ) = 〈6 − 4, 3 − 9, −2 − 1〉 = 〈2, −6, −3〉
𝑉(𝐴𝐶
Solving for the dot product of 𝑉(𝐴𝐵 ⃗⃗⃗⃗⃗ ) and 𝑉(𝐴𝐶 ⃗⃗⃗⃗⃗ ) we have
⃗⃗⃗⃗⃗ ) ∙ 𝑉(𝐴𝐶
𝑉(𝐴𝐵 ⃗⃗⃗⃗⃗ ) = 〈−6, −3, 2〉 ∙ 〈2, −6, −3〉 = −12 + 18 − 6 = 0
Thus, 𝑉(𝐴𝐵⃗⃗⃗⃗⃗ ) and 𝑉(𝐴𝐶 ⃗⃗⃗⃗⃗ ) are orthogonal (perpendicular). Hence, the angle 𝐴 in
triangle 𝐶𝐴𝐵 is a right angle. Consequently, triangle 𝐶𝐴𝐵 is a right triangle.
3|Page
Math 211- Calculus 2
From the figure we solve for the length of side 𝐴𝐵 and side 𝐴𝐶.
Length of side 𝐴𝐵 = √(−2 − 4)2 + (6 − 9)2 + (3 − 1)2 = 7
Length of side 𝐴𝐶 = √(6 − 4)2 + (3 − 9)2 + (−2 − 1)2 = 7
Hence,
1 49
Area of triangle 𝐶𝐴𝐵 = 2 (7)(7) = 2 square units.
Remark. Since length of side 𝐴𝐵 is equal to the length of side 𝐴𝐶, it follows that
triangle 𝐶𝐴𝐵 in Example 10 is an isosceles right triangle.
4|Page
Math 211- Calculus 2
𝑨∙𝑩 5 25 5 15
( 2
)𝑨 = (5𝒊 − 2𝒋 + 3𝒌 ) = 𝒊− 𝒋+ 𝒌
‖𝑨‖ 38 38 19 38
b. The vector projection of the vector 𝑩 onto the the vector 𝑨 is:
𝑨∙𝑩 36 24 12
( 2
) 𝑨 = − (−6𝒊 + 3𝒋 ) = 𝒊− 𝒋
‖𝑨‖ 45 5 5
c. The figure below shows the position representations of 𝑨, 𝑩, and 𝑪, where 𝑪
is the vector projection of the vector 𝑩 onto the vector 𝑨.
5|Page
Math 211- Calculus 2
6|Page
Math 211- Calculus 2
Theorem 6 If 𝑎, 𝑏 and 𝑐 are not all zero, the graph of an equation of the form
𝑎𝑥 + 𝑏𝑦 + 𝑐𝑧 + 𝑑 = 0
is a plane and 〈𝑎, 𝑏, 𝑐 〉 is a normal vector to the plane.
Example 14. Find an equation of the plane containing the three points
𝑃(3, 4, 1), 𝑄(1, 7, 1), and 𝑅(−1, −2, 5).
Solution. From the theorem, the equation of the plane containing the three points
is given by
𝑎𝑥 + 𝑏𝑦 + 𝑐𝑧 + 𝑑 = 0 (1)
If this equation is satisfied by the coordinate points 𝑃(3, 4, 1), 𝑄(1, 7, 1), and
𝑅(−1, −2, 5), the plane will contain the points. Replacing 𝑥, 𝑦 and 𝑧 in (1) by the
coordinates of the three points we get
3𝑎 + 4𝑏 + 𝑐 + 𝑑 = 0 (2)
𝑎 + 7𝑏 + 𝑐 + 𝑑 = 0 (3)
−𝑎 − 2𝑏 + 5𝑐 + 𝑑 = 0 (4)
Solve the system in terms of 𝑑:
Eliminating 𝑎 in (2) and (3) we get
−17𝑏 − 2𝑐 − 2𝑑 = 0 (5)
Eliminating 𝑎 in (3) and (4) we get
−12𝑏 + 4𝑐 = 0 ⟹ 4𝑐 = 12𝑏 ⟹ 𝑐 = 3𝑏 (6)
Eliminating 𝑐 in (2) and (3) we get
3
2𝑎 − 3𝑏 = 0 ⟹ 𝑎 = 𝑏 (7)
2
Substituting (6) and (7) to (2) we have
3 2
3 ( 𝑏 ) + 4𝑏 + 3𝑏 + 𝑑 = 0 ⟹ 𝑏 = − 𝑑
2 23
From (6),
2 6
𝑐 = 3𝑏 = 3 (− 𝑑) = − 𝑑
23 23
From (7),
3 3 2 3
𝑎 = 𝑏 = 𝑎 = (− 𝑑) = − 𝑑
2 2 23 23
Substituting the value of 𝑎, 𝑏 and 𝑐 in (1) we have
7|Page
Math 211- Calculus 2
3 2 6
− 𝑑𝑥 − 𝑑𝑦 − 𝑑𝑧 + 𝑑 = 0 (8)
23 23 23
23
Multiplying both sides of (8) by − 𝑑 , we get
3𝑥 + 2𝑦 + 6𝑧 − 23 = 0
Definition (Angle Between Two Planes) An angle between two planes is defined
to be the angle between normal vectors of the plane.
8|Page
Math 211- Calculus 2
Definition (Parallel Planes) Two planes are parallel if and only if their normal
vectors are parallel.
Remark: Suppose that one plane has a normal vector 𝑵1 and the other plane has
normal vector 𝑵2 . Then
a. Two planes are parallel if and only if 𝑵1 = 𝑘𝑵2 , where 𝑘 is constant.
b. Two planes are perpendicular if and only if 𝑵1 ∙ 𝑵2 = 0
Example 16. Find an equation of the plane containing the point 𝑃(4, 0, −2) and
perpendicular to each of the planes.
𝑥 − 𝑦 + 𝑧 = 0 and 2𝑥 + 𝑦 − 4𝑧 − 5 = 0
Solution. Let 𝑅 be the required plane and let 〈𝑎, 𝑏, 𝑐 〉, 𝑎 ≠ 0 be a normal vector of
𝑅. The normal vector to the plane 𝑥 − 𝑦 + 𝑧 = 0 is 〈1, −1, 1〉. Since 𝑅 and 𝑥 − 𝑦 +
𝑧 = 0 are perpendicular, the dot product of their normal vectors is equal to zero.
That is,
〈𝑎, 𝑏, 𝑐 〉 ∙ 〈1, −1, 1〉 = 0 ⟹ 𝑎−𝑏+𝑐 =0 (1)
The normal vector for the plane 2𝑥 + 𝑦 − 4𝑧 − 5 = 0 is 〈2, 1, −4〉. Since 𝑅 and 2𝑥 +
𝑦 − 4𝑧 − 5 = 0 are perpendicular,
〈𝑎, 𝑏, 𝑐 〉 ∙ 〈2, 1, −4〉 = 0 ⟹ 2𝑎 + 𝑏 − 4𝑐 = 0 (2)
Solving for 𝑏 and 𝑐 in terms of 𝑎 in (1) and (2) we get
𝑏 = 2𝑎 and 𝑐 = 𝑎
Thus, 〈𝑎, 𝑏, 𝑐 〉 = 〈𝑎, 2𝑎, 𝑎〉. Since 𝑃(4, 0, −2) is on the plane 𝑅, and its normal
vector is 〈𝑎, 2𝑎, 𝑎〉, by Theorem 10.4.2, the equation of the plane 𝑅 is
𝑎(𝑥 − 4) + 2𝑎(𝑦 − 0) + 𝑎(𝑧 + 2) = 0
Since 𝑎 ≠ 0, we can divide by 𝑎 both sides. Hence, we have
(𝑥 − 4) + 2( 𝑦 − 0) + (𝑧 + 2) = 0
𝑥 + 2𝑦 + 𝑧 − 2 = 0
9|Page
Math 211- Calculus 2
Solution. Two planes are parallel if their normal vectors are parallel. Observe
that
𝑵𝟏 = 〈5, −2, −6〉 and 𝑵𝟐 = 〈15, −6, −18 〉
Thus, 𝑵𝟐 is a scalar multiple of 𝑵𝟐 . Hence, the normal are parallel. Therefore, the
given planes are parallel.
10 | P a g e
Math 211- Calculus 2
Thus,
6 + 12𝑡0 + 6 + 12𝑡0 − 5 − 𝑡0 + 8 = 0
15
𝑡0 = −
23
Hence,
15 21
𝑥0 = 3 + 6 (− )=−
23 23
15 14
𝑦0 = 2 + 4 (− ) = −
23 23
15 100
𝑧0 = 5 − =
23 23
Therefore, the point of intersection is
21 14 100
(− , − , )
23 23 23
𝑏(𝑥 − 𝑥0 ) = 𝑎(𝑦 − 𝑦0 )
𝑐 (𝑥 − 𝑥0 ) = 𝑎(𝑧 − 𝑧0 )
𝑐 (𝑦 − 𝑦0 ) = 𝑏(𝑧 − 𝑧0 )
In the vector 〈𝑎, 𝑏, 𝑐 〉, the numbers 𝑎, 𝑏 and 𝑐 are called direction numbers. Any set
of three numbers proportional to 𝑎, 𝑏 and 𝑐 can also be a set of directional numbers
of the line. The notation for direction numbers is [𝑎, 𝑏, 𝑐 ].
Example 19. Let 𝐿 be a line containing the point (4, 9, 6) and is parallel to the
representations of the vector 〈8, 10, 14〉. Find the parametric equations of line 𝐿.
Example 20. If [−3, 5, 9] is a set of directional numbers of a line, then other sets
of directional numbers are
5 −3 5 9
[−9,15, 27] , [−1, , 3 ], [ , , ]
3 4 4 4
Example 21. Find two sets of symmetric equations of the line through the points
𝑃(−4, 3, 2) and 𝑅(5, 2, 3).
Solution. Note that
𝑽(𝑃𝑅⃗⃗⃗⃗⃗ ) = 〈5 − (−4), 2 − 3, 3 − 2〉 = 〈9, −1, 1〉
Then the two symmetric equations are
𝑥+4 𝑦−3 𝑧−2
= =
9 −1 1
𝑥−5 𝑦−2 𝑧−3
= =
9 −1 1
Theorem. The distance 𝐷 between a point 𝑃0 (𝑥0 , 𝑦0 , 𝑧0 ) and the plane
𝑎𝑥 + 𝑏𝑦 + 𝑐𝑧 + 𝑑 = 0
is given by
|𝑎𝑥0 + 𝑏𝑦0 + 𝑐𝑧0 + 𝑑|
𝐷=
√𝑎2 + 𝑏2 + 𝑐 2
Example 22. Find the distance between the point (1, 2, −4) and the plane
2𝑥 − 3𝑦 + 5𝑧 + 6 = 0
Solution. From the formula,
|2(1) + (−3)(2) + (5)(−4) + 6| |−18| 18
𝐷= = =
√22 + (−3)2 + (5)2 √38 38
12 | P a g e
Math 211- Calculus 2
References:
13 | P a g e