Chapter 1 _ Review of Vector Calculus
Chapter 1 _ Review of Vector Calculus
Chapter 1 _ Review of Vector Calculus
We represent a vector by a letter with an arrow on top of it, such as and , or by a letter in
displacement, and electric field intensity.
direction is along A, that is,
a = =
| | A
⤿ Thus, we may write A as = Aa , which completely specifies A in terms of its
magnitude A and its direction a . A vector A in Cartesian (or rectangular) coordinates
(A , A , A ) or A + A + A
may be represented as
Figure 1.1 (a) Unit vectors , ,(b) components of A along , .
where A , A A are called the components of A in the x, y, and z directions respectively;
, , are unit vectors in the x, y, and z directions, respectively. For example, is a
⤿ The unit vectors , are illustrated in Figure 1.1 (a), and the components of A
dimensionless vector of magnitude one in the direction of the increase of the x-axis.
=
+ +
The cross product of two vectors A & B is given by
C C C
. (+) = 0A+ A1 A2 0
B+ B1 B2
D. Vector Triple Product (VTP)
For vectors A, B & C, we define the vector triple product as follows by using the "bac-cab" rule.
Page | 3
called the azimuthal angle & is measured from the x-axis in the xy-plane (CCW); and z is
the same as in the Cartesian system.
√ The ranges of the variables are given below
(a) (b)
Figure 1.3 Point P and unit vectors (a) in the 3CS (b) in spherical coordinate systems.
√ A vector A in 3CS can be written as
√ The relationships between the variables (x, y, z) of the 2CS and those of the 3CS ( ρ , φ , z )
as derived from Figure 1.4 are
This is called transforming a point from Cartesian (x, y, z) to cylindrical ( ρ , φ , z ) co-ordinates, and
( ρ , φ , z ) → ( x , y , z ) transformation respectively.
√ The relationships between the unit vectors are obtained geometrically from Figure 1.5
Page | 4
(a) (b)
Figure 1.4 Relationship between
(a) (x, y, z) and ( ρ , φ , z ) (b) (x, y, z) , ( ρ , φ , z ) and (r,Ѳ,Ф)
Page | 5
1.5.3 Spherical Co-ordinate System (Scs)
The above point transformations are from Cartesian (x, y, z) to spherical (r,Ѳ,Ф)co-
ordinates, and ( r , θ , φ ) → ( x , y , z ) transformation respectively.
The unit vectors relationship is given by
Page | 6
In matrix form, the ( A x , A y , A z ) → ( A r , A θ , A φ ) vector transformation and the
inverse transformation ( A x , A y , A z ) → ( A r , A θ , A φ ) are performed according to the
following respectively as
And
NB: in point or vector transformation, the point or vector has not changed; it is only expressed
differently. Thus, for example, the magnitude of a vector will remain the same after the
transformation and this may serve as a way of checking the result of the transformation.
The distance between two points is usually necessary in EM theory. The distance d between two
points with position vectors r1 and r2 is generally given by
EXAMPLE 2.1:
Given point P (-2, 6, 3) and vector A = yax + (x + z)ay,
(i). Express both P and A in 3CS and SCS.
(ii). Evaluate A at P in the 2CS, 3CS and SCS.
Page | 7
In the 2CS, A at P is A = 6ax + ay
= 0
Page | 8
But + = $ ,!#∅, 1 = $ , ∅ & 2 = $!#,. Substituting these yields
Note that |A| is the same in the three systems; that is,
Exercise:
(1) Transform the point P (0,−4,3) from 2CS to 3CS and SCS.
(2)Transform the Q vector to 3CS and SCS.
(3) Evaluate Q at the point P (0,−4,3) in the three coordinate systems.
(4)
Page | 9
1.6 Constant Co-ordinate Surfaces
Surfaces in 2CS, 3CS and SCS are easily generated by keeping one of the coordinate variables
constant and allowing the other two to vary.
In 2CS, if we keep x constant and allow y and z to vary, an infinite plane is generated. Thus,
we could have infinite planes x=constant, y=constant, z=constant which are perpendicular to
the x-, y-, and z-axes, respectively, as shown in Fig 1.6a below.
The intersection of two planes is a line. For example, x = constant, y = constant is the line
RPQ parallel to the z-axis. The intersection of three planes is a point. For example, x =
constant, y = constant, z = constant is the point P(x, y, z). Thus, we may define point P as the
intersection of three orthogonal infinite planes.
If P is (1, -5, 3), then P is the intersection of planes x = 1, y = - 5 and z=3.
The surfaces < = !#%%, φ =constant, z = constant are illustrated in Figure 1.6b below,
Orthogonal surfaces in 3CS can likewise be generated.
where < = !#%% is a circular cylinder, φ =constant is a semiinfinite plane with its edge
Where two surfaces meet is either a line or a circle. Thus, z = constant, < = !#%% is a
along the z-axis, and z = constant is the same infinite plane as in a Cartesian system.
intersection of the three surfaces. Thus, < = 2, φ = 60°, z = 5 is the point P (2, 60°, 5).
circle QPR of radius p, whereas z = constant, φ =constant is a semiinfinite line. A point is an
The orthogonal nature of the SCS is evident by considering the three surfaces r = constant, θ
= constant, φ = constant which are shown in Figure 1.6c below, where we notice that
r=constant is a sphere with its center at the origin; Ѳ= constant is a circular cone with the z-
axis as its axis and the origin as its vertex; Ф= constant is the semiinfinite plane as in a
cylindrical system. A line is formed by the intersection of two surfaces.
Fig 1.6a: Constant x, y, and z surfaces Fig 1.6b: Constant p, φ , and z surfaces
Page | 10
Fig 1.6c: Constant r, Ѳ, Ф surfaces
In Summary;
In all 2CS, 3CS and SCS;
If three of the space variables vary, we get volume structure. i.e (3D)
If two vary but one kept constant, we get surface (plane). i.e (2D)
If only one vary but two of them are constants, we get line or circle. i.e (1D)
If none of them vary but all kept constants, we get point. i.e (no dimension)
eg: r = constant, Ѳ = constant is a semicircle passing through Q and P.
The intersection of three surfaces gives a point.
Also, a unit normal vector to the surface n = constant is ± an, where n is x, y, z, ⍴, Ф, r, or Ѳ.
eg: to plane y = 5 and to plane Ѳ = 20°, a unit normal vectors are ±ay and ±aѲ resp.
A. Cartesian Coordinates(2CS):
Differential displacement is given by
dl = dx ax + dy ay + dz az
Differential normal area is given by (3 positive & 6 total options)
⤿ Given a vector field A continuous in a region containing the smooth surface S, we define the
Ψ = ∬||!#, ] = ∬ :. ^ ] ⟹ Ψ = ∬ . ]
surface integral or the flux of A through S (see Figure (b)below) as
⤿ For a closed surface (defining a volume), the surface integral becomes ∮ : . ] which is
where, at any point on S, an is the unit normal to S.
⤿ We define the integral V <` a as the volume integral of the scalar <v over the volume v.
⤿ NB: a closed path defines an open surface whereas a closed surface defines a volume.
Page | 12
(a) (b)
Example: Given that F=x2ax –xz ay –y2 az, calculate the circulation of F around the (closed) path
shown in Figure below.
Solution:
The circulation of F around path L is given by ∮d b. W = (Vc + V + Ve + Vf ) b. W
where the path is broken into segments numbered 1 to 4 as shown in the Figure.
For segment 1, y= 0 = z
Notice that dl is always taken as along +ax so that the direction on segment 1 is taken care of by
the limits of integration. Thus,
Page | 13
By putting all these together, we obtain
d
1 2 5 1
g b. W = − + 0 − + = −
d 3 3 6 6
l l l
In Cartesian coordinates,
∇= + +
l+ l1 l2
In cylindrical coordinates,
l 1 l l
∇= > + ∅ +
l< < l∅ l2
In spherical coordinates,
l 1 l 1 l
∇= ? + @ +
l$ $ l, $ , l∅ ∅
Page | 14
1.10 GRADIENT OF A SCALAR(hV)
⤿ The gradient of a scalar field V is a vector that represents both the magnitude and the
direction of the maximum space rate of increase of V.
lj lj lj
⤿ For Cartesian co-ordinates (2CS):
∇V = + +
l+ l1 l2
lj 1 lj lj
⤿ For Cylindrical co-ordinates (3CS):
∇V = > + ∅ +
l< < l∅ l2
⤿ For Spherical co-ordinates (SCS):
lj 1 lj 1 lj
∇= ? + @ +
l$ $ l, $ , l∅ ∅
⤿ For U and V are scalars and n is an integer, the following formulas on gradient are true
(a) j = " N 2+ !#ℎ1 (b) n = < 2 !#2∅ (c) o = 10$ , !#∅
Example: Find the gradient of the following scalar fields:
Page | 15
1.11 DIVERGENCE OF A VECTOR AND DIVERGENC THEOREM
The outward flux per unit volume as the volume shrinks about P.
A measure of how much the field diverges or emanates from that point.
The limit of the field's source strength per unit volume (or source density); it is positive at a
source point in the field, and negative at a sink point, or zero where there is neither sink nor
source.
Hence,
Figure: Illustration of the divergence of a vector field at P; (a) positive divergence, (b) negative
divergence, (c) zero divergence.
l l l
The divergence of A in the Cartesian, cylindrical & spherical coordinates is given respectively
∇. = + +
l+ l1 l2
∯ :. ] = ∭` h. : a ≡≡ ∮t :. ] = V` h. :a
From the definition of the divergence of A, we expect that
This is called the divergence theorem, otherwise known as the Gauss-Ostrogradsky theorem.
The divergence theorem states that the total out ward flux of a vector field A through the closed
surface S is the same as the volume integral of the divergence of A.
Since volume integrals are easier to evaluate than surface integrals, to determine the flux of A
through a closed surface, it is better to use the volume integral than the surface integral.
Page | 17
1.12 CURL OF A VECTOR AND STOKES'S THEOREM
We defined the circulation of a vector field A around a closed path L as the integral ∮d ⋅ y.
The curl of A is an axial (or rotational) vector whose magnitude is the maximum circulation of A per
unit area as the area tends to zero and whose direction is the normal direction of the area when the
area is oriented so as to make the circulation maximum. That is
and is determined using the right-hand rule. To obtain an expression for ∇+ from the above
where the area ∆S is bounded by the curve L and an is the unit vector normal to the surface ∆S
definition, consider the differential area in the yz-plane as shown in the following Figure.
Figure: Contour used in evaluating the x-component of ∇+ at point P(x0, y0, z0).
We expand the field components in a Taylor series expansion about the center point P(xo, yo, zo)
Page | 18
In general, the curl of A in cylindrical coordinates is given below
Figure: Illustration of a curl: (a) curl at P points out of the page; (b) curl at P is zero.
Page | 19
Also, from the definition of the curl of A, we say the following relationship which is called Stokes's
theorem.
g ⋅ y = z(h × ) ⋅ |
d t
surface integral of the curl of A over the open surface S bounded by provided that A and ∇x: are
Stokes's theorem states that the circulation of a vector field A around a (closed) path is equal to the
continuous on S.
Note that whereas the divergence theorem relates a surface integral to a volume integral,
Stokes's theorem relates a line integral (circulation) to a surface integral.
Example1: Determine the curl of the vector fields:
Example2:
Page | 20
Page | 21
1.13 LAPLACIAN OF A SCALAR(h j)
A scalar field V is said to be harmonic in a given region if its Laplacian vanishes in that region. In
other words, if ∇ 2 V = 0 is satisfied in the region. The solution for V is harmonic (it is of the form of
sine or cosine). This equation is called Laplace's equation.
Page | 22
Example: Find the Laplacian of the scalar fields
But the Laplacian of a vector field A, written as ∇ : is defined as the gradient of the
∇ : = h(h. :) − h~(h~:)
divergence of A minus the curl of the curl of A. i.e
Page | 23
1.14 CLASSIFICATION OF VECTOR FIELDS
A vector field is uniquely characterized by its divergence and curl. Neither the divergence nor
curl of a vector field is sufficient to completely describe the field. All vector fields can be classified
in terms of their vanishing or nonvanishing divergence or curl as follows:
A vector field A is said to be solenoidal (or divergenceless) if h. = 0. Such a field has neither
source nor sink of flux. Hence, flux lines of A entering any closed surface must also leave it.
Examples of solenoidal fields are incompressible fluids, magnetic fields, and conduction current
density under steady state conditions, according to divergence theorem which is restated below
⋅ | = (h ⋅ ) j = 0
t
The divergence of a curl of A is zero. i.e ∇. (∇+:) = 0 for any vector A. Thus, a solenoidal field A
can always be expressed in terms of another vector F; that is,
Page | 24
A vector field A is said to be irrotational (or potential) if ∇x = 0.That is, a curl-free vector
is irrotational. From Stokes's theorem,
In general, the curl of gradient of V (for any scalar V) is purely irrotational since ∇+ (∇j ) = 0.
Examples of irrotational fields include the electrostatic field and the gravitational field.
Thus, an irrotational field A can always be expressed in terms of a scalar field V; that is
For this reason, A may be called a potential field and V the scalar potential of A.
A vector A is uniquely prescribed within a region by its divergence and its curl. If we let
ρV can be regarded as the source density of A and ρ S its circulation density. Any vector A
satisfying the above equation with both ρV and ρ S vanishing at infinity can be written as the sum
of two vectors: one irrotational (zero curl), the other solenoidal (zero divergence). This is called
Helmholtz 's theorem. Thus, we may write
Page | 25