Gradient Div Curl
Gradient Div Curl
Gradient Div Curl
T x , y , z
One factor that has remained constant through all the twists and
turns of the history of physics is the decisive importance of the
mathematical imagination.
Freeman Dyson
4
f x xf x
df
f x=
= lim
d x x 0
x
'
Geometrical interpretation:
x0
Differential:
d f x
d f x=
dx
dx
Approximate change in
f x
x x
Partial derivatives:
f
x
x 0,
f x 0 x , y 0 f x 0 , y 0
= lim
x
x0
y
0
vary only x
x 0 x 0 x
value of
y= y 0
Partial derivative of
Partial
remains constant
f x , y w.r.t. x
6
Partial derivative of
f
y
x 0,
f x , y w.r.t. x
f x 0 , y 0 yf x 0 , y 0
= lim
y
y0
y
0
vary only y
y 0 y 0 y
value of
x=x 0
Partial derivative of
Partial
remains constant
f x , y w.r.t. y
7
f
=f x =?
x
1) Keep x as a variable and y as a constant
2) Treat the function as a single variable of x
3) Do the differentiation w.r.t. x
f
=f y =?
y
1) Keep y as a variable and x as a constant
2) Treat the function as a single variable of y
3) Do the differentiation w.r.t. x
f x , y =Z=9x y
Geometrical interpretation:
http://moodle.capilanou.ca/mod/book/view.php?id=328667&chapterid=1398
2
f x , y =Z=9x y
f x , 2=Z =9x 2
2
10
f x=Z=5x
f
x
=2xx=1=2
1,2
11
f 1, y=Z=8 y
g
y
1,2
=2yy=2=4
12
d f x
d f x=
dx
dx
f
f
df=
dx
dy
x
y
This way you can extend to any dimensions
13
14
f r r f r
df
= lim
d s s 0
s
f
= lim
s 0 s
s= r
s= x y z
df
ds
15
f
f
f
df=
dx
dy
dz
x
y
z
d r =[ ex dxey dy ez dz ]
ex , ey , ez
: Unit vectors
f
f
f
= ex
ey
ez
[ ex dx ey dyez dz ]
x
y
z
fd r
df =
16
fd r
df =
d r =[ ex dxey dy ez dz ]
f
f
f
f = ex
ey
ez
x
y
z
f f f
f= i
j
k
x
y
z
f= i
j
k
x
y
z
= i
j
k
x
y
z
18
= i
j
k
x
y
z
Example:
V
=
E
vector function
19
f x , y , z=r= x y z
f
f
f
f = ex
ey
ez
x
y
z
f
x
=
x x 2 y 2z 2
Similarly calculate other derivatives and put that in the expression
for gradient
x ex y ey z ez r
f=
=
=
r
2
2
2
x y z r
20
Gradient of a function
f x , y , z=r= x y z
2
x
Circles correspond to the contour. Notice that gradient direction
is normal to the contour line (circle)
21
fd r
df =
fd r cos
df =
d r =[ ex dxey dy ez dz ]
f
f
f
f = ex
ey
ez
x
y
z
ds=d r
fds cos
df =
df
fcos
=
ds
22
df
fcos
=
ds
df
= fu
ds
Component of
in the direction
u :
fd r cos
df =
23
df
fcos
=
ds
df
ds
maximum when
=0
d r
df
f
=
ds
=0
24
Magnitude of gradient: rate of change of the function along the maximal
direction
25
a
A
A
B
:
A : A
A : A
gradient
via the dot product DIVERGENCE
via the cross product CURL
26
f r r f r
df
= lim
d s s 0
s
df
= fu
ds
Gradient of a scalar function:
will give
A vector whose component along u
rate of change along that particular direction
27
f
f
f
f = ex
ey
ez
x
y
z
= i
j
k
x
y
z
28
29
Exercise 1:
Given function
f =x y z4xyz
ey 2 ez .
Exercise 1:
Temperature distribution is given by
2
T =x y xyz273
I) In which direction the temperature increasing most rapidly
At (-1, 2, 3)?
ii) What is the max. rate of increase at this point?
30
f x , y =z=x y
Paraboloid
x y
f x , y=z=
2
f =r
The minimum of
the function is
located
at the origin
Gradient graph: Minimum of f(x,y) corresponds to point where arrows are
pointing away
If we move along radial direction of f(x,y), you will see the maximum
rate of change (i.e. along the direction of gradient)
32
Level surface:
f x , y , z=const.
df =0
f
f
f
dx
dy
dz=0
x
y
z
fd r =0
33
Divergence
V x V y V z
V =
x
y
y
Divergence of radial vector
V x =V x x , y , z
V y =V y x , y , z
V z =V z x , y , z
r =3
=x x y y
F
F
=2
34
Positive divergence
Positive divergence
Zero divergence
Negative divergence
35
Positive divergence
(diverging)
Presence of Source
Negative divergence
(converging)
Presence of Sink
36
v x , y , z
x , y , z ,t
dV =dx dy dz
H
x D
C
x
J = v
z
F
E
2
[ J ]=ML T
37
=[ v y ] y x z
0
= [ v y ] y y x z
0
(other components
vx , vz
= [ v y ] y y [ v y ] y x z
0
[v ]
y y 0 y
[ v y ] y
xz y
38
[v ]
y y 0 y
[ v y ] y
[v ]
y y 0 y
[ v y ] y
[ J y ] y y [ J y ] y
[ J x ] x x [ J x ] x
0
[ J z ] z x [ J z ] z
z
x
0
xz y
V
39
[ J x ] x x [ J x ] x
0
[ J y ] y y [ J y ] y
0
x
y
[ J z ] z y [ J z ] z
V
z
0
[ J x ] x x [ J x ] x
0
[ J y ] y y [ J y ] y
0
[ J z ] z y [ J z ] z
0
y
0
40
z0
x0 y0
z
B
H
x D
C
x
reduces to a POINT
F
y
V
=
[ J x ] x x [ J x ] x
0
[ J y ] y y [ J y ] y
0
x
y
[ J z ] z y [ J z ] z
V
z
0
41
lim x 0
[ J x ] x x [ J x ] x
0
Jx
=
x
Jx J y Jz
=
x y
z
J
=
DIVERGENCE: Net outward flow per unit volume evaluated
at a point
42
THE CURL
x , y , z =V x ex V y ey V z ez
V
V x =V x x , y , z
V y =V y x , y , z
V =
x
Vx
y
Vy
z
Vz
V z =V z x , y , z
f V =f
V
f V
43
v = x ex y ey
v =0
v = y ex x ey
v =2 e
z
44
45
Show that
f V =f
V
f V
r f r=f r r[
f r ]r
r=
x
x
y
y
=0
z
z
We get
f rr =
r r =0
r
r f r =0
46