Nov 19, 2026·Pranesh Mahanta·21ECC205T — Electromagnetic Theory and Interference
Coordinate systems and vector calculus, then electrostatics from Coulomb's law to Gauss's law — the complete unit, with every worked question stated in full and solved step by step.
Electromagnetic field theory studies charges and currents at a distance through the fields
they set up in space. It underlies capacitors and insulators, motors and transformers, radio and
television, antennas, waveguides, radar, transmission lines and power systems — anything where
energy or signals travel through space rather than along wires alone.
Circuit theory vs field theory. Circuit theory is an approximation that works while the
physical dimensions of a network are much smaller than the wavelength involved, so voltages and
currents can be treated as lumped and connecting wires as ideal. When dimensions become
comparable to the wavelength (high frequencies, long lines, antennas), the same quantities are
distributed over space and must be found from Maxwell's equations — that is field theory.
Every circuit-law result can be derived from the field equations; the reverse is not possible.
Static charges produce an electrostatic field (this unit); charges moving at constant
velocity — a direct current — produce a magnetostatic field (the next unit);
time-varying fields couple the two and give full electromagnetics.
2Scalars and vectors — dot & cross products
A scalar carries magnitude only (mass, time, potential); a vector carries magnitude
and direction (force, velocity, field). A unit vector — written ax, ay,
az and friends — has magnitude one and supplies direction; any vector
A = A aA = |A| aA.
Vectors add tip-to-tail and obey the parallelogram law; only like components add in component
form. Two products do the real work:
Commutative, distributive; A·A = |A|²; A·B = 0 for perpendicular vectors. Gives the projection of one vector along another — the tool for finding components along unit vectors.
Cross (vector) product: A×B = |A||B| sinθAB an = determinant of the unit-vector matrix with A, B on top
Anticommutative (A×B = −B×A), distributive; |A×B| is the parallelogram area; an by the right-hand rule; A×B = 0 for parallel vectors. The cyclic rule for mixed products: a·(b×c) = b·(c×a) = c·(a×b).
The scalar triple product a·(b×c) is the volume of the parallelepiped spanned by the
three vectors — zero when they are coplanar.
3Coordinate systems — Cartesian & cylindrical
Cartesian
A point is the intersection of planes x = const, y = const, z = const, with
−∞ < x, y, z < ∞. The unit vectors ax, ay, az
are constant in direction everywhere. The differential elements:
dl = dx ax + dy ay + dz az dS = dx dy az (top face) dv = dx dy dz
Cylindrical
A point is the intersection of a cylinder ρ = const, a half-plane φ = const and a plane
z = const, with 0 ≤ ρ < ∞, 0 ≤ φ < 2π, −∞ < z < ∞.
The unit vectors aρ and aφrotate with φ — they are
constant only on a cone of fixed φ — while az stays fixed:
aρ = cosφ ax + sinφ ay aφ = −sinφ ax + cosφ ay
aρ·aφ = 0 aρ×aφ = az (right-handed). ρ = √(x²+y²), φ = tan⁻¹(y/x) with the quadrant of (x, y).
Cylindrical coordinate system: the point P sits on a cylinder of radius ρ, a half-plane at angle φ and the plane z = const.
Differential elements carry the scale factors (here hρ = 1,
hφ = ρ, hz = 1):
A point is the intersection of a sphere r = const, a cone θ = const and a half-plane
φ = const, with 0 ≤ r < ∞, 0 ≤ θ ≤ π, 0 ≤ φ < 2π.
Space variables: r = √(x²+y²+z²),
θ = cos⁻¹(z/r), φ as before. The unit vectors ar,
aθ, aφ all change with position; they stay orthonormal
(ar·aθ = 0, ar×aθ = aφ).
dl = dr ar + r dθ aθ + r sinθ dφ aφ dv = r² sinθ dr dθ dφ
scale factors hr = 1, hθ = r, hφ = r sinθ — the sinθ factor appears wherever distance is measured along a φ-circle.
Cartesian ↔ cylindrical ↔ spherical: x = ρ cosφ = r sinθ cosφ y = ρ sinφ = r sinθ sinφ z = r cosθ ρ = r sinθ
Vector components transform the same way: project A onto each new unit vector with dot products, e.g. Aρ = A·aρ = Ax cosφ + Ay sinφ.
Worked problem · point & vector in three systems
A point P(−2, 6, 3) and the vector A = y ax + (x + z) ay are given. Express P and A in cylindrical and spherical coordinates, and evaluate A at P in the Cartesian, cylindrical and spherical systems.
Setup. P(−2, 6, 3) m; A = y ax + (x + z) ay, so at P the field is A = 6 ax + 1 ay. Cylindrical: ρ = √(x²+y²), φ = tan⁻¹(y/x) taken in the quadrant of (x, y). Spherical: r = √(x²+y²+z²), θ = cos⁻¹(z/r). Step 1 — cylindrical radius and angle of P:
ρ = √(x² + y²) = √((−2)² + 6²) = √(4 + 36) = √40 = 6.32 m …(1)
φ = tan⁻¹(y/x) = tan⁻¹(6/−2) = tan⁻¹(−3) = −71.57° x < 0, y > 0 ⇒ second quadrant ⇒ φ = 180° − 71.57° = 108.43° …(2) P = (6.32 m, 108.43°, 3 m) in cylindrical coordinates
Step 2 — spherical radius and polar angle of P:
r = √(x² + y² + z²) = √(4 + 36 + 9) = √49 = 7 m …(3)
θ = cos⁻¹(z/r) = cos⁻¹(3/7) = cos⁻¹(0.4286) = 64.62° …(4) P = (7 m, 64.62°, 108.43°) in spherical coordinates, with φ from (2)
Step 3 — the vector at P, in Cartesian components:
A = y ax + (x + z) ay = 6 ax + (−2 + 3) ay = 6 ax + 1 ay …(5)
|A| = √(Ax² + Ay²) = √(6² + 1²) = √37 = 6.08 …(6)
Step 4 — projection onto the cylindrical unit vectors at φ = 108.43° (cosφ = −0.3162, sinφ = 0.9487):
Answer.P = (6.32, 108.43°, 3) cylindrical and P = (7, 64.62°, 108.43°) spherical; A = −0.95 aρ − 6.01 aφ and A = −0.86 ar − 0.41 aθ − 6.01 aφ, magnitude 6.08 in all three systems — one vector, three sets of components.
5Gradient, divergence and curl
The vector (del) operator ∇ packages the partial derivatives; combined with fields it
produces the four quantities every later unit is built on:
Gradient (scalar → vector): ∇V = ∂V/∂x ax + ∂V/∂y ay + ∂V/∂z az
points in the direction of maximum increase of V; |∇V| = that maximum rate; dV = ∇V·dl.
The two big theorems convert between "differential at a point" and "total through a boundary"
— exactly the bridge from Maxwell's point forms to their integral forms:
Divergence theorem: ∮S A·dS = ∫v (∇·A) dv
total outward flux through a closed surface = volume integral of the divergence.
Stokes' theorem: ∮C A·dl = ∫S (∇×A)·dS
circulation around a closed loop = flux of the curl through any surface spanning the loop.
Proof · identity 1
For any vector field A, show explicitly that ∇·(∇×A) = 0.
Setup. A = Ax ax + Ay ay + Az az, twice continuously differentiable, in Cartesian coordinates. Step 1 — curl of A, component by component:
Answer.∇·(∇×A) = 0 identically — a solenoidal field can always be written as the curl of something.
Proof · identity 2
For any scalar field V, show that ∇×(∇V) = 0 — the curl of the gradient of any scalar field vanishes.
Setup. V(x, y, z) a scalar field with continuous second derivatives; ∇V = (∂V/∂x) ax + (∂V/∂y) ay + (∂V/∂z) az. Step 1 — x-component of the curl of the gradient:
Answer.∇×(∇V) = 0: a curl-free field can always be written as the gradient of a scalar potential — the fact that makes the electrostatic potential possible (section 12).
Worked problem · divergence theorem, box
Evaluate both sides of the divergence theorem for the field D = 2xy ax + x² ay C/m² over the volume formed by the planes x = 0 and x = 2, y = 0 and y = 1, z = 0 and z = 2.
Setup. D = 2xy ax + x² ay C/m²; volume 0 ≤ x ≤ 2, 0 ≤ y ≤ 1, 0 ≤ z ≤ 2, so dv = dx dy dz. Step 1 — divergence of D:
Dr(1) = 5(1)/4 = 1.25 C/m² S = 4π(1) = 4π m² …(10)
ψ1 = −1.25·4π = −5π C …(11)
Step 5 — net outward flux, from (9) and (11):
∮SD·dS = 80π − 5π = 75π C …(12)
Answer. (7) and (12) agree: 75π C ≈ 235.6 C — and the surface side is far less work when D is radial.
7Coulomb's law and superposition
Coulomb's law. The force between two point charges is proportional to the product of the
charges, inversely proportional to the square of the distance between them, and directed along the
line joining them — repulsive for like charges, attractive for unlike ones:
F = k q1q2/r² k = 1/(4πε) = 1/(4πε0εr) ε0 = 8.854×10⁻¹² F/m
Vector form for the force on q1 due to q2: F1 = k q1q2(R12/|R12|³), where R12 points from q2to q1. In free space 1/(4πε0) ≈ 9×10⁹ N·m²/C².
Superposition. With many charges present each pair interacts independently, so the total
force on a charge is the vector sum of the pairwise forces (and every field result below
adds the same way).
Worked problem · statement & N charges
State Coulomb's law and write the expressions for the force and the electric field strength due to N point charges.
Setup. Two point charges q1, q2 separated by a distance r; k = 1/(4πε0) = 9×10⁹ N·m²/C², ε0 = 8.854×10⁻¹² F/m. Step 1 — scalar form of the law:
F = k |q1q2|/r² = |q1q2|/(4πε0r²) …(1)
repulsive for like charges, attractive for unlike charges, along the joining line
Step 2 — vector form, force on q1 due to q2:
F1 = k q1q2R12/|R12|³ = q1q2R12/(4πε0|R12|³) …(2)
with R12 drawn from q2to q1; the unit vector is R12/|R12| and the extra 1/|R12| supplies the 1/r²
Step 3 — superposition for N charges:
F1 = (q1/4πε0) Σk=2..N qk(R1k/|R1k|³) …(3)
each pair interacts independently, so the total is the vector sum of the pairwise forces
Step 4 — electric field strength as force per unit charge:
E = limq→0F/q …(4)
units N/C = V/m; the test charge is taken vanishingly small so it does not disturb the sources
Step 5 — field of N point charges, from (3) and (4):
E = (1/4πε0) Σk qk(Rk/|Rk|³) …(5)
each Rk measured from qk to the field point
Answer. Force law (1)/(2), N-charge force (3), field definition (4) and N-charge field (5) — all four are the same inverse-square statement, once per charge and summed.
Worked problem · two source charges
Point charges 5 nC and −2 nC are located at (2, 0, 4) and (−3, 0, 5) respectively. Determine the force on a 1 nC point charge located at (1, −3, 7), and find the electric field E at the same point.
Setup. q1 = 5 nC at (2, 0, 4) m; q2 = −2 nC at (−3, 0, 5) m; field point P(1, −3, 7) m; test charge q = 1 nC; 1/(4πε0) = 9×10⁹. Step 1 — vector from q1 to P and its length:
Step 6 — force on the 1 nC test charge, from (14):
F = qE = 1×10⁻⁹·(−1.004, −1.284, 1.400) …(16)
= (−1.00, −1.28, 1.40)×10⁻⁹ N, |F| = 1×10⁻⁹·2.15 = 2.15 nN …(17)
Answer.E = (−1.00, −1.28, 1.40) N/C, |E| = 2.15 N/C and F = (−1.00, −1.28, 1.40)×10⁻⁹ N, |F| = 2.15 nN — the field points from the 1 nC location toward (2, 0, 4), dominated by the 5 nC pull; the force is the same numbers times the test charge.
Worked problem · E field of two charges
Point charges −4 µC and 5 µC are located at (2, −1, 3) and (0, 4, −2) respectively. Calculate the electric field intensity at (1, 0, 1).
Setup. q1 = −4 µC at (2, −1, 3) m; q2 = 5 µC at (0, 4, −2) m; field point P(1, 0, 1) m; 1/(4πε0) = 9×10⁹. Step 1 — vector from q1 to P and its length:
the chain above uses k = 9×10⁹; with the more precise 1/(4πε0) = 8.988×10⁹ the sum is (2.785, −3.802, 5.909) kV/m and |E| = 7.56 kV/m — quote either, state your k.
8Electric field intensity
The electric field intensity E is the force per unit positive test charge placed at the
point — a vector field that exists whether or not the test charge is there. For a point
charge Q, E = Q/(4πε0r²) ar: radially outward from
positive charge, inward for negative.
Line charge ρL (C/m): E = ∫ ρL dl aR/(4πε0R²) Surface ρS (C/m²): ∫ ρS dS aR/(4πε0R²) Volume ρv (C/m³): ∫ ρv dv aR/(4πε0R²)
each element of charge contributes dE = dq aR/(4πε0R²) with aR pointing from the element to the field point; integrate over the geometry.
Worked problem · definition
Define electric field intensity and write the expression for the electric field intensity due to a point charge, a line charge distribution, a surface charge distribution and a volume charge distribution.
Setup. A test charge q placed at a point experiences a force F; the source distribution is fixed and is not disturbed by q. Step 1 — definition as force per unit positive test charge:
E = limq→0F/q …(1)
units N/C = V/m; the limit q → 0 keeps the test charge from redistributing the sources
Step 2 — point charge Q at the origin:
E = Q ar/(4πε0r²) …(2)
radially outward for Q > 0, inward for Q < 0
Step 3 — line charge ρL (C/m), dq = ρL dl:
E = ∫ ρL dl aR/(4πε0R²) …(3)
Step 4 — surface charge ρS (C/m²), dq = ρS dS:
E = ∫ ρS dS aR/(4πε0R²) …(4)
Step 5 — volume charge ρv (C/m³), dq = ρv dv:
E = ∫ ρv dv aR/(4πε0R²) …(5)
Answer.E = limq→0 F/q with the point form (2) and the three integral forms (3)–(5) — one idea, dq written three ways.
Worked problem · point charge + infinite line
Find E at the point P(1, 5, 2) m in free space if a point charge of 6 µC is at (0, 0, 1) and a uniform line charge density ρL = 180 nC/m lies along the x-axis.
Setup. Point charge 6 µC at (0, 0, 1) m; uniform line charge ρL = 180 nC/m along the x-axis; field point P(1, 5, 2) m; 1/(4πε0) = 9×10⁹. Step 1 — vector from the point charge to P and its length:
R = (1, 5, 2) − (0, 0, 1) = (1, 5, 1) m …(1)
|R|² = 1 + 25 + 1 = 27 m² ⇒ |R| = √27 = 5.196 m …(2)
|R|³ = 271.5 = 140.3 m³ …(3)
9Field of a line charge — the finite-line derivation
The derivation that all later "wire" results grow from: a line charge of length L carries
uniform density ρL; find E at a point P a perpendicular distance h from its
midpoint. Take the line along x with the foot of the perpendicular at the origin, element
dl = dx ax at distance x, R = √(x²+h²).
Geometry for the field of a finite line charge: every element ρL dx contributes dE = ρLdx aR/(4πε0R²).
Split each dE into components along the line (x) and perpendicular to it. With the angles
θ1, θ2 measured at P from the perpendicular to each end
(x = ρ tanθ, R = ρ secθ, dx = ρ sec²θ dθ with ρ = h):
Perpendicular component — the substitution chain.
dE = ρL dx aR/(4πε0R²), with R = √(x²+h²) and aR = (−x a∥ + h a⊥)/R …(1)
E⊥ = ∫ ρL h dx/(4πε0(x²+h²)3/2) …(2)
substitute x = h tanθ ⇒ dx = h sec²θ dθ …(3)
x² + h² = h²tan²θ + h² = h²sec²θ ⇒ (x²+h²)3/2 = h³sec³θ …(4)
integrand = ρL h·h sec²θ dθ/(4πε0h³sec³θ) = ρL cosθ dθ/(4πε0h) …(5)
∫cosθ dθ = sinθ, so E⊥ = ρL/(4πε0h) [sinθ]θ1θ2 = ρL/(4πε0h) (sinθ2 − sinθ1) a⊥ …(6) Parallel component, same substitution: E∥ = ∫ −ρL x dx/(4πε0(x²+h²)3/2) = −ρL/(4πε0h)∫sinθ dθ = ρL/(4πε0h) (cosθ2 − cosθ1) a∥ …(7)
θ1, θ2 are measured at P from the perpendicular to each end; (6) and (7) are the two results used in the derivation below.
Derivation · finite line, bisector, infinite line
Derive an expression for the electric field due to a line charge distribution at a perpendicular distance r from the line. What is the form of the expression when the line joining the point of interest to the line charge exactly bisects the distribution, and what does it reduce to when the line charge is infinitely long?
Setup. Line charge ρL (C/m) of length L along the x-axis, centred on the origin; field point P at perpendicular distance h (= r) from the midpoint; element dq = ρL dx at coordinate x; R = √(x²+h²); θ1, θ2 measured at P from the perpendicular to the two ends. Step 1 — resolve each element about the foot of the perpendicular:
dE = ρL dx aR/(4πε0R²), aR = (−x a∥ + h a⊥)/R …(8)
dE∥ = −ρL x dx/(4πε0(x²+h²)3/2) dE⊥ = ρL h dx/(4πε0(x²+h²)3/2) …(9)
Step 2 — integrate the perpendicular component with x = h tanθ:
E⊥ = ρL/(4πε0h) (sinθ2 − sinθ1) a⊥ …(10)
from (2)–(6) of the derivation above: dx = h sec²θ dθ, (x²+h²)3/2 = h³sec³θ, ∫cosθ dθ = sinθ
Step 3 — integrate the parallel component with the same substitution:
E∥ = ρL/(4πε0h) (cosθ2 − cosθ1) a∥ …(11)
from (7): ∫sinθ dθ = −cosθ, and the two minus signs cancel
Answer.E = ρL/(2πε0r) sinθ a⊥ on the bisector, reducing to E = ρL/(2πε0r) a⊥ for an infinite line — independent of length, falling off as 1/r, the result Gauss's law reproduces in one line (section 12).
Worked problem · above one end of a segment
Find the electric field a distance z above one end of a straight line segment of length L carrying a uniform line charge λ, and discuss the special case z » L.
Setup. Segment of length L on the x-axis from x = 0 to x = L, uniform λ (C/m); field point P(0, 0, z) directly above the end x = 0; element dq = λ dx at x, R = √(x²+z²). Step 1 — field of one element, components written out:
dE = λ dx aR/(4πε0R²), aR = (−x ax + z az)/R …(1)
dE = λ dx (−x ax + z az)/(4πε0(x²+z²)3/2) …(2)
Answer.Ez = λL/(4πε0z√(z²+L²)) and Ex = λ/(4πε0)(1/√(z²+L²) − 1/z); for z ≫ L the pair collapses to Q/(4πε0z²) — from far away the segment looks like a point charge at its near end, as it must.
10Ring of charge and a pair of charges
Charged ring: by symmetry only the axial component of E survives at a point on the axis.
On the axis of a uniformly charged ring every element dq = ρLa dφ is at
the same distance R = √(a²+z²) from P, and the transverse components cancel in
pairs, leaving
dE = dq aR/(4πε0R²), dq = ρL a dφ, R = √(a²+z²) for every element …(1)
axial fraction: cosα = z/R = z/√(a²+z²) …(2)
dEz = dE cosα = ρL a dφ·z/(4πε0(a²+z²)3/2) …(3)
transverse parts cancel in pairs by symmetry ⇒ Eρ = 0 …(4)
Ez = ∫02πdEz = ρL a z/(4πε0(a²+z²)3/2)·2π …(5)
Q = 2πa ρL ⇒ E = Q z/(4πε0(a²+z²)3/2) az …(6)
(6) is the ring result used in the two ring problems below; at z = 0 it vanishes, and for z ≫ a it reduces to Q/(4πε0z²).
Worked problem · pair of equal charges
Find the electric field a distance z above the midpoint between two equal charges q separated by a distance d.
Setup. Two equal charges q at (±d/2, 0, 0); field point P(0, 0, z) on the perpendicular bisector; each charge is at distance R = √(z² + d²/4) from P. Step 1 — field of one charge, magnitude and direction:
|dE| = q/(4πε0R²), R = √(z² + d²/4) …(1)
direction from (±d/2, 0, 0) to (0, 0, z): (−(d/2), 0, z) and (+(d/2), 0, z) …(2)
Ex = q/(4πε0R²)·(−d/2)/R + q/(4πε0R²)·(+d/2)/R = 0 …(5)
Ey = 0 by the same mirror symmetry …(6)
Step 4 — adding the two axial parts, (4):
Ez = 2·q z/(4πε0R³) = q z/(2πε0R³) …(7)
R³ = (z² + d²/4)3/2 ⇒ E = q z/(2πε0(z²+d²/4)3/2) az …(8)
Step 5 — limits of (8):
z = 0 ⇒ E = 0 (the two pulls are opposite and equal) …(9)
z ≫ d ⇒ (z²+d²/4)3/2 ≈ z³ ⇒ E ≈ q z/(2πε0z³) = 2q/(4πε0z²) …(10)
Answer.E = q z/(2πε0(z²+d²/4)3/2) az — zero at z = 0, peaking near z = d/2, and for z ≫ d the field of a point charge 2q, as (10) shows.
Worked problem · equivalent point charge of a ring
A circular ring of charge of radius 5 m lies in the z = 0 plane centred at the origin, with ρL = 10 nC/m. Find the point charge Q placed at the origin that produces the same E at the point (0, 0, 5) m.
Setup. Ring radius a = 5 m in the z = 0 plane, ρL = 10 nC/m, field point P(0, 0, 5) m; 1/(4πε0) = 9×10⁹. Step 1 — total charge of the ring:
Answer.Q = 111.1 nC at the origin reproduces E = 39.99 V/m az at (0, 0, 5) m. It is well under Qring = 314.2 nC: at P only the axial fraction cosα = z/√(a²+z²) = 5/7.071 = 0.707 of the ring's field survives, and it falls off faster than a point charge's.
11Electric flux and flux density D
Electric flux ψ is the count of field lines through a surface — the charge that
creates them: ψ = Q coulombs. Flux lines leave positive charge and enter negative charge, never
cross, and are perpendicular to conductor surfaces.
Electric flux density D (displacement density, C/m²) is flux per unit area:
D = ε0E in free space, D = εE in a dielectric, and it is defined so that
its total through a closed surface counts the enclosed charge — whatever the medium:
Point charge: D = Q/(4πr²) ar Line: D = ρL/(2πρ) aρ Sheet ρS: D = ρS/2 an (each side) general: D = εE
E vs D. Alike: both are inverse-square fields of point sources, both point radially from a point charge, both add by superposition. Different: E (V/m) is force per unit charge — it depends on the medium through ε and exerts forces on charges; D (C/m²) is flux density — it is medium-independent in the "counts charge" sense (D = ε0E + P), its lines begin and end on free charge, and it has no force meaning.
Worked problem · definition
Give a brief discussion of electric flux and electric flux density, the relation between electric flux density and electric field intensity, and the similarities and differences between E and D. Write the expressions for the electric flux density due to point, line, surface and volume charge distributions.
Setup. A charge Q (C) and a surface of area S through which its flux passes; ε = ε0εr, ε0 = 8.854×10⁻¹² F/m. Step 1 — electric flux:
ψ = ∮SD·dS = Qenc (coulombs) …(1)
the count of field lines leaving a charge; lines leave +Q, enter −Q, never cross, and meet a conductor perpendicularly
Step 2 — flux density as flux per unit area:
D = ψ/S = Q/(4πr²) for a sphere of radius r about Q …(2)
units C/m² — the displacement density
Step 3 — relation to the field intensity:
D = ε0E (free space), D = εE = ε0εrE (dielectric) …(3)
Step 4 — the four distributions:
point: D = Q ar/(4πr²) …(4)
line: D = ρL aρ/(2πρ) …(5)
sheet: D = ρS/2 an on each side …(6)
volume: D = ∫ρv dv aR/(4πR²), and in general D = εE …(7)
Answer.ψ = Q, D = εE, with (4)–(7) for the four distributions. Similar: both radial from a point source, both inverse-square, both superpose. Dissimilar: E is force per unit charge (V/m) and is medium-dependent; D is flux per area (C/m²), tied to enclosed free charge, and is what Gauss's law counts.
Worked problem · point + line combined
Determine the electric flux density D at (4, 0, 3) if there is a point charge −5π mC at (4, 0, 0) and a line charge of 3π mC/m along the y-axis.
Setup. Point charge Qp = −5π mC at (4, 0, 0) m; line charge ρL = 3π mC/m along the y-axis; field point P(4, 0, 3) m. Step 1 — vector from the point charge to P:
R = (4, 0, 3) − (4, 0, 0) = (0, 0, 3) m …(1)
|R| = 3 m, |R|³ = 27 m³ …(2)
Step 2 — flux density of the point charge, D = QR/(4π|R|³):
Dp = (−5π×10⁻³)(0, 0, 3)/(4π·27) …(3)
= (−15π×10⁻³)/(108π) az = −1.389×10⁻⁴ az C/m² …(4)
= −0.139 az mC/m² …(5)
Step 3 — perpendicular distance from the y-axis and its direction:
A point charge of 6 µC is located at the origin and a uniform line charge density of 180 nC/m lies along the x-axis. Find D at the point A(0, 0, 4) and at the point B(1, 2, 4).
Setup. Point charge 6 µC at the origin; line charge ρL = 180 nC/m along the x-axis; field points A(0, 0, 4) m and B(1, 2, 4) m. Step 1 — point-charge flux density at A (r = 4 along az):
Dp = Q/(4πr²) az = 6×10⁻⁶/(4π·16) = 6×10⁻⁶/201.1 …(1)
= 2.984×10⁻⁸ az C/m² = 29.84 az nC/m² …(2)
Step 2 — line-charge flux density at A (ρ = 4, direction az):
Dl = ρL/(2πρ) az = 180×10⁻⁹/(2π·4) = 180×10⁻⁹/25.13 …(3)
= 7.162×10⁻⁹ az C/m² = 7.16 az nC/m² …(4)
the surface may be any shape — pick the one on which D is constant and normal (a Gaussian surface mirroring the symmetry of the charge).
Derivation · differential form
State Gauss's law of electrostatics and express it mathematically in terms of both the electric field intensity and the electric flux density. From the integral form, derive the differential form of Gauss's law.
Setup. A closed surface S bounding a volume v, with D the flux density and ρv the volume charge density inside. Step 1 — integral form of Gauss's law:
∮SD·dS = Qenc ∮SE·dS = Qenc/ε0 …(1)
Step 2 — divergence theorem applied to the left side of (1):
∮SD·dS = ∫v(∇·D) dv …(2)
Step 3 — enclosed charge written as a volume integral:
Qenc = ∫vρv dv …(3)
Step 4 — substituting (2) and (3) into (1):
∫v(∇·D) dv = ∫vρv dv …(4)
true for any volume, so the integrands must be equal at every point
Step 5 — differential form, and the free-space version:
Answer.∇·D = ρv and ∇·E = ρv/ε0 — Maxwell's first equation in electrostatics.
Derivation · point charge
Using Gauss's law, find the electric flux density due to a point charge at a distance r, and the electric field intensity due to the point charge in free space using both Gauss's law and Coulomb's law.
Setup. Point charge Q at the origin; Gaussian sphere of radius r centred on it; dS = r² sinθ dθ dφ ar. Step 1 — symmetry argument:
D = Dr(r) ar (radial, and the same magnitude at every point of the sphere) …(1)
D·dS = Dr ar·ar dS = Dr dS …(2)
Step 2 — Gauss's law on the sphere:
∮SD·dS = Dr∮SdS = Dr·4πr² = Q …(3)
Dr = Q/(4πr²) ⇒ D = Q ar/(4πr²) …(4)
Step 3 — field intensity from D = ε0E:
E = D/ε0 = Q ar/(4πε0r²) …(5)
Step 4 — the Coulomb route to the same result:
F = qQ/(4πε0r²) …(6)
E = F/q = [qQ/(4πε0r²)]/q = Q/(4πε0r²) ⇒ Q ar/(4πε0r²) …(7)
Answer.D = Q/(4πr²) ar and E = Q ar/(4πε0r²); (5) and (7) are identical — Gauss's law is Coulomb's law plus symmetry.
Derivation · infinite line
Using Gauss's law, find the electric flux density and the electric field intensity due to an infinitely long straight wire in free space with line charge density ρL, and compare with the field of a finite line charge in the limit of infinite length.
Setup. Infinitely long straight wire along z with uniform ρL (C/m); coaxial Gaussian cylinder of radius ρ and length L; curved area 2πρL, two end caps of area πρ². Step 1 — symmetry argument:
D = Dρ(ρ) aρ: radial, constant on the curved surface …(1)
on the end caps D·dS = Dρ aρ·(±az) dS = 0 ⇒ caps carry no flux …(2)
Step 2 — Gauss's law on the cylinder:
∮SD·dS = Dρ(2πρL) + 0 + 0 = Qenc …(3)
Qenc = ρLL (only the enclosed length of wire) …(4)
Answer.D = ρL/(2πρ) aρ and E = ρL/(2πε0ρ) aρ; (9) is exactly (6) with h = ρ — the two routes agree.
Gaussian surfaces for a point charge (sphere) and an infinite line (coaxial cylinder).
13Gauss's law — worked problems
Worked problem · field from E
The electric field in some region is found to be E = k r³ ar in spherical coordinates (k a constant). Find (a) the charge density ρv, and (b) the total charge contained in a sphere of radius R centred at the origin.
Setup. E = k r³ ar (spherical, k a constant), so Er = k r³, Eθ = Eφ = 0; sphere of radius R about the origin. Step 1 — (a) divergence of E in spherical coordinates:
Answer.ρv = 5kε0r² and Q = 4πkε0R⁵; (7) and (9) agree — consistent.
Worked problem · flux through a cube
Given D = (2x² + z) ax + 4xy ay + x az C/m², find (a) the volume charge density at (−1, 0, 3), (b) the flux through the cube 0 ≤ x, y, z ≤ 1, and (c) the total charge enclosed by the cube.
Setup. D = (2x² + z) ax + 4xy ay + x az C/m²; cube 0 ≤ x, y, z ≤ 1, so dv = dx dy dz and every face has unit area. Step 1 — (a) divergence of D:
Answer.ρv(−1, 0, 3) = −8 C/m³, flux ψ = 4 C, enclosed charge 4 C — (5) and (12) agree.
Worked problem · divergence theorem, cone
Given D = (5r²/4) ar C/m², evaluate both sides of the divergence theorem for the volume enclosed by r = 4 m and θ = π/4.
Setup. D = (5r²/4) ar C/m²; volume bounded by r = 4 and the cone θ = π/4 (an ice-cream cone); dv = r² sinθ dr dθ dφ. Step 1 — divergence of D (as in section 6):