Week 03
Week 03
2
Height
Y 0
-2
-4
-4 -2 0 2 4
X
𝐴 𝑟 = ∇g 𝑟
𝐴 𝑟 = ∇g 𝑟
This is likewise true for any scalar field. The gradient of a scalar field
produces a vector field indicating the direction of greatest change (i.e.,
largest derivative) as well as the magnitude of that change, at every
point in space.
The Gradient Operator in Coordinate Systems
• For the Cartesian coordinate system,
g (r ) g (r ) g (r )
the Gradient of a scalar field is g (r ) aˆ x aˆ y aˆ z
x y z
expressed as:
• Now let’s consider the gradient operator in the other coordinate systems.
• Pfft! This is easy! The gradient g (r ) g (r ) g (r )
operator in the spherical coordinate g ( r ) ˆ
a ˆ
a aˆ
r
r
system is:
Right ??
NO!! The above equation is not correct!
• Instead, for spherical
coordinates, the gradient is g (r ) g (r ) aˆ 1 g (r ) aˆ 1 g (r ) aˆ
r r r sin
r
expressed as:
C (r ).dl C (r ).dl
C1 C2 PB
C (r ).dl g (r ).dl
C C
g r rB g r rA 0
where A(r ) x 2 y 2 z
PB
and contour C is:
PA
C
• The beginning of contour C is the point denoted as: rA 3aˆ x aˆ y 4aˆ z
• while the end point is denoted with position vector: rB 3aˆ x 2aˆ z
Note that ordinarily, this would be an impossible
problem for us to do!
Example – 1 (contd.)
• we note that vector field 𝐴 𝑟 is conservative, therefore:
Therefore:
g r rB (3)2 (0)2 2 18 18 40 58
The Divergence of a Vector Field
A(r ).ds
• The mathematical definition of divergence is: . A(r ) lim S
v 0 v
where the surface S is a closed surface that completely surrounds
a very small volume Δv at point 𝑟, and 𝑑𝑠 points outward from the
closed surface.
• The divergence indicates the amount of vector field 𝐴 𝑟 that is
converging to, or diverging from, a given point.
• For example, consider the vector fields in the region of a specific
point:
∆𝑣 ∆𝑣
∇.𝐴(𝑟) = 0 ∇.𝐴(𝑟) = 0
For these vector fields, the surface integral is zero. Over some portions of the
surface, the component is positive, whereas on other portions, the
component is negative. However, integration over the entire surface is equal
to zero—the divergence of the vector field for this region is zero.
The Divergence of a Vector Field (contd.)
• The divergence of a vector • For example, consider the following
field results in a scalar field 2-D vector field 𝐴 𝑥, 𝑦 plotted on
(divergence) that is positive in the x-y plane:
some regions in space,
negative in other regions, and
zero elsewhere.
• For most physical problems,
the divergence of a vector
field provides a scalar field
that represents the sources of
the vector field.
Both plots indicate that the divergence is largest in the vicinity of point
x=-1, y=1. However, notice that the value of g(x,y) is non-zero (both
positive and negative) for most points (x,y).
The Divergence of a Vector Field (contd.)
• Consider now this vector field: • The divergence of this vector
field is the scalar field.
The Divergence of a Vector Field (contd.)
• Combining the vector field and
scalar field plots, we can examine
the relationship between each.
• Look closely! Although the
relationship between the scalar
field and the vector field may
appear at first to be the same as
with the gradient operator, the
two relationships are very
different.
Remember:
• gradient produces a vector field that indicates the change in the original
scalar field, whereas:
• divergence produces a scalar field that indicates some change (i.e.,
divergence or convergence) of the original vector field.
The Divergence of a Vector Field (contd.)
• The divergence of this vector field is interesting—it steadily increases as we
move away from the y-axis.
F (r ) xaˆ x
The Divergence of a Vector Field (contd.)
• Yet, the divergence of this vector field produces a scalar field equal to
one—everywhere (i.e., a constant scalar field)!
.F x 0 1
x y HA #1: Part-1
The Divergence of a Vector Field (contd.)
• Likewise, note the divergence of the following vector fields—it is zero at
all points (x, y);
F yaˆ x xaˆ y
.F y x 0
x y
HA #1: Part-2
1 r Ar r 1 sin A r 1 A r
2
Spherical . A(r ) 2
r
r r sin r sin
• In other words, if the vector field is diverging from some point in the volume, it
must simultaneously be converging to another adjacent point within the volume—
the net effect is therefore zero!
• Thus, the only values that make any difference in the volume integral are the
divergence or convergence of the vector field across the surface surrounding the
volume—vectors that will be converging or diverging to adjacent points outside
the volume (across the surface) from points inside the volume. Since these points
just outside the volume are not included in the integration, their net effect is non-
zero!
The Curl of a Vector Field
Say ∇ × 𝐴 𝑟 = 𝐵(𝑟). The mathematical definition of Curl is given as:
𝐵𝑖 > 0 𝐵𝑖 < 0
The Curl of a Vector Field (contd.)
• following vector fields will result in a curl with zero value at point 𝑟:
𝐵𝑖 = 0
𝐵𝑖 = 0
• Generally, the curl of a vector field result in another vector field whose
magnitude is positive in some regions of space, negative in other regions,
and zero elsewhere.
• For most physical problems, the curl of a vector field provides another
vector field that indicates rotational sources (i.e., “paddle wheels” ) of the
original vector field.
The Curl of a Vector Field (contd.)
• For example, consider this vector field 𝐴 𝑟 :
x
The Curl of a Vector Field (contd.)
• If we take the curl of 𝐴 𝑟 , we get a vector field which points in the
direction 𝑎𝑧 at all points (x, y). The scalar component of this resulting
vector field (i.e., 𝐵𝑧(𝑟)) is:
x
The Curl of a Vector Field (contd.)
x
The Curl of a Vector Field (contd.)
• The relationship between the original vector field 𝐴 𝑟 and its resulting
curl perhaps is best shown when plotting both together:
x
Curl in Coordinate Systems
• Consider now the curl of vector fields expressed using our coordinate
systems.
Ay (r ) Az (r ) Az (r ) Ax (r ) Ax (r ) Ay (r )
A(r ) aˆ x aˆ y aˆ z
z y x z y x
1 1 A (r ) 1 Ar (r ) 1
A(r ) sin A (r ) ˆ
a rA ( r ) aˆ
r sin r sin r sin r r
r
1 1 A (r )
rA (r ) r aˆ
r r r
Therefore, integrating the curl of any vector field over a closed surface
always equals zero.
The Curl of Conservative Fields
• Recall that every conservative field can be written as the C (r ) g (r )
gradient of some scalar field:
• Consider now the curl of a conservative field: C (r ) g (r )
• Recall that if 𝐶 (𝑟) is expressed using the Cartesian coordinate system, the
curl of 𝐶 (𝑟) is:
Cz C y Cx Cz C y Cx
C (r ) aˆ x aˆ y aˆ z
y z z x x y
C C C C C C
• Likewise, the gradient of 𝑔(𝑟) is: C (r ) z y aˆ x x z aˆ y y x aˆ z
y z z x x y
Therefore: g (r ) g (r ) g (r )
Cx (r ) C y (r ) Cz (r )
x y z
• Combining these two results:
2 g (r ) 2 g (r ) 2 g (r ) 2 g (r ) 2 g (r ) 2 g (r )
g ( r ) C ( r ) aˆ x aˆ y aˆ z
yz zy zx xz xy yx
The Curl of Conservative Fields (contd.)
2 g (r ) 2 g (r )
• We know:
yz zy
HA #1: Part-4
U V U V UV U V V U V n nV n1V
. U1 U 2 .U1 .U 2
A B A B
. A 0 V 0
Miscellaneous
• Let us consider the generic Maxwell’s equations:
B D
.D v E .B 0 H J
t t
• 𝐸 and 𝐷 are the electric field intensity and electric flux density
respectively
• 𝐵 and 𝐻 are the magnetic field intensity and magnetic flux density
respectively
• Under static conditions, none of the quantities appearing above are
𝜕
functions of time (i.e., = 0) → this happens when all charges are
𝜕𝑡
permanently fixed in space, or, if they move, they do so at steady rate so
that ρv and 𝐽 are constant in time.
• Under the static conditions we get:
.D v E 0 .B 0 H J
Miscellaneous (contd.)
.D v E 0 .B 0 H J