BAS102 · Unit 2

Electromagnetic field theory and Maxwell's equations notes — Unit 2

Free unit-wise study notes on electromagnetic field theory and maxwell's equations for Engineering Physics, Semester 1 of B.Tech — Computer Science & Engineering — key concepts, examples, important questions and a revision checklist for semester exams.

Comprehensive 20-page hand-written notes covering Electromagnetic Field Theory. Deep dive into Vector Calculus, the derivation of all four Maxwell's Equations, Displacement Current, and Electromagnetic Waves propagation.

Notebook — 20 pages

Page 1

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

1. Scalar and Vector Fields

To study electromagnetism, we first master the mathematical language used to describe it: vector calculus.

  • Scalar Field: A region of space where every point has a scalar value assigned to it (e.g., Temperature, Electric Potential VV).
  • Vector Field: A region of space where every point has a vector assigned to it, possessing both magnitude and direction (e.g., Electric Field E⃗\vec{E}, Magnetic Field B⃗\vec{B}).

The Del Operator (∇\nabla) is a differential vector operator:

∇ = î(∂/∂x) + ĵ(∂/∂y) + k̂(∂/∂z)

Next — Page 2 — Gradient of a Scalar Field

1 of 20

Page 2

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

2. Gradient of a Scalar Field

When the ∇\nabla operator is applied to a scalar function ϕ(x,y,z)\phi(x,y,z), it produces a vector field known as the Gradient.

grad φ = ∇φ = î(∂φ/∂x) + ĵ(∂φ/∂y) + k̂(∂φ/∂z)

Physical Significance

The gradient points in the direction of the maximum rate of increase of the function. Its magnitude represents that maximum rate of change. For example, the electric field E⃗\vec{E} is the negative gradient of the electric potential VV:

E = -∇V

Next — Page 3 — Divergence of a Vector Field

2 of 20

Page 3

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

3. Divergence of a Vector Field

Divergence is the dot product of the ∇\nabla operator with a vector field A⃗\vec{A}. The result is a scalar quantity.

div A = ∇ · A = (∂A_x/∂x) + (∂A_y/∂y) + (∂A_z/∂z)

Physical Significance

Divergence measures the net outward flow (flux) of a vector field per unit volume from a point.

  • Positive Divergence: The point acts as a "source" (e.g., a positive charge).
  • Negative Divergence: The point acts as a "sink" (e.g., a negative charge).
  • Zero Divergence: The field is "solenoidal" (e.g., magnetic field, since there are no monopoles).

Next — Page 4 — Curl of a Vector Field

3 of 20

Page 4

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

4. Curl of a Vector Field

Curl is the cross product of the ∇\nabla operator with a vector field A⃗\vec{A}. The result is another vector field.

Determinant Form
curl A = ∇ × A =
| î ĵ k̂ |
| ∂/∂x ∂/∂y ∂/∂z |
| A_x A_y A_z |

Physical Significance

Curl measures the rotation or "circulation" of a vector field around a point. If ∇×A⃗=0\nabla \times \vec{A} = 0, the field is called irrotational (or conservative, like the electrostatic field).

Next — Page 5 — Crucial Theorems (Gauss & Stokes)

4 of 20

Page 5

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

5. Crucial Theorems: Gauss & Stokes

These two theorems act as mathematical bridges, allowing us to convert between integrals. They are strictly required to convert Maxwell's equations from Integral form to Differential form.

Gauss's Divergence Theorem

Converts a closed Surface integral into a Volume integral. It states that the total outward flux of a vector field through a closed surface equals the volume integral of its divergence.

∯ A · dS = ∭ (∇ · A) dV

Stokes's Theorem

Converts a closed Line integral into a Surface integral. The line integral of a vector field around a closed boundary equals the surface integral of its curl.

∮ A · dl = ∬ (∇ × A) · dS

Next — Page 6 — Concept of Electric Flux

5 of 20

Page 6

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

6. Electric Flux & Gauss's Law in Electrostatics

Electric flux (ΦE\Phi_E) is the total number of electric field lines passing normally through a given area.

Gauss's Law

The total electric flux emerging from any closed surface is 1/ϵ01/\epsilon_0 times the total charge qq enclosed by it.

Maxwell's First Equation (Integral Form)
∯ E · dS = q / ε0_0

If volume charge density is ρ\rho, then q=∭ρdVq = \iiint \rho dV.

Next — Page 7 — Deriving First Equation (Differential)

6 of 20

Page 7

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

7. Deriving Maxwell's 1st Equation

To get the differential form, we start with Gauss's Law: ∬E⃗⋅dS⃗=1ϵ0∭ρdV\iint \vec{E} \cdot d\vec{S} = \frac{1}{\epsilon_0} \iiint \rho dV.

Apply Gauss's Divergence Theorem to the left side:

