Electrodynamics I Slides Complete
Electrodynamics I Slides Complete
INTRODUCTION TO ELECTRODYNAMICS
DAVID J. GRIFFITHS
Dr. M. Y. Soomro
Electrodynamics-I
Chapters
1. Vector analysis
2. Electrostatics
3. Potentials
4. Electric field in Matter
5. Magnetostatics
6. Magnetic field in Matter
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Vectors (having direction and magnitude)
Displacement, velocity, acceleration
A B (bold) A
Magnitude of vectors
Representation of vectors
• Put arrows
• Length of arrow is proportional to the magnitude of
vectors
• Arrowhead indicates its direction
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
̶ A (minus A) vectors have same magnitude but opposite
in direction
Vector Operations
Four operations
• Addition
• Three kinds of multiplication
Addition of vectors
A+B=B+A
(Commutative)
(A + B) + C = A + (B + C)
(Associative) Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Multiplication by a scalar
• By a positive scalar a multiplies the magnitudes but
direction remains same
• If a is negative direction is reversed
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Law of cosine
Example 1.1. (page no. 03)
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
• But it can be
(B x A) = - (A x B)
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Vector algebra (Component form)
X unit vecto r parallel to x - axis
Y unit vecto r parallel to y - axis
Z unit vecto r parallel to z - axis
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
An arbitrary vector A can be expanded in terms of these
basis vectors
Rule -02
To multiply a scalar, multiply each component
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
As these are mutually perpendicular to each other
X unit vecto r parallel to x - axis
Y unit vecto r parallel to y - axis
Z unit vecto r parallel to z - axis
Rule -03
To calculate the dot product , multiply like components
and add
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
A.A
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Similarly
AxB = ?
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Difficult expression
Dr. M. Y. Soomro
Chapter 1 Vector Analysis
Example 1.2
Find the angle b/w the face diagonal of a cube
Dr. M. Y. Soomro
Thanks
Dr. M. Y. Soomro
ELECTRODYNAMICS-I
LEC=02
DR.M.Y.SOOMRO
Triple Product
Scalar triple product
Vector triple product
(A x B ) x C C x (A x B )
(A x B ) x C A .(B .C ) + B (A .C )
Problem:
Prove that
[ A x ( B x C )] [ B x ( C x A )] [ C x ( A x B )] 0
Position vector
The location of point in three dimensions can describe
by a Cartesian coordinates (x,y,z)
• in Cartesian coordinates
Dr. M. Y. Soomro
Differential Calculus
Ordinary Derivatives
Gradient
Del operator
Divergence
Curl
Ordinary Derivatives
Dr. M. Y. Soomro
Gradient
The gradient is a vector operation which operates on
a scalar function to produce a vector
Example
Applications of Divergence
Divergence
Divergence (Examples)
Curl
It is a measure of how much the vector swirls around
the point in question (rotation of vector field)
If F(x, y, z) = xz i + xyz j – y2 k
find curl F
i j k
c u rl F F
x y z
y
2
xz xyz
i
2
y x y z
y z
y xz j xyz xz k
2
x z x y
2 y xy i 0 x j yz 0 k
y 2 x i x j y z kDr. M. Y. Soomro
Thanks
ELECTRODYNAMICS-I
LEC=03
DR.M.Y.SOOMRO
Chapter 2 (Electrostatics)
Electrostatics (Static electricity)
It is the study in which the source charges are
stationary
F F1 F 2 F 3 ........
Chapter 2 (Electrostatics)
Fundamental Problem in electromagnetic theory
It d e f i n e s a v e c t o r F i n t e r m s o f a n o t h e r v e c t o r rˆ1 2
a n d s o m e s c a la r Q 1 Q 2
F is a electrostatic force
F i s a f u n c t i o n o f Q 1 lo c a t i o n o f Q 1 r1
F is a fu n c tio n o f Q 2
lo c a t i o n o f Q 2
r2
Coulomb’s Law
How strong is this force?
F 10
24
Kg
Coulomb’s Law
F 10
24
Kg
FG
e
2
2 d
e
Fe 4 0 1 e
2
2 Fe
4 0 d
2
FG Gme
If you took heavier particle of same charge you will get
a better answer (how much better)
Electricity
Nuclear forces (strongest forces)
Coulomb not only gave the law but he also found that
how this law works when multiple charges present
Vectorially add them
Result is the total force
Coulomb’s Law
Mathematically
F F1 F 2 F 3 ........
q
4
Q i rˆi
F
4 0
ri
2
i 1
Dr. M. Y. Soomro
The Electrostatic Field
The electric field produced by stationary source charges
F F1 F 2 F 3 ........
F
E
q
Thanks
ELECTRODYNAMICS-I
LEC=04
DR.M.Y.SOOMRO
The Electric Field
The electric field E at a point in space is simply
the force per unit charge at that point
F
E F QE
Q
F total electric force exerted by the source
charges on the test charge Q
This equation tells us what will be the force on a charge
Q placed in this field
Electric field due to a point charged particle
Q
E k 2 rˆ
r
Dr. M. Y. Soomro
The Electric Field
F F1 F2 F3 .......
Dr. M. Y. Soomro
The Electric Field
F F1 F2 F3 .......
1 q1Q
F1 rˆ
4 0 r12 1
1 q2 Q
F2 rˆ2
4 0 r22
1 q3Q
F3 rˆ3
4 0 r32
Q q1 q2 q3
F ( 2 rˆ1 2 rˆ2 2 rˆ3 .....)
4 0 r1 r2 r3 Dr. M. Y. Soomro
The Electric Field
Q q1 q2 q3
F ( 2 rˆ1 2 rˆ2 2 rˆ3 .....)
4 0 r1 r2 r3
Q n qi
F
4 0 i 1 ri
rˆ
2 i
Dr. M. Y. Soomro
Continuous Charge Distribution
In most applications the source charges are not discrete,
but are distributed continuously over some region
Dr. M. Y. Soomro
Continuous Charge Distribution (cont.)
If the charge is spread out along a line (distribution in
one dimension)
Charge per unit area
Example: thin charged rod
It is known as linear charge density (λ)
dq
'
dl
or
dq dl '
dq = small element charge
dl’ = small element of length along the line
E
1
1
rˆdq
4 0 r 2
dq
' or dq dl '
dl
E
1 1
4 0 r 2
ˆ
r dl '
(r ' )
1
rˆdl
4 0 p r 2
E '
Dr. M. Y. Soomro
Continuous Charge Distribution (cont.)
If the charge is spread out over a surface (distribution
in two dimensions)
Example: thin sheet of charges
It is known as charge per unit area (σ)
dq
'
da
or
dq da '
dq = small element charge
da’ = small element of area on the surface
E
1
1
rˆdq
4 0 r 2
dq
' or dq da '
da
E
1 1
4 0 r 2
ˆ
r da'
(r' )
1
rˆda
4 0 s r 2
E '
Dr. M. Y. Soomro
Continuous Charge Distribution (cont.)
If the charge fills a volume or charges distributed
throughout the volume of the (distribution in two
dimension)
Charge per unit volume
It is known as volume charge density (ρ)
dq
'
d
or
dq d '
dq = small element charge
dτ’ = small element of volume
E
1
1
rˆdq
4 0 r 2
dq
' or dq d '
d
E
1 1
4 0 r 2
ˆ
r d '
(r' )
1
rˆd
4 0 v r 2
E '
x B
Q -Q
A. Up
B. Down
C. Left
D. Right
E. Zero Dr. M. Y. Soomro
_ _
_
Dr. M. Y. Soomro
Example
A rod of length l has a uniform charge per unit length λ
and a total charge Q. Calculate the electric field at a point P
along the axis of the rod at a distance a from one end. Note
that λ= Q/l
Dr. M. Y. Soomro
Example
Dr. M. Y. Soomro
Example
dq
dx
dq dx
n
1 qi F
E
4 0 i 1 ri
rˆ
2 i
E
Q
dq
dE ke 2
x
1 dx
dE 2
4 0 x
Dr. M. Y. Soomro
Example
Integrate to total length 1 1
E ( - )
1 dx 4 0 a a
E 2
4 0 x (l a ) - a
E ( )
4 0 a( a )
Use limits
a 1 dx l
E 2 1
E
a 4 0 x 4 0 a( a)
a dx
E
4 0 a x 2 If a >> l E
k eQ
a( a)
1 a
E [- ]a ke Q
4 0 x E 2
a
Example 2.1
Find the electric field a distance z above the midpoint of
a straight line segment of length 2L which carries a
uniform line charge λ
Dr. M. Y. Soomro
Example 2.1
Symmetry
Contribution to net E at field point, P from infinitesimal
line charges dλ associated with infinitesimal line segments,
dL located at ±x such that
xˆ components of net electric field at field point, P cancel
each other
Dr. M. Y. Soomro
Example 2.1
Dr. M. Y. Soomro
Example 2.1
z z
cos cos
r x z
2 2
x x
sin sin
r x2 z 2
-
dENET dE dE
1 dL
dE {( )( 2 ) - sin xˆ cos zˆ }
4 0 r
1 dL
-
dE {( )( 2 ) sin xˆ cos zˆ }
4 0 r
dENET ??????
Dr. M. Y. Soomro
Example 2.1
dENET dE dE -
1 dL
dENET 2( )( )cos zˆ
4 0 r 2
L L
ENET { dE dE - }
0 0
L L
ENET { dE dE - }
0 0
Dr. M. Y. Soomro
Example 2.1
L
1 dL
ENET 2( )( )cos zˆ
0
4 0 r 2
L
1 dL z
ENET 2( ) 2 cos zˆ cos
4 0 0 r r
L
1 1 z
ENET 2( ) 2 dxzˆ
4 0 0 r r
L
1 1 z
ENET 2( ) 2 2 dxzˆ
4 0 0 ( x z ) x 2 z 2
L
2 z
L
1 2 z x
ENET ( ) 2 2 3 dxzˆ ENET [ ]
4 0 0 ( x z ) 2 4 0 z 2 z 2 x 2 0
Dr. M. Y. Soomro
Example 2.1 L
2 z x
ENET [ ] zˆ
4 0 z 2 z 2 x 2 0
2 z L
ENET ( )[ 2 ]zˆ
4 0 z L2 z 2
2 L 1
ENET ( )[ ]zˆ
4 0 z L2 z 2
2 L 1
ENET ( )[ ]zˆ
4 0 z L2 z 2
Case -1 2 L
For points far from the line (z>>L) ENET ẑ
L2+Z2 = Z2 4 0 z 2
Dr. M. Y. Soomro
Example 2.1
Case -1
For points far from the line (z>>L)
L2+Z2 = Z2 2 L
ENET ẑ
4 0 z 2
Dr. M. Y. Soomro
Example 2.1
Case -2
In the limit L → ∞, we obtain the field of an infinite
straight wire: 2 L 1
ENET ( )[ ]zˆ
2 L 1 4 0
( ]zˆ
2
ENET )[ z
z L (1
2
4 0 z L2 z 2 L
2
)
2 L 1
ENET ( )[ ]zˆ
4 0 z
2
zL (1 )
1 2
2
L
Since, L→ ∞, so z2/L2 =0 E
4 0 z
1 2
E
4 0 s
Here, s is the distance from the wire
Dr. M. Y. Soomro
The Electric Field Lines
There is a question that if we got force from Coulomb’s
law then what is need to complicated life and create a new
vector
There is a reason:
It has to do with how we view Coulomb's law
Dr. M. Y. Soomro
The Electric Field Lines
Picture of particle’s which create stresses in the space
around them called fields
Dr. M. Y. Soomro
The Electric Field Lines
A convenient aid for visualizing electric field patterns is
to draw lines pointing in the direction of the electric field
vector at any point
Properties:
1. The electric field vector E is tangent to the electric
field lines at each point
2. The number of lines per unit area through a surface
perpendicular to the lines is proportional to the strength
of the electric field in a given region
Dr. M. Y. Soomro
The Electric Field Lines
E is large when the field lines are close together and
small when the lines are far apart
Electric field lines for a single positive point charge
The lines are directed radially outward from the charge in
all directions
Dr. M. Y. Soomro
The Electric Field Lines
The electric field lines for a single negative point charge
are directed toward the charge
The lines are closer together as they get near the charge,
indicating that the strength of the field is increasing
Dr. M. Y. Soomro
The Electric Field Lines
Dr. M. Y. Soomro
Electric Flux (ΦE)
The word Flux comes from a Latin meaning ‘’to flow’’
It is a measure of how much the electric field vectors
penetrate through a given surface
Number of field lines is proportional to the product of E
and A
E EA
The magnitude of the electric flux through a loop of the
area A is
EA cos
Electric Flux (ΦE)
Flux through a surface of fixed area has the maximum
value EA when the surface is perpendicular to the field
(when θ = 0°)
Flux is zero when the surface is parallel to the field
(when θ= 90°)
Dr. M. Y. Soomro
Gauss’s Law
Gauss’s law is essentially a technique for calculating the
average electric field on a closed surface
Proof:
Consider a point charge q surrounded by a spherical
surface of radius r centered on the charge
Gauss’s Law
The magnitude of the electric field everywhere on the
surface of the sphere is q
Ek 2
r
Electric field is perpendicular to the spherical surface at
all points on the surface
E 4 kq - -- (A)
1
k
4 0
1
0 E
q
4 k
0
Electric flux through a sphere that surrounds a charge q is
equal to the charge divided by the constant ε0
Dr. M. Y. Soomro
Gauss’s Law
General result:
Qinside
E
0
Dr. M. Y. Soomro
Thanks
Electrodynamics-I
Lec=05
DR.M.Y.Soomro
The Electric Field
The electric field generated by the source charges is
equal to F
E
Q
n
1 qi
E
4 0 i 1 ri
rˆ
2 i
(r ' )
E
1
rˆdl '
4 0 r2
For continuous charge distributions p
(r ' )
rˆdq rˆda
1 1 1
E
'
E 4 0 r2
4 0 r 2 s
(r ' )
E
1
rˆd '
4 0 v
r2
Example
A rod of length l has a uniform charge per unit length λ
and a total charge Q. Calculate the electric field at a point P
along the axis of the rod at a distance a from one end. Note
that λ= Q/l
Example
Example
dq
dx
F
dq dx E
Q
n
1 qi
E
4 0 i 1 ri
rˆ
2 i
dq
dE ke 2
x
1 dx
dE 2
4 0 x
Example
Integrate to total length 1 1
E ( )
1 dx 4 0 a a
E 2
4 0 x (l a) a
E ( )
4 0 a( a)
Use limits
a 1 dx l
E 2 1
E
a 4 0 x 4 0 a( a)
a dx ke Q
E
4 0 a x 2
E
a( a)
If a >> l
1 a
E [ ]a
4 0 x ke Q
E 2
a
Example 2.1
Find the electric field a distance z above the midpoint of
a straight line segment of length 2L which carries a
uniform line charge λ
Example 2.1
Symmetry
Contribution to net E at field point, P from infinitesimal
line charges dλ associated with infinitesimal line segments,
dL located at ±x such that
xˆ components of net electric field at field point, P cancel
each other
Example 2.1
Example 2.1
z z
cos cos
r x z
2 2
x x
sin sin
r x2 z 2
dENET dE dE
1 dL
dE {( )( 2 ) sin xˆ cos zˆ }
4 0 r
1 dL
dE {( )( 2 ) sin xˆ cos zˆ }
4 0 r
dENET ??????
Example 2.1
dENET dE dE
1 dL
dENET 2( )( ) cos zˆ
4 0 r 2
L L
ENET { dE dE }
0 0
L L
ENET { dE dE }
0 0
Example 2.1
L
1 dL
ENET 2( )( ) cos zˆ
0
4 0 r 2
L
1 dL z
ENET 2( ) 2 cos zˆ cos
4 0 0 r r
L
1 1 z
ENET 2( ) 2 dxzˆ
4 0 0 r r
L
1 1 z
ENET 2( ) 2 dxzˆ
4 0 0 ( x z 2 ) x2 z 2
L
2 z
L
1 2 z x
ENET ( ) 2 ˆ ENET
3 dxz
[ ]
4 0 0 ( x z 2 ) 2 4 0 z 2 z 2 x 2 0
Example 2.1 L
2 z x
ENET [ ] zˆ
4 0 z z x 0
2 2 2
2 z L
ENET ( )[ 2 ]zˆ
4 0 z L2 z 2
2 L 1
ENET ( )[ ]zˆ
4 0 z L2 z 2
2 L 1
ENET ( )[ ]zˆ
4 0 z L z
2 2
Case -1 2 L
For points far from the line (z>>L) ENET ẑ
L2+Z2 = Z2 4 0 z 2
Example 2.1
Case -1
For points far from the line (z>>L)
L2+Z2 = Z2 2 L
ENET ẑ
4 0 z 2
4 0 z L2 z 2 L
2
)
2 L 1
ENET ( )[ ] zˆ
4 0 z
2
zL (1 )
1 2
2
L
Since, L→ ∞, so z2/L2 =0 E
4 0 z
1 2
E
4 0 s
Here, s is the distance from the wire
The Electric Field Lines
There is a question that if we got force from Coulomb’s
law then what is need to complicated life and create a new
vector
There is a reason:
It has to do with how we view Coulomb's law
Properties:
1. The electric field vector E is tangent to the electric
field lines at each point
2. The number of lines per unit area through a surface
perpendicular to the lines is proportional to the strength
of the electric field in a given region
The Electric Field Lines
E is large when the field lines are close together and
small when the lines are far apart
Electric field lines for a single positive point charge
The lines are directed radially outward from the charge in
all directions
The Electric Field Lines
The electric field lines for a single negative point charge
are directed toward the charge
The lines are closer together as they get near the charge,
indicating that the strength of the field is increasing
The Electric Field Lines
Electric Flux (ΦE)
The word Flux comes from a Latin meaning ‘’to flow’’
It is a measure of how much the electric field vectors
penetrate through a given surface
Number of field lines is proportional to the product of E
and A
E EA
The magnitude of the electric flux through a loop of the
area A is
EA cos
Electric Flux (ΦE)
Flux through a surface of fixed area has the maximum
value EA when the surface is perpendicular to the field
(when θ = 0°)
Flux is zero when the surface is parallel to the field
(when θ= 90°)
Proof:
Consider a point charge q surrounded by a spherical
surface of radius r centered on the charge
Gauss’s Law
The magnitude of the electric field everywhere on the
surface of the sphere is q
Ek 2
r
Electric field is perpendicular to the spherical surface at
all points on the surface
E 4 kq (A)
1
k
4 0
1
0 E
q
4 k
0
Electric flux through a sphere that surrounds a charge q is
equal to the charge divided by the constant ε0
Gauss’s Law
General result:
Qinside
E
0
Thanks
Electrodynamics-I
Lec=06
DR.M.Y.Soomro
Example 2.1
Find the electric field a distance z above the midpoint of
a straight line segment of length 2L which carries a
uniform line charge λ
DR. M. Y. Soomro
Example 2.1
x x
sin sin
r x2 z 2
dENET dE dE
1 dL
dE {( )( 2 ) sin xˆ cos zˆ }
4 0 r
1 dL
dE {( )( 2 ) sin xˆ cos zˆ }
4 0 r
dENET ??????
DR. M.Y. Soomro
Example 2.1
dENET dE dE
1 dL
dENET 2( )( ) cos zˆ
4 0 r 2
L L
ENET { dE dE }
0 0
L L
ENET { dE dE }
0 0
DR. M.Y. Soomro
Example 2.1
L
1 dL
ENET 2( )( ) cos zˆ
0
4 0 r 2
L
1 dL z
ENET 2( ) 2 cos zˆ cos
4 0 0 r r
L
1 1 z
ENET 2( ) 2 dxzˆ
4 0 0 r r
L
1 1 z
ENET 2( ) 2 dxzˆ
4 0 0 ( x z 2 ) x2 z 2
L
2 z
L
1 2 z x
ENET ( ) 2 ˆ ENET
3 dxz
[ ]
4 0 0 ( x z 2 ) 2 4 0 z 2 z 2 x 2 0
DR. M.Y. Soomro
Example 2.1 L
2 z x
ENET [ ] zˆ
4 0 z z x 0
2 2 2
2 z L
ENET ( )[ 2 ]zˆ
4 0 z L2 z 2
2 L 1
ENET ( )[ ]zˆ
4 0 z L2 z 2
2 L 1
ENET ( )[ ]zˆ
4 0 z L z
2 2
2 L
Case -1 ENET ẑ
For points far from the line (z>>L) 4 0 z 2
L2+Z2 = Z2
DR. M.Y. Soomro
Example 2.1
Case -1
For points far from the line (z>>L)
L2+Z2 = Z2 2 L
ENET ẑ
4 0 z 2
4 0 z L2 z 2 L
2
)
2 L 1
ENET ( )[ ] zˆ
4 0 z
2
zL (1 )
1 2
2
L
Since, L→ ∞, so z2/L2 =0 E
4 0 z
1 2
E
4 0 s
Here, s is the distance from the wire
DR. M.Y. Soomro
The Electric Field Lines
A convenient aid for visualizing electric field patterns is
to draw lines pointing in the direction of the electric field
vector at any point
Properties:
1. The electric field vector E is tangent to the electric
field lines at each point
2. The number of lines per unit area through a surface
perpendicular to the lines is proportional to the strength
of the electric field in a given region
DR. M. Y. Soomro
The Electric Field Lines
The electric field lines for a single negative point charge
are directed toward the charge
The lines are closer together as they get near the charge,
indicating that the strength of the field is increasing
EA cos
DR. M. Y. Soomro
Electric Flux (ΦE)
Flux through a surface of fixed area has the maximum
value EA when the surface is perpendicular to the field
(when θ = 0°)
Flux is zero when the surface is parallel to the field
(when θ= 90°)
DR. M. Y. Soomro
Gauss’s Law
Gauss’s law is essentially a technique for calculating the average
electric field on a closed surface
Proof:
Consider a point charge q surrounded by a spherical
surface of radius r centered on the charge
Gauss’s Law
The magnitude of the electric field everywhere on the
surface of the sphere is q
Ek 2
r
Electric field is perpendicular to the spherical surface at
all points on the surface
E 4 kq (A)
1
k
4 0
1
0 E
q
4 k
0
Electric flux through a sphere that surrounds a charge q is
equal to the charge divided by the constant ε0
4 0 r 2
d E.da
Qenclosed
E.da E
0
E
s
1
E.da
v
Qenclosed 1
0 E.da d 0 v
DR. M.Y. Soomro
1
E.da d
0 v
E.da v ( 0 )d
v (.E)d v ( 0 )d
1
.E
0
Differential form of Gauss’ Law
DR.M.Y.Soomro
Dr. M. Y. Soomro 1
Gauss’s Law
E.da
Qenclosed
(.B ).d B.da
0 V s
1
.E
0
Dr. M. Y. Soomro 2
Gauss’s Law
Problem 2.9
Suppose the electric field in some region is found to
be E kr 3rˆ , in spherical coordinates (k is some constant)
a) Find the charge density
b) Find the total charge contained in a sphere of radius R,
centered at the origin
2
.E 5 0 kr
0
0.E
R
Qenc d (5 0 kr 2 )(4 r 2 dr )
1 2 3 V 0
0 2 (r kr )
r r
1 Qenc 4 0 kR 5
0 2 k (5r 4 )
r Dr. M. Y. Soomro 3
Gauss’s Law
Find the total charge contained in a sphere of radius R,
centered at the origin
Qenc 4 0 kR5
Qenc 0 E.da
S
Qenc 0 (kR )(4 R )
3 2
Qenc 4 0 kR 5
Dr. M. Y. Soomro 4
Gauss’s Law
Gauss's law in differential form can also be obtained
directly from Coulomb's law
(r ' )
E
1
rˆd '
4 0 v
r2
1 rˆ (r' )d 1 rˆ
4 0 v r 2
.E . (r )d
'
E ' '
4 0 v r
2
1 rˆ (r' )d 1 rˆ
4 0 v r 2
.E . '
.E . (r )d
' '
4 0 v r
2
Dr. M. Y. Soomro 5
Gauss’s Law
1
rˆ (r )d
1 ˆ
r
.E .
'
.E .( ) (r ' )d
' '
4 0 v r
2
4 0 v
r2
3 (r ) ( x) ( y) ( z)
If either r components = non zero than any one of these
terms going to be zero (δ(x)δ(y)δ(z) = 0)
If all of them happened to zero so all points at origin
In this case the integral becomes
(r ) d
( x) ( y) ( z)
3
v
Dr. M. Y. Soomro 6
Gauss’s Law
(r ) d
( x) ( y) ( z)dxdydz
3
v
( x) dx
( y ) dy 1
( z ) dz
If we include origin in this triple integral you will get
value of 1
If we multiply by some scalar field or even a vector
field
(r) d f (o)
3
f( r )
v
f(r ) (r r0 ) d f (r0 )
3
Dr. M. Y. Soomro 7
Gauss’s Law
So we can pick up the vector using Dirac delta function
from the integer
rˆ
.( 2 )
r
Vector field is zero everywhere except at the origin
Yet the integral of this is equal to 4π
Why????
We know that the flux through the surface was 4π
Conclusion:
rˆ
.( 2 ) 4 3 (r )
r
r r r0
Some common boundary point Dr. M. Y. Soomro 8
Gauss’s Law
1 ˆ
r
.E .( ) (r ' )d '
4 0 v
r2
1
.E r
3 ' '
4 ( r r ) ( ) d
4 0
0
v
Dr. M. Y. Soomro 9
Applications of Gauss’s Law
1. If the charge distribution has spherical symmetry, then
Gauss's law can be used with concentric spheres as
Gaussian surfaces
Dr. M. Y. Soomro 10
Applications of Gauss’s Law
Example:
An insulating sphere of radius a has a uniform charge
density ρ and a total positive charge Q.
Calculate the E outside the sphere
Dr. M. Y. Soomro 11
Applications of Gauss’s Law
Charge distribution is spherically symmetric so select
a spherical Gaussian surface of radius r > a centered
on the charged sphere
Positively charged sphere means the field is directed
radailly outward
On Gaussian sphere E is always parallel to dA
On Gaussian surface E is always constant
Dr. M. Y. Soomro 12
Applications of Gauss’s Law
Qinc
s E.dA o
Qinc
s EdA o
Qinc
E (4 r )
2
o
1 Q
E
4 r 2 o
Q
E ke
o
Dr. M. Y. Soomro 13
Applications of Gauss’s Law
Example:
Find the electric field d distance r from an infinitely long
wire with uniform positive charge per unit length
Dr. M. Y. Soomro 14
Applications of Gauss’s Law
Symmetry suggests choosing a cylindrical Gaussian
surface that is coaxial with the line of charge
Dr. M. Y. Soomro 15
Applications of Gauss’s Law
Qinc
s E .dA
o E
2 r o
l
s E.dA o
l
EdA
s
o
l
E dA
s
o
l
E (2 rl )
o
Dr. M. Y. Soomro 16
Thanks
Dr. M. Y. Soomro 17
Electrodynamics-I
Lec=08
DR.M.Y.Soomro
The Curl of E
Consider simplest possible situation: point charge at
origin 1 q
E ( 2 )rˆ
E is given by: 4 0 r
Line integral rb
q
b y
E dl
a
ra
x
E is radial due to spherical symmetry of problem
b
1 q q
E dl
1 q
4 0 r 2
dr
a
E dl ( )
4 0 ra rb
b
b b q 1 1
1 q
a E dl 4 0 a r 2 dr a E dl 4 0 ( ra rb )
1 q ra = distance from the origin to
b rb
a E dl 4 0 ( r ) r point a
a
rb = distance from the origin to
point b
The Curl of E
For any closed path ra = rb
The integral around a closed path = 0
E.dl 0
Applying Stokes’ theorem (theorem for curl)
xE 0
By using principle of superposition
ETotal E1 E2 E3 ........
xETotal xE1 xE2 xE3 ........ 0
Electric Potential
The electric potential (V) is the potential energy due to the
electrostatic force
Electric Potential
Imagine a small positive charge placed at point A in a
uniform electric field
The electric field between equally and oppositely charged
parallel plates is an example of a field that is approximately
constant
Electric Potential
Gauss’s Law
When a charge q moves in a uniform electric field E from
point A to point B, the work done on the charge by the
electric force is
WAB Fx x x x f xi
W qEx (x f xi )
Electric Potential
Electric work in terms of the work–energy theorem
W qEx x
W KE
The electric force is conservative, so the electric work
depends only on the endpoints of the path, A and B, not on
the path taken
PE
Ex x
q
PE
Ex x
q
V Ex x
It shows that potential difference also has units of electric
field times distance
1N / C 1V / m
Electric Potential
For any vector function whose curl is equal to zero is the
gradient of a scalar function
The scalar function whose gradient is the electric field is
called the electric potential V
E.dl 0
The line integral of E from point ‘a’ to point ‘b’ is same
for all paths
As line integral is independent of path, then we can
define a function r
V (r ) E.dl
0
V (b) V(a) E.dl ( E.dl )
0 0
b a
V (b) V(a) E.dl E.dl
0 0
b o
V (b) V(a) E.dl E.dl
0 a
b
( V).dl E.dl
a a
V E
E V
Electric field is a function of a scalar potential
Applications of Gauss’s Law
Consider a charge distribution
The electric field at a point P generated by this charge
distribution is:
(r )' 1 rˆ
(x 2 ) (r )d
rˆd xE
1 ' '
E
'
4 0 r2 4 0 v r
v
1 rˆ (r' )d
4 0 v r 2
E '
r r r
' ˆ
r
x 0
r2
1 rˆ
xE x (r )d
' '
4 0 v r
2
xE 0
Thanks
Electrodynamics-I
Lec=09
DR.M.Y.Soomro
Today in Physics
Born 10 Feb 1902
Walter Brattain was an American physicist
share with John Bardeen and William Shockley
Nobel Prize for Physics in 1956
for investigating semiconductors and for
the development of the transistor
ˆ
xE k (3xz ) (2 yz ) i k ( xy ) (3xz) ˆj
y z z x
ˆ
+k (2 yz) (x y) k xˆ yˆ zˆ
x y
xE k
xE k (2 y iˆ 3zjˆ xkˆ) x y z
xy 2yz 3xz
xE k xˆ (0-2y)+y(0-3z)+z(0-x)
ˆ ˆ
As the curl of this vector function is not equal to zero,
this vector function can not describe an electric field
ˆ ˆ
xE k (-2yxˆ-3zy-xk)
Problem 2.20
(b) E k y 2 Xˆ (2 xy z 2 )Yˆ 2 yzZˆ
2 ˆ 2
xE k (2 y z ) (2 xy z ) i k ( y ) (2 yz) ˆj
y z z x
2 ˆ
+k (2 x y z ) ( y ) k
2
xˆ yˆ zˆ
x y
xE k
x2 y z
xE 0 y 2xy+z 3yz
2
xE k xˆ (2z-2z)+y(0-0)+z(2y-2y)
ˆ ˆ
xE 0
As the curl of this vector function is equal to zero it can
describe an electric field
Problem 2.20
For the possible one, find the potential using origin as
your reference point xˆ yˆ zˆ
xE k
E k y 2 Xˆ (2 xy z 2 )Yˆ 2 yzZˆ x2 y z
y 2xy+z 2 3yz
E ky 2 dx
E ky 2 dx 0
y0
y 2
E.dl k (2 xy z 2 ) dy
E.dl 2kx0 2
0
E.dl 2kx0 y dy
2
y0 E.dl kx y
0 0
E.dl 2kx y dy
0
0
y0
E.dl 2kx y dy
0
0
Problem 2.20
E k y 2 Xˆ (2 xy z 2 )Yˆ 2 yzZˆ
xˆ yˆ zˆ
E 2kyzdz
xE k
E.dl 2ky0 zdz x2 y z
y 2xy+z 2 3yz
z0
E.dl 2ky
0
0 zdz
z0
E.dl 2ky0 2
0
E.dl ky z
2
0 0
Problem 2.20
dx 0
2
E.dl ky
r
V E.dl
2
0
E.dl kx y
0 0
x0 , y0 , zo
V ( x0 , y0 , zo ) 0
E.dl
E.dl ky z
2
0 0
V ( x0 , y0 , zo ) k ( x y y z 2
0 0
2
0 0
V ( x, y, z ) k ( xy 2 yz 2 )
Potential and superposition principle
For force:
The total force on Q is the vector sum of the forces
attributable to the source
F F1 F2 ....
Step-II
Total potential it is found by adding the contributions
from all the charge elements of the object
1 dq
4 0 r
1 dq V
dV 4 0 r
The Curl of E
The potential difference b/w two points ‘a’ and ‘b’
b a
( V).dl E.dl
a a
V E
E V
Electric field is a function of a scalar potential
Thanks
Electrodynamics-I
Lec=10
DR.M.Y.Soomro
Dr. M. Y. Soomro
2.3.3 Poisson’s equation and Laplace’s equation
Poisson’s equation
E V V
2 V
2
0 0
.E .(V )
This is known as Poisson’s equation
.E V 2
Differential equation
The divergence of the gradient of a
.E
0 function, is called the Laplacian
As the potential is a scalar function, this approach has
advantages over trying to calculate the electric field
directly
Once the potential has been calculated, the electric field
can be computed by taking the gradient of the potential
Dr. M. Y. Soomro
2.3.3 Poisson’s equation and Laplace’s equation
Laplace’s equation
V
2
0
Dr. M. Y. Soomro
2.3.4 The Potential of a localized charge
distribution
To obtain the potential at an exterior point we will take
the potential to be zero at infinity & evaluate
V 0, r
A point charge qi located at the origin will generate an
electric potential
1 q
r
V (r) E.dl
V () V(r) 4 r 2
r 0
0
q 1
V () V(r)
b
Dr. M. Y. Soomro
2.3.4 The Potential of a localized charge
distribution
1 q 1 q
V(r) V(r)
r
4 0 r 2
4 0 r
1 q Potential due to collection of
V(r)
4 r 2 charges
0
VTotal V1 V2 V3 .....
r
1 q
V(r) 1 q1 1 q2 1 q3
4 r 2
VTotal .....
0
4 0 r1 4 0 r2 4 0 r3
r
q 1
V(r)
4 0 r r 2 1 qi n
V(r)
4 0 i 1 ri
1 q
V(r)
4 0 r r
Dr. M. Y. Soomro
2.3.4 The Potential of a localized charge distribution
n
1 qi
V(r)
4 0 i 1 ri
For continuous charge distribution
1 1
V(r)
4 0 r
dq For surface charge density
1
V(r)
4 0 r d
For linear charge density
1
V(r)
4 0 r dl
For surface charge density
1
V(r)
4 0 r da
Dr. M. Y. Soomro
2.3.5 Electrostatic Boundary Conditions
Electric field always undergoes a discontinuity when
crossing a surface charge σ
Dr. M. Y. Soomro
2.3.5Electrostatic Boundary Conditions
Consider the interface between two media which has a
charge density σ
Dr. M. Y. Soomro
Electrostatic Boundary Conditions
Consider a Gaussian pillbox in the shape of a rectangular
parallelepiped of cross section A and height half ε of which
is above the plane and half below
E =normal components
of E
above
E =normal components
of E immediately above face
above
E
=normal components of
E immediately bottom face
Dr. M. Y. Soomro
Electrostatic Boundary Conditions
Using Gauss’s law, the flux out of the parallelepiped is
due the
Flux from the top surface
Flux from the bottom surface
Flux from the side surfaces
0
Dr. M. Y. Soomro
Electrostatic Boundary Conditions
What about the tangential component?
Dr. M. Y. Soomro
Electrostatic Boundary Conditions
Consider a rectangular loop of length “l” and height “ε”
which is infinitesimally small, whose plane is perpendicular
to the interface and half of which is above the interface and
half below
Dr. M. Y. Soomro
Electrostatic Boundary Conditions
For thin rectangular loop
E.dl 0
Perpendicular sections become infinitely small
As ε→0 ends gives nothing
sides gives
E abovel E belowl 0 The tangential component of
electric field is continuous
l( E above
E below
)0
OR
E above E below 0 The component of parallel to
the surface is continuous across
E above
E below
the surface
Dr. M. Y. Soomro
Electrostatic Boundary Conditions
The normal component of the electric field discontinuous
Eabove
E
below
)
0
The tangential component of the electric field is
continuous above
E below
E
Eabove Ebelow nˆ
0
Dr. M. Y. Soomro
Thanks
Dr. M. Y. Soomro
Electrodynamics-I
Lec=11
DR. M. Y. Soomro
2.3.3 Poisson’s equation and Laplace’s equation
Poisson’s equation
E V 2V 0
.E .(V )
.E 2V
.E
0
V
2
0
V
2
0
2.3.4 The Potential of a localized charge
distribution
b
1 q 1
V (b) V(a) E.dl V(r) V(r) r dl
4 0 r 4 0
a
1 q n
E 1
qi 1
4 0 r 2 V(r)
4 0 i 1 ri V(r)
4 0 r da
1q 1 1
V () V(r) V(r)
4 0 r
dq V(r)
1
r d
r
4 0 r 2
4 0
1 q
V(r)
4 0 r r
Electrostatic Boundary Conditions
1
E.da Q
s 0
enc
EA
E above
A E below
A
above
E
E
below
)
0
Qenc
E above
A E below
A
0
A
A( E above
E below
)
0
Electrostatic Boundary Conditions
What about the tangential component?
Electrostatic Boundary Conditions
Consider a rectangular loop of length “l” and height “ε”
which is infinitesimally small, whose plane is perpendicular
to the interface and half of which is above the interface and
half below
Electrostatic Boundary Conditions
For thin rectangular loop
E.dl 0
Perpendicular sections become infinitely small
As ε→0 ends gives nothing
sides gives
E abovel E belowl 0 The tangential component of
electric field is continuous
l( E above
E below
)0
OR
E above E below 0 The component of parallel to
the surface is continuous across
E above
E below
the surface
Electrostatic Boundary Conditions
The normal component of the electric field discontinuous
Eabove
E
below
)
0
The tangential component of the electric field is
continuous
Eabove below
E
Eabove Ebelow nˆ
0
DR.M.Y.Soomro
2.4 Work and Energy in Electrostatics
2.4.1 The Work Done to Move a Charge
Fe QE
The mechanical force required
to balance the electrostatic force
Fmech Fe
Fmech QE
2.4.1 The Work Done to Move a Charge
Fmech Fe Fmech QE
Fmech Fe
The mechanical work done on the Q along the path a to b
is: a
W Fmech .dl
a
a
W QE .dl
a
a
W Q E .dl
a
2.4.1 The Work Done to Move a Charge
a
V V (b) V (a)
W Q V (b) V(a)
2.4.1 The Work Done to Move a Charge
W Q V (b) V(a)
W
V (b) V(a)
Q
The potential difference b/w points “a” and “b” is equal
to the work per unit charge required to carry a particle from
“a” to “b”
If point “a” is a reference point
If we want to bring the Q in from far away and put at
point r r
a
V (a) 0
rb r
2.4.1 The Work Done to Move a Charge
W Q V (r) V()
W QV ( r )
It means that W = work done on charge Q is also equal to
the potential energy
P.E W QV (r )
W1 0
2.4.2 The Energy of a Point Charge Distribution
Now bring in the 2nd charge q2 from infinity. The work
done in bringing in q2 from infinity is:
1 q1 q2
W2
4 0 r12
1 q1
W2 q2 ( )
4 0 r12
r12 r12 r2 r1
r12 is the distance
(separation b/w q1 & q2)
2.4.2 The Energy of a Point Charge Distribution
Now bring in the 3rd charge q3 from infinity. The work
done in bringing in q3 from infinity is:
1 q1q3 1 q2 q3
W3
4 0 r13 4 0 r23
1 q1 q2
W3 q3 ( )
4 0 r13 r23
1 q1q4 1 q2 q4 1 q3 q4
W4
4 0 r14 4 0 r24 4 0 r34
1 q1 q2 q3
W4 q4 ( )
4 0 r14 r24 r34
2.4.2 The Energy of a Point Charge Distribution
Now bring in the 5th charge q4 from infinity. The work
done in bringing in q4 from infinity is:
1 q1q5 1 q2 q5 1 q3 q5 1 q4 q5
W5
4 0 r15 4 0 r25 4 0 r35 4 0 r45
1 q1 q2q4 q3
W5 q5 ( )
4 0 r15 r25 r35 r45
2.4.2 The Energy of a Point Charge Distribution
The total work necessary to assemble the first 4 charges is
WTOTAL W1 W2 W3 W4
1 q1 q2 1 q1 q 3 1 q 2 q3 1 q1 q 4 1 q2 q4 1 q3 q 4
WTotal 0
4 0 r12 4 0 r13 4 0 r23 4 0 r14 4 0 r24 4 0 r34
1 n n qi q j
WTotal
4 0
i 1 j 1 rij
j i
j > i remind us not to count the same pair twice
A nicer way to intentionally count each pair twice and
n n qq
then divide by 2 i j
i 1 j 1 rij
1 j i
WTotal
4 0 2
1 n n qi q j
WTotal
8 0
i 1 j 1 rij
j i
2.4.2 The Energy of a Point Charge Distribution
1 n n qi q j
qj
n
1
WTotal
8 0 i 1 j 1 rij
V(r)
4 0
r
j 1 ij
j i j i
1 n n
1 qj
WTotal qi ( )
2 i 1 j 1 4 0 rij
j i
1 n
WTotal qi V(ri )
2 i 1
It is the amount of work to assemble to make
configuration of point charges
It is also the amount of work you will get back if you
break the system
Thanks
Electrodynamics-I
Lec=13
DR. M. Y. Soomro
ρ
1
1
E
4 0 r 2
ˆ
rdv
V
4 0 r dv .E
0
2V
0
xE 0
E V
V E.dl
V E
2.4.1 The Work Done to Move a Charge
Fmech Fe Fmech QE
The mechanical work done on theb Q along the path a to b
W Q V .dl (2)
is: b
W Fmech .dl
a
a
W Q E .dl
b
W Q V (b) V(a)
a
b
W Q E .dl (1)
a
a
W Q V .dl
a
2.4.1 The Work Done to Move a Charge
b
V V (b) V (a)
W Q V (b) V(a)
2.4.1 The Work Done to Move a Charge
W Q V (b) V(a)
W
V (b) V(a)
Q
ra
V (a) 0
rb r
W Q V (r) V()
W QV ( r )
2.4.2 The Energy of a Point Charge Distribution
How much work does it take to assemble a collection of
point charges
Bringing them in from infinity, one by one?
W1 0
2.4.2 The Energy of a Point Charge Distribution
Now bring in the 2nd charge q2 from infinity. The work
done in bringing in q2 from infinity is:
1 q1 q2
W2
4 0 r12
1 q1
W2 q2 ( )
4 0 r12
r12 r12 r2 r1
r12 is the distance
(separation b/w q1 & q2)
2.4.2 The Energy of a Point Charge Distribution
Now bring in the 3rd charge q3 from infinity. The work
done in bringing in q3 from infinity is:
1 q1q3 1 q2 q3
W3
4 0 r13 4 0 r23
1 q1 q2
W3 q3 ( )
4 0 r13 r23
1 q1q4 1 q2 q4 1 q3 q4
W4
4 0 r14 4 0 r24 4 0 r34
1 q1 q2 q3
W4 q4 ( )
4 0 r14 r24 r34
2.4.2 The Energy of a Point Charge Distribution
Now bring in the 5th charge q4 from infinity. The work
done in bringing in q4 from infinity is:
1 q1q5 1 q2 q5 1 q3 q5 1 q4 q5
W5
4 0 r15 4 0 r25 4 0 r35 4 0 r45
1 q1 q2q4 q3
W5 q5 ( )
4 0 r15 r25 r35 r45
2.4.2 The Energy of a Point Charge Distribution
The total work necessary to assemble the first 4 charges is
WTOTAL W1 W2 W3 W4
1 q1 q2 1 q1 q 3 1 q 2 q3 1 q1 q 4 1 q2 q4 1 q3 q 4
WTotal 0
4 0 r12 4 0 r13 4 0 r23 4 0 r14 4 0 r24 4 0 r34
then divide by 2 i j
i 1 j 1 rij
1 j i
WTotal
4 0 2
1 n n qi q j
WTotal
8 0
i 1 j 1 rij
j i
2.4.2 The Energy of a Point Charge Distribution
1 n n qi q j
qj
n
1
WTotal
8 0 i 1 j 1 rij
V(r)
4 0
r
j 1 ij
j i j i
1 n n
1 qj
WTotal qi ( )
2 i 1 j 1 4 0 rij
j i
1 n
WTotal qi V(ri )
2 i 1
It is the amount of work to assemble to make
configuration of point charges
It is also the amount of work you will get back if you
break the system
Thanks
Electrodynamics-I
Lec=14
DR. M. Y. Soomro
Dr. M. Y. Soomro
2.4.2 The Energy of a Point Charge Distribution
W1 0 W2
1 q1 q2
W3
1 q1 q3
1 q2 q3
4 0 r12 4 0 r13 4 0 r23
1 q1q4 1 q2 q4 1 q3 q4
W4
4 0 r14 4 0 r24 4 0 r34
WTOTAL W1 W2 W3 W4
1 q1 q2 1 q1 q 3 1 q 2 q3 1 q1 q 4 1 q2 q4 1 q3 q 4
WTotal 0
4 0 r12 4 0 r13 4 0 r23 4 0 r14 4 0 r24 4 0 r34
n qi q j WTotal
8 0
rij
4 0 i 1 j 1 rij i 1 j 1
j i
j i
1 n qj
n n qi q j V(r) r
i 1 j 1 rij
4 0 j 1
j i
ij
1 j i
WTotal 1 n
4 0 2 WTotal qi V(ri )
2 i 1
Dr. M. Y. Soomro
Problem 2.31
a) Three charges are situated at the corners of a square
(side a). How much work does it take to bring in another
charge +q, from far away and place it in the fourth
corner?
b) How much work does it take to assemble the whole
configuration of four charges?
V V1 V2 V3
1 q
V1
4 0 a
1 q
V2
4 0 a
1 q
V3
4 0 a 2
Dr. M. Y. Soomro
Problem 2.31
1 q 1 q 1 q
V
4 0 a 4 0 a 4 0 a 2
1 q 1
V (2 )
4 0 a 2
W qV
Dr. M. Y. Soomro
Problem 2.31
b) How much work does it take to assemble the whole
configuration of four charges?
q2 1
W ( 1)
4 0 a 2
Dr. M. Y. Soomro
Problem 2.31
1 q 2 1 1 1 q2 1
W 0 ( 1) (2 )
4 0 a 4 0 a 2 4 0 a 2
q2 q2
W
2 2 0 a 0 a
Dr. M. Y. Soomro
Problem
Four charges are arranged at the corners of a square ABCD
of side d. Find the work required to put together this
arrangement
Dr. M. Y. Soomro
2.4.3 The Energy of a Continuous Charge
Distribution
1 n
WTotal qi V(ri ) (1)
2 i 1
1
W VdV (2)
2
.E 0.E
0
1
W 0 (.E )VdV
2
0
W
2 (.E )VdV (3)
Dr. M. Y. Soomro
2.4.3 The Energy of a Continuous Charge
Distribution
0
W
2 (.E )VdV (3)
f V
A E
0
W E.(V )dv VE.da (4)
2 V s
Dr. M. Y. Soomro
2.4.3 The Energy of a Continuous Charge
Distribution
0
W E.(V )dv VE.da (4)
2 V s
E V V E 1
W VdV
2
0
W E.( E)dv VE.da
2 V s
0 2
W E dv VE.da (5)
2 V s
0
W
2
all space
E 2 dv
Dr. M. Y. Soomro
Problem
A spherical conducting shell of inner radius a and outer
radius b carries a total charge +Q distributed on the surface
of a conducting shell. The quantity Q is taken to be positive.
(a) Find the electric field in the interior of the conducting
shell, for r < a, and (b) the electric field outside the shell,
for r > b. (c) If an additional charge of -2Q is placed at the
center, find the electric field for r >b. (d) What is the
distribution of charge on the sphere in part (c)?
Dr. M. Y. Soomro
Problem
(a) Find the electric field in the interior of the conducting
shell, for r < a
Qinside
EA E
0
Dr. M. Y. Soomro
Problem
Qinside
EA E
0
Qinside
E (4 r )
2
0
0
E 0
Dr. M. Y. Soomro
Problem
(b) the electric field outside the shell, for r > b
Qinside Q
E (4 r )
2
0 0
Q
E (4 r )
2
0
1 Q
E
4 0 r
2
Dr. M. Y. Soomro
Problem
(c) If an additional charge of -2Q is placed at the center,
find the electric field for r >b
Compute the new electric field outside the sphere,
for r > b
0
Q 2Q
E (4 r )
2
0
Q
E
4 0 r
2
Dr. M. Y. Soomro
Problem
(d) What is the distribution of charge on the sphere in part
(c)?
Qouter surface Q
Dr. M. Y. Soomro
Problem 2.31
The electric field inside a
uniformly charged spherical shell
is zero. It is also zero for the
conducting material in the region
a < r < b. The field outside is the
same as that of a point charge
having a total charge Q located at
the center of the shell
Dr. M. Y. Soomro
Problem 2.31
The construction of a Gaussian
surface for calculating the electric
field inside a spherical shell
Dr. M. Y. Soomro
Thanks
Dr. M. Y. Soomro
Electrodynamics-I
Lec=15
DR.M.Y.Soomro
2.4.2 The Energy of a Point Charge Distribution
1 q1q2 q1q3 q1q4 q2 q3 q2 q4 q3 q4
WTotal ( )
4 0 r12 r13 r14 r23 r24 r34
1 n n qi q j
WTotal
1 n
n qi q j WTotal
8 0
rij
4 0 i 1 j 1 rij i 1 j 1
j i
j i
1 n qj
n n qi q j V(r)
4 0
r
i 1 j 1 rij
j 1
j i
ij
1 j i
WTotal 1 n
4 0 2 WTotal qi V(ri )
2 i 1
2.4.3 The Energy of a Continuous Charge
Distribution
1 n
WTotal qi V(ri ) (1)
2 i 1
1
W VdV (2)
2
.E 0.E
0
1
W 0 (.E )VdV
2
0
W
2 (.E )VdV (3)
2.4.3 The Energy of a Continuous Charge
Distribution
0
W
2 (.E )VdV (3)
f V
A E
0
W E.(V )dv VE.da (4)
2 V s
2.4.3 The Energy of a Continuous Charge
Distribution
0
W E.(V )dv VE.da (4)
2 V s
E V V E 1
W VdV
2
0
W E.( E)dv VE.da
2 V s
0 2
W E dv VE.da (5)
2 V s
0
W
2
all space
E 2 dv
Example
Find the energy of a uniformly charged spherical shell of
total charge q and radius R 1 q
1
W VdV
W
8 0 R da
2
2
1 1 q
W Vda W
2 8 0 R
Potential at the surface of sphere
1 q
V
4 0 R
1 1 q
W da
2 4 0 R
Comments on electrostatics energy
0
W
2
all space
E 2 dv
DR.M.Y.Soomro
2.4.3 The Energy of a Continuous Charge
Distribution
1 n
WTotal qi V(ri ) (1)
2 i 1
1
f (.A)dv A.(f )dv fA.da
W VdV (2)
V V s
2 f V
A E
0.E
.E
0
1
W 0 (.E )VdV V(. E)dv E.(V )dv VE.da
2 V V s
0
W
2 (.E )VdV (3)
0
W E.(V )dv VE.da (4)
2 V s
2.4.3 The Energy of a Continuous Charge
Distribution
0
W E.(V )dv VE.da (4)
2 V s
E V V E
0 2
W E dv VE.da (5)
2 V s
0
W
2
all space
E 2 dv
Basic Properties of ideal conductor
E= 0 inside a conductor
when conductor is placed in a uniform external electric
field
the free charges inside the conductor (electrically neutral)
re-distribute themselves to create/produce inside E = 0
on extremely short timescales of ~ femto→ pico-seconds
(~ 10−15 −10−12 sec)
The redistributed free charges pile up on the surface(s) of
the conductor in such a way as to produce inside E = 0
These induced charges produce an internal electric field
of their own, which exactly cancels the external field
2.5.2 induced charges
If +q charge hold near a
uncharged conductor
Problem
As electric field is discontinuous at surface charge so
which value we supposed to use
E above
E below
in between
2.5.3 Surface Charge and the Force on a Conductor
Answer
Average of the two
f Eaverage
1
f ( Eabove Ebelow )
2
2.5.3 Surface Charge and the Force on a Conductor
Attention on a small patch surface surrounding the point
in question
Tiny enough so it essentially flat and surface charge on it
is essentially constant
Eother Eaverage
This valid for any surface (for conductor)
The field is zero inside
( )nˆ outside
0
( )nˆ average
2 0
2.5.3 Surface Charge and the Force on a Conductor
The force per unit area
f Eaverage
Eaverage ( )nˆ
f
1 2
nˆ
2 0
2 0
This produce an outward electrostatics pressure on the
surface tending to draw the conductor into the field
DR.M.Y.SOOMRO
2.5.4 Capacitors
A capacitor is a device store electric charges
A
C
Ed
A
C
( )d
0
A
C 0
d
The parallel-plate capacitor
Gauss’s law
For positively charged plate
Q
E.dA 0
Q Q
2 EA E
0 2 0 A
Problem:
Difficult to calculate due to integrals
Best strategy:
1 1
Calculate potential V V dv
4 0 r
0
3.1 Laplace’s equation
In this situation:
It is usually better to recast problem in differential form
Poisson’ equation
V
2
0
V V V
2 2 2
0
x y z
2 2 2
0
x y z
2 2 2
dV (x) m dx
V (x) mx b (b = 2nd constant of integration)
V (x) mx b
equation for a straight line
It is the general solution for d 2V
2
0
dx
3.1 Laplace’s equation in one dimension
Depending on the boundary conditions for the problem,
suppose V (x = 5) = 0 Volts and
V (x =1) = 4 Volts
these two boundary conditions uniquely specify the
values of b and m
we have two equations, and two unknowns (m & b)
solve simultaneously:
V ( x 5) 0 V ( x 5) 0 b 5m b 5m
V ( x 1) 4 b 1m 4 5m 1m
V ( x 1) 4
4 4m
V (x) 5 1x m = -1 and b 5
V (x) 5 1x (it is equation of a straight line for this problem)
3.1 Laplace’s equation in one dimension
General features of 1-D Laplace’s Equation
0
x y z
2 2 2
0
x y
2 2
DR.M.Y.SOOMRO
Chapter-03
Special Techniques
3.1 Laplace’s equation
Primary task of electrostatics:
Find electric field of a given stationary charge
distribution
1 rˆ
Coulomb’s law E dv
4 0 r 2
Problem:
Difficult to calculate due to integrals
Best strategy:
1 1
Calculate potential V V dv
4 0 r
0
3.1 Laplace’s equation
In this situation:
It is usually better to recast problem in differential form
Poisson’s equation
V
2
0
0
x y z
2 2 2
3.1 Laplace’s equation V V V
2 2 2
0
x y z
2 2 2
0
x y z
2 2 2
dV (x) m dx
V (x) mx b (b = 2nd constant of integration)
V (x) mx b
equation for a straight line
It is the general solution for d 2V
2
0
dx
3.1 Laplace’s equation in one dimension
Depending on the boundary conditions for the problem,
suppose V (x = 5) = 0 Volts and
V (x =1) = 4 Volts
these two boundary conditions uniquely specify the
values of b and m
we have two equations, and two unknowns (m & b)
solve simultaneously:
V ( x 5) 0 V ( x 5) 0 b 5m b 5m
V ( x 1) 4 b 1m 4 5m 1m
V ( x 1) 4
4 4m
V (x) 5 1x m = -1 and b 5
V (x) 5 1x (it is equation of a straight line for this problem)
3.1 Laplace’s equation in one dimension
General features of 1-D Laplace’s Equation
0
x y z
2 2 2
1
V ( x, y)
2 R VRd
DR.M.Y.SOOMRO
3.1.5 Boundary conditions and Uniqueness
Theorems
For determining V using Laplace’s equation we must use
suitable boundary conditions
What appropriate boundary conditions
V3 V1 V2
First Uniqueness Theorem
2V3 2V1 2V2
V3 ( )
2
2V3 0
0 0
What boundary conditions for V3 = boundary conditions
for V1 - boundary conditions for V2
V3 = 0 everywhere
It means V1 V2
1. Free of charge
2. Surrounded by a boundary with a known potential
Second Uniqueness Theorem
In the laboratory the boundaries are usually conductors
connected to batteries to keep them at a fixed potential
Proof:
Suppose that there are two fields E1 and E2 that are
solutions of Poisson's equation in the region between the
conductors
.E1 .E2
0 0
where ρ is the charge density at the point where the
electric field is evaluated
Second Uniqueness Theorem
.E1 .E2
0 0
Both obey Gauss’s law in integral form for a Gaussian
surface enclosing each conductor
Qi Qi
surface
E1.da
0
surface
E2 .da
0
conductor conductor
As E .da 0
3
3 dv 0
2
(E )
V
Second Uniqueness Theorem
3 dv 0
2
(E )
V
But this integrand is never negative
Only way the integral can vanish is if E3=0 everywhere
Consequently:
E1=E2
Theorem is proved
Thanks
ELECTRODYNAMICS-I
LEC=22
DR.M.Y.SOOMRO
3.2 The Method of Images
A useful technique for finding E and V for a certain
special classes of electrostatic and magnetostatic problems
that have some (or high) degree of mirror-reflection
symmetry
Total potential:
1. Directly due to charge q
2. Due to induced charge
Difficult:
We don’t know how much charge is induced or how it is
distributed
3.2 The Method of Images
Solve Poisson’s equation in the region z > 0 with a single
point charge q at (0,0,d)
1 q q
Vtotal ( )
4 0 r r
1 q q
Vtotal ( )
4 0 x y (z d )
2 2 2
x y (z d )
2 2 2
3.2 The Method of Images
1 q q
Vtotal ( )
4 0 x y (z d )
2 2 2
x y (z d )
2 2 2
If we set z = 0 x2 y 2 d 2
V
0
n
V
= normal derivative of V at the surface
n
Induced surface charge
V
0
n
Normal direction is z-direction
V V
1 q
q
0 4 0
( )
z z 0
x y (z d )
2 2 2
x y (z d )
2 2 2
1 q q
0 ( )
z 4 0 x y ( z d )
2 2 2
x y ( z d )
2 2 2
1 q q
0 ( )
4 0 z x y ( z d )
2 2 2
x y ( z d )
2 2 2
Induced surface charge
1 q q
0 ( )
4 0 z x y ( z d )
2 2 2
x y ( z d )
2 2 2
1 1
3
1
3
0 q( x y ( z d ) ) .2( z d )( ) q( x y ( z d ) ) 2( z d ))
2 2 2 2 2 2 2 2
4 0 2 2
1 q( z d ) q( z d )
0
4 0 2 3 3
( x y ( z d ) )
2 2 2
( x y ( z d ) )
2 2 2 2
1 qz qd qz qd
0
4 0 2 3 3
( x y ( z d ) )
2 2 2
( x y ( z d ) )
2 2 2 2
Induced surface charge
1 qz qd qz qd
0
4 0 2 3 3
( x y ( z d ) )
2 2 2
( x y ( z d ) )
2 2 2 2
At z = 0
1 qd qd
0
4 0 2 3 3
( x y d )
2 2 2
( x y d )
2 2 2 2
1 2qd
0
4 0 2 3
( x y d )
2 2 2
1 qd
2 3
( x2 y 2 d )
2 2
Induced surface charge
1 qd
2 3
(x y d )
2 2 2 2
Q da
Cartesian coordinates da = dx dy r 2 x2 y 2
But it is easier to used Polar coordinates da rdrd
1 qd
Q rdrd 2 qd 1
2 Q
3
rdr
(r 2 d )2 2
2 3
θ is uniform so 2
(r 2 d )
2 2
d 2 rdr
0
Q qd
qd 1 3
Q rdrd (r 2 d )2 2
2 3
(r 2 d 2 ) 2
Induced surface charge
rdr
Q qd 3
(r 2 d )
2 2
Substitution
1 1
u u 1(r 2 d 2 )
2
r2 d 2
1 2 2 32 rdr
du (r d ) .2r du 3
2 (r 2 d ) 2 2
r 1 1
Q qd
Q qd U
r 0 r d
2 2 2 2
r d 0
Q q
Force
Force b/w q and –q
Charge q is attracted toward the plane
1 q2
F zˆ
4 0 (2d ) 2
1q2
Fmech zˆ q2
d
1
4 0 (2 z )
z 2 dz
2
W
d 16 0
W Fmech .dl d
q 2
1
d W
W
q2 1
dz 16 0 z
4 0 (2 z ) 2
Force
d
q 2
1
W
16 0 z
q2
W
16 0 d
1 1 q2
W ( )
2 4 0 2d
Thanks
ELECTRODYNAMICS-I
LEC=23
DR.M.Y.SOOMRO
ELECTRIC DIPOLE
An electric dipole is a pair of equal and opposite point
charges q and –q separated by a distance
E E E
The magnitudes of the fields from each charge are
1 q
E E (A)
4 0 r 2
d 2
From figure: r x ( )
2 2
2
1 q
E E (B)
4 0 x 2 ( d ) 2
2
Calculate the Electric Field of the dipole
Total Fields
As the fields E+ and E- have equal magnitudes and lie at
equal angles θ with respect to the z direction so the x
components of the field is zero
E sin E sin 0
The total field E has only a z component with
magnitude
E E cos E cos
E 2 E cos (C)
Calculate the Electric Field of the dipole
x d 2 d 2
cos cos r x ( )
2 2
r r 2
d
cos 2
d 2
x ( )
2
E
4 0 [ x (d 2) ]
2 2 32
Calculate the Electric Field of the dipole
1 p
E
4 0 [ x (d 2) ]
2 2 32
1 p 3 d 2
E [1 ( )( ) .......]
4 0 x 3
2 2x
If z>>d p 1
E
4 0 x 3
Electric Field of Continuous Charge Distribution
Continuous charge distributions is a collections of
infinitesimal charge elements
V
0
n
V
= normal derivative of V at the surface
n
Force
we can obtain W actual by calculating the work required
to bring +q in from infinity to a distance d above the
grounded ∞-conducting plane
1q2
Fmech zˆ q2
d
1
4 0 (2 z )
z 2 dz
2
W
d 16 0
W Fmech .dl d
q 2
1
d W
W
q2 1
dz 16 0 z
4 0 (2 z ) 2
Thanks
ELECTRODYNAMICS-I
LEC=24
DR.M.Y.SOOMRO
Special Techniques for Calculating Potential
Laplace’s Equation
Separation of Variables
Multipole Expansion
Special Techniques for Calculating Potential
The Method of Images
r2 r 2 ( d2 )2 rd cos
2 d d2
r (1 cos 2
)
r 4r
r d
2 d
r (1 cos )
r
Multipole Expansion
Approximate Potentials at Large distances
r d
2 d
r (1 cos )
r
1
1 1 d 1 d
(1 cos ) 2 (1 cos )
r r r r 2r
1 1 d
( ) cos
r+ r- r2
1 qd cos
V ( p)
4 0 r2
Multipole Expansion
Example
For an arbitrary localized charge distribution Find a
systematic expansion of the potential?
1 1
V ( p)
4 0 r
d
1 r r 2 3 1 r 3 5 3
[1 ( )cos ( ) ( cos 2 ) ( ) ( cos3 cos ) ]
r r r 2 2 r 2 2
1 r n
r ( ) Pn (cos ) d
r
n 0
1 1
V (r )
4 0 r ( n1)
( r ) n
Pn (cos ) d
n 0
1 1 1 1 32 1
[
4 0 r d r2
r cos d r3
( cos ) d
( r )
2 2
]
Monopole term Dipole term Quadrupole term
Multipole expansion
Chapter-04
Electric Fields in Matter
1. Polarization
2. Field of a Polarized Object
3. The Electric Displacement
4. Linear Dielectrics
Chapter-04
Electric Fields in Matter
1. Polarization
o Dielectrics
o Induced dipoles
o Alignment of polar molecules
o Polarization
4-1 Polarization
Dielectrics
Most everyday objects belongs to one of two large
classes
Conductors
Insulators (dielectrics)
1. Stretching
2. Rotating
e
Enucl 1.44 x1011Volts / m
lab e
Eext Enucl
p Eext
Constant of proportionality is known as atomic electric
polarizability
Value of α is depends on the detailed structure of atom
H 0.667
He 0.205
Li 24.3
C 1.76
Na 24.1
Cs 59.6
Induced dipoles
Molecules polarize more readily in some directions than
others
For CO2
When field is applied along the axis of molecules then
polarizability is 4.5x10-40 C2.m/N
When field is applied perpendicular to molecules then
polarizability is 2x10-40 C2.m/N
Conclusion:
Average dipole moment per unit
volume of a dielectric is zero
Physical significance of dipoles
Polar molecules
In the presence of external electric field the polar
molecules tend to align themselves in the direction of the
electric field
Thermal vibrations of
molecules present
A better alignment can be
obtained by:
DR.M.Y.SOOMRO
Problem 4.7
Energy of an ideal dipole in an electric field
Consider the work done by the electric field in turning the
dipole through an angle θ
The work done by the external field in turning the dipole
from an initial angle θ0 to a final angle θ is
dW d dW d
W d
0
W d 0
0
As torque tends to decrease θ,
so torque and d are in opposite directions
.d d
Energy of an ideal dipole in an electric field
pE sin
W d
0
W pE sin d
0
W pE sin d
0
W pE cos
0
W pE (cos cos 0 )
Energy of an ideal dipole in an electric field
As the work done by the agent that produces the
external field is equal to the negative of the change in
potential energy of the system of the field + dipole
U W W pE(cos cos0 )
U pE(cos cos0 )
U p.E
4.2 The Field of a polarized object
Bound Charges
Consider a piece of polarized material
Containing microscopic dipoles lined up
Question:
What is the field produced by this polarized object????
4 0 r 2
r r
1 ˆ
r.P
V
4 0 v r 2
dv
1 rˆ
V ( 2 ).P dv
4 0 v r
1 1
V P. ( )dv
/
4 0 v r
Bound Charges .( fA) f (.A) A.( f)
1 1
V P. ( )dv
/
4 0 v r 1
A.( f) P. ( )
/
Integrating by parts r
A.( f) .( fA) f (. A)
1 / 1 1 /
V .( ) P dv ( .P)dv
4 0 v r v
r
1 / P 1 /
V .( )dv ( .P)dv
4 0 v r v
r
1 / P 1 1 /
V
4 0 v
.( )dv
r
4 0 v r
( .P)dv
Bound Charges
1 P 1 1 /
V .( )dv ( .P)dv
/
4 0 v r 4 0 v r
Using Divergence theorem (.V )dv V .da
v s
1 1 1 1 /
V
4 0 s r
P.da
4 0 v r
( .P)dv
P.da P.nˆ
b P.nˆ b .P
1 b 1 b
V
4 0
s
r
da
4 0
v
r
dv
At two ends two charges left plus at right and minus at
left
Physical Interpretation of Bound Charges
To calculate amount of bound charges from a given
polarization
Take a polarized tube (all polarized)
Divergence of P
Results in a accumulation of
negative charge
Net bound charge in a given
volume is equal and opposite to the
amount on the surface
Physical Interpretation of Bound Charges
P.nˆ per unit area
b dv P.da dv P.da
v
b
s
v s
dv (.P)dv
v
b
v
b .P
Thanks
Thanks
ELECTRODYNAMICS-I
LEC=26
DR.M.Y.SOOMRO
Physical Interpretation of Bound Charges
Field produced due to a polarized object is identical to the
field that produced by certain distribution of bound charges
Bound charges are perfectly genuine accumulation of
charge
What is the reason for that accumulation???
Suppose we have a long string of dipoles
At two ends two charges left plus at right and minus at
left
Physical Interpretation of Bound Charges
To calculate amount of bound charges from a given
polarization
Take a polarized tube (all polarized)
Divergence of P
Results in a accumulation of
negative charge
Net bound charge in a given
volume is equal and opposite to the
amount on the surface
Physical Interpretation of Bound Charges
P.nˆ per unit area
b dv P.da dv P.da
v
b
s
v s
dv (.P)dv
v
b
v
b .P
4.3-The Electric Displacement
Gauss’s law in the presence of Dielectrics
Effect of polarization:
Produce accumulation of bound charges
1. Within the dielectric b .P
2. On the surface of dielectric b P.nˆ
Free charge:
Consists of electrons on a conductor or ions embedded
in the dielectric material (any charge that is not a result
of polarization)
Gauss’s law in the presence of Dielectrics
Field attributable to bound charge plus the field due to the
any other charge (free charge)
0.E b f D 0 E P
b .P .D f
Gauss’s law in the presence of Dielectrics
Gauss’s law (differential form)
1
.E
.D f 0
Gauss’s law (integral form)
1
D.da Q fenc E.da
s 0
Qenc
.D f
E s>a
2 0 s
Dabove
Dbelow f
DR.M.Y.SOOMRO
4.3.3 Boundary Conditions
Recast electrostatic boundary conditions in terms of D
1
E
E
o
above below
Dabove
Dbelow f
above Eabove
below Ebelow
f E V
aboveVabove belowVbelow f
aboveVabove belowVbelow f
Vabove Vbelow
above below f
n n
4.4.2 Boundary Value problems with Linear Dielectrics
Potential itself continues
Vabove Vbelow
Thanks
ELECTRODYNAMICS-I
LEC=28
DR.M.Y.SOOMRO
4.4 Linear Dielectrics
PE
P 0 e E
D 0 E P
D 0 E 0 e E
D 0 (1 e ) E
DE
D E 0 (1 e )
(1 e )
0 r 1 e
4.4.2 Boundary Value problems with Linear Dielectrics
In a homogeneous linear dielectric the bound charge
density is proportional to the free charge density
b .P P 0 e E
D
f .( 0 e E) D E E
D
b .( 0 e )
0 0
b .( e D) 1 e
1
0 1 e
e
b .( )D .D f
1 e
e
b ( ) f
1 e b f
4.4.2 Boundary Value problems with Linear Dielectrics
Discontinuity occur in the component perpendicular to an
interface
Dabove
Dbelow f D E
above Eabove
below Ebelow
f E V
aboveVabove belowVbelow f
aboveVabove belowVbelow f
Vabove Vbelow
above below f
n n
4.4.2 Boundary Value problems with Linear Dielectrics
Potential itself continues
Vabove Vbelow
4.4.3 Energy in Dielectric System
The total energy stored in the capacitor is equal to the
work done during the charging process
1
W CV 2
2
If the capacitor is filled with a linear dielectric (dielectric
constant K) than the total capacitance will increase by a
factor K: C KCVac
C r CVac
Consider:
Slab of linear dielectric material
Slab is partially inserted b/w plates of parallel plate
capacitor
4.4.4 Forces on Dielectrics
Conditions:
1. Field is uniform inside parallel plate capacitor
2. Field is zero outside parallel plate capacitor
1 Q CV
W CV 2
2
1 Q2
W
2 C
4.4.4 Forces on Dielectrics
Consider the situation where the slab of dielectric is
inserted to a depth s in the capacitor
Example:
If a 1-C charge moves in a direction perpendicular to a
magnetic field of magnitude 1 T with a speed of 1 m/s, the
magnetic force exerted on the charge is 1 N
Magnetic Fields
Units:
Wb N N
B T 2
m C.m / sec A.m
Ftotal qE q(vxB)
This equation is called the Lorentz force law and provides
us with the total electromagnetic force acting on q
dwmagnetuc q (vxB).v dt
dwmagnetuc 0
We conclude that the magnetic force can alter the
direction in which a particle moves, but can not change its
velocity
4.4.3 Energy in Dielectric System
The total energy stored in the capacitor is equal to the
work done during the charging process
1
W CV 2
2
If the capacitor is filled with a linear dielectric (dielectric
constant K) than the total capacitance will increase by a
factor K: C KCVac
C Cr CVac
1
W D.EdV
2
4.4.4 Forces on Dielectrics
Conditions:
1. Field is uniform inside parallel plate capacitor
2. Field is zero outside parallel plate capacitor
dW Fme ds
Fme FField
1
W CV 2 Q CV
2
1 Q2 0a
W Cvac
2 C d
K 0 sa
C Cvac Cdielectric Cdielectric
d
0 ( w s )a K 0 sa
C 0 a
d d C (w e s)
d
4.4.4 Forces on Dielectrics
If the total charge on the top plate is Q then the energy
stored in the capacitor is equal to
0 a
1Q 2
C (w e s)
W d
2 C
1 2 d
W Q
2 0 a w e s
The force on the dielectric can now be calculated and is
equal to Q
dW V
Ffield C
ds
1 2 dC
1 Q 2 dC Ffield V
Ffield 2 ds
2 C 2 ds
Thanks