Es202 3
Es202 3
Introduction to Vectors
A Scalar is a quantity that is determined by its magnitude (number of units measured on a suitable
scale) (i.e., length, volume, temperature, time, mass, etc.)
A Vector is a quantity that is determined by both its magnitude and direction. So, it is an array or
directed line segment. (i.e., force, velocity, acceleration, etc.)
⃗⃗⃗ 𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦,
Vectors are shown with bold letters in literature with an arrow on the letter : 𝑉:
⃗⃗⃗
𝑎: 𝑎𝑐𝑐𝑒𝑙𝑒𝑟𝑎𝑡𝑖𝑜𝑛
Length or magnitude or norm of a vector is denoted by: |𝑎 |
Let 𝑎 be a given vector in Cartesian Coordinate System with initial point P(x1, y1, z1) and terminal
point Q(x2, y2, z2), then the components of the 𝑎 are 𝑎(𝑎1 , 𝑎2 , 𝑎3 ), where
a1=(x2-x1)
a2=(y2-y1)
a3=(z2-z1)
Two vectors 𝑎 and 𝑏⃗ are equal if they have the same length and direction regardless of their initial
points.
If 𝑎 = 𝑏⃗ → 𝑎1 = 𝑏1 , 𝑎2 = 𝑏2 , 𝑎3 = 𝑏3
where,
1/ 10
|𝑖̂| = |𝑗̂| = |𝑘̂ | = 1
𝑖̂, 𝑗̂, 𝑘̂ are the unit vectors in the positive direction of the 3 coordinate axes of cartesian coordinate
system.
𝑒̂
1, ̂ 𝑒3, … , 𝑒̂𝑛, in n-D Space; Rn
𝑒2, ̂
Remember the magnitude of a vector is: |𝑎| = √𝑎12 + 𝑎22 + 𝑎32 : Pythagorean Theorem
Position Vector: 𝑟 : is the vector with the origin at (0,0,0) as the initial point and the terminal point
at 𝐴(𝑥, 𝑦, 𝑧) . So, 𝑟 = (𝑥, 𝑦, 𝑧)
Note: if we transfer a vector 𝑎(𝑎1 , 𝑎2 , 𝑎3 ) , with initial point ‘P’ and terminal point ‘Q’ ; then,
corresponding coordinates of P and Q change by the same amount if we move the vector. So, their
difference will be the same and give the same components for vector (𝑎1 , 𝑎2 , 𝑎3 ):
2/ 10
Vector Addition
𝑐 = 𝑎 + 𝑏⃗
𝑐 = (𝑎1 + 𝑏1 , 𝑎2 + 𝑏2 , 𝑎3 + 𝑏3 )
𝑐 = (𝑐1 , 𝑐2 , 𝑐3 )
The addition of vectors can also give a parallelogram
Properties of Addition:
• 𝑎 + 𝑏⃗ = 𝑏⃗ + 𝑎 (commutativity)
• (𝑎 + 𝑏⃗) + 𝑐 = 𝑎 + (𝑏⃗ + 𝑐) (associativity)
• 𝑎+0 ⃗ =0 ⃗ +𝑎 =𝑎
• 𝑎 + (−𝑎) = 0⃗ (−𝑎 has the same magnitude but opposite direction with 𝑎)
• 𝑎 + 𝑎 = 2𝑎
• 𝑎 − 𝑏⃗ = 𝑎 + (−𝑏⃗) (difference)
Scalar Multiplication
3/ 10
• 0𝑎 = 0
Examples:
Let, 𝑎(4,0,2)
−𝑎 = (−4,0, −1)
7𝑎 = (28,0,7)
𝑎 + 𝑏⃗ = (6, −5,4/3)
𝑎. 𝑏⃗ = |𝑎||𝑏⃗| cos 𝜃 where, 0 ≤ 𝜃 ≤ 𝜋 and 𝜃 is the angle between the vectors 𝑎 and 𝑏⃗
𝑎. 𝑏⃗ = (𝑎1 𝑏1 + 𝑎2 𝑏2 + 𝑎3 𝑏3 )
The result of a dot product is a scalar
𝑎. 𝑏⃗ = 0 if, 𝑎 = 0 or 𝑏⃗ = 0 or cos 𝜃 = 0
𝜃 < 𝜋/2
𝑎. 𝑏⃗ > 0
𝜃 = 𝜋/2
𝑎. 𝑏⃗ = 0
𝜃 > 𝜋/2
𝑎. 𝑏⃗ < 0
4/ 10
Let ⃗⃗⃗⃗
𝑥1 and ⃗⃗⃗⃗ 𝑥1 = (1,2,3) and ⃗⃗⃗⃗
𝑥2 be vectors: ⃗⃗⃗⃗ 𝑥2 = (4,5,6)
[10 3]1𝑥2 [3 1
] = [36 31]1𝑥2
2 7 2𝑥2
Orthogonality
Note:
If, 𝜃 = 0𝑜 , cos 𝜃 = 1
𝑎. 𝑏⃗ = |𝑎||𝑏⃗| cos 𝜃
𝑎. 𝑏⃗ 𝑎. 𝑏⃗
cos 𝜃 = =
|𝑎||𝑏⃗| √𝑎. 𝑎√𝑏⃗. 𝑏⃗
5/ 10
Example:
𝑎. 𝑏⃗
𝜃 = 𝑎𝑟𝑐 cos = 𝑎𝑟𝑐 cos(−0.1195)
|𝑎||𝑏⃗|
𝜃 = 96.86𝑜
Properties of Dot Product:
The angles: 𝛼, 𝛽 𝑎𝑛𝑑 𝛾 (between 0 and ) that a non-zero vector 𝑎 makes with the positive x, y and
z axes, correspondingly.
6/ 10
𝑎2 𝑗̂ 𝑎2
𝑎. 𝑗̂ = |𝑎|. |𝑗̂| cos 𝛽 = |𝑎| . cos 𝛽 = 𝑎2 → cos 𝛽 = =
|𝑎| |𝑎|
𝑎3 𝑘̂ 𝑎3
𝑎. 𝑘̂ = |𝑎|. |𝑘⃗̂ | cos 𝛾 = |𝑎|. cos 𝛾 = 𝑎3 → cos 𝛾 = =
|𝑎| |𝑎|
Example:
𝑑 : displacement
𝑊 = |𝑝||𝑑| cos 𝜃 = 𝑝. 𝑑
If, 𝜃 = 90𝑜 ; 𝑊 = 0
Example:
Find the force on the rope necessary to hold the vehicle with a weight of 5000 kg’s in equilibrium on
the inclined plane shown in the Figure.
𝑎 =𝑐+𝑝
𝑐 : force acting towards the inclined plane, we are not interested in
Direction of the unit vector 𝑢̂ opposite to the direction of the rope: 𝜃 = 90𝑜 − 25𝑜 = 650
7/ 10
Let a vector 𝑏⃗ in the direction of the rope is : 𝑏⃗ =(-1, tan25) = (-1,0.46631) , thus|𝑏⃗| = 1.10338
1
So that, 𝑢̂ = − ⃗|
𝑏 = (0.90631, −0.42262]
|𝑏
⃗
𝑎⃗ .𝑏 5000 . 0.46631
Since, |𝑢
⃗ | = 1 and cos 𝜃 > 0 , |𝑝| = (|𝑎| cos 𝜃)|𝑢
⃗ | = 𝑎. 𝑢
⃗ =− ⃗
= = 2113𝑘𝑔
|𝑏| 1.10338
For some applications like rotations, the product of vectors needs to be a vector.
𝑎𝑥𝑏⃗ = 𝑉
⃗ (a cross b) (result is a vector)
⃗ | = |𝑎𝑥𝑏⃗| = |𝑎||𝑏⃗|𝑠𝑖𝑛𝛾
⃗ = 0 ,where |𝑉
Then, 𝑉
If,
𝑎 = (𝑎1 , 𝑎2 , 𝑎3 )
𝑏⃗ = (𝑏1 , 𝑏2 , 𝑏3 )
⃗ = (𝑉1 , 𝑉2 , 𝑉3 )
𝑉
𝑖̂ 𝑗̂ 𝑘̂ 𝑎2 𝑎3 𝑎1 𝑎3 𝑎1 𝑎2
⃗ = 𝑎𝑥𝑏⃗ = |𝑎1
𝑉 𝑎3 | = | 𝑏 ̂
𝑎2
2 𝑏3 | 𝑖̂ − | 𝑏1 𝑏3 | 𝑗̂ + | 𝑏1 𝑏2 | 𝑘
𝑏1 𝑏2 𝑏3
8/ 10
For left-handed c.c.s.
Triple Products
𝑓𝑜𝑟 𝑎 , 𝑏⃗ , 𝑐 vectors
Volume = h x area
9/ 10
ℎ = |𝑎| cos 𝛼 , 𝑎𝑟𝑒𝑎 = |𝑏⃗x𝑐|
Example:
If a tetrahedron is given by 3 edge vectors that meet one vertex, find its volume
𝑎 = (2,0,3)
𝑏⃗ = (0,4,1)
𝑐 = (5,6,0)
2 0 3
4 1 0 4
𝑉 = 𝑎. (𝑏⃗x𝑐 ) = |0 4 1|=2 | |+ 3| | = −12 − 60 = −72 for the parallelepiped
6 0 5 6
5 6 0
(negative due to c.c.s.)
1
𝑉𝑡𝑒𝑡𝑟𝑎ℎ𝑒𝑑𝑟𝑜𝑛 = = 72/6 = 12
6𝑉
Notes:
• There vectors in R3 are linearly independent if and only if their scalar triple product is NOT
‘0’.
1 1
• Area of triangle formed by 𝑎 , 𝑏⃗ vectors: |𝑎𝑥𝑏⃗| = |𝑎||𝑏⃗|𝑠𝑖𝑛𝜃
2 2
• Remember for the area of parallelogram: |𝑎𝑥𝑏⃗| = |𝑎||𝑏⃗|𝑠𝑖𝑛𝜃
Example:
Let,
10/ 10