Introduction and Vector Algebra
Introduction and Vector Algebra
Mondays: 10:30-12:30
Office #: 356
Email: ertugrulaksoy@gazi.edu.tr
Assesment Criteria
Vectors in 2-Space and 3-Space
In physics and geometry and its engineering
applications we use two kinds of quantities: scalars and
vectors. A scalar is a quantity that is determined by its
magnitude; this is the number of units measured on a
suitable scale. For instance, length, voltage, and
temperature are scalars.
A vector is a quantity that is determined by both its
magnitude and its direction. Thus it is an arrow or
directed line segment. For instance, a force is a
vector, and so is a velocity, giving the speed and
direction of motion (see Fig. 1)
continued
Fig. 1. Force and velocity
VECTORS AND THE GEOMETRY OF
SPACE
A A
OA or
a
O O
A vector (arrow) has a tail, called its initial point, and a tip, called its
terminal point. This is motivated in the translation (displacement
without rotation) of the triangle in Fig.2, where the initial point P of the
vector a is the original position of a point, and the terminal point Q is
the terminal position of that point, its position after the translation.
continued
Fig. 2. Translation
VECTORS IN V3
Three vectors in V3 play a special role.
i = ‹1, 0, 0› j = ‹0, 1, 0› k = ‹0, 0, 1›
Similarly, in two dimensions, we define: i = ‹1, 0› and
j = ‹0, 1›
These vectors i, j, and k are called the standard basis
vectors.
They have length 1 and point in the directions
of the positive x-, y-, and z-axes.
STANDARD BASIS VECTORS
STANDARD BASIS VECTORS
(ANOTHER NOTATION)
If a = ‹a1, a2, a3›, then we can write:
a a1 , a2 , a3
a1 , 0, 0 0, a2 , 0 0, 0, a3
a1 1, 0, 0 a2 0,1, 0 a3 0, 0,1
a a1i a2 j a3k
a = ‹a1, a2› = a1i + a2j
STANDARD BASIS VECTORS
STANDARD BASIS VECTORS
Thus, any vector in V3 can be expressed in terms
of i, j, and k.
For instance, ‹1, –2, 6› = i – 2j + 6k
EXAMPLE
If a = i + 2j – 3k and b = 4i + 7k, express the vector 2a +
3b in terms of i, j, and k.
2a + 3b = 2(i + 2j – 3k) + 3(4i + 7k)
= 2i + 4j – 6k + 12i + 21k
= 14i + 4j + 15k
EXAMPLE: FORCE
T1 ≈ –55.05 i + 65.60 j
T2 ≈ 55.05 i + 34.40 j
Length of a Vector
| 2i j 2k | 2 (1) (2)
2 2 2
9 3
The unit vector with the same direction is:
1
3 (2i j 2k ) i j k
2
3
1
3
2
3
Equality of Vectors
DEFINTION
continued
Fig. 3. (A) Equal vectors. (B)–(D) Different vectors
Components of a Vector
continued
Components of a Vector
continued
Fig. 4. Cartesian coordinate system
continued
If we choose the origin (0, 0, 0) as the initial point of a,
the corresponding terminal point is (2, –1, 0); its
coordinates equal the components of a. This suggests
that we can determine each point in space by a vector,
called the position vector of the point, as follows.
Position Vector
continued
Example
(Will be solved on the board)
The vectors of A and B are given as follows:
Find:
The component of A along ay
The magnitude of 3A – B
A unit vector along A+2B
continued
Example
(Will be solved on the board)
Points P and Q are located at P(0,2,4) and Q(-3,1,5).
Calculate the followings
The position vector P
continued
Vectors as Ordered Triples of Real Numbers
THEOREM 1
Vectors as Ordered Triples of Real Numbers
A fixed Cartesian coordinate system being given, each
vector is uniquely determined by its ordered triple of
corresponding components. Conversely, to each
ordered triple of real numbers (a1, a2, a3) there
corresponds precisely one vector a = [a1, a2, a3], with (0,
0, 0) corresponding to the zero vector 0, which has
length 0 and no direction.
Hence a vector equation a = b is equivalent to the three
equations a1 = b1, a2 = b2, a3 = b3 for the components.
Vector Addition, Scalar Multiplication
DEFINITION
Addition of Vectors
The sum a + b of two vectors a = [a1, a2, a3] and b
= [b1, b2, b3] is obtained by adding the
corresponding components,
(3) a + b = [a1 + b1, a2 + b2, a3 + b3].
Geometrically, place the vectors as in Fig. 7 (the
initial point of b at the terminal point of a); then a +
b is the vector drawn from the initial point of a to
the terminal point of b.
continued
Fig.7. Vector addition
ADDING VECTORS
The figure shows that, if a = ‹a1, a2› and b = ‹b1, b2›,
then the sum is
a + b = ‹a1 + b1, a2 + b2›
continued
Basic Properties of Vector Addition
(4)
continued
Fig. 7. Cummutativity of vector addition
DEFINITION
continued
Fig. 9. Scalar multiplication [multiplication of vectors
by scalars (numbers)]
Basic Properties of Scalar Multiplication
(6)
Difference of Vectors
Instead of b + (–a) we simply write b – a.
E XAM P LE 2 Vector Addition. Multiplication by Scalars
We use the notation ‹a1, a2› for the ordered pair that
refers to a vector so as not to confuse it with the ordered
pair (a1, a2) that refers to
a point in the plane.
COMPONENTS
For instance, the vectors shown here are all equivalent to
the vector OP 3, 2 whose terminal point is P(3, 2).
What they have in common is that the terminal point is
reached from the initial point by a displacement of three
units to the right and two upward.
Unit Vectors
continued
Fig. 10. The unit vectors i, j, k and the representation (8)
E XAM P LE 3 i j k Notation for Vectors
continued
Fig.11. Angle between vectors and value of inner product
EXAMPLE: DOT PRODUCT
‹2, 4› ∙ ‹3, – 1› = 2(3) + 4(–1) = 2
1. a a=|a| 2
2. a b b a
3. a (b c) a b a c
4. (ca) b c(a b) a (cb)
5. 0 a 0
GEOMETRIC INTERPRETATION
The dot product a • b can be given a geometric
interpretation in terms of the angle θ between a and b.
This is defined to be the angle between the
representations of a and b that start at the origin,
where 0 ≤ θ ≤ π.
DOT PRODUCT
The formula in the following theorem is used by physicists
as the definition of the dot product.
a ∙ b = |a||b| cos θ
DOT PRODUCT—PROOF
If we apply the Law of Cosines to triangle OAB here,
we get:
Observe that
the Law of Cosines
still applies in
the limiting cases
when θ = 0 or π, or
a = 0 or b = 0
DOT PRODUCT—PROOF
However,
|OA| = |a| , |OB| = |b| , |AB| = |a – b|
Substituting into the Law of Cosine
|a – b|2 = |a|2 + |b|2 – 2|a||b| cos θ
Using Properties 1, 2, and 3 of the dot product, we
can rewrite the left side of the equation as follows:
|a – b|2 = (a – b) ∙ (a – b)
=a∙a–a∙b–b∙a+b∙b
= |a|2 – 2a ∙ b + |b|2
DOT PRODUCT—PROOF
Therefore,
Thus,
–2a ∙ b = –2|a||b| cos θ
or
a ∙ b = |a||b| cos θ
Orthogonality
THEOREM 1
Orthogonality
The inner product of two nonzero vectors is 0 if and
only if these vectors are perpendicular.
EXAMPLE: ORTHOGONAL VECTORS
Show that 2i + 2j – k is perpendicular to 5i – 4j + 2k.
continued
Applications of Inner Products
E XAM P LE 2 Work Done by a Force Expressed as an
Inner Product
This is a major application. It concerns a body on
which a constant force p acts. Let the body be given a
displacement d. Then the work done by p in the
displacement is defined as
continued
E X A M P L E 2: Work Done by a Force
Expressed as an Inner Product
that is, magnitude |p| of the force times length |d| of the
displacement times the cosine of the angle between p
and d (Fig. 12). If α < 90°, as in Fig. 12, then W > 0. If
p and d are orthogonal, then the work is zero (why?). If
α > 90°, then W < 0, which means that in the
displacement one has to do work against the force.
(Think of swimming across a river at some angle
against the current.)
continued
Fig.12. Work done by a force
E XAM P LE 3 Component of a Force in a Given Direction
continued
Fig.13. Example 3
and direction of the unit vector u opposite to the
direction of the rope; here γ = 90° – 25° = 65° is the
angle between a and p. Now a vector in the direction
of the rope is
so that
continued
Since |u| = 1 and γ > 0, we see that we can also write our
result as
ai a1
cos
| a || i | | a |
a2 a3
cos cos
|a| |a|
DIRECTION ANGLES & COSINES
By squaring the cosine expressions
| a | 12 22 32 14
1 2 3
cos cos cos
14 14 14
1 1 2
cos
1
74, cos 58
14 14
1 3
cos 37
14
PROJECTIONS
The figure shows representations PQ and PR
of two vectors a and b with the same initial point P.
PROJECTIONS
Let S be the foot of the perpendicular
from R to the line containing PQ.
VECTOR PROJECTION
Then, the vector with representation PS
is called the
vector projection of b onto a and is denoted by proja b.
You can think of it as a shadow of b.
SCALAR PROJECTION
The scalar projection of b onto a (also called the
component of b along a) is defined to be the signed
magnitude of the vector projection.
PROJECTIONS
This is the number |b| cos θ, where θ is the angle between
a and b.
This is denoted
by compa b.
Observe that
it is negative
if π/2 < θ ≤ π.
PROJECTIONS
The equation
a ∙ b = |a||b| cos θ = |a|(|b| cos θ)
shows that:
The dot product of a and b can be interpreted
as the length of a times the scalar projection of b onto a.
Since
ab a
| b | cos b
|a| |a|
the component of b along a can be computed by taking
the dot product of b with the unit vector in the direction of
a.
PROJECTIONS: SUMMARY
Scalar projection of b onto a:
ab
compa b
|a|
Vector projection of b onto a:
a b a a b
proja b 2a
|a| | a| |a|
Notice that the vector projection is the scalar projection
times the unit vector in the direction of a.
EXAMPLE: PROJECTIONS
Find the scalar and vector projections of:
b = ‹1, 1, 2› onto a = ‹–2 , 3, 1›
Since
| a | (2) 3 1 14
2 2 2
3 a 3
proja b a
14 | a | 14
3 9 3
, ,
7 14 14
EAXMPLE: CALCULATING WORK
We define the work done by a constant force F in
moving an object through a distance d as:
W = Fd
This, however, applies only when the force is
directed along the line of motion of the object.
However, suppose that the constant force
is a vector F PR pointing in some other
direction, as shown.
CALCULATING WORK
If the force moves the object from P to Q, then the
displacement vector is .
D PQ
CALCULATING WORK
The work done by this force is defined to be the
product of the component of the force along D and the
distance moved:
W = (|F| cos θ)|D|
W = |F||D| cos θ = F ∙ D
EXAMPLE: CALCULATING WORK
A wagon is pulled a distance of 100 m along
a horizontal path by a constant force of 70 N.
The handle of the wagon is held at an angle
of 35° above the horizontal.
continued
DEFINITION
continued
Fig.17. Vector product
Fig.18. Right-handed triple of vectors a, b, v
Fig.19. Right-handed screw
THE CROSS PRODUCT
The cross product a x b of two vectors a and b, unlike
the dot product, is a vector.
continued
Right-Handed Cartesian Coordinate System
The system is called right-handed if the
corresponding unit vectors i, j, k in the positive
directions of the axes form a right-handed triple as in
Fig. 20a.
The system is called left-handed if the sense of k is
reversed, as in Fig. 20b.
In applications, we prefer right-handed systems.
continued
Fig.20a. The two types of Cartesian coordinate systems
a b
ad bc
c d
For example,
2 1
2(4) 1(6) 14
6 4
DETERMINANT OF ORDER 3
Determinant of order 3 can be defined in terms of
second-order determinants as follows:
a1 a2 a3
b2 b3 b1 b3 b1 b2
b1 b2 b3 a1 a2 a3
c2 c3 c1 c3 c1 c2
c1 c2 c3
Observe that:
Each term on the right side involves a number ai in the first row of
the determinant.
This is multiplied by the second-order determinant obtained from the
left side by deleting the row and column in which it appears.
DETERMINANT OF ORDER 3
For example,
1 2 1
0 1 3 1 3 0
3 0 1 1 2 (1)
4 2 5 2 5 4
5 4 2
1(0 4) 2(6 5) (1)(12 0)
38
CROSS PRODUCT
Now, let’s rewrite Definition using second-order
determinants and the standard basis vectors i, j, and k.
We see that the cross product of the vectors
a = a1i +a2j + a3k and b = b1i + b2j + b3k
is
a2 a3 a1 a3 a1 a2
ab i j k
b2 b3 b1 b3 b1 b2
CROSS PRODUCT
i j k
a b a1 a2 a3
b1 b2 b3
EXAMPLE: CROSS PRODUCT
If a = <1, 3, 4> and b = <2, 7, –5>, then
i j k
ab 1 3 4
2 7 5
3 4 1 4 1 3
i j k
7 5 2 5 2 7
(15 28)i (5 8) j (7 6)k
43i 13j k
EXAMPLE: CROSS PRODUCT
Show that a x a = 0 for any vector a in V3.
(a b) a
a2 a3 a1 a3 a1 a2
a1 a2 a3
b2 b3 b1 b3 b1 b2
a1 (a2b3 a3b2 ) a2 (a1b3 a3b1 ) a3 (a1b2 a2b1 )
a1a2b3 a1b2 a3 a1a2b3 b1a2 a3 a1b2 a3 b1a2 a3
0
PROOF: CROSS PRODUCT
A similar computation shows that (a x b) · b = 0
Therefore, a x b is orthogonal to both a and b.
CROSS PRODUCT
Let a and b be represented by
directed line segments with
the same initial point, as
shown.
Then, the cross product
a x b points in a direction
perpendicular to the plane
through a and b.
CROSS PRODUCT
It turns out that the direction of a x b is given by the right-
hand rule, as follows.
If the fingers of your right hand curl in the direction of a
rotation (through an angle less than 180°) from a to b, then
your thumb points in the direction of a x b.
CROSS PRODUCT
We know the direction of the vector a x b.
The remaining thing we need to complete its geometric
description is its length |a x b|.
This is given by the following theorem.
If θ is the angle between a and b (so 0 ≤ θ ≤ π),
then
|a x b| = |a||b| sin θ
PROOF: CROSS PRODUCT
From the definitions of the cross product
and length of a vector, we have:
|a x b|2= (a2b3 – a3b2)2 + (a3b1 – a1b3)2 + (a1b2 – a2b1)2
axb=0
Two nonzero vectors a and b are parallel if and only if θ = 0
or π.
In either case, sin θ = 0.
So, |a x b| = 0 and, therefore, a x b = 0.
CROSS PRODUCT
The geometric interpretation can be seen from this figure.
If a and b are represented by directed line segments with
the same initial point, then they determine a parallelogram
with base |a|, altitude |b| sin θ, and area
A = |a|(|b| sin θ) = |a x b|
The length of the cross product a x b is equal to the area of
the parallelogram determined by a and b.
EXAMPLE: CROSS PRODUCT
Find a vector perpendicular to the plane that passes
through the points
P(1, 4, 6), Q(-2, 5, -1), R(1, -1, 1)
The vector PQ PR is perpendicular to both PQ and PR .
Therefore, it is perpendicular to the plane
through P, Q, and R.
PQ (2 1) i (5 4) j (1 6) k
3i j 7k
PR (1 1) i (1 4) j (1 6) k
5 j 5k
EXAMPLE: CROSS PRODUCT
We compute the cross product of these vectors:
i j k
PQ PR 3 1 7
0 5 5
(5 35) i (15 0) j (15 0) k
40i 15 j 15k
j x i = -k k x j = -i i x k = -j
Observe that: ixj≠jxi
Thus, the cross product is not commutative.
Also, i x (i x j) = i x k = -j
However, (i x i) x j = 0 x j = 0
So, the associative law for multiplication does not usually
hold.
That is, in general, (a x b) x c ≠ a x (b x c)
Cross product using cyclic permutation
THEOREM 1
continued
General Properties of Vector Products
THEOREM 1
continued
Fig.21. Anticommutativity of cross multiplication
Example
(Will be solved on the board)
The vectors of A and B are given as follows:
continued
Typical Applications of Vector Products
E XAM P LE 3 Moment of a Force
In mechanics the moment m of a force p about a point
Q is defined as the product m = |p|d, where d is the
(perpendicular) distance between Q and the line of
action L of p (Fig. 22). If r is the vector from Q to any
point A on L, then d = |r| sin γ (Fig. 22) and
m = |r| |p| sin γ.
continued
Fig.22. Moment of a force p
Since γ is the angle between r and p, we see that
m = |r × p|. The vector
m=r×p
is called the moment vector or vector moment of p
about Q. Its magnitude is m. If m ≠ 0, its direction is
that of the axis of the rotation about Q that p has the
tendency to produce. This axis is perpendicular to both
r and p.
continued
E XAM P LE 4 Moment of a Force
continued
Fig.23. Moment of a force p
Solution. Introducing coordinates, we have
continued
This moment vector is normal (perpendicular) to the
plane of the wheel; hence it has the direction of the
axis of rotation about the center of the wheel that the
force has the tendency to produce.
m points in the negative z-direction, the direction in
which a right-handed screw would advance if turned
in that way.
E XAM P LE 5 Velocity of a Rotating Body
continued
Fig.24. Rotation of a rigid body
Let P be any point of B and d its distance from the
axis. Then P has the speed ωd. Let r be the position
vector of P referred to a coordinate system with origin
0 on the axis of rotation. Then d=|r| sin γ, where γ is
the angle between w and r. Therefore,
continued
From this and the definition of vector product we see
that the velocity vector v of P can be represented in the
form (Fig. 24)
v=w×r
This simple formula is useful for determining v at any
point of B.
continued
Scalar Triple Product
continued
Scalar Triple Product
continued
Scalar Triple Product
V = Ah = |b x c||a||cos θ| = |a · (b x c)|
The volume of the parallelepiped determined by the
vectors a, b, and c is the magnitude of their scalar
triple product:
V = |a ·(b x c)|
Example
(Will be solved on the board)
The field quantities are given as follows:
c A
b
B C
a
continued
Properties and Applications of
Scalar Triple Products
THEOREM 2
continued
COPLANAR VECTORS
If we use the volume formula and discover that
the volume of the parallelepiped determined by a, b,
and c is 0, then the vectors must lie in the same plane.
That is, they are coplanar.
EXAMPLE: COPLANAR VECTORS
Use the scalar triple product to show that the vectors
a = <1, 4, -7>, b = <2, -1, 4>, c = <0, -9, 18>
are coplanar.
1 4 7
a (b c) 2 1 4
0 9 18
1 4 2 4 2 1
1 4 7
9 18 0 18 0 9
1(18) 4(36) 7(18) 0
EXAMPLE
EXAMPLE
EXAMPLE
SUMMARY
HOMEWORK
HOMEWORK
HOMEWORK
HOMEWORK
ANSWERS