Professional Documents
Culture Documents
Vectors
Vectors
Can be written : ⃗ = ⃗
⃗
Where = = magnitude and = = unite vector represents the direction of ⃗
Position vector z
P(x, y, z)
A position vector is directed
from the origin to the point ⃗
P(x, y, z) as shown. It can be z
expressed as: y
⃗= + +z
⃗ = + +
x
1
10/02/1441
⃗
⃗
⃗
Associative ⃗+( + ⃗) = ( ⃗ + )+ ⃗
⃗
⃗
2
10/02/1441
If ⃗ = + + and = + + then
⃗+ =( + ) +( + ) +( + )
∴ ⃗− =( − ) +( − ) +( − )
Example/ Given points M(-1, 2, 1), N(3, -3, 0), and P(-2, -3, -4), find:
(a) ; (b) + ; (c) ; (d ) .
Solution
= − + − + − =
3 − (−1) + −3 − 2 + 0−1 =4 −5 −
= − + − + − =
−2 − (−1) + −3 − 2 + −4 − 0 = − −5 −4
+ = 4 −1 −5 + −5 −1 + −4 =3 − 10 −5
=− +2 + , = −1 + 2 + 1 = 6
= , = −1 + −5 + −4 = 42
− −5 −4
=
42
3
10/02/1441
⃗. ⃗ = ⃗ = ⃗. ⃗
Properties of the Dot product
Commutative ⃗. = . ⃗ Projection of vector
Associative ⃗.( + ⃗) = ( ⃗ + ). ⃗ on the vector
. = . = . = . = . = . =0
The remaining three terms involve the dot product of a unit vector with itself,
which is unity, giving finally:
. = . + . + .
⃗× =- × ⃗
⃗×
To find the direction of cross
product we need to apply a right-
handed screw as figure shown
⃗
⃗× =
4
10/02/1441
Example/The three vertices of a triangle are located at A(6, -1, 2), B(-2, 3, -4), and C(-3, 1, 5).
Find: (a) RAB; (b) RAC; (c) the angle at vertex A;
(d) the(vector) projection of RAB on RAC.
= −2 − 6 + 3 − (−1) + −4 − 2 = −8 +4 −6
= −3 − 6 + 1 − (−1) + 5−2 = −9 +2 +3
⃗. = ⃗ cos
. = . + . + . , . =− ×− + × + − × =
= −8 + 4 + −6 = 116 = −9 + 2 + 3 = 94
Now apply the dot product formula to calculate the angle between two vectors
62 = 116* 94 cos ⇒ = cos = 53.57
∗
The projection of RAB on RAC is
⃗× = 2 4 −3 =
1 −1 0
4 ∗ 0 − −3 ∗ −1 − 2 ∗ 0 − −3 ∗ 1 +( ∗− − ∗ )
⃗× = −3 −3 −6
5
10/02/1441
Coordinate systems
Cartesian Coordinates
It is a right hand system of coordinates with base vectors ax , ay and az
z
Differential area:
An element of area is represent by
a vector ┴ to the area
= (top) or =− (bottom)
= (+y dir) or =− (-y dir) y
= (+x dir) or =− (-x dir)
Differential volume x
dv = dx dy dz
6
10/02/1441
Cylindrical Coordinates
= cos = sin =
The inverse relations
= + = tan =
Cylindrical coordinates are important for problems involving cylindrical or circular
boundaries.
A vector in cylindrical coordinates can be written as
⃗= + +
ϕ z
Variation of variable
ρdϕ dz for component
Differential length
= + ρdϕ + dz
7
10/02/1441
Differential area
= (outside)
=
= (top)
Differential volume
=
cos − sin 0
= sin cos 0
0 0 1
Cylindrical to Cartesian
cos sin 0
= − sin cos 0
0 0 1
Example/ (a) Give the rectangular coordinates of the point C (ρ = 4.4, φ = -1150◦, z = 2).
(b) Give the cylindrical coordinates of the point D(x = -3.1, y = 2.6, z = -3). (c) Specify
the distance from C to D . (c) Give the rectangular components of the vector
H = 20aρ - 10aφ + 3az at P(x = 5,y = 2, z = -1).
= cos = sin =
x=4.4* cos(−115) = −1.86, y=4.4* sin(−115) = −3.98 =2
= + = tan =
2.6
= −3.1 + 2.6 = 4.05 = tan = 140 = −3
−3.1
8
10/02/1441
Spherical Coordinates
r ϕ
Variation of variable
rdθ r sin dϕ for component
Differential length
= +rdθ +r sin d
9
10/02/1441
Differential area
= sin (outside)
= sin
= (top)
Differential volume
= sin
Q1/ Find the acute angle between the two vectors A = 2ax + ay + 3az and B = ax - 3ay + 2az
by using the definition of (a) the dot product; (b) the cross product.
Q2/ Find (a) the vector component of F = 10ax - 6ay + 5az that is parallel to G = 0.1ax +
0.2ay + 0.3az; (b) the vector component of F that is perpendicular to G; (c) the vector
component of G that is perpendicular to F.
Q3/ The surfaces ρ = 3, ρ = 5, = 100◦, = 130◦, z = 3, and z = 4.5 define a closed
surface. Find (a) the enclosed volume; (b) the total area of the enclosing surface; (c)
the total length of the twelve edges of the surfaces; (d) the length of the longest straight
line that lies entirely within the volume.
Q4/ Given point P(r = 0.8, = 30◦, = 45◦) and E = 1/r2 [cos ar + (sin / sin ) aφ],
find (a) E at P; (b) |E| at P; (c) a unit vector in the direction of E at P.
Q5/ The surfaces r = 2 and 4, = 30◦ and 50◦, and = 20◦ and 60◦ identify a closed
surface. Find (a) the enclosed volume; (b) the total area of the enclosing surface; (c)
the total length of the twelve edges of the surface; (d) the length of the longest straight
line that lies entirely within the surface.
10