∯ E · dS = ∭ (∇ · E) dV

Equating the two volume integrals:

∭ (∇ · E) dV = ∭ (ho/( ho / ε0)dV_0) dV

Since the volume is arbitrary, the integrands must be equal:

Maxwell's First Equation (Differential Form)
∇ · E=ho/E = ho / ε0_0

Next — Page 8 — Gauss's Law for Magnetism

7 of 20

Page 8

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

8. Gauss's Law for Magnetism

In magnetism, isolated magnetic poles (monopoles) do not exist. Magnetic field lines are always continuous, closed loops.

Because whatever flux enters a closed surface must exit it, the net magnetic flux through any closed surface is identically zero.

Maxwell's Second Equation (Integral Form)
∯ B · dS = 0

Applying Divergence Theorem to the surface integral gives the differential form:

Maxwell's Second Equation (Differential)
∇ · B = 0

Next — Page 9 — Faraday's Law of Induction

8 of 20

Page 9

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

9. Faraday's Law of Electromagnetic Induction

Michael Faraday observed that a changing magnetic flux induces an Electromotive Force (EMF) in a circuit. Lenz's law dictates the negative sign (opposition to change).

EMF = - dΦ_B / dt

Since EMF is the work done in moving a unit charge around a closed loop, it equals the line integral of the electric field (∮E⃗⋅dl⃗\oint \vec{E} \cdot d\vec{l}).

Maxwell's Third Equation (Integral Form)
∮ E · dl = - d/dt [∬ B · dS]

Next — Page 10 — Deriving Third Equation (Differential)

9 of 20

Page 10

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

10. Deriving Maxwell's 3rd Equation

Start with Integral form: ∮E⃗⋅dl⃗=−∬∂B⃗∂t⋅dS⃗\oint \vec{E} \cdot d\vec{l} = -\iint \frac{\partial \vec{B}}{\partial t} \cdot d\vec{S}.

Apply Stokes's Theorem to the left side to convert line integral to surface integral:

∮ E · dl = ∬ (∇ × E) · dS

Equate the two surface integrals:

∬ (∇ × E) · dS = -∬ (∂B/∂t) · dS
Maxwell's Third Equation (Differential)
∇ × E = -∂B/∂t

This shows that a time-varying magnetic field produces a circulating (rotational) electric field.

Next — Page 11 — Ampere's Law & Its Limitation

10 of 20

Page 11

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

11. Ampere's Law & Its Limitation

Ampere's Circuital Law states that the line integral of the magnetic field B⃗\vec{B} around any closed path is μ0\mu_0 times the current enclosed by that path.

∮ B · dl=mudl = mu_0 I$

The Inconsistency

Applying Stokes's theorem gives ∇×B⃗=μ0J⃗\nabla \times \vec{B} = \mu_0 \vec{J}. If we take the divergence of both sides, ∇⋅(∇×B⃗)=μ0(∇⋅J⃗)\nabla \cdot (\nabla \times \vec{B}) = \mu_0 (\nabla \cdot \vec{J}). The divergence of a curl is always exactly zero. But the continuity equation says ∇⋅J⃗=−∂ρ/∂t\nabla \cdot \vec{J} = -\partial\rho / \partial t.

This means Ampere's law implies that charge density ρ\rho can never change (steady currents only). It completely fails for time-varying currents, like charging a capacitor.

Next — Page 12 — Maxwell's Displacement Current

11 of 20

Page 12

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

12. Maxwell's Displacement Current

To fix the inconsistency, Maxwell hypothesized that a changing electric field also acts as a current, creating a magnetic field. He introduced the Displacement Current (IdI_d).

Displacement Current Density (J_d)
Jd=J_d = ∂D/∂t = ε0(_0 (∂E/∂t)

The total current density is now the sum of conduction current (J⃗c\vec{J}_c) and displacement current (J⃗d\vec{J}_d).

Next — Page 13 — Maxwell-Ampere Law

12 of 20

Page 13

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

13. The Maxwell-Ampere Law

Substituting the total current into Ampere's Law gives the final, generalized equation.

Maxwell's Fourth Equation (Integral Form)
∮ B · dl=mudl = mu_0 [∬ ∬ (J_c +ε ε_0$ ∂E/∂t) · dS ]

Applying Stokes's Theorem yields the differential form:

Maxwell's Fourth Equation (Differential)
∇ × B=muB = mu_0 (Jc+_c + ε0_0 ∂E/∂t)
OR
∇ × H = J_c + ∂D/∂t

Next — Page 14 — Summary of Maxwell's Equations

13 of 20

Page 14

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

14. Summary of Maxwell's Equations

Differential Forms in General Medium
No.EquationPhysical Meaning
1∇⋅D=ρ\nabla \cdot \mathbf{D} = \rhoGauss's Law for Electrostatics
2∇⋅B=0\nabla \cdot \mathbf{B} = 0Gauss's Law for Magnetism
3∇×E=−∂B∂t\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}Faraday's Law of Induction
4∇×H=Jc+∂D∂t\nabla \times \mathbf{H} = \mathbf{J}_c + \frac{\partial \mathbf{D}}{\partial t}Maxwell-Ampere Law

