Vectors
Vectors
Introduction
To get from A to B, go 3 units right and 2 units up, from B to C, go 2 units left and 1 unit up.
Notation
AC = i + 3j
Parallel Vectors
For example, if a = 2i + 3j, and b = -i – 3/2 j, then a and b are parallel because a = -2b.
Where
i is a unit vector in the x direction
j is a unit vector in the y direction
k is a unit vector in the z direction
The actual size or lengths of i, j, and k depend on the units you are using.
Example 1
If a = 3i + 4j – 3k and b = 2i + 4j – 5k
Find i) 3a
ii) 2b
iii) a + 3b
Solution
Consider first just 2 dimensions, and for example the vector a = 3i + 4j. The magnitude (or length)
of a, written a , could be found using Pythagoras.
a 32 4 2 5
A vector in the same direction as a, but with a length of 1, is called a unit vector in the direction
of a, written â .
a 3i 4 j
aˆ
a 5
3 4
i j
5 5
Example 2
Solution
Let b = 5i - 12j
b 5 2 12 2 169 13
b 5i 12 j 5 12
bˆ i j
b 13 13 13
a x2 y2 z2
a xi yj zk
aˆ
a x2 y2 z2
Example 3
Find the magnitude of the vector, a = 2i - 2j + k, and hence find a unit vector in its direction.
Solution
The magnitude of a is
a 2 2 (2) 2 12 9 3
The dot product is widely used in Physics and Mechanics, and you may come across these uses as
your course progresses. As far as this introduction goes, we will look at how to calculate the dot
product, and a few simple uses.
If
a = x1i + y1j + z1k (where x1, y1, z1, x2, y2, z2 are just numbers)
Example 4
Solution
a.b = (4 × 3) + (2 × -4) + (-3 × 2)
= 12 – 8 – 6 = -2
i) If a . b = 0, then the two vectors a and b are said to be orthogonal, a similar idea to
perpendicular lines.
a b a b cos
or
a b
cos
ab
Example 5
If a = 3i - 2j + k and b = 2i + 3j - 4k, find a , b , a . b, and hence the angle, θ, between the two
vectors.
Solution
a 32 2 2 12 9 4 1 14 3.74
b 2 2 32 4 2 4 9 16 29 5.39
a b 4
cos 0.1984
a b 3.74 5.39
2.
3. If a = 3i – 2j + k, b = -4i – 2j - 3k,
c = 2i + 2j - 3k, d = 6i + 6j -+ 8k
a) Find
i) 3a
ii) 4b
iii) c – 3b
iv) a + b – c
v) 4a – 2b + c
b) Find also
i) a
ii) b
iii) 4a 2b c
and find the unit vectors in the direction of these vectors.
Solutions
1. BC = - b – a
CB = a + b
2. AD = -c + b + a
BF = c + a
3.
a)
i) 3a = 9i – 6j + 3k
ii) 4b = -16i – 8j – 12k
iii) c – 3b = ( 2i + 2j - 3k ) - 3 (-4i – 2j - 3k )
= 2i + 2j - 3k + 12i + 6j + 9k
= 14i + 8j + 6k
iv) a + b – c = ( 3i – 2j + k ) + (-4i – 2j - 3k ) - ( 2i + 2j - 3k )
= -3i -6j + k
v) 4a – 2b + c = 4 (3i – 2j + k ) – 2 ( -4i – 2j - 3k ) + 2i + 2j - 3k
= 22i – 2j + 7k
b)
i) a = 3.74
Unit vector for a = 0.8i – 0.535j + 0.267k
ii) b = 5.39
Unit vector for b = -0.742i – 0.371j - 0.557k
iii) 4a 2b c 22 2 2 2 7 2 23.17
Unit vector for 4a -2b + c = -0.95i – 0.086j - 0.302k
c) a . b = -12 + 4 – 3 = -11
ab 11
cos 0.5457
a b 3.74 5.39
θ = 123°
d) c . d = 12 + 12 – 24 = 0
So c and d are orthogonal.