Notes 2 Gauss Law Div Potential 2022
Notes 2 Gauss Law Div Potential 2022
4 dso
d =
4 r 2
Now ln ds is a vector whose direction is normal to plane of ds.
l .ds
d = r 2 ds = 1nds
r
Thus the solid angle subtended by the surface at ‘O’ is
Ir.ds
=
r2
The unit in which solid angle is measured is steradin.
For a closed surface the solid angle is given by
Q
= 4 r
S
l .ds
2 r
Q I r .ds
4 S r 2
=
Q
4 S
= d (from solid angle)
Since point ‘P’ is inside the closed surface
d = 4
S
Q
= .4 = Q
4
Then D.ds = Q
If instead of point charge at ‘P’ it is assumed that a volume distribution of charge density v is
contained then gauss law may be expressed as
S
D.ds =∫
Q= D .ds
S
s
Case1: Consider a point charge ‘Q’ at the origin of a spherical surface co-ordinates system.
Consider a spherical surface centered at origin and radius r. Ds is everywhere normal to the
surface. Ds has the same value at all points on the surface.
Then
Q = D.ds = D.ds
S Sph
2
= Ds D.ds = Ds r2sin dd
O O
Sph
= 4r2Ds.
Q Q
Ds = ar & E = ar
4 r 2
4 r 2
Case 2 : Consider a uniform line charge distribution ρl lying along z-axis. and extending from-
to as shown in Figure 2.3 It is known that for a uniform line charge only the radial component
of D is present.
A cylindrical surface can be chosen to which Dr is everywhere
normal A closed right circular cylinder of radius ‘r’ extending from
z= 0 to z =l is shown in figure. Applying gauss law.
Q= Ds.ds =
c 41
Top
Ds.ds + sides
Ds.ds + Bottom
Ds.ds
= Ds ds + 0 + 0
sides
L 2
= Ds r d dz
O O
= Ds 2 rl
Q
= Dr =
2 rL
L L
In terms of charge density Q = ρlL. Ds = L E= aρ
2 rL 2 r
Q
& E= at r = R1
4 o r 2
Q
E= R1 r R2
4 o r 2
Q
E= r = R2
4 o r 2
E=0 at r > R2
(i) r< R
Since charge Q is uniformly distributed ever the
entire volume. The charge enclosed by a concentric
sphere of radius r < R is proportional to volume of
radius r.
3
4 Qr r
i.e. Qr r 3 , but Q = =
3 Q R
From gauss law
r3
D.ds Q R 3
r3
D.4r 2 Q
R3
Qr
D ar
4R 3
Qr
E ar
4 0 R 3
Q
E will be maximum at r =R i.e E ar
4 0 R 2
D.ds = Q
oE4r2 = Q
Q
E= ar
4 o r 2
Qr
Thus E = ar r< R
4 o R3
= ar r=R
Q
= ar r> R
4 o r 2
Figure 2.3
D x x
Thus, front Dx0
x 2
yz
D y
left right
y
xyz
Dz
And top bottom
z
xyz
D x D y D z
Thus D.dS
s
x
y
z
xyz Q
If xyz
D.dS Dx D y Dz Q
s x y z
This becomes exact if 0.
2.1.3 Divergence
For a differential volume element, it is known that
Dx Dy Dz
D.ds = Q = x y z ----------(1)
is
Dx Dy Dz
= lim
D.ds = lim
Q
x y z 0 0
= lim
Dx Dy Dz D.ds v = volume charge density
is = v
x y z v 0
Thus, we have two equations.
= lim
Dx Dy Dz D.ds
--------------------(2)
x y z v 0
The divergence at any vector flux density is the overflow of flux from a small closed surface per
unit volume as the volume shrines to zero. Thus
Div D = lim
D.ds
0 v
Dx Dy Dz
& div D =
x y z
Also, div D = v
Equation (3) can also be realized from gauss law as
D.ds = Q
Per unit volume
D.ds =
Q
v
As the volume shrine li zero
lim
D.ds = lim Q
0 v 0 v
Div D = v
Equation (4) is the one of Maxwell’s, four equations as they apply to electrostatics steady field. It
stalls that the electric Flux per unit volume leaving a vanishingly small volume is exactly equal
to the volume charge density there. Thus, equation is also called the point form of Gauss law.
Problems:
1. Find the numerical value for the divergence of D at the point indicated if
(a) D = 20 xy2 (z+1) ax + 20x2y(z+1) ay + 10x2y2az c/m2 at PA (0.3, 0.4, 0.5)
(b) D = 4ρz sin aρ + 2ρz cos a + 2ρ2 sin az c/m2At PB (1, /2, 2)
(c) D = sin cosar + coscos a - sina c/m2at Pc (2, = /3, = /6)
Solution:
(a) . D = [20xy2 (z+1)] + [20x2y (z+1)] + 10x2y2
x y z
. D = 20y (z+1) + 20x (z + 1) + 0
2 2
( ) ( )
(b) . D = ( )
1 2 1 1
(c) . D = (r sin cos) + (sin cos cos) - sin
r r
2
r sin r sin
1 1 sin 2 1
= 2 2r sin cos + cos - cos
r r sin 2 r sin
2 1 cos 2 1
= sincos + cos .2 - cos
r r sin 2 r sin
2 3 3 1 3 1 1 3
= . . + . (- ) -
2 2 2 3 2 2 3 2
2. 2.
2 2
3 1 1
= - -
4 4 2
=0
2. Given D = 4ρ2aρ C/m2i). What is volume charge density at ρ = 2m. ii) How much flux
passes the cylinder ρ = 2m; |z| ≤ 5.
Sol: D = 4ρ2aρ C/m2
Volume Charge density
v D
1 ( D ) 1 ( 4 2 )
12
Hence at ρ = 2 ρv = 24 C/m3
Flux crossing ρ = 2 m and |Z| <=5
= D.ds
= ∬ ∫ ∫
4. Find the volume charge density that is associated with each of following that is associated
with each of following fields
(a) D = xy2ax + yx2ay + zaz C/m2
(b) D = ρz2sin2aρ + ρz2 sin cos a + ρ2z sin2az C/m2
(c) D = ar C/m2
Solution: (a) div D = v
(xy2) + (yx2) + (z) = v
x y z
v = y2 + x2 + 1 C /m3
(b) div D = v
1 1 2
v = 2 (r.rz2 sin2) + (rz2sin cos) - ( r z sin2)
r r r z
1 1 cos 2
= 2 r z sin +
2 2
rz 2 2 + r2 sin2
r r 2
= 2z sin + z cos + r2sin2
2 2 2 2
(c) div D = v
1 2
v = 2 (r Dr)
r r
1 2
= 2 (r .1)
r r
1 2
= 2 2r = c/m3
r r
Solution: . D = v
. ( E) = v
E
= v
z
(5 cosz ) = v
z
v =- 5 sinz
Thus, region is not charge free
Solution: .D = v
For sp. Co-coordinating .D in ar direction.
1 2
= 2 (r Dr)
r r
Case 1:
For r = 0.06m.
1 2 2
v = 2 (r 5r )
r r
1
= 2 ( 5r4)
r r
Thus ∮ ∫ ∫
Taking first and last terms
∮ ∫
This is known as Divergence theorem, which states that the integral of the normal
component of any vector field over a closed surface is equal to the integral of the divergence of
this vector field throughout the volume enclosed by the closed surface.
Problems:
1. Given D = 2xyax + x2ay C/m2, evaluate both sides of Divergence theorem for a
rectangular parallelepiped formed by the planes x =0 and 1, y = 0 and 2 & z = 0 and 3.
Sol: D has no z component and hence D.ds = 0 along z.
From Divergence Theorem, ∮ ∫
L.H.S=∮ ( ) ∮ ( ) ∮ ( ) ∮ ( )
=∮ ∫ ∫ ( ) ∮ ∫ ∫ ( ) ∮ ∫ ∫ ( )
∮ ∫ ∫ ( )
=∮ ∫ ∫ ( ) { } { }
= 12 C
2
(2xy) + (x ) = 2y
x y
R.H.S. = ∫ ∫ ∫ ∫ { } { } { }
Thus L.H.S = R.H.S Hence proved
L.H.S = ∮ ∫ ∫ ( ) ∫ ∫
( ) ( )
R.H.S. = ∫ ∫ ∫ ∫ { }
3. Given that D = (5r2/4)ar C/m2in spherical coordinates evaluate both sides of divergence
theorem for the volume enclosed between r = 1m and r = 2m.
Sol: ∮ ∫
Note: for r = 1m the unit normal ar is in –ve direction and for r = 2m the unit normal ar is
in +ve direction
L.H.S =∮ ( ) ∮ ( )
=∮ ∫ ∫ ( ) ∮ ∫ ∫ ( )
= ∮ ∫ ∫ ∮ ∫ ∫
= [ ]{ } [ ]{ }
=
( ) ( ) ( )
R.H.S = ∫ ∫ ∫ ∫ = ∫ ∫ ∫
= { }[ ]{ }
Thus L.H.S = R.H.S Hence proved
4. Given that D = 30e-ρaρ – 2zazC/m2 in cylindrical co-ordinates, evaluate both sides of
divergence theorem for the volume enclosed by ρ= 2m; z = 0 and z = 5m. (VTU-June-
2017).
Sol: ∮ ∫
L.H.S = ∮ ∮ ∮ ∮
=∮ ∫ ∫ ( ) ∮ ∫ ∫ ( ) ∮ ∫ ∫ ( )
=
R.H.S = ∫ ∫ ∫ ∫ [ ( ) ]
=∫ ∫ ∫ [ ( )] ∫ ∫ ∫
= ∫ [ ( )] ] ∫ ∫ ∫ ∫ ∫
= 30 [- ( ) ∫ ( )]
= 30 [- ( ) ]{ }
= 30 [ ]{ }
= 30ρ { }
= 255.100 – 125.66 = 129.43 C
Thus L.H.S = R.H.S Hence proved
Sol: At r = a/2
∫ =∫ ∫ ∫
= ∫ ∫ ∫
= 5k. =
( )
D at r = a/2
( )
E= (1)
Let the volume charge density be replaced by a point charge of +Q C. Then E at r = a/2 is
E= (2)
Equating (1) and (2)
1. Find the total charge in a volume define by six planes for which 1 x 2, 2 y 3, 2z 4
if D = (4x ax + 3y2 ay + 2z3az) C/m2.
2. If D = 2xy ax + 3yz ay + 4 xzazC/m2, how much electric flux pass through that portion on
x=3 plane for which -1 y 2, 0, 2 4.
r2
3. A spherical volume charge density by model = v (1- 2 ) r a
a
=0 r>a
(i) Calculate charge enclosed, Q
(ii) Find the electric field E outside the charge distribution.
(iii) Find E for r a
(iv) Show that max. E is at r = 0.745a
2 cos sin
5. Given D 3
ar 3 a c / m2 evaluate both sides of divergence theorem for the
r r
region bounded by 1 ≤ r ≤ 2; 0 ≤ θ ≤ π/2; 0 ≤ ϕ ≤ π/2.
6. A positive charge of ρv C/m3 occupies a solid sphere. At a point interior at a distance ‘r’
from the center, a small probe charge ‘+q’ is inserted. What is the force acting on this
charge?
Figure 2.1
Due to the fact that an electric charge experiences a force in an electric field, some
amount of work must be done in order to move a charge in an electric field.
The amount of work done in moving a unit positive charge from one point to another
point in an electric field is called the potential difference between the two points.
Thus if a unit charge be moved from P to Q when PQ = dl, dl being a small elemental
length along the path P2 to P1, as shown in Fig. 2.1 then work done is
dw = - E dl cos
= -E .dl
The negative sign has been put it account for the fact that the work has been done against
the electric field; a point charge Q is moved then
dw = - Q E .dl
The total work done in moving a unit charge from P2 to P1 is
P1
W= - E.dl Joules/Coulomb or Volts
P2
P1
W=- QE.dl Volts
P2
Thus the difference in potential (P1) - (P2) between the points P1 and P2
P1
V (P1) - V(P2) = - QE.dl
P2
P1
V (P1) = - QE.dl Volts
P2
If the integral is taken along any closed path then limits would be set as P2 – P2 so that
for a unit charge
2.2.1 Expression for the Potential at any Point due to a Point Charge Q:
Figure 2.2
Consider a point charge Q at O and let a unit positive charge be moved along any path C as
shown Fig. 2.2 FromP2 to P1
P1
V(P1) - V(P2) = E.dl
P2
Q
E= lr
4 r 2
dl = dl1l
Q
E. dl = dl cos
4 r 2
From PQR dr = dl cos
Q
E.dl= , dr
4 r 2
dr
P1
Q
V(P1) - V(P2) = -
4
P2 r 2
P1 1
=
Q
2 dr
4 P2 r
Q1 1
=
4 r1 r2
When r2 let V(P2) = 0
Q
V(P1) = volts
4 r
dV = - E . dl ---------------(1)
for a Cartesian co-ordinate system,
E = - V
V V V
V= ax ay az (Cartesian)
x y z
V 1 V V
V = a a az (cylindrical)
z
V = (spherical)
4x 16 dx
0
W =
2
0
x2
= 4 16 x 2
0
2 2
16
= + 32
2
= 24 Joules
2. Find the work done in the field E = 2xax – 4yay V/m when a 2c charge is moved from
(2, 0, 0) to (0, 0, 0) along x axis and then (0, 0, 0) to (0, 2, 0) along y axis. Also prove that
the work done is same irrespective of path chosen by finding the work done on a straight-
line path from (2, 0, 0) to (0, 2, 0).
Sol: The path is shown in figure. On the first segment on path (1)
y = dy = dz = 0, dw = -2(2x ax – 4yay).dx ax = - 4x dx
On the 2nd segment on path (1)
dx = x = dz = 0dw= -2 (-4y ay) . dy ay= 8y dy
0 2
W = - 4 x dx + 8 y dy
2 0
0
2
= 20 x 10-6( )
16
= 80 J.
= 20 x 10-6 x
4
When the charge is moved from (4, 0, 0) to (4, 2, 0) dl = dy and x = 4.
2
:W = (20 x 10-6) 0
2xdy
Y 0
2
= 20 x 10-6 x 2 x 4
= 20 x 10-6 x 8 x 2
= 320 J.
Hence the total work done in moving the charge from origin to (4, 2, 0) along the path (0, 0, 0)
to (4, 0, 0) and then from (4, 0, 0) to (4, 2, 0) is80 + 320 = 400 J.
This can be proved same if a direct straight-line path from (0, 0, 0) to (4, 2, 0) m.is taken.
The equation of st. line is
x x1 y y1
=
x2 x1 y2 y1
W=-Q E.dl
= +20 x 10-6[∫ ( ) ∫ ]
4 x x
= 20 x 10-6 2 . dx 4 ydy
2
2 2
0 0
= 20 x 10-6[∫ ∫ ]
= 20 x 10-6[ ( ) ]{ }
3 16 8 4 2 4
= 20 x 10 .-6
4 .
2 2 2
-6
= 20 x 10 [12 + 8]
= 400 J.
At P= (1, 2, -3)
E = 600 ax + 70ay – 100 az V/m
(a) VA = ? at (-3, 2, 6)
Q
V = - E.dl = - dr =
4 o r 2
rA = | (-3, 2, 6) – (0, 0, 0) | = 7
r1 = | (0, 6, -8) – (0, 0, 0) | = 10
Q
V1 - VA= [ ] = - 1.93 V
4 o
VA = 2 + 1 .93 = 3.93 V
(b) VB = ? at B (1, 5, 7)
rB = | (1, 5, 7) – (0, 0, 0) | = 75 = 8.66
Q 1 1
V1 - VB = = - 0.695 V
4 r1 rB
VB = 2.695 V
7. A point charge of 6nC is located at origin in free space. Find the potential at point P if P
is located at (0.2, -0.4, 0.4) and (i) V = 0 at ii) V = 0 at (1, 0, 0) (iii) V = 20 V at
(0.5, 1, -1). (VTU Jun-Jul 2017, Dec-2017, Jan-2018)
(i) V = 0 at
- VP=
VP= 89.87 V
VP = 35.91 V
VP = 20 + 53.92 = 73.92 V
Assignments:
1. Find the work done in moving a 5c charge from origin to P (2, -1, 4) through E=2xyz ax
+ x2z ay + x2y az V/m via the path : (a) straight line segment (0, 0, 0) to (2, 0,0) to (2, -1,
0) to (2, -1, 4) : (b) straight line x = -2y, z = 2x (c) curve x = 2y3. z = 4y2.
2. Given V in free space find ‘E’ at P(3, 60°, 25°) in spherical coordinates.
(VTU Dec-Jan-2017).
3. Given E = - 6y/x2ax + 6/x ay + 5 az V/m calculate potential (a) VPQ given P (-7, 2, 1),
Q (4, 1, 2)m (b) VP if V = 0 at Q (3) VP if V = 0 at R(2, 0, -1)m.
Electric charges in motion constitute a current, which is defined as a rate of movement of charge
passing a given reference point of one coulomb per second i.e
dQ
I= A ---------(1)
dt
Current density J is measured as Ampers per square meter which is a vector quantity.
The increment of a current I crossing an incremental surface S normal to current
density is
I = JN S
& in the case where current density is not perpendicular to surface
I = J. S
Total current I = J .ds --------(2)
s
Figure 2.5
Current density may be related to velocity of volume charge density of a point. Consider the
element of charge ΔQ = VΔv = ΔSΔL as shown in figure 2.5 (a), it is assumed that the charge
element is oriented with it edges parallel to co-ordinate axes and that if possess only x
component of velocity. In a time interval Δt the element of charge has moved a distance Δx as
shown in figure.2.5 (b) thus
This type of current produced by a charge is motion is called convection current density.
1. Given vector current density J = 102z aρ - 4cos2 amA/m2 (a) find J at P(3, 30°,2)
(b) Determine total current flowing outward through circular band = 3, 0 < < 2,
2 < z < 2.8.
Solution:
J = 102z aρ - 4cos2 a
a) At P, J = 10 × 32 × 2a – 4 × 3 cos2 (30O) a
= 180 a - 9 avmA/m2
b) I = J .ds = (102z a - 4 cos2 a) 10-3 .ddzaρ
S S
=
S
102z ddz x 10-3
2.8
z2
= 10 × .2 × 3
2 2
1
= 10 × 27 × 2 × × [2.82 - 22] x 10-3
2
= 10 × 27 × × [3.84] x 10-3
= 3257.20 x10-3 = 3.26A
The principle of conservation of charge states that charge can be neither created nor
destroyed although equal amount of possible & negative charge may be simultaneously created,
obtained by separation, destroyed or lost by recombination.
The continuity equation applies to any region bounded by a closed surface i.e
I = J .ds
S
And this outward flow of positive charge must be balanced by decrease of charge (increase in
negative charge) within closed surface. If charge inside the closed surface is destroyed by Qi
dQ1
than rate of decrease is and principle of conservation of charge requires,
dt
v
.J d
V 1
=
V 1
t
dv
v
i.e .J = v
t
v
i.e .J = ----------(b)
t
Point from of Continuity equation
1. Current density is given in cylindrical co-ordinates as J = -106z1.5az A/m2 in region
0 20 m, for 20m, J = 0.
(a) Find total current crossing surface z = 0.1m in az direction.
(b) If charge velocity to 2 × 106 m/s at z = 0.1m find vthere.
(c) If volume charge density at z = 0.15m is -200 C/m3 find charge velocity there.
Solution:
(a) I = J .ds =
S
S
-106z1.5az. ddaz
z = 0.1
20 m
2
I = -106 × 0.1 1.5 d
0
0
d
2
= -106 × 0.11.5 × {0, 20μm} × 2 = -39.7 A
2
J 10 0.11.5
(b) J = vv = = = -16.81 mC/m3
v 2 10 6
J 10 0.15
6 1.5
(c) = = 290 m/s
v 2000