Next — Page 15 — Free Space Conditions

14 of 20

Page 15

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

15. Equations in Free Space (Vacuum)

In free space or vacuum, there are no charges and no conduction currents. Therefore:

  • Volume charge density ρ=0\rho = 0
  • Conduction current density Jc=0\mathbf{J}_c = 0

Maxwell's Equations simplify to:

1. ∇ · E = 0
2. ∇ · B = 0
3. ∇ × E = -∂B/∂t
4. ∇ × B=muB = mu_0εε_0($∂E/∂t)

Next — Page 16 — Deriving the EM Wave Equation

15 of 20

Page 16

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

16. Deriving the EM Wave Equation

How do we prove light is an electromagnetic wave? We take the curl of Maxwell's 3rd Equation.

∇ × (∇ × E) = ∇ × (-∂B/∂t) = -(∂/∂t)(∇ × B)

Using the vector identity ∇×(∇×E)=∇(∇⋅E)−∇2E\nabla \times (\nabla \times \mathbf{E}) = \nabla(\nabla \cdot \mathbf{E}) - \nabla^2 \mathbf{E}:

Since ∇⋅E=0\nabla \cdot \mathbf{E} = 0 in free space, the left side is just −∇2E-\nabla^2 \mathbf{E}. Substitute the 4th equation into the right side:

-∇2E=−^2E = -mu0_0ε0(_0(∂2E/^2E/∂t2)t^2)
∇2E=^2E = mumu_0εε_0(∂∂^2E/∂∂t^2)$

Next — Page 17 — Velocity of EM Waves

16 of 20

Page 17

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

17. Velocity of EM Waves

The equation ∇2E=μ0ϵ0∂2E∂t2\nabla^2 \mathbf{E} = \mu_0\epsilon_0\frac{\partial^2 \mathbf{E}}{\partial t^2} is a standard 3D wave equation of the form ∇2u=1v2∂2u∂t2\nabla^2 u = \frac{1}{v^2} \frac{\partial^2 u}{\partial t^2}.

Comparing the two, the velocity of the wave vv (or cc) in vacuum is:

Speed of Light
c = 1 / sqrt{mu0_0ε_0}

Plugging in the constants μ0=4π×10−7\mu_0 = 4\pi \times 10^{-7} and ϵ0=8.85×10−12\epsilon_0 = 8.85 \times 10^{-12}, we get exactly c≈3×108c \approx 3 \times 10^8 m/s, proving that light is an electromagnetic wave.

Next — Page 18 — Transverse Nature of EM Waves

17 of 20

Page 18

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

18. Transverse Nature of EM Waves

Let an EM wave propagate in the xx-direction. This means spatial variations exist only in xx (so ∂/∂y=0\partial/\partial y = 0 and ∂/∂z=0\partial/\partial z = 0).

From ∇⋅E=0\nabla \cdot \mathbf{E} = 0, we get ∂Ex/∂x=0\partial E_x / \partial x = 0. This means the electric field has no oscillating component in the direction of propagation.

Similarly from ∇⋅B=0\nabla \cdot \mathbf{B} = 0, we find ∂Bx/∂x=0\partial B_x / \partial x = 0. Therefore, both E\mathbf{E} and B\mathbf{B} oscillate strictly perpendicular to the direction of wave propagation, making it a Transverse wave.

Next — Page 19 — Poynting Vector & Theorem

18 of 20

Page 19

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

19. Poynting Vector & Theorem

Poynting Vector (S\mathbf{S})

Represents the rate of flow of electromagnetic energy per unit area per unit time, pointing in the direction of wave propagation.

S = E × H

Poynting Theorem

A statement of the conservation of energy for electromagnetism. It states that the rate of energy transfer into a volume equals the rate of work done on the charges inside plus the rate of increase of electromagnetic energy stored in that volume.

Next — Page 20 — Final Revision Checklist

19 of 20

Page 20

Wink Notes

B.Tech CSE — 1st Semester

Engineering Physics

— Unit - 2 —

20. Final Revision Checklist

Unit 2 Mastery

  • State the physical significance of Gradient, Divergence, and Curl.
  • Write the statements of Gauss's Divergence and Stokes's Theorems.
  • Explain the concept of Displacement Current and why it is necessary.
  • Derive all four Maxwell's Equations in differential form.
  • Derive the EM Wave equation in free space and calculate its velocity.
  • Prove that electromagnetic waves are transverse in nature.
  • State and mathematically define the Poynting Theorem.

20 of 20

Continue in this subject