L2 - 1 - Vector Calculus
L2 - 1 - Vector Calculus
Lecture 2(1):
Review of Vector Calculus
Vector calculus
Gradient
Curl and Divergence
Gauss’s, Stokes, Hemholtz and Green’s Theorem
Review of Electrostatics and Magnetostatics
1
Review on Complex Numbers
z x jy Complex number rectangular form
e j cos j sin
z z e j z cos j z sin
The complex number is an important mathematical
tool to be used in solving various EM problems
2
Scalar and Vector
A
â
A
3
Unit Vector
Vector with magnitude of 1
Indicate direction only
A
aˆ A aˆ A
A
direction magnitude
Scalar (Dot) Product
The scalar product (or the dot product) of two vectors is a scalar
whose magnitude is the product of the magnitudes of the two
vectors and the cosine of the angle between the vectors.
A B A B cos
B
5
Dot Product
A.A = A2
Vector (Cross) Product
The vector
(or cross)
product of two
vectors, A and B , is defined as: A B nˆ A B sin
n̂is a unit vector that is perpendicular to the plane that contains the two
vectors and is determined by the so-called right-hand rule or right-
handed-screw rule.
n
n
R ig h t-h a n d e d
scre w
A x B
B
B
A
A
P la n e
c o n ta in in g th e vectors
7 tw o v e cto rs
3.1 Introduction
Fm = q u × B
Thumb: direction of Fm
9
Cross Product
A x B = -B x A (anti-commutative)
A x (B+C) = A x B + A x C (distributive)
AxA=0
A
A
B B
AxB=0
A x B = AB
Example
11
Cartesian Coordinate System
12
Cylindrical Coordinate System
13
Spherical Coordinate System
14
Example
15
Field
In our context of discussions, the term “field” is a quantity that
exists over the physical spacetime. Mathematically, it is written
as a function of the physical spacetime, e.g. f(x,y,z,t).
16
Gradient
dV
gradV V a n
dn
17
Gradient
Grad T = T xˆ T yˆ T zˆ T Cartesian
x y z
Change of T within a short distance dl:
T T T
dT T dl dx dy dz
x y z
dT
T aˆl
dl
ˆ1
rˆ zˆ cylindrical
r r z
ˆ ˆ 1 ˆ 1
R spherical
R R R sin
Divergence
The divergence of a vector field at a point is defined as the net
out-flow of flux from the point per unit volume. Mathematically, it
is written as
div A A lim
A ds
S
v 0 v
where S is a closed surface which bounds the differential
volume v. Imagine the velocity field of flowing water. A positive
valued divergence indicates a point source from which water
emerges. A negative valued divergence indicates a point sink to
which water drains. The divergence of a vector field is a scalar
field. A vector field for which the divergence is zero is called a
solenoidal vector field.
19
Divergence
V
A dv A ds
S
Divergence Theorem
1 1
A rAr A Az Cylindrical
r r r z
1
A 2
R R
R AR
2
1
R sin
A sin 1
R sin
A Spherical
Example
For the vector field , evaluate differential volume of
divergence theorem for the region enclosed between the
spherical shells defined R=1 and R=2.
Sol.
21
Curl
The curl of a vector field at a point is defined as the net
circulation about the point per unit area. Mathematically, it is
written as
curl A A lim
C
A dl
s 0 s
where C is a closed contour which bounds the differential area
s. Imagine the velocity field of flowing water. If the curl of the
velocity field at a point is non-zero, we find a vortex at the point.
The curl of a vector field is a vector field. A vector field for which
the curl is zero is called an irrotational or conservative vector
field.
22
Curl
rˆ ˆr zˆ
1
H Cylindrical
r r z
Hr H r Hz
H ds H dl
S C
Stoke’s theorem
Null Identities
V 0
A 0
Try it
Sol.
25
The EM Spectrum
26
Electric and Magnetic Fields
Electric and magnetic fields forms the bridge from
circuit theory to transmission lines, waves and
antennas.
Circuit theory treats resistors, capacitors and
inductors as two terminal devices connected by
wires. Electromagnetic theory deals with the space
both inside and outside of these devices.
27
Review of Electrostatics
Basic electrical quantity is the charge Q.
Electrostatic deals with the interaction of electric
charges at rest.
Two fundamental laws governing electrostatics:
Coulomb’s law and Gauss’s law – they are based on
experimental studies and are interdependent.
28
Electric Field
Every charged object sets up an electric field in the
surrounding space.
A second charge "feels" the presence of this field.
The magnitude and direction of the electric field vector
varies from point to point in the field space.
Electric field can also vary with time.
Electrostatic field - field from electric charge at rest.
29
Coulomb’s law
An experimental law formulated in 1785 by the French
colonel, Charles Agustin de Coulomb.
Deals with the force a point charge exerts on another point
charge.
Thus, a charge Q2 at a distance R from a charge Q1
experiences a force given by
kQ1Q2
F
R2
R̂12
30
Electric field intensity
A static electric charge sets up an electric field in the region of
space that surrounds it. The quantity we use to measure the
strength of the electric field is its intensity.
The intensity of an electric field (or electric field strength), E,
is the force exerted by the electric field on a unit test charge.
Dividing the Force equation by the charge Q2, gives a force per
unit charge which is defined as the electric field intensity, E.
E is a vector just like F.
F Q1
E
Q2 4 0 R 2
32
Electric flux density
Unlike E field that is dependant on the medium, D is
independent of it.
It is related to electric field intensity by the relation,
D E
In an isotropic medium (properties independent of direction)
D and E are in the same direction and is a scalar quantity.
One useful property of D is that its surface integral over any
closed surface equals the enclosed surface charge, Qenc.
{Gauss’s law}
33
Gauss’s law
Gauss’ law states that:
“The total outward flux of electric field intensity over any closed surface
in free space equals the total charge enclosed by the surface divided
by the permittivity of free space”
Imagine a quantity of charge Q located somewhere in free
space. This charge is enclosed by the closed surface S. The
magnitude of the electric intensity at every point on the
surface of the sphere is:
E dS Q 0
34
Energy and potential
The total work done or difference in electric potential energy in
moving the test charge from point 1 to point 2 within the field is
therefore: 2
W Q E dl
1
P o in t 2
P o in t 1 P a th 2
35
Electric potential - voltage
If V12 is negative, there is a loss in potential energy in moving
Q from 1 to 2 – work is being done by the E field. Potential
is measured in joules per coulomb or volts.
It is customary to choose infinity as reference, that is we
assume the potential at infinity is zero.
The electric potential V at an arbitrary point P in an electric
field is defined as the work done in bringing a unit charge
from an infinite distance away to point P
E
P a th 1
P o in t 2
P o in t 1 P a th 2
36
Conservative field
E The line integral does not
P ath 1
depend on which path is
taken to get from point 1 to
Point 2
point 2. It depends only on
the location of the points. It
follows that if we were to
Point 1 P ath 2 move the charge from point 1
to point 2 and then back again
to point 1, the total work
done is zero.
37
Magnetostatics
38
Magnetostatics
4) An attractive force exists between the
opposite poles, and a repulsive force exists
between similar pole
5) This attraction-repulsion property is
similar to the electric force between
opposite electric charges, except electric
charges can be isolated, but magnetic
poles must exist in pairs
6) The magnetic lines encircling a magnet are
called the magnetic-field lines
7) Magnetic flux density B is used to
represent the existence of magnetic field
8) Magnetic flux is the term used to explain
and describe various magnetic effects and
39 its magnitude
Magnetostatics
9) Current-carrying wire induces a magnetic field that
formed closed circular loops around the wire as shown
below
40
Characteristics of Line of Magnetic Flux
1. Direction of magnetic field is the direction of
the north-seeking pole of a compass needle
placed in the field
2. Each line of magnetic flux forms a closed-loop
3. Lines of magnetic flux never intersect
4. Lines of magnetic flux are like stretch cords,
always trying to shorten themselves thus
causing opposing magnetic poles to attract
each other
5. Lines of magnetic flux (parallel) are in the
same direction and repel. They exert a lateral
pressure on one another
6. A piece of soft iron can be magnetized thru’
41 magnetic induction
Magnetic Dipole and Current Loops
u
q
q+ u
46
Differences between Electric Force and
Magnetic Force
Electric force is always in the direction of the electric field.
The magnetic force is always perpendicular to the magnetic field
47
Magnetic Force on a Current-Carrying
Conductor
48
Magnetic Force on a Current-Carrying
Conductor
dFm= I dl B
Fm Fm
Gauss’ Law
??
Ampere’s Law
51
Infinitely
long wire
Closed path, C
Electrostatics Magnetostatics
Gauss’s Law Ampere’s Law
Net Current
Enclosed
by closed path
C
OR
53
Ampere’s Law
56
Electromagnetic fields
Dynamic fields (field quantities changes with time).
Electric and magnetic fields are dependant on each
other – time-varying electric field involves a
corresponding time-varying magnetic field.
Has more practical value.
Due to accelerated charges or time-varying currents
such as square wave or sine wave.
57