2
Vector in R
a. Scalars and Vectors
Scalar
A scalar is a purely numerical quantity (with or without
a unit ) in which no direction is involved.
e.g. Rp 100,00 or 10 cm 2
b. Vector
Definition
A vector quantity has both magnitude (size) and direction.
e.g. a velocity of 10 km/ h in the north-east direction.
Vector in R2 means two dimensional space or plane.
Here, we can make a Cartesian coordinate system xoy to
determine the coordinate of a point.
B( (x2,y2)
v
A (x1,y1)
a
10 km/h ( NE direction )
A uuur
The notation AB or AB is used to indicate the endpoints and the
direction (from A to B). r
The vector can also be denoted by uthe
uur
single letter a or
uuur
a can also
be used. The magnitude of vector AB is written as | AB | and that of
vector a as | a |
A P
B B
a -a
A A
The position vector
A vector OP starting from the origin O to the point
P ( x,y) is called the position vector of P.
uuur x
i.e. OP = P ( x, y)
y
O
Worked example 1.
BASIC OPERATIONS
1.Triangle rule
uuur uuur uuur
C
AB + BC = AC
A B
2. Parallelogram
uuu
r uuur
rule
If
uuu
OA = a and OB = b, then
r uuur uuur uuuu r
OA + OB = (OA + OB) where OP is diagonal of parallelogram
OAPB
B P
b
a+b
O a A
3. Column Vectors
x1 x2 x1 x2
If a = and b = then a + b = +
y1 y2 y1 y2
x1 + x2
= y +y
1 2
Note: a + b = b + a
B b-a A
uuu
r r uuur r uuur uuu
r uuu
r
b
4. If OA = a and OB = b so AB = OB − OA a
=b–a O
uuu
r uuu
r uuur
BA = OA − OB
=a–b
x1 x2 x1 − x2
5. If a = and b = then a – b =
y1 y2 y1 − y2
Worked Example 3.
−3 2
1. Given a = and b=
5 1
a. Find the vector 2a + 3b =…
b. Find | 2a + 3b | = …
−3 2
2. Given a = and b=
5 1
a. Find the vector 6b – a =…
b. Find | 6b – a | = …
Unit Vector
a
If a is a vector, then |a|
is unit vector from vector a. On
the other word, the unit vector is a vector has modulus
one unit length.
A
B
O
a
OB = |a|
Vector in R3
uuur
P( x,y,z) The vector OP can be
expresed by
p = xi + yj + zk
( i,j,k in unit vector )
x
In column vector P = y
z
2. p – q = ( 2 – 4) i + (3 – 2 ) j + (4 - 5) k
=-2i+j–k
3. 2p + 5q = 2(2i + 3j + 4k ) + 5( 4i + 2j + 5k )
= 4i + 6j + 8k + 20i + 10j + 25 k
= 24i + 16j + 33k
4. | p + q | = x 2 + y 2 + z 2
= 62 + 52 + 92
= 36 + 25 + 81
= 142
The role of comparison
If point P is lie at line AB by the compare AP : PB = m : n
If position vector point A and B is a and b , so the position vector
p can be express by
mb + na
p= m+n
A m
a p P n
b B
example
A “ T “ C
Magnitude of | a + b | or | a – b |
Magnitude of | a + b|
a
α a+b
b
|a+b|= | a |2 + | b |2 +2 | a || b | cos α a
Magnitude of | b – a | α b
-a b-a
|b–a|= | a |2 + | b |2 −2 | a || b | cos α
Example
1. Given vector p = i + 2j + 4k and q = 5i + 4j. The vectors p and
q form an angle α = 60o
Find | p + q | = …
Solution
| p | = 12 + 22 + 42
= 21
| q | = 52 + 42 + 02
= 41
| p + q | = | p |2 + | q |2 +2 | p || q | cos α
= 21 + 41 + 21. 41 cos 60o
= 62 + 461
2. Given vector a = 4i + 3j and vector b = 3i + 2j + 3 k. The
vectors a and b form an angle 60o.
Find the magnitude of | a – b | = …..
Solution
|a|=5
|b|=4
| a – b | = | a |2 + | b |2 −2 | a || b | cos α
=…….
Example
Example
1 5
1. Given vectors a = 2 and b = 4 .Find the scalar product of
4 0
a . b =…
Solution:
a . b = a1b1 + a2b2 + a3b3
= 1.5 + 2.4 + 4.0
=5+8+0
= 13
2. Given that | a | = 3, | b | = 4 and angle between vectors
a and b is θ = 60o.
Find the value of a . b = ….
Solution:
a . b = | a | | b | cos θ
= 3 . 4 cos 60o
= 12 . ½
=6
Now recall the formulae: a . b = | a | |b| cos θ
a . b = a1b1 + a2b2 + a3 b3
| a + b |2 = | a |2 + | b |2 + 2 | a | | b | cos θ
| a – b |2 = | a |2 + | b |2 – 2 | a | | b | cos θ
_________________________________________ -
| a + b |2 - | a – b |2 = 4 | a | | b | cos θ = 4 a . b
| a + b |2 − | a − b |2
So a.b=
4
Exercise
1. Given | a | = 8, | b | = 7 and vectors a and b is formed angle
45o.
Find the value of a . b = …
Solution
1
|a||b| Cos 450 = 8 . 7 . 2
2 = 28 2
2. Given a = 2i + 5j + k and b = i – 2j – k
Find the value of:
a. (a . b )=…
b. b . a =…
c. a . a = …
d. b . b = …
uuu
r
3. Given A( 1, 0, - 1 ), B ( - 2, - u1, uur
3 ) and C( 1, 1, 1 ). If BA is
expressed by vector a and BC is expressed by vector b,
calculate the value of a . b = …
= 19
4. Given A(uu1, 1, 2 ) and B( 1, 2,uuur3 ).uuuIf
ur uuur r
point C is lie at line AB
in order | AC |=| OB | . Calculate OA . AC .
5. Given that a + b = i – j + 4k and | a – b | = 14
Find the product of a . b = …..
θ
θθ
b
Example
1 3
1. Given vector a = 2 and vector b = 4 . Find the value of angle
2 0
between two vector a and b.
Solution
| a | = 12 + 22 + 22 = 3
| b | = 32 + 42 + 02 = 5
a.b
Cos θ = | a || b |
1.3 + 2.4 + 2.0
= 3.5
11
= 15
Cos θ = cos 42,9o
θ = 42,9o
3. Given point A(4, 2, -1) and B( 2, -2, 4 ). If O is the original
point on Cartesian plain, find the value of cosine angle AOB.
Solution
| OA| = 42 + 22 + (−1)2 = 21 | OB | = 22 + (−2)2 + 42 = 24
(4)(2) + (2)(−2) + (−1)(4)
Cos θ = 21. 24
0
= 21. 24
Cos θ = 0
Cos θ = cos 90o
Hence θ = 90o
Exercises
1. Find the value of cosine from the angle between vectors
a = 3i + 7j – 5k and b = i + j - 6k
2. Find the value of m if a = mi – 2j + k perpendicular to
b = 2mi + mj – 4k
PROJECTION ORTOGONAL
Consider the following figure uuu
r uuur
If AC ⊥ OB, then OC is called projection
uuu
r ur
of OA on OB
A If OA = a,
uuur r uuur r
O α C B OB = b , and OC = c then we get
r r
a •b
Cos α = r uu r
| a || b |
PROJECTION VECTORS
From figure above we get the value of | OC | = | OA| cos α
So we get | OC | = | OAr| cos α
r
a •b
= | OA | r uu r
| a || b |
r r
a •b
| c | = | a| r uu r
| a || b |
r r
a•b
|c| = r
|b|
uuur
Vector projection a on b ( vector OC ) is a vector using the unit
vector of b. r r
uuur uuur a ⋅b uuur
If the magnitude of vector OC is express by OC = uu
|b|
r so we get OC
= | OC | x unit vector
r r
of b. r r
uuur a•b 1 r a•b r
Hence c = OC = r • r b or c = r b
|b| |b| | b |2
example
1. Given the vectors a = 2i – 6j – 3k and b = 4i + 2j – 4k, find
the length of projection of vector a on b.
Solution
2 4
r r
a • b = −6 • 2 = 8 – 12 + 12 = 8
−3 −4
r
| b |= 42 + 22 + (−4)2 =6
r r
a•b
Hence the magnitude of c = |c| = r
|b|
8
= 6
4
= 3
NOTES:
THE NEXT WEEK WE HAVE TEST BY TOPIC
“ VECTORS”