Vector Calculus
Vector Calculus
Vector Calculus
Gradient of Scalars Consider scalar field V and its change dV between two infinitesimal neighbouring points: V V V dV = dx + dy + dz x y z
V V V = ax + ay + a z ( dx a x + dy a y + dz a z ) . y z x
First bracketed factor is easily identified to be the gradient of V :
V =
V V V ax + ay + az x y z
Geometrically,
magnitude of the maximum rate of change of V per unit distance. If instead, the neighbouring points lie on the surface V = constant, then dV = 0 which occurs when = / 2 . Hence V is perpendicular to V = constant and V V = normal derivative of V . n Generalising,
Using earlier definitions of del operator and unit vectors for different coordinate system, we have
V 1 V V a + a + az z V 1 V 1 V V = ar + a + a r r r sin V =
Other properties are linearity
(V + U ) = V + U
and (variants of) Leibniz property
(VU ) = V U + U V U V V U V = U2 U V n = n V n1 V
; ; .
If a vector field A is in the form of a gradient i.e. A = V , then V is called the scalar potential of A . Example (Sadiku, partial Example 3.3): Find the gradient of scalar field W = 10 r sin 2 cos . Solution:
W =
W 1 W 1 W ar + a + a r r r sin
Example (Sadiku, Example 3.5): Find the angle of intersection between the line x = y = 2 z and the ellipsoid x 2 + y 2 + 2 z 2 = 10 . Solution: Note that the line will be parametrised by one parameter, say and thus the line given by
r ( ) = 2 a x + 2 a y + a z
Substituting this relation into equation of ellipse gives the intersecting point(s):
( 2 )
+ ( 2 ) + 2 2 = 10
2
= 1 .
r = 2 ax + 2 ay + az
( x, y, z)
= ( 2, 2,1) .
The other point is the inversion image about the origin. The equation of ellipsoidal surface can be written as
f ( x, y, z ) = x 2 + y 2 + 2 z 2 10
(equals zero). Its gradient is
f = 2x a x + 2 y a y + 4z a z
which should be normal to the ellipsoid.
an =
f f
=
( 2,2,1)
The angle it makes with line r ( 1) can be obtained using the dot product formula:
cos =
an r an r
5 3 3
which gives 15.79 . The angle required for the question is however the angle the line makes with tangent to the surface, which is
90 15.79 = 74.21 .
Note that there are other answers due to options of and the normal assignment.
Propose to define divergence of A at a point P is the outward flux per unit volume in zero volume limit around the point:
div A = A =
lim v 0
A dS v .
Consider
A x ( x, y, z ) = A x ( x0 , y0 , z0 ) + ( x x0 ) + ( z z0 ) A x z
P
A x x
P
+ ( y y0 )
A x y
P
dx A x A dS = dy dz A x ( x0 , y0 , z0 ) + + higher order terms . 2 x P front For the back side have x = x0 dx / 2 and dS = dy dz ( a x ) , thus dx A x A dS = dy dz A x ( x0 , y0 , z0 ) 2 x back Together, + higher order terms . P
front +back
A dS = dx dy dz
A x x
P
Similarly,
left +right
A dS = dx dy dz
A y y
P
top +bottom
A dS = dx dy dz
A z z
P
lim v 0
Thus,
A dS v
A y A z A = x + + . x y z P
A =
A x x
A y y
A z z
A =
A 1 1 A ( A ) + + zz
A =
Note that the divergence operates only on vector fields (dot product operation) and always give a scalar. The operation is distributive:
( A + B) = A + B ,
and also obeys a generalized Leibnitz rule:
(VA ) = V A + A V
Finally, by definition and summing over infinitesimal volumes, we have Divergence Theorem: The total outward flux of a vector field A through a closed surface S is the same as the volume integral of the divergence of A .
A dS =
A
v
dv
Example (Sadiku Example 3.7): If G ( r ) = 10 e 2 z ( a + a z ) , find flux of G out of cylinder = 1 , 0 z 1. Confirm result through divergence theorem.
Solution: For top end of cylinder, z = 1 and dS = d d a z . Flux through top end is
1 2 2 G dS = 0 010 e d d = 10 e 2 2 0 = 10 e . = = top
1
1 2 G dS = 0 0 10 e d d = 10 ( 2 ) 2 0 = 10 . = = bottom
1 0
curved
G dS =
z =0 =0
10 e
2 z
e 2 z (1) d dz = 10 ( 2 ) = 10 (1 e2 ) . 2 0
2
G dS = 10 e 2 + ( 10 ) + 10 (1 e 2 ) = 0 .
G dS
S
( G ) dv
v
but
G =
1 1 ( G ) + G + z Gz 1 = ( 210 e2 z ) 20 e2 z = 0 .
Thus,
( G ) dv
v
= 0 =
G dS
S
as required.