Professional Documents
Culture Documents
&
Vector Calculus
By:
Hanish Garg
12105017
ECE Branch
PEC University of Technology
Coordinate Systems
• Cartesian or Rectangular Coordinate System
x P(x,y,z)
y
y
z
x
A vector A in Cartesian coordinates can be written as
( Ax , Ay , Az ) or Ax a x Ay a y Az a z
where ax,ay and az are unit vectors along x, y and z-directions.
Cylindrical Coordinates
z
P (ρ, Φ, z)
0
z
P(ρ, Φ, z)
0 2
z x Φ
ρ y
( A , A , Az ) or A a A a Az a z
where aρ,aΦ and az are unit vectors along ρ, Φ and z-directions.
x= ρ cos Φ, y=ρ sin Φ, z=z
y
x y , tan
2 2 1
,z z
x
The relationships between (ax,ay, az) and (aρ,aΦ, az)are
A cos sin 0 Ax
A sin cos 0 Ay
Az 0 0 1 Az
Spherical Coordinates
z
P (r, θ, Φ) 0r P(r, θ, Φ)
θ r
0
0 2 x Φ
y
x2 y2 1 y
r x 2 y 2 z 2 , tan 1 , tan
z x
The relationships between (ax,ay, az) and (ar,aθ,aΦ)are
ax sin cos ar cos cos a sin a
a y sin sin ar cos sin a cos a
az cos ar sin a
or
ar sin cos a x sin sin a y cos a z
a cos cos a x cos sin a y sin a z
a sin a x cos a y
Then the relationships between (Ax,Ay, Az) and (Ar, Aθ,and AΦ)are
A ( Ax sin cos Ay sin sin Az cos )ar
( Ax cos cos Ay cos sin Az sin )a
( Ax sin Ay cos )a
Ar Ax sin cos Ay sin sin Az cos
A Ax cos cos Ay cos sin Az sin
A Ax sin Ay cos
In matrix form we can write
y x
x Φ
z
P(ρ, Φ, z)
r y
x Φ
Differential Length, Area and Volume
Cartesian Coordinates
Differential displacement
dl dxax dya y dza z
Differential area
ρ ρ
ρ ρ
ρ ρρ
ρ ρ
Differential Length, Area and Volume
Cylindrical Coordinates
Differential displacement
dl da da dza z
Differential area
Differential Volume
dV dddz
Spherical Coordinates
Differential Length, Area and Volume
Spherical Coordinates
Differential displacement
dl drar rda r sin da
Differential area
dS r sin ddar r sin drda rdrda
2
Differential Volume
dV r sin drdd
2
Line, Surface and Volume Integrals
Line Integral
A.dl
L
Volume Integral p dv
V
v
The Del Operator
1
Cylindrical Coordinates a a a z
z
1 1
Spherical Coordinates ar a a
r r r sin
VECTOR CALCULUS
GRADIENT OF A SCALAR
DIVERGENCE OF A VECTOR
DIVERGENCE THEOREM
CURL OF A VECTOR
STOKES’S THEOREM
GRADIENT OF A SCALAR
Suppose T1 x, y, z is the temperature at P1 x, y, z ,
and T2 x dx, y dy , z dz is the temperature at P2
as shown.
GRADIENT OF A SCALAR (Cont’d)
But, dx dL a x
dy dL a y
dz dL a z
So, previous equation can be rewritten as:
T T T
dT a x dL a y dL a z dL
x y z
T T T
a x ay a z dL
x y z
GRADIENT OF A SCALAR (Cont’d)
V V V
V ax ay az
x y z
GRADIENT OF A SCALAR (Cont’d)
(b) U z cos 2
2
V V V
V ax ay az
x y z
2e z cos 2 x cosh ya x e z sin 2 x sinh ya y
e z sin 2 x cosh ya z
SOLUTION TO EXAMPLE (Cont’d)
U 1 U U
U a a az
z
2 z cos 2a 2 z sin 2a
2 cos 2a z
SOLUTION TO EXAMPLE (Cont’d)
W 1 W 1 W
W ar a a
r r r sin
10 sin 2 cosa r 10 sin 2 cosa
10 sin sin a
DIVERGENCE OF A VECTOR
A dS
div A A lim s
v 0 v
DIVERGENCE OF A VECTOR (Cont’d)
Where,
A dS
A dS
s front back left right top bottom
And, v is volume enclosed by surface S
DIVERGENCE OF A VECTOR (Cont’d)
1 1 A Az
A
A
z
DIVERGENCE OF A VECTOR (Cont’d)
1 A sin
1 2
A 2
r r
r Ar
r sin
1 A
r sin
EXAMPLE
x
2
x yz 0 xz
y z
2 xyz x
39
SOLUTION TO EXAMPLE (Cont’d)
1 2
sin
1 2
z z cos
z
2 sin cos
SOLUTION TO EXAMPLE (Cont’d)
1 W sin
W 2
1 2
r r
r Wr r sin
1 W
r sin
1
2 cos
r r
1
r sin
r sin 2 cos
1
cos
r sin
2 cos cos
DIVERGENCE THEOREM
A dS AdV
V V
EXAMPLE
A vector field D 3a exists in the region
between two concentric cylindrical surfaces
defined by ρ = 1 and ρ = 2, with both cylinders
extending between z = 0 and z = 5. Verify the
divergence theorem by evaluating:
(a) D ds
S
(b) DdV
V
SOLUTION TO EXAMPLE
Therefore
D dS 10 160 0 0
S
150
SOLUTION TO EXAMPLE (Cont’d)
D
1
3 4 2
5 2 2
DdV dddz
2
So, 4
z 0 0 1
2
5
4 2
150
r 1 0 z 0
CURL OF A VECTOR
A dl
Curl A A lim s a n max
s 0 s
Where,
A dl A dl
s ab bc cd da
CURL OF A VECTOR (Cont’d)
1 1
cos2 r sin sin ar 0 cos a
r sin r
1 sin
2r sin cos 2 a
r r
cos 2 cos
sin a r a
r sin r
1
2 cos 3 sin a
r
STOKE’S THEOREM
A dl A dS
L S
STOKE’S THEOREM (Cont’d)
EXAMPLE
Stoke’s Theorem,
A dl A dS
L S
Evaluate right side to get left side,
where, dS dda z and
1
A 1 sin a z
SOLUTION TO EXAMPLE (Cont’d)
60 0 5
1
A dS 1 sin dda z
S 30 0 2
4.941
EXAMPLE
(a) To find B dL
B dL B dL B dL B dL
L1 L2 L3
Where,
2 0
So B dL cosd sin d
L1 0 0, z 0 0 z 0
2
1 2
02
2 0
2
cosd sin d
B d L
L2 2 z 0 0 2, z 0
0 2 cos 0
4
SOLUTION TO EXAMPLE (Cont’d)
0
B dL cosd sin d
L3 2 0, z 0 z 0
0
1 2
02
2 r 2
B dL 2 4 2 8
SOLUTION TO EXAMPLE (Cont’d)
(b) To find B dS
B cosa sin a
1
0 sin a cos 0a
z z
1
sin cos a z
1
0 a 0 a sin sin a z
1
sin 1 a z
SOLUTION TO EXAMPLE (Cont’d)
Therefore
2
1
B dS sin 1 a z dda z
0 0
2
sin 1dd
0 0
2
cos 2
1
8
2
0
0
LAPLACIAN OF A SCALAR
2V V
V V V
ax a y az ax ay az
x y z x y z
LAPLACIAN OF A SCALAR (Cont’d)
V V V
2 2 2
V 2 2 2
2
x y z
For Circular cylindrical coordinate:
1 V 1 V 2
V
2
V
2
2
z 2
LAPLACIAN OF A SCALAR (Cont’d)
1 2 V 1 V
V 2 r 2 sin
2
r r r r sin
1 V2
2 2
r sin 2
EXAMPLE
z
(a) V 2e sin 2 x cosh y
2
(b) U 0
2
10 cos
(c) W
2
1 2 cos2
r
Thank You !!!