Vector
Vector
Figure 1.1 (a) Unit vectors a x , a y ∧az ,(b) components of A along a x , a y ∧az .
A vector field is said to be constant or uniform if it does not depend on space variables x, y, and z.
For example, vector B = 3ax-2ay + 10az is a uniform vector while vector A =2xyax-3zay + 10xyzaz is
not uniform because B is the same everywhere whereas A varies from point to point.
A.B=ABcosѲAB=AxBx+ AyBy+AzBz
Two vectors A and B are said to be orthogonal (or perpendicular) with each other if A•B = 0.
NB: The scalar product obeys the following:
B. Cross Product(CP)
The cross product of two vectors A & B is given by
The vector component AB of A along B is simply the scalar component multiplied by a unit vector
along B; that is,
NB: vector A can be resolved into two orthogonal components: one component AB parallel to B,
another (A -AB) perpendicular to B
Figure 1.10 Components of A along B: (a) scalar component AB, (b) vector component AB.
Page | 3
1.5 CO-ORDINATE SYSTEMS AND TRANSFORMATION
A point or vector can be represented in any curvilinear coordinate system, which may be
orthogonal or non-orthogonal. An orthogonal system is one in which the coordinates are
mutually perpendicular. Examples of orthogonal coordinate systems include the Cartesian (or
rectangular), the circular cylindrical, the spherical, the elliptic cylindrical, the parabolic
cylindrical, the conical, the prolate spheroidal, the oblate spheroidal, and the ellipsoidal. In this
course, we shall only consider the three best-known coordinate systems: the Cartesian, the
circular cylindrical, and the spherical.
(a) (b)
Figure 2.1 Point P and unit vectors (a) in the 3CS (b) in spherical coordinate systems.
Page | 4
where a⍴, aФ and az are unit vectors along ρ− ,φ− and z− directions.
.
NB: unit vectors a⍴, aФ and az are mutually perpendicular because our coordinate system is
orthogonal; a⍴ points in the direction of increasing ρ , aФ in the direction of increasing φ , and az
in the positive z-direction. Thus,
The relationships between the variables (x, y, z) of the 2CS and those of the 3CS ( ρ , φ , z ) are easily
obtained from Figure 2.2
This is called transforming a point from Cartesian (x, y, z) to cylindrical ( ρ , φ , z ) coordinates, and
( ρ , φ , z )→( x , y , z ) transformation respectively.
The relationships between (⍴, Ф, z) and (x, y, z) are obtained geometrically from Figure 2.3:
Finally, the relationships between (Ax, Ay, Az) and (A⍴, AФ, Az) are obtained by
Page | 5
(a) (b)
Figure 2.2 Relationship between
(a) (x, y, z) and ( ρ , φ , z ) (b) (x, y, z) ,( ρ , φ , z ) and (r,Ѳ,Ф)
An alternative way of obtaining the above relationship is using the dot product. For example:
Page | 6
1.5.3 SPHERICAL CO-ORDINATE SYSTEM (SCS)
The SCS is most appropriate when dealing with problems having a degree of spherical symmetry.
A point P can be represented as (r, Ѳ, Ф) and is illustrated in Figure 2.1(b). We notice that r is
defined as the distance from the origin to point P or the radius of a sphere centered at the origin
and passing through P; Ѳ (called the colatitude) is the angle between the z-axis and the position
vector of P; and Ф is measured from the x-axis (the same azimuthal angle as in 3CS). According to
these definitions, the ranges of the variables are
.
where ar, aѲ and aФ are unit vectors along r-,Ѳ-and Ф-directions.
Notice that the unit vectors ar ,aѲ and aФ are mutually perpendicular because our coordinate
system is orthogonal; ar points in the direction of increasing r , aѲ in the direction of increasing
Ѳ, and aФ in the positive Ф-direction.
Thus,
The space variables (x, y, z) in 2CS can be related to variables (r, Ѳ, Ф) of a SCS. From Figure 2.5 it
is easy to notice that
The above point transformations are from Cartesian (x, y, z) to spherical (r,Ѳ,Ф)coordinates, and
( r , θ , φ)→( x , y , z ) transformation respectively.
The Cartesian and spherical co-ordinates unit vectors’ relationship is given by
The components of vector A=( A x , A y , A z ) and A=( Ar , A θ , A φ ) are related to each other as
follows:
Page | 7
By collecting like terms,
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
Page | 8
Or
EXAMPLE 2.1: Given point P (-2, 6, 3) and vector A = yax + (x + z)ay, express both P and A in 3CS
and SCS. Evaluate A at P in the 2CS, 3CS and SCS.
Page | 9
Similarly, in the SCS,
Note that |A| is the same in the three systems; that is,
Page | 10
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 | 11
Where two surfaces meet is either a line or a circle. Thus, z = constant, ⍴ = constant is a circle QPR
of radius p, whereas z = constant, φ =constant is a semiinfinite line. A point is an intersection of
the three surfaces. Thus, ⍴ = 2, φ = 60°, z = 5 is the point P (2, 60°, 5).
The orthogonal nature of the SCS is evident by considering the three surfaces r = constant, θ =
constant, φ = constant which are shown in Figure 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.
For example: r = constant, Ѳ = constant is a semicircle passing through Q and P. The intersection
of three surfaces gives a point.
Page | 12
Thus, r = 5, Ѳ= 30°, Ф= 60° is the point P(5, 30°, 60°). We notice that in general, a point in three-
dimensional space can be identified as the intersection of three mutually orthogonal surfaces.
Also, a unit normal vector to the surface n = constant is ± an, where n is x, y, z, ⍴, Ф, r, or Ѳ.
Example: to plane y = 5 and to plane Ѳ = 20°, a unit normal vectors are ±ay and ±aѲ respectively.
Example1: Two uniform vector fields are given by E=-5a⍴ +10aФ+3az and F= a⍴ +2aФ-6az.
Calculate: (a) |ExF|
(b) the vector component of E at P(5, π/2,3) parallel to the line x=2, z=3.
(c) the angle E makes with the surface z=3 at P.
(c) The z-axis is normal to the surface z = 3, the angle between the z-axis and E can be found
using the dot product:
Page | 13
(c)A vector at P perpendicular to D and tangential to the cone θ = 150°is the same as the vector
perpendicular to both D anda θ . Hence,
NB: In all the following cases, the differential areas orientation from the x,y,z direction perspective
shown below
Page | 14
A. Cartesian Coordinates(2CS):
Differential displacement is given by
dl = dx ax + dy ay + dz az
Differential normal area is given by
Solution: Although points A, B, C, and D are given in Cartesian coordinates, it is obvious that the
object has cylindrical symmetry. Hence, we solve the problem in cylindrical coordinates. The
points are transformed from Cartesian to cylindrical coordinates as follows:
Page | 16
(d)For ABO, dS=ρdφdρ and z = 0, so
0
(e) For AOFD, dS=dρdz andφ=0 , so
The line integral ∫ A . d l is the integral of the tangential component of A along curve L. Given a
L
❑ b
vector field A and a curve L, we define the integral ∫ A . d l=∫ ¿ A∨cosθdl as the line integral of A
L a
around L.
If the path of integration is a closed curve such as abca in Figure (a) below, the integral becomes
a closed contour integral ∮ A . d l which is called the circulation of A around L.
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
Page | 17
(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:
❑
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 | 18
By putting all these together, we obtain
L
∮ F . d l= −1
3
2 5 −1
+ 0− + =
3 6 6
L
Page | 19
∂ ∂ cos ∅ ∂
=sin ∅ +
∂y ∂ρ ρ ∂∅
For U and V are scalars and n is an integer, the following computation formulas on gradient are
true
Page | 20
NB: the gradient of a scalar field V has the following fundamental properties:
The magnitude of ∇ V equals the maximum rate of change in V per unit distance.
∇ V points in the direction of the maximum rate of change in V.
∇ V at any point is perpendicular to the constant V surface that passes through that point.
The projection (or component) of ∇ V in the direction of a unit vector a is ∇ V . a and is
called the directional derivative of V along a. This is the rate of change of V in the direction
of a.
Thus, the gradient of a scalar function V provides us with both the direction in which V
changes most rapidly and the magnitude of the maximum directional derivative of V.
If A=∇ V , V is said to be the scalar potential of A.
Practice Exercise
Determine the gradient of the following scalar fields:
(a) U = x2y + xyz
(b) V = ρzsin ∅ + z 2 cos 2 ∅ + ρ2
(c) f =cosθ sin ∅ lnr +r 2 ∅
Answer:
(a) y(2x + z)ax + x(x + z)ay + xyaz
Page | 21
( )
2
z
(b) ( zsin ∅ + 2 ρ ) aρ + zcos ∅ −
ρ
2
sin 2 ∅ a ∅ +(ρsin ∅ +2 z cos ∅ ) a z
Figure: Illustration of the divergence of a vector field at P; (a) positive divergence, (b) negative
divergence, (c) zero divergence.
∇ . A in Cartesian coordinates at the point P(xo,yo, zo) is obtained as follows: let the point be
enclosed by a differential volume as in the following Figure.
Page | 22
Figure: Evaluation of ∇ . A at point P(xo,yo, zo);
Page | 23
∂ Ax ∂ A y ∂ Az
∇ . A= + +
∂x ∂y ∂z
∯ A . d S=¿∭ ∇ . A dv ≡ ≡∮ A . d S=∫ ∇ . A dv ¿
v S v
This is called the divergence theorem, otherwise known as the Gauss-Ostrogradsky theorem.
Page | 24
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.
Example:
Determine the divergence of these vector fields:
(a) P = x2yz ax + xz az
(b) Q = ⍴ sin Фa⍴ + ⍴2z aФ +zcosФ az
1
(c) T = r 2 cosθ ar +rsinθcos ∅ a θ+ cosθ a ∅
Solution:
Page | 25
Example2
If G ( r )=10 e−2 z (ρ a ρ+ a z) G(r), determine the flux of G out of the entire surface of the cylinder ⍴ =
l, 0 < z < 1. Confirm the result using the divergence theorem.
Solution:
Page | 26
❑
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
where the area ΔS is bounded by the curve L and an is the unit vector normal to the surface ΔS
and is determined using the right-hand rule. To obtain an expression for ∇ x A from the above
definition, consider the differential area in the yz-plane as shown in the following Figure.
Figure: Contour used in evaluating the x-component of ∇ x A at point P(x0, y0, z0).
Page | 27
The line integral is obtained as
We expand the field components in a Taylor series expansion about the center point P(x o, yo, zo)
Page | 28
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 | 29
Also, from the definition of the curl of A, we say the following relationship which is called Stokes's
theorem.
∮ A ⋅ ⅆ l=∫ (∇ × A )⋅ ⅆ S
L S
Stokes's theorem states that the circulation of a vector field A around a (closed) path is equal to the
surface integral of the curl of A over the open surface S bounded by (see the figure (a) below)
provided that A and ∇ x A are continuous on S.
(a) (b)
Figure (a) Determining the sense of dl and dS involved in Stokes's theorem
Figure (b) Illustration of Stokes's theorem.
The proof of Stokes's theorem is similar to that of the divergence theorem. The surface S is
th
subdivided into a large number of cells as shown in Figure (b) above. If the K cell has surface
area ΔS K and is bounded by path L , as shown in Figure (b), there is cancellation on every
k
interior path, so the sum of the line integrals around L k's is the same as the line integral around
the bounding curve L.
Therefore, taking the limit of the right-hand side of the above equation as ΔS K → 0 leads to
Stokes's theorem which is given by
NB: The direction of dl and dS must be chosen using the right-hand rule or right-handed screw
rule. Using the right-hand rule, if we let the fingers point in the direction of dl, the thumb will
indicate the direction of dS (see Fig (b).
Page | 30
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:
(a) P = x2yz ax + xz az
(b) Q = ⍴ sin Фa⍴ + ⍴2z aФ +zcosФ az
1
(c) T = r 2 cosθ ar +rsinθcos ∅ a θ+ cosθ a ∅
Example2:
Page | 31
Figure for example 2
Page | 32
1.13 LAPLACIAN OF A SCALAR
Laplacian is a single operator which is the composite of gradient and divergence operators. Thus,
The Laplacian of a scalar field V, written as ∇ 2 V is the divergence of the gradient of V.
Page | 33
A scalar field V is said to be harmonic in a given region if its Laplacian vanishes in that region. In
2
other words, if ∇ 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 | 34
PRACTICE EXERCISE
Determine the Laplacian of the following scalar fields
A vector field A is said to be solenoidal (or divergenceless) if ∇ . A=0. Such a field has neither
source nor sink of flux. Hence, flux lines of A entering any closed surface must also leave it.
Page | 35
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
∯ A ⋅ ⅆ S=∭ ( ∇ ⋅ A ) ⅆV =0
S V
The divergence of a curl of A is zero. Thus, a solenoidal field A can always be expressed in
terms of another vector F; that is,
If ∇ . A=0 then, ∯
S
A ⋅ ⅆ S=0 and A=∇ x F
A vector field A is said to be irrotational (or potential) if ∇ x A=0.That is, a curl-free vector is
irrotational. From Stokes's theorem,
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
CONCEPTUAL QUESTIONS
Page | 36
+++++++ END +++++++++++
Page | 37