Unit 1
Unit 1
7/13/2025 Dr.G.S.Uthayakumar 1
Unit I - Review of Vector Calculus
• Vector- A vector is a quantity which is characterized by both magnitude and direction .Ex- Force,
velocity, displacement, electric field intensity, acceleration etc.
• Scalar field- A field is a region in which a particular physical function has a value at each and
every point in that region. Ex- Temperature of atmosphere.
• Vector Field- If a quantity which is specified in a region to define a field , is a vector then
the corresponding field is called vector field Ex- wind velocity of atmosphere,
displacement of flying bird in a space.
7/13/2025 2
Dr.G.S.Uthayakumar
Representation of a vector
A vector can be represented by a
straight line with an arrow in a
plane
The length of the segment is
magnitude while the arrow indicates
the direction of the vector.
The vector showing is symbolically
denoted as OA.
OA = R
7/13/2025 3
Dr.G.S.Uthayakumar
Unit Vector
A unit vector has a function to indicate the
direction, it’s magnitude is always unity.
• Consider a unit vector aOA in the direction of OA as
shown.
• This vector indicates the direction of OA but it’s
magnitude is unity.
7/13/2025 4
Dr.G.S.Uthayakumar
Vector algebra
The various mathematical operations can be performed with vectors such as:-
1) Scaling 2) Addition 3) Subtraction
1) Scaling of a vector
This is nothing but the multiplication by a scalar to vector. Such a multiplication
changes the magnitude but not it’s direction , when the scalar is positive.
7/13/2025 Dr.G.S.Uthayakumar 5
2) Addition of vectors
consider two coplanar vectors as shown
• The procedure is to move one of the two
vectors parallel to itself at the tip of the other
vector.
• By the addition of A and B the resultant C is
obtained.
Fig (a) coplanar vector
7/13/2025 6
Dr.G.S.Uthayakumar
Another method of performing the addition of vectors is parallelogram rule
• complete the parallelogram as shown . Then diagonal of the parallelogram
represents the addition of the two vectors.
• By using any of these two methods , no. of vectors can be added to obtain resultant
7/13/2025 7
Dr.G.S.Uthayakumar
• The following basic laws of algebra are obeyed by the vectors
7/13/2025 Dr.G.S.Uthayakumar 8
3) Subtraction of vectors
The subtraction of vectors can be obtained from the rules of addition. If B is to be
subtracted from A then based on addition it can be represented as
Identical vector
Two vectors are said to be identical if there difference is zero
7/13/2025 9
Dr.G.S.Uthayakumar
The co-ordinate system
To describe a vector accurately and to express a vector in terms of its components it
is necessary to have some reference directions. Such directions are represented in
terms of various co-ordinate systems. These are-
1) Cartesian or rectangular co-ordinate system
2) cylindrical co-ordinate system
3) Spherical co-ordinate system
7/13/2025 10
Dr.G.S.Uthayakumar
• Right handed system
means if x axes is
rotated towards y axes
through a smaller angle,
then this rotation causes
the upward movement
of right handed screw in
the z axes. If the right
hand is used then the
thumb , forefinger and
middle finger may be
identified , respectively
as x, y and z axes.
(a) Right handed Cartesian co-ordinate system , (b) The location of point P (1,2,3) and Q(2,-2,1),
(c) The differential volume element, dx, dy and dz are in general independent differentials.
7/13/2025 11
Dr.G.S.Uthayakumar
• A point is located by giving its x, y and z co-ordinates.These are respectively the
distances from the origin to the intersection of a perpendicular dropped from the point
to the x,y and z axes.
• The alternative method is- to consider a point as being at the common intersection of
three surfaces, the planes x=constant, y= constant and z = constant. The constant
being the co-ordinate values of the point
• If we visualize three planes intersecting at a general point P (x,y,z),we may increase
each co-ordinate value by a differential amount and obtain three slightly displaced
planes intersecting at P’ (x+dx, y+dy, z+dz)
• The six planes define a rectangular parallelepiped whose volume is dv= dx dy dz.
• The surfaces has different areas ds of dx dy , dy dz and dz dx.
• Finally the distance dl from P to P’ is the diagonal of the parallelepiped and has the
length of
7/13/2025 D 13
r.
Differential elements in Cartesian co-ordinate system
dx= differential length in x direction
dy= differential length in y direction
dz = differential length in z direction
differential vector length is
distance from P to P’
Differential Volume
Differential surface area
7/13/2025 Dr.G.S.Uthayakumar 14
• Example 1- Obtain the unit vector in the direction from the origin towards the point
P(3,-3,-2).
7/13/2025 D 15
r.
• Example-2 Two points A(2,2,1) and B(3,-4,2)are given in Cartesian
system. Obtain the vector from A to B and a unit vector directed from
A to B.
7/13/2025 D 16
r.
• Example-3 Given A(3,-2,1), B(-3,-3,5) , C(2,6,-4) Find-
(i) Vector from A to C, (ii) unit vector from B to A, (iii) the distance from B to C and
(iv) The vector from A to midpoint of the straight line joining B to C.
7/13/2025 D 17
r.
7/13/2025 D 18
r.
Vector Multiplication
• Scalar or Dot Product
• Vector or Cross Product
Scalar or Dot Product – is defined as a product of magnitude of A
and B ,and the cosine of the smaller angle b/w them.
This product has nine scalar terms as dot product obeys distributive
law, but six terms out of nine will be zero involving the Dot product
of different unit vectors. While the remaining three terms involve the
unit vector doted with 7/13/2025
itself, the result of which is unity. D 20
r.
Application of Dot product-
(i) To determine angle b/w two vectors as -
(ii) To find a component of a vector in the given direction-
From fig. (a) we can obtain the component (scalar) of B in the direction specified by the
unit vector a as- B . a = │B│ │a│cosθBa = │B│cosθBa
This sign of component is positive if and negative whenever
7/13/2025 D 21
r.
In order to obtain component vector of B in the direction of a , we simply multiply the
component (scalar) by a as illustrated by fig(b).
For example- the component of B in the direction of ax is B . ax = Bx and the component
vector is Bx ax or (B . ax ) ax
The Geometrical term projection is also used with the dot product. Thus B . a is the
projection of B in the direction of a .
7/13/2025 D 22
r.
Example 5- given two vectors-
Find the dot product and angle between the two vectors.
Solution- The dot product is-
7/13/2025 D 23
r.
• Example 6- Given vector field . Find this vector field at
P(2,3,1) and it’s projection on
Solution- The vector field at P
substituting co-ordinates of P in G
7/13/2025 D 24
r.
Vector Product or Cross Product- is defined as a product of magnitude of A and B ,and
the sine of the smaller angle b/w them. It is denoted as A × B. This product is the vector
quantity hence the direction of A × B is perpendicular to the plane containing A and B ,
and is along that one of the two perpendicular which is in the direction of advance of a
right- handed screw as A is turned into B.
7/13/2025 D 25
r.
(ii) The cross product is not associative, thus –
(iii) With respect to addition the cross product is distributive. Thus,
(iv) If the two vectors are parallel to each other ie. θ = 0ₒ , then sin θ = 0 thus
cross product of such two vectors is zero.
(v) If the Cross product of a vector with itself is performed then
(vi) Consider the unit vectors ax , ay and az in Cartesian co-ordinate system.
All these vectors are mutually perpendicular to each other, then
Hence,
But if the order of unit vectors is reversed, the result is negative of the
remaining third unit vector. Thus -
7/13/2025 D 26
r.
This can be remembered by a circle indicating cyclic permutations of cross product of
unit vectors shown in fig
7/13/2025 D 27
r.
This result can be expressed in determinant form
7/13/2025 D 28
r.
• Example 7 - Given two coplanar vectors
obtain the unit vector normal to the plane containing the vectors A and B .
Solution-
This is unit vector normal to the plane containing the vectors A and B .
7/13/2025 D 29
r.
Products of three vectors
• Scalar triple product
• Vector triple product
Scalar triple product- The scalar triple product of three vectors A, B and C is
mathematically defined as-
Thus if,
The result of this product is scalar hence the product is called scalar triple product.
The cyclic order a, b, c is important.
7/13/2025 D 30
r.
Characteristics of scalar triple product-
• This product represents the volume of a parallelepiped with edges A, B and C drawn
from the same origins as shown in fig.
• This product depends only on the cyclic order of ‘ a b c’ and not on the position of ·
and × in the product. If cyclic order is broken by permuting two of the vectors, the
sign is reversed.
• If two of the three vectors are equal then the result of the scalar triple product is zero.
7/13/2025 D 33
r.
2) cylindrical co-ordinate system
• consider any point as the intersection of three mutually perpendicular surfaces.
• These surfaces are a circular cylinder (ρ =constant), a plane (ф=constant), and
another plane (z= constant).
• Three unit vectors must also be defined-
they are directed toward increasing coordinate values and are perpendicular to the
surface on which that coordinate value is constant (i.e., the unit vector ax is normal to
the plane x =constant and points toward larger values of x).
three unit vectors in cylindrical coordinates , are- aρ , aф and az
• The unit vector aρ at a point P(ρ1,ф1,z1) is directed radially outward, normal to the
cylindrical surface ρ= ρ1. It lies in the planes ф=ф1 and z=z1 .
• The unit vector aф is normal to the plane ф= ф1 , points in the direction of increasing ф,
lies in the plane z = z1 , and is tangent to the cylindrical surface ρ= ρ1 .
• The unit vector az is the same as the unit vector az of the cartesian coordinate system.
7/13/2025 D 34
r.
7/13/2025 D 35
r.
7/13/2025 D 36
r.
7/13/2025 D 37
r.
7/13/2025 D 38
r.
7/13/2025 D 39
r.
• A differential volume element in cylindrical coordinates may be obtained by increasing
ρ,ф and z by the differential increments dρ, dф and dz.
The two cylinders of radius ρ and ρ+dρ , the two radial planes at angles ф and ф+dф ,
and the two ``horizontal'' planes at ``elevations'' z and dz. Now enclose a small volume,
as shown in Fig. having the shape of a truncated wedge.
As the volume element becomes very small, its shape approaches that of a rectangular
parallelepiped having sides of length dρ; dф and dz.
Note that dρ and dz are dimensionally lengths, but dф is not; ρdф is the length.
• The surfaces have areas of ρ dρ dф , dρ dz, and ρ dф dz.
• and the volume becomes ρ dρ dф dz:
• The variables of the rectangular and cylindrical coordinate systems are easily related to
each other - x= ρ cosф
y= ρ sinф
z=z
7/13/2025 D 40
r.
• we may express the cylindrical variables in terms of x, y, and z:
and z=z
• Using the above equations, scalar functions given in one coordinate system are easily
transformed into the other system.
• A vector function in one coordinate system, requires two steps to transform it to another
coordinate system,
In cartesian coordinate system, Vector A= Ax ax + Ay ay + Az az
in cylindrical coordinates coordinates - A = Aρ aρ + Aф aф + Az az
To find any desired component of a vector, from the definition of the dot product –
Aρ = A • aρ and Aф = A • aф
Expending these products-
Aρ = (Ax ax + Ay ay + Az az) • aρ = Ax ax• aρ + Ay ay • aρ
Aф = (Ax ax + Ay ay + Az az ) • aф = Ax ax • aф + Ay ay • aф
Az = (Ax ax + Ay ay + Az az ) • az = Az az • az = Az
7/13/2025 D 41
r.
7/13/2025 D 42
r.
• Dot products of unit vectors - ax• aρ , ay • aρ , ax • aф , ay • aф Can be determined
by the following table-
• aρ aф az
ax cosф -sinф 0
ay sinф cosф 0
az 0 0 1
Q. – (a) Give the Cartesian coordinates of the point C (ρ = 4.4, ф = -115⁰ , z = 2).
(b) Give the Cylindrical coordinates of the point D (x = -3.1, y = 2.6 , z = -3).
(c) specify the distance from C to D.
Ans- C (x = -1.860, y = 3.99 , z = 2) ; D (ρ = 4.05, ф = 140.0⁰ , z = -3); 8.36
7/13/2025 D 43
r.
Example-9-Transform the vector field to cylindrical co-
ordinate system at point P(10,-8,6)
Solution- from the given field W,
Wx = 10, Wy = -8 and Wz = 6
Now Wρ = W•aρ = =
=
For point P, x= 10, and y= -8
So, Wρ =
Now
7/13/2025 D 45
r.
3) Spherical co-ordinate system
• The surfaces which are used to define spherical co-ordinate system on
the three Cartesian axis are –
Sphere of radius r, origin as the centre of sphere
A right circular cone, with it’s apex at the origin and it’s axis as Z
axis. It’s half angle is θ. It rotates about Z axis and θ varies from 0 to
180⁰.
A half plane perpendicular to xy plane containing Z axis, making an
angle ф with the xy plane.
• The three co-ordinates of point P are (r, θ, ф)
• The ranges of the variables are-
7/13/2025 D 46
r.
7/13/2025 D 47
r.
7/13/2025 D 48
r.
• The point P is defined as the intersection of three surfaces- r = a constant, θ = a constant
and ф = a constant.
• The intersection of a sphere r = constant and cone – θ = constant is a horizontal circle
whose radius is r sinθ.
• Now consider the intersection of ф = constant plane with r = constant and θ = constant
planes as shown in fig., this defines a point P.
• Three unit vectors may be defined at any point. Each unit vector is perpendicular to one of
the three mutually perpendicular surfaces and oriented in that direction in which the
coordinate increases.
• The unit vector is ar directed radially outward, normal to the sphere r = constant, and lies
in the cone θ = constant and the plane ф = constant.
• The unit vector aθ is normal to the conical surface, lies in the plane, and is tangent to the
sphere and oriented in the direction of increasing θ.
• The third unit vector aф is the same as in cylindrical coordinates, being normal to the
plane and tangent to both the cone and sphere. It is oriented in the direction of increasing
ф
7/13/2025 D 49
r.
7/13/2025 D 50
r.
7/13/2025 D 51
r.
• A differential volume element may be constructed in spherical coordinates by increasing r,
θ , and ф by dr, dθ , and dф as shown in Fig.
• The distance between the two spherical surfaces of radius r and r + dr is dr; the distance
between the two cones having generating angles of θ and dθ is rdθ ; and the distance
between the two radial planes at angles ф and dф is found to be r sinθ dф.
• The surfaces have areas of r dr dθ , r sinθ dr dф , and r2 sinθ dθ dф.
• The volume is r2 sinθ dr dθ dф.
• The transformation of scalars from the cartesian to the spherical coordinate system is
easily made by using the relation:
x = r sinθ cos ф
y = r sinθ sin ф and z = r cos θ
• The transformation in the reverse direction is achieved with the help of
7/13/2025 D 52
r.
• Differential elements in Spherical co-ordinate system
7/13/2025 D 53
r.
Relationship between Cartesian and spherical co-ordinate system
7/13/2025 D 54
r.
• Dot products of unit vectors in spherical and Cartesian coordinate systems
7/13/2025 D 55
r.
7/13/2025 D 56
r.
Example-11-
Slution-
•-
7/13/2025 D 57
r.
Example-12-
Solution-
7/13/2025 D 58
r.
7/13/2025 D 59
r.
• Distance in all co-ordinate systems-
Consider two points A and B with the position vectors as
Then the distance d between two points in all the three co-ordinate systems are
given by-
7/13/2025 D 60
r.
• Transformation of vectors from spherical to cylindrical and
from cylindrical to Spherical system
Let the vector A in spherical system
The components of vector in cylindrical system is given by-
Now
7/13/2025 D 61
r.
• Dot products of unit vectors - aρ• ar , aρ • aθ , aρ • aф , aф • aθ , , az • ar, , az • aθ ,
and , az • aф Can be determined by the following table-
• ar aθ aф
aρ sinθ cosθ 0
aф 0 0 1
az cosθ -sinθ 0
7/13/2025 D 62
r.
Types of integral related to Electromagnetic Theory
A charge can exist in point , line , surface and volume form. Hence while dealing
with such charge distribution, the following types if integrals are required-
• Line integral
• Surface integral
• Volume integral
1) Line integral- a line can exist as a straight line or it can be a distance
travelled along a curve, thus in general from mathematical point of view, a line
is a curved path in space.
Consider a vector field F as shown in fig., the curved path shown in the field is
p-r . This is called the path of integration and corresponding integral can be
defined as-
7/13/2025 D 65
r.
7/13/2025 D 66
r.
• For charge distribution shown in fig (a), we can write for the total charge existing on
the surface as
where
• Both the above equations represents the surface integrals and mathematically it
becomes a double integration while solving the problems.
• If the surface is closed, then it defines as a volume and corresponding surface
integration is given by,
• This represents the net outward flux of vector field F from surface S.
7/13/2025 D 67
r.
3) Volume integral – if the charge distribution exists in a three dimensional volume form
as shown in fig. then a volume integral is required to calculate the total charge.
thus if ρv is the volume charge density over a volume V then the volume integral is
defined as-
7/13/2025 D 68
r.
Example -13 calculate the circulation of vector field,
Around the path L defined by- 0 ≤ r ≤ 3, 0 ≤ ф ≤ 45⁰ and Z = 0 as shown in fig.(a)
7/13/2025 D 71
r.
7/13/2025 D 72
r.
Del operator- The Del operator , written , is the vector differential operator.
In Cartesian coordinates-
7/13/2025 D 73
r.
• Divergence- it is seen that gives the flux flowing across the surface S.
then mathematically Divergence is defined as the net outward flow of the flux per
unit volume over a close incremental surface. It is denoted as and is given
by -
7/13/2025 D 74
r.
• Physically the divergence at a point indicate how much that vector field diverges from
that point.
7/13/2025 D 75
r.
• Divergence Theorem- From the definition of divergence, we know that-
The divergence theorem converts the surface integral into a volume integral, provided that
the closed surface encloses certain volume.
7/13/2025 D 76
r.
7/13/2025 D 77
r.
• The theorem can be applied to any vector field but partial derivatives of that vector field
must exist. The divergence theorem as applied to flux density, both sides of the
divergence theorem give the net charge enclose by the closed surface( i.e. net flux
crossing the closed surface).
• Figure shows how closed surface S encloses a volume v for which divergence theorem
is applicable.
7/13/2025 D 78
r.
Example- 14- A particular vector field is in cylindrical
system. Find the flux emanating due to this field from the closed surface of the cylinder
verify divergence theorem.
Solution- the outward flux is given by,
7/13/2025 D 79
r.
7/13/2025 D 80
r.
7/13/2025 D 81
r.
Gradient of a scalar- consider that in space let W be the unique function of x,y and z co-
ordinates in Cartesian system. This is the scalar function and denoted as W(x,y,z) .
Consider the vector operator in Cartesian system denoted as called del. It is defined
as,
• The operation of the vector operator del ( ) on a scalar function is called gradient of
scalar.
7/13/2025 D 82
r.
• The gradient of a scalar W in various co-ordinate systems are given by-
7/13/2025 D 84
r.
Example 15- …in Cartesian
….. In cylindrical and ……in Spherical.
Find it’s gradient at P(0,1,1) for Cartesian, for cylindrical and P(3,60⁰,30⁰)
for spherical.
Solution-
7/13/2025 D 85
r.
7/13/2025 D 86
r.
7/13/2025 D 87
r.
Curl of a vector- The circulation of a vector field around a closed path is given by curl
of a vector. Mathematically it is defined as-
7/13/2025 D 88
r.
7/13/2025 D 89
r.
Stock’s theorem – The Stock’s theorem relates the line integral to a surface integral.
It states that- “ The line integral of around a closed path L is equal to the integral
of curl of over the open surface S enclosed by the closed path L.”
Mathematically it is expressed as-
7/13/2025 D 90
r.
Example 16-
Solution-
7/13/2025 D 91
r.
7/13/2025 D 92
r.
Laplacian of a Scalar- The divergence of a vector and gradient of a scalar is discussed
earlier. The composite operator of these two is called Laplacian of a scalar.
If V is a scalar field then, the Laplacian of scalar V is denoted as and
mathematically defined as the divergence of the gradient of V.
The operator is called laplacian operator.
• In Cartesian coordinate system-
7/13/2025 D 93
r.
Example-17
Solution-
7/13/2025 D 94
r.
7/13/2025 D 95
r.
7/13/2025 D 96
r.
REFERENCES
• Engineering Electromagnetic by william H. Hayt, Jr. John A. Buck
• Principals of Electromagnetics by Matthew N. O. Sadiku.
• CBS problems and solution series ( Problems and solution of
Engineering Electromagnetics).
• https://nptel.ac.in/courses/108/106/108106073/
• https://nptel.ac.in/courses/117/103/117103065/
7/13/2025 D 97
r.