Chapter 1 - Vector Analysis
Chapter 1 - Vector Analysis
Chapter 1 - Vector Analysis
Marks Distribution:
20 Periodic Exam on Chapter one
10 Attendance
10 Homework (4 homeworks)
Office Hours:
Chapter One: Vector Analysis
I. Vector Operations
Multiplication by a Scalar
Unit Vector
Addition and Subtraction
Dot Product
Vector Components
Cross Product
Triple Products
2. Vector Calculus
The Time Derivative
The Gradient Operator
A B A B
of addition
-1-
The most often and the most useful definition of vector subtraction is illustrated in
Fig. (2), namely A-B is the tip-to-tip vector D, starting from the tip of B directed
towards the tip of A.
A . B A B cos
where is the angle that A and B form when place tail-to-tail. Since it is a scalar,
clearly the product is commutative.
A .B B . A
If the two vectors are parallel, then =0 and A.B=AB. In particular,
A.A A 2
which says that the square of the magnitude of any vector is equal to its dot
product with itself.
If A and B are perpendicular, then =90 and A.B=0
A . B C A .B A .C
i .i j. j k .k 1 and i . j j.k k .i 0
-2-
Because the dot product is distributive, it follows that
A . i Ax i Ay j Az k . i Ax i . i Ay j . i Az k . i Ax
A . j Ax i Ay j Az k . j Ax i .j Ay j . j Az k .j Ay
A A .i i A . j j A .k k
Using the distributive law of dot product, we have
A.B A x i A y j A z k . Bx i By j Bz k A x Bx A y By A z Bz
and
A.A A x i A y j A z k . A x i A y j A z k A 2x A 2y A 2z A 2
Since A .B A B cos , the angle between A and B is given by
A .B A B Ay B y Az Bz
cos 1 cos 1 x x
AB AB
Solution:
A 3 2
6 2 9 2 9 36 81 126
B 2 3 2 2
12 4 9 1 14
A .B 21 21 1 1
cos cos1 60
AB 126 14 42 2 2
-3-
1.6 Cross Product
The cross product of the basis vectors i, j, k can be easily obtained
ii j j k k 0
i j ji k , jk k ji , ki ik j
i j k
AB Ax Ay Az
Bx By Bz
A y B z A z B y i A x B z A z B x j A x B y A y B x k
Solution
𝑖 𝑗 𝑘
AxB=|3 −3 1| = 𝑖(−3 ⋅ 2 − 1 ⋅ 9) − 𝑗(3 ⋅ 2 − 1 ⋅ 4) + 𝑘(3 ⋅ 9 + 3 ⋅ 4) = −15𝑖 − 2𝑗 + 39𝑘
4 9 2
-4-
1.7 Triple Products
vector. The dot product of this vector with the vector C gives a scalar. There is a
of the base
The height of the parallelepiped is A cos . Then the volume of the parallelepiped is
If 90 , this will come out negative, so in general we should say that the volume
is A.B C .
A B. C A. B C C A. B
Because it doesn’t matter where the dot and cross are, the triple scalar product is
i j k Ax Ay Az
A.B C A x i A y j A z k . B x B y Bz B x B y Bz
Cx C y Cz Cx C y Cz
-5-
The rules for interchanging rows of a determinant provide verification of
A B. C A. B C C A. B
Cx C y Cz Ax Ay Az Bx By Bz
A B. C Ax Ay Az Bx By Bz Cx C y Cz
Bx By Bz Cx C y Cz Ax Ay Az
A B. A A B. B 0
Triple Vector Product
vector, and can form cross product with A to give another vector. In this case, the
i i j i k j and i i j 0 j 0
The relation
Example:
Prove that A B. C D A .CB .D A .DB .C
Solution: First regard
C D =U
as one vector and interchange the cross and the dot in the scalar product A B . C D .
-6-
A B. C D A B .U A .(BU) =A.(B C D)
A . B C D A . B . DC B . C D
Since B.D and B.C are scalars, the distributive law of dot product gives
2. Vector Calculus
dA At t At A
lim t 0 lim t 0
dt t t
From this definition it follows that the sums and products involving vector
quantities can be differentiated as in ordinary calculus; that is
d
A B dA dB
dt dt dt
d
A .B A . dB dA .B
dt dt dt
d
AB A dB dA B
dt dt dt
The time derivative of a vector is equal to the vector sum of the time derivative of
its components.
dA dA x dA y dA z
i j k
dt dt dt dt
-7-
1. Velocity and Acceleration
dv dvx dv y dvz d 2 x d 2 y d 2z d 2r
a i j k 2 i 2 j 2 k 2
dt dt dt dt dt dt dt dt
For a particle moving around a circle, shown in Fig. (1), the rate of change of the
angular position is called angular velocity :
d
lim t 0
t dt
The velocity v of the particle is, by definition,
dr
v r
dt
r(t) s
r(t+t)
Fig. (1)
where r is the position vector drawn from the origin to the position of the particle.
The magnitude of the velocity is given by
s
v v lim t 0 lim t 0
t t
where is the radius of the circle. The direction of the velocity is tangent to the
circle.
-8-
Example: Suppose a particle is rotating around the z-axis with a constant angular
velocity as shown in Fig. (2). Find the velocity and acceleration of the particle.
y
v(x,y)
p
r
y
x x
Fig. (2)
v r x i y j r sin t i r cost j y i x j
v (v . v) 2 r 2 sin 2 t 2 r 2 cos 2 t r
v2
a v r cost i r sin t j x i y j r 2 r
2 2 2 2
-9-
The gradient of is written as
grad i j k
x y z
and the directional derivative d
.u
ds
direction A 2i 2 j k .
In which direction is the temperature increasing most rapidly at the point (-1, 2, 3)
and at what rate?
Solution
( ) +(-2y+xz )j+xy k
( ) ( ) ( ( ) )
(( ) )
The increase in temperature is fastest in the direction of this vector “u” which is the unit
vector.
( )
| | √ √
The rate of increase of T is | | √
- 10 -
2.2.2 Some Other Expressions involving
We call a vector operator and write
i j k
x x x
Suppose V(x, y, z) is a vector function, that is, the three compnents Vx, Vy, Vz of
V are functions of x, y, z:
Vx, y,z iVx x, y,z jVy x, y,z kVz x, y,z
i j k
V V V V V V
V curl V i z y j z x k y x
x y z y z x z x y
Vx Vy Vz
2 . div grad . . .
x x y y z z
2 2 2
The Laplacian
x 2 y 2 z 2
- 11 -
Example: Find 1) ( )
2) ( )
Where V is a vector and is a scalar
Solution
1) ( ) ( ) ( )
( ) ( )
( )
2) ( ) ( ) ( )
( ) ( )
3. Line Integral
One of the physical meanings of the dot product is 𝑾 = 𝑭 ⋅ 𝒅 where W is the work
done by a force F on an object and move it a distance d.
If we consider a small motion dr=i dx + j dy + k dz, then the work will be:
𝒅𝑾 = 𝑭. 𝒅𝒓
i.e. to find the work done we have to integrate the equation i.e. to calculate:
∫ 𝒅𝑾 = ∫ 𝑭. 𝒅𝒓
Example:
Given the force
𝑭 = 𝒙𝒚 𝒊 − 𝒚𝟐 𝒋
(3) the line from (0,0) to (0,1) then the line from (0,1) to (2,1)
- 12 -
Solution 𝒅𝑾 = 𝑭. 𝒅𝒓
𝑭 = 𝒙𝒚 𝒊 − 𝒚𝟐 𝒋
(1) 𝐫 = 𝐱 𝐢 + 𝐲 𝐣 → 𝐝𝐫 = 𝐢 𝐝𝐱 + 𝐣 𝐝𝐲
𝐅. 𝐝𝐫 = 𝐱𝐲 𝐝𝐱 − 𝐲𝟐 𝐝𝐲
𝐖 = ∫( 𝐱𝐲 𝐝𝐱 − 𝐲 𝟐 𝐝𝐲) (1)
Line 1 is a straight line whose equation is y =a.x where a is the slope of the line
𝐲 −𝐲 𝟏−𝟎 𝟏
and could be calculated by the equation 𝑎 = 𝐱𝟐 −𝐱𝟏 = 𝟐−𝟎 = 𝟐
𝟐 𝟏
only one variable in the integral which is x , and note that x changes from 0 to 2
𝟏𝟐
𝟏 𝟐 𝟏 𝟐
𝟏 𝟏
𝑾 = ∫ 𝒙. 𝒙 𝒅𝒙 − ( 𝒙) . 𝒅𝒙 = ∫ 𝒙𝟐 𝒅𝒙 − 𝒙𝟐 𝒅𝒙
𝟎 𝟐 𝟐 𝟐 𝟎 𝟐 𝟖
𝟐
𝟑 𝟐 𝒙𝟑 𝟐
= ∫ 𝒙 𝒅𝒙 = | = 𝟏
𝟎 𝟖 𝟖 𝟎
We can solve this problem but with finding it as a function of y only, i.e.
- 13 -
we have x=2 y, then dx = 2 dy and substitute in equation 1 again to have
𝟏
the integral 𝑾 = ∫𝟎 ( . . . . . ) 𝒅𝒚 . 𝑫𝒐 𝒊𝒕 𝒊𝒏 𝑯𝒐𝒎𝒆𝒘𝒐𝒓𝒌 question 9.
𝟏 𝟐 𝟐
𝟏 𝟐 𝟐 𝟏 𝟐
𝟏 𝟏 𝟓
𝑾 = ∫ 𝒙. 𝒙 𝒅𝒙 − ( 𝒙 ) . 𝒙 𝒅𝒙 = ∫ 𝒙𝟑 𝒅𝒙 − 𝒙 𝒅𝒙
𝟎 𝟒 𝟒 𝟐 𝟎 𝟒 𝟑𝟐
𝒙𝟒 𝒙𝟔 𝟐
=| − | = 𝟐/𝟑 |
𝟏𝟔 𝟏𝟗𝟐 𝟎
We can solve this problem but with finding it as a function of y only, i.e.
𝟏
the integral 𝑾 = ∫𝟎 ( . . . . . ) 𝒅𝒚 . 𝑫𝒐 𝒊𝒕 𝒊𝒏 𝑯𝒐𝒎𝒆𝒘𝒐𝒓𝒌 question 9.
b. then from (0,1) to (2,1) is a straight line parallel to the x - axis whose
𝟐
𝟏 𝟐 𝟐
𝑾𝟎,𝟏→𝟐,𝟏 = ∫ (𝒙. 𝟏. 𝒅𝒙. −𝟏𝟐 𝒅𝒙) = 𝒙 | =𝟐
𝒙=𝟎 𝟐 𝟎
𝟏 𝟓
𝑊 = 𝑾𝟎,𝟎→𝟎,𝟏 + 𝑾𝟎,𝟏→𝟐,𝟏 = − +𝟐=
𝟑 𝟐
- 14 -
Homework I
A 2 i 3 j 4k, B i 2 j k, and C 3i j 2k
7. Compute the divergence and the curl of each of the following vector fields:
1. r x i y j zk 2. r x iyj
3. V zi y j xk 4. V yi z j x k
5. V x 2 i y2 j z 2 k 6. V x 2 y i y2 x j x y z k
1. x 3 3 x y2 y3 2.
ln x 2 y 2
3. x 2 y2 4.
x y x 2 y2 5 z 2
9. Calculate the line integrals in the last example but using the substitution x instead y.