Professional Documents
Culture Documents
Math123 Module 2 Notes
Math123 Module 2 Notes
Math123 Module 2 Notes
University of Ghana
Introduction Overview 2 / 38
The Scalar (Dot) Product
Definition
Let the angle between two non-zero vectors a and b with a common initial
˜ ˜
point be θ, where 0 ≤ θ ≤ π.
a · b = |a||b| cos θ
˜ ˜ ˜ ˜
The scalar product of two vectors is a scalar quantity. This is clear from
the definition of scalar product.
Example
Compute the scalar product of the vectors a and b given that
˜ ˜
|a| = 2, |b| = 5 and the angle between them is π3 .
˜ ˜
Solution: We have that
π
a · b = |a||b| cos
˜ ˜ ˜ ˜ 3
1
= (2)(5)
2
= 5.
i · i = j · j = k · k = 1,
˜ ˜ ˜ ˜ ˜ ˜
i · j = j · k = k · i = 0.
˜ ˜ ˜ ˜ ˜ ˜
The Scalar (Dot) Product Definition 5 / 38
The Scalar Projections
Let a and b be two non-zero vectors with θ as the angle between them.
˜ ˜ −−→ −−→
Let a and b be represented by the line segments AB and CD respectively.
˜ ˜
Also let C 0 and D0 be the feet of the perpendicular from C and D onto
−−→
the line segment AB.
b·a
Proj(b; a) = |b| cos θ = ˜ ˜ = b · a,
ˆ
˜ ˜ ˜ |a| ˜ ˜
˜
where a
ˆ is a unit vector in the direction of a.
˜ ˜
Also,
ˆ = |b|Proj(a; ˆb).
a · b = |a||b| cos θ = |a|Proj(b; a)
˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜
Definition
The vector whose magnitude is Proj(b; a) and which is in the same
˜ ˜
direction as the vector a
ˆ is called the vector projection of b onto a. We
˜ ˜ ˜
shall denote this vector by P(b; a).
˜ ˜
−−−→
From Figure 1, we deduce that the vector C 0 D0 is the vector projection of
b onto a. We have that
˜ ˜
−−0−→0 −−→
C D = CE = (b · a)ˆ ˆ a
˜ ˜ ˜
or
P(b; a) = aProj(
ˆ b; a).
˜ ˜ ˜ ˜ ˜
Since a and b are orthonormal vectors, we have that |a| = |b| = 1 and
˜ ˜ ˜ ˜
a · b = 0. Therefore
˜ ˜
(3a + 4b) · (a − 2b) = 3|a|2 − 2a · b − 8|b|2
˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜
=3−8
= −5.
Remark
Use the basic laws and the properties of scalar product to solve the
remaining questions.
Then −→
|AC|2 = |a + b|2
˜ ˜
= (a + b) · (a + b)
˜ ˜ ˜ ˜
=a·a+a·b+b·a+b·b
˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜
= a · a + 2a · b + b · b
˜ ˜ ˜ ˜ ˜ ˜
= |a|2 + 2a · b + |b|2 .
The Scalar (Dot) Product
˜ Applications
˜ ˜of the ˜Scalar Product 13 / 38
Pythogoras’ Theorem
a · b = |a||b| cos θ
˜ ˜ ˜ ˜
|a · b| = |a||b|| cos θ|.
˜ ˜ ˜ ˜
But we know that | cos θ| ≤ 1 so
|a · b| ≤ |a||b|.
˜ ˜ ˜ ˜
Hence
|a + b|2 ≤ (|a| + |b|)2
˜ ˜ ˜ ˜
which implies that
|a + b| ≤ |a| + |b|.
˜ ˜ ˜ ˜
So
|c|2 = (a + b) · (a + b) = |a|2 + 2a · b + |b|2 .
˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜
But
a · b = |a||b| cos(π − θ) = −|a||b| cos θ
˜ ˜ ˜ ˜ ˜ ˜
The Scalar (Dot) Product Applications of the Scalar Product 18 / 38
The Cosine Formula
Remark
It is important to note that the sine rule can also be prove using concepts
from scalar projections.
AC · BD = 0
(a + b) · (b − a) = 0
˜ ˜ ˜ ˜
a · b + a · (−a) + b · b + b · (−a) = 0
˜ ˜ ˜ ˜ ˜ ˜ ˜2 ˜
−|a| + |b|2 = 0
˜ ˜
|b|2 = |a|2 .
˜ ˜
Hence the parallelogram is a rhombus.
The scalar product of any two vectors is the sum of the products of their
corresponding components. To show this, we consider two arbitrary
vectors a = a1 i + a2 j + a3 k and b = b1 i + b2 j + b3 k. By the basic laws of
˜ ˜ ˜ that ˜ ˜ ˜ ˜ ˜
scalar product, we have
a · b = (a1 i + a2 j + a3 k) · (b1 i + b2 j + b3 k)
˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜
= a1 b1 i · i + a2 b2 j · j + a3 b3 k · k
˜ ˜ ˜ ˜ ˜ ˜
= a1 b1 + a2 b2 + a3 b3 ,
since
i · i = j · j = k · k = 1,
˜ ˜ ˜ ˜ ˜ ˜
i · j = j · k = k · i = 0.
˜ ˜ ˜ ˜ ˜ ˜
1 If a = b then
˜ ˜
a · a = |a|2 = a21 + a22 + a23 .
˜ ˜ ˜
2 The unit vector in the same direction as the vector a is
˜
a a1 i + a 2 j + a 3 k
b = ˜ = q˜
a ˜ ˜.
˜ 1 |a| a2 + a 2 + a 3
˜ 1 2 3
a · b = |a||b| cos θ.
˜ ˜ ˜ ˜
So
a·b
cos θ = ˜ ˜ = a ˆ · ˆb.
|a||b| ˜ ˜
˜ ˜
In terms of the components of a and b we have that
˜ ˜
a1 b1 + a2 b2 + a3 b3
cos θ = q q .
a21 + a22 + a23 b21 + b22 + b33
Remark
It is clear that if a and b are perpendicular, then a1 b1 + a2 b2 + a3 b3 = 0.
˜ ˜
The Scalar (Dot) Product The Angle Between Two Vectors 24 / 38
Direction Cosines of a Vector (Direction Vectors)
Remark
The angles α, β and γ are called the direction angles of a. The scalars
˜
cos α, cos β and cos γ are called the direction cosines of a relative to the
˜
given axes.
We can rewrite a in terms of its direction cosines and make the following
˜
deduction. We have that
Definition
A vector that specifies the direction of another vector is called a direction
vector.
a · (b + c) = a · b + a · c
˜ ˜ ˜ ˜ ˜ ˜ ˜
and
(b + c) · a = b · a + c · a
˜ ˜ ˜ ˜ ˜ ˜ ˜
Useful Bounds:
|a · b| ≤ |a||b|.
˜ ˜ ˜ ˜
and
|(|a| − |b|)| ≤ |a + b| ≤ |a| + |b|.
˜ ˜ ˜ ˜ ˜ ˜
Scalar Product w.r.t their Components: a · b = a1 b1 + a2 b2 + a3 b3 .
˜ ˜
Angle between vectors:
a1 b1 + a2 b2 + a3 b3
cos θ = q q .
a21 + a22 + a23 b21 + b22 + b33
Definition
Let a and b be two non-zero vectors with a common initial point and whose
˜ ˜
directions are inclined at an angle θ, where 0 < θ < π. The vector product
of a and b, denoted by a × b, is the vector whose magnitude is |a||b| sin θ
˜ ˜ ˜ ˜ ˜ ˜
and whose direction is perpendicular to the plane containing a and b. Thus
˜ ˜
a × b = |a||b| sin θˆ
n,
˜ ˜ ˜ ˜ ˜
where n
ˆ is a unit normal vector to the plane containing a and b.
˜ ˜ ˜
Remark
It is clear that this product operation yields a vector quantity hence the
name vector (or cross) product.
Proof.
Let θ be the angle between a and b then π − θ is the angle between the
˜ ˜
vectors −b and a. Let nˆ be a unit vector perpendicular to the plane
˜ ˜ ˜
containing a and b. Since the rotation from a to b is the same at that from
˜ ˜ ˜ ˜
−b to a we have that
˜ ˜
−b × a = | − b||a| sin(π − θ)ˆ
n
˜ ˜ ˜ ˜ ˜
= |b||a| sin(θ)ˆ
n
˜ ˜ ˜
= a × b.
˜ ˜
The Vector (Cross) Product Properties of the Vector Product 32 / 38
Properties of the Vector Product
Mutually Perpendicular Vectors
Let θ = π2 be the angle between a and b then the three vectors a, b and
˜ ˜ ˜ ˜
a × b are mutually orthogonal. We have that
˜ ˜
a × b = |a||b|ˆ
n
˜ ˜ ˜ ˜˜
or
a×b
ˆ=˜ ˜ =a
n ˆ × ˆb,
˜ |a||b| ˜ ˜
˜ ˜
where a, ˆ ˆb and n ˆ are the unit vectors in the directions of a, b and a × b
˜ ˜ ˜ ˜ ˜ ˜ ˜
respectively.
For instance, standard unit vectors i, j, k are mutually orthogonal and
˜˜ ˜
satisfy the following
i × j = −j × i = k,
˜ ˜ ˜ ˜ ˜
j × k = −k × j = i,
˜ ˜ ˜ ˜ ˜
k × i = −i × k = j.
The Vector (Cross) Product
˜ ˜ Properties
˜ of ˜the Vector
˜ Product 33 / 38
Properties of the Vector Product
Homogeneous Law
Let a and b be non-zero vectors and λ a real number, then
˜ ˜
a × (λb) = (λa) × b = λ(a × b).
˜ ˜ ˜ ˜ ˜ ˜
Deductions:
(λa) × (µb) = λµ(a × b),
˜ ˜ ˜ ˜
where λ and µ are real numbers.
Distributive Law
For any three vectors a, b and c, we have that
˜ ˜ ˜
a × (b + c) = a × b + a × c
˜ ˜ ˜ ˜ ˜ ˜ ˜
and
(b + c) × a = b × a + c × a
˜ ˜ ˜ ˜ ˜ ˜ ˜
The Vector (Cross) Product Properties of the Vector Product 34 / 38
Properties of the Vector Product
Remark
The addition, scalar and vector products are the three standard
operations in vector algebra.
It is important to note that a · b = a · c does not necessarily imply
˜ ˜ ˜ ˜
that b = c in vector algebra. This is because we can simplify it as
˜ ˜
a · (b − c) = 0 and this means that a is perpendicular to b − c.
˜ ˜ ˜ ˜ ˜ ˜
Similarly, if a × b = a × c then it is not true that b = c since we can
˜ ˜ ˜ ˜ ˜ ˜
rewrite the equation as a × (b − c) = 0. Thus a is parallel to (b − c),
˜ ˜ ˜ ˜ ˜ ˜
which can also be expressed as b − c = λa or b = c + λa.
˜ ˜ ˜ ˜ ˜ ˜
Definition
Let a = a1 i + a2 j + a3 k and b = b1 i + b2 j + b3 k be two vectors. By the
˜ ˜ ˜
˜ product, ˜ ˜ ˜
properties of vector we have that˜
a × b = (a1 i + a2 j + a3 k) × (b1 i + b2 j + b3 k)
˜ ˜ ˜ ˜ ˜ ˜ ˜ ˜
= (a2 b3 − a3 b2 )i + (a3 b1 − a1 b3 )j + (a1 b2 − a2 b1 )k
˜ ˜ ˜
i j k
˜ ˜
= a1 a˜2 a3 .
b1 b2 b3
The Vector (Cross) Product The Vector Product in Terms of their Components 38 / 38