1. Home
  2. Explore
  3. Physics
  4. Maxwell Equations

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Maxwell Equations

Maxwell’s Equations: Integral and Point Forms

Maxwell’s equations are the four fundamental equations of classical electromagnetism. Together, they describe the relationships among electric fields, magnetic fields, electric charge, electric current, and time-varying electromagnetic fields.

The four equations are:

  1. Gauss’s law for electric fields

  2. Gauss’s law for magnetic fields

  3. Faraday’s law of electromagnetic induction

  4. Ampère–Maxwell law


1. Electric and Magnetic Monopoles

Electric monopoles

An electric monopole is an isolated electric charge. Electric charges can exist independently as either:

  • Positive charges

  • Negative charges

For example, a free electron inside a conducting metal is a negative electric charge. Electric field lines are directed toward a negative charge and away from a positive charge.

Therefore, isolated electric charges exist, and electric fields can originate from or terminate on electric charges.

Electric monopoles exist because positive and negative electric charges can exist separately.

Magnetic monopoles

A magnetic monopole would be an isolated north pole or an isolated south pole. However, ordinary magnets always have both poles.

If a bar magnet is cut into two pieces, each piece still has:

  • A north pole

  • A south pole

Thus, a single isolated magnetic north or south pole has not been observed in classical electromagnetism. Magnetic field lines do not begin or end at isolated magnetic charges; instead, they form continuous closed loops.

Magnetic monopoles do not exist in classical electromagnetism, so magnetic field lines always form closed loops.

This difference between electric and magnetic monopoles is reflected in the first two Maxwell equations.


2. Gauss’s Law for Electric Fields

Gauss’s law for electric fields relates the electric field produced through a surface to the electric charge enclosed by that surface.

Point form

The differential, or point, form of Gauss’s law is

∇⋅D=ρv\nabla \cdot \mathbf{D} = \rho_v∇⋅D=ρv​

where:

  • D\mathbf{D}D is the electric flux density

  • ρv\rho_vρv​ is the volume charge density

  • ∇⋅D\nabla \cdot \mathbf{D}∇⋅D is the divergence of the electric flux density

In a simple medium, electric flux density is related to electric field by

D=εE\mathbf{D} = \varepsilon \mathbf{E}D=εE

Therefore, Gauss’s law may also be written as

∇⋅E=ρvε\nabla \cdot \mathbf{E} = \frac{\rho_v}{\varepsilon}∇⋅E=ερv​​

where ε\varepsilonε is the permittivity of the medium.

Physical meaning

The divergence of the electric flux density at a point indicates the net electric flux flowing outward from that point.

  • A positive charge acts as a source of electric flux.

  • A negative charge acts as a sink of electric flux.

  • Positive charge produces outward-directed field lines.

  • Negative charge produces inward-directed field lines.

The point form describes what happens locally at each point in space.

Integral form

The integral form is

∮SD⋅dS=Qenclosed\oint_S \mathbf{D} \cdot d\mathbf{S} = Q_{\text{enclosed}}∮S​D⋅dS=Qenclosed​

where:

  • ∮S\oint_S∮S​ denotes integration over a closed surface

  • dSd\mathbf{S}dS is an outward-directed differential surface vector

  • QenclosedQ_{\text{enclosed}}Qenclosed​ is the total charge contained inside the closed surface

If the charge density is distributed throughout a volume, then

Qenclosed=∫Vρv dVQ_{\text{enclosed}} = \int_V \rho_v \, dVQenclosed​=∫V​ρv​dV

so the equation can also be written as

∮SD⋅dS=∫Vρv dV\oint_S \mathbf{D} \cdot d\mathbf{S} = \int_V \rho_v \, dV∮S​D⋅dS=∫V​ρv​dV

Physical meaning

The net electric flux leaving a closed surface equals the total electric charge enclosed within that surface.

For example, if a closed surface contains charges +Q+Q+Q and −Q-Q−Q of equal magnitude, the total enclosed charge is

Qenclosed=+Q−Q=0Q_{\text{enclosed}} = +Q - Q = 0Qenclosed​=+Q−Q=0

and the net electric flux through the surface is zero. Individual field lines may still pass through the surface, but the total outward flux and inward flux cancel.

If the enclosed charge is positive, the net flux is outward. If the enclosed charge is negative, the net flux is inward.

Key distinction

  • Point form: describes electric flux behavior at a particular point.

  • Integral form: describes the total electric flux through a closed surface.

The integral form specifically requires a closed surface because it measures the total flux entering or leaving an enclosed volume.


3. Gauss’s Law for Magnetic Fields

Gauss’s law for magnetic fields expresses the nonexistence of magnetic monopoles.

Point form

The point form is

∇⋅B=0\nabla \cdot \mathbf{B} = 0∇⋅B=0

where B\mathbf{B}B is the magnetic flux density.

Physical meaning

The divergence of the magnetic flux density is always zero. This means that magnetic field lines do not originate from or terminate at isolated magnetic charges.

Magnetic field lines form closed loops:

  • Outside a magnet, they travel from the north pole toward the south pole.

  • Inside the magnet, they continue from the south pole back toward the north pole.

Because the field lines are continuous, the net magnetic flux through any closed surface is zero.

There is no net magnetic flux through a closed surface because magnetic monopoles do not exist.

Integral form

The integral form is

∮SB⋅dS=0\oint_S \mathbf{B} \cdot d\mathbf{S} = 0∮S​B⋅dS=0

This states that the total magnetic flux leaving a closed surface is zero.

Any magnetic flux entering the closed surface must eventually leave it. Therefore:

  • The incoming magnetic flux equals the outgoing magnetic flux.

  • The algebraic sum of magnetic flux through the surface is zero.

  • A closed surface cannot enclose a net magnetic charge.

Magnetic flux density and magnetic field intensity

The source material refers to magnetic field and magnetic flux density in connection with this law. These quantities are related but distinct:

  • B\mathbf{B}B is magnetic flux density, measured in teslas.

  • H\mathbf{H}H is magnetic field intensity, measured in amperes per meter.

In a simple linear medium,

B=μH\mathbf{B} = \mu \mathbf{H}B=μH

where μ\muμ is the permeability of the medium. Gauss’s law for magnetism is conventionally written using B\mathbf{B}B.

Key distinction

  • Point form: ∇⋅B=0\nabla \cdot \mathbf{B}=0∇⋅B=0

  • Integral form: ∮SB⋅dS=0\oint_S \mathbf{B}\cdot d\mathbf{S}=0∮S​B⋅dS=0

Both forms state that magnetic monopoles do not exist and that magnetic field lines are closed loops.


4. Faraday’s Law of Electromagnetic Induction

Faraday’s law explains how a time-varying magnetic field produces an electric field and an electromotive force.

A changing magnetic flux through a surface induces an electromotive force, commonly abbreviated as EMF.

A time-varying magnetic flux through a surface produces an induced EMF around the boundary of that surface.

Magnetic flux

Magnetic flux is the amount of magnetic field passing through a surface. For a uniform magnetic field, the flux is

ΦB=∫SB⋅dS\Phi_B = \int_S \mathbf{B}\cdot d\mathbf{S}ΦB​=∫S​B⋅dS

For a uniform field crossing a flat surface,

ΦB=BAcos⁡θ\Phi_B = BA\cos\thetaΦB​=BAcosθ

where:

  • BBB is the magnetic flux density

  • AAA is the surface area

  • θ\thetaθ is the angle between the magnetic field and the surface normal

Magnetic flux is associated with a surface, not with a volume or a length.

How magnetic flux changes

Magnetic flux can change when any of the following changes:

  • The magnetic field strength

  • The area of the surface

  • The orientation of the surface

  • The current producing the magnetic field

A typical example is a coil carrying alternating current. Alternating current changes direction and magnitude with time. Since current produces a magnetic field, the magnetic field also changes with time. The changing magnetic field produces changing magnetic flux, which can induce an EMF in a nearby conducting loop.

The physical sequence is:

  1. Charge motion changes.

  2. The current changes.

  3. The magnetic field produced by the current changes.

  4. The magnetic flux through a surface changes.

  5. An EMF and induced electric field are produced around the boundary of the surface.

This principle is used in electromagnetic devices such as motors, generators, transformers, and induction systems.

Integral form

The integral form of Faraday’s law is

∮CE⋅dl=−ddt∫SB⋅dS\oint_C \mathbf{E}\cdot d\mathbf{l} = -\frac{d}{dt}\int_S \mathbf{B}\cdot d\mathbf{S}∮C​E⋅dl=−dtd​∫S​B⋅dS

where:

  • ∮C\oint_C∮C​ represents a line integral around a closed path

  • E\mathbf{E}E is the electric field

  • dld\mathbf{l}dl is a differential length element along the closed path

  • ∫SB⋅dS\int_S \mathbf{B}\cdot d\mathbf{S}∫S​B⋅dS is the magnetic flux through the surface

  • The closed path CCC bounds the surface SSS

The left-hand side represents the induced EMF:

E=∮CE⋅dl\mathcal{E} = \oint_C \mathbf{E}\cdot d\mathbf{l}E=∮C​E⋅dl

Thus,

E=−dΦBdt\mathcal{E} = -\frac{d\Phi_B}{dt}E=−dtdΦB​​

For a coil with NNN turns,

E=−NdΦBdt\mathcal{E} = -N\frac{d\Phi_B}{dt}E=−NdtdΦB​​

Meaning of the negative sign: Lenz’s law

The negative sign represents Lenz’s law. It states that the induced EMF acts in a direction that opposes the change in magnetic flux that produced it.

The induced effect does not necessarily oppose the magnetic field itself; it opposes the change in the magnetic flux.

For example:

  • If magnetic flux through a loop is increasing, the induced current produces a magnetic field that tends to reduce the increase.

  • If magnetic flux is decreasing, the induced current produces a magnetic field that tends to maintain the original flux.

This opposition is a consequence of conservation of energy. If the induced effect supported the change instead of opposing it, energy could be produced without an external input.

Point form

The point form of Faraday’s law is

∇×E=−∂B∂t\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}∇×E=−∂t∂B​

where:

  • ∇×E\nabla \times \mathbf{E}∇×E is the curl of the electric field

  • ∂B∂t\frac{\partial \mathbf{B}}{\partial t}∂t∂B​ is the time rate of change of magnetic flux density

Physical meaning

A time-varying magnetic field produces a rotational electric field. The electric field lines generated in this way form closed loops rather than beginning and ending on electric charges.

This differs from an electrostatic field, which is produced by charges and is conservative.

If the magnetic field is constant with time,

∂B∂t=0\frac{\partial \mathbf{B}}{\partial t}=0∂t∂B​=0

then

∇×E=0\nabla \times \mathbf{E}=0∇×E=0

In this special case, the electric field is conservative and behaves as an electrostatic field.

Applications

Faraday’s law is central to the operation of:

  • Electric generators

  • Transformers

  • Induction motors

  • Inductors

  • Wireless power-transfer systems

In an electric motor, changing currents produce changing magnetic fields. The interaction between the resulting magnetic fields produces forces and torque, causing rotational motion of the motor.


5. Ampère–Maxwell Law

The Ampère–Maxwell law describes how magnetic fields are produced by:

  1. Conducting current

  2. Time-varying electric fields

The original Ampère law included only physical conduction current. Maxwell extended it by adding the displacement-current term, making the law consistent with charge continuity and allowing it to apply to capacitors and free space.

Integral form

The integral form is

∮CH⋅dl=∫SJ⋅dS+ddt∫SD⋅dS\oint_C \mathbf{H}\cdot d\mathbf{l} = \int_S \mathbf{J}\cdot d\mathbf{S} + \frac{d}{dt}\int_S \mathbf{D}\cdot d\mathbf{S}∮C​H⋅dl=∫S​J⋅dS+dtd​∫S​D⋅dS

where:

  • H\mathbf{H}H is the magnetic field intensity

  • J\mathbf{J}J is the conduction-current density

  • D\mathbf{D}D is the electric flux density

  • CCC is a closed path

  • SSS is the surface bounded by CCC

The first term on the right is the conduction current passing through the surface:

Iconduction=∫SJ⋅dSI_{\text{conduction}} = \int_S \mathbf{J}\cdot d\mathbf{S}Iconduction​=∫S​J⋅dS

The second term is the displacement current:

Idisplacement=ddt∫SD⋅dSI_{\text{displacement}} = \frac{d}{dt}\int_S \mathbf{D}\cdot d\mathbf{S}Idisplacement​=dtd​∫S​D⋅dS

Therefore, the total effective current is

Itotal=Iconduction+IdisplacementI_{\text{total}} = I_{\text{conduction}} + I_{\text{displacement}}Itotal​=Iconduction​+Idisplacement​

and the law may be expressed conceptually as

circulation of magnetic field=total effective current\text{circulation of magnetic field} = \text{total effective current}circulation of magnetic field=total effective current

Conduction current

Conduction current is the physical movement of electric charge through a conductor.

The conduction-current density is

J=IA\mathbf{J} = \frac{I}{A}J=AI​

for a uniform current distribution, where:

  • III is the current

  • AAA is the cross-sectional area of the conductor

A current-carrying wire produces a magnetic field around itself. The magnetic field circulates around the direction of current according to the right-hand rule.

In a conductor, the conduction-current term generally dominates:

J≫∂D∂t\mathbf{J} \gg \frac{\partial \mathbf{D}}{\partial t}J≫∂t∂D​

for many ordinary low-frequency circuit situations.

Displacement current

Displacement current is the magnetic-field-producing effect of a time-varying electric field. It does not require the physical movement of charges through a material conductor.

The displacement-current density is

Jd=∂D∂t\mathbf{J}_d = \frac{\partial \mathbf{D}}{\partial t}Jd​=∂t∂D​

Thus, the total current density in the Ampère–Maxwell law is

Jtotal=J+∂D∂t\mathbf{J}_{\text{total}} = \mathbf{J} + \frac{\partial \mathbf{D}}{\partial t}Jtotal​=J+∂t∂D​

Capacitor example

Consider a capacitor connected to an alternating-current source.

  • Conduction current flows through the wires.

  • Charges accumulate and redistribute on the capacitor plates.

  • The electric field between the plates changes with time.

  • This changing electric field produces displacement current.

  • The displacement current generates a magnetic field, even though no charge physically crosses the insulating gap between the plates.

Without the displacement-current term, Ampère’s law would give inconsistent results depending on which surface was chosen for the same closed boundary:

  • A surface passing through the wire would enclose conduction current.

  • A surface passing between the capacitor plates would enclose no conduction current.

Maxwell’s displacement current resolves this problem. It ensures that the magnetic field remains continuous around the circuit and that the current description is consistent across both surfaces.

A time-varying electric field can produce a magnetic field even in the absence of physical conduction current.

Point form

The differential form of the Ampère–Maxwell law is

∇×H=J+∂D∂t\nabla \times \mathbf{H} = \mathbf{J} + \frac{\partial \mathbf{D}}{\partial t}∇×H=J+∂t∂D​

The two terms have distinct physical meanings:

Contribution from conduction current

J→magnetic field\mathbf{J} \rightarrow \text{magnetic field}J→magnetic field

A steady or time-varying conduction current produces a magnetic field around the current path.

Contribution from displacement current

∂D∂t→magnetic field\frac{\partial \mathbf{D}}{\partial t} \rightarrow \text{magnetic field}∂t∂D​→magnetic field

A time-varying electric flux density also produces a magnetic field, even where there is no physical conductor.

Dominant terms in different regions

Inside a conducting wire

The conduction-current density usually dominates:

J is the principal source of the magnetic field\mathbf{J} \text{ is the principal source of the magnetic field}J is the principal source of the magnetic field

Between capacitor plates or in free space

The displacement-current density usually dominates:

∂D∂t is the principal source of the magnetic field\frac{\partial \mathbf{D}}{\partial t} \text{ is the principal source of the magnetic field}∂t∂D​ is the principal source of the magnetic field

In a dielectric

A time-varying electric field can produce displacement current through the dielectric. The displacement current is therefore important in capacitors, insulating materials, electromagnetic waves, and high-frequency systems.

Current continuity

The displacement-current term is necessary to maintain the continuity of current.

When an alternating current charges a capacitor, conduction current exists in the wires, while displacement current exists between the plates. These two effects together maintain the continuous electromagnetic behavior of the circuit.

The Ampère–Maxwell law therefore shows that magnetic fields are generated by both:

  • Moving electric charges

  • Time-varying electric fields


6. Summary of the Four Maxwell Equations

Gauss’s law for electric fields

Point form

∇⋅D=ρv\nabla \cdot \mathbf{D} = \rho_v∇⋅D=ρv​

Integral form

∮SD⋅dS=Qenclosed\oint_S \mathbf{D}\cdot d\mathbf{S} = Q_{\text{enclosed}}∮S​D⋅dS=Qenclosed​

Meaning

Electric charges are sources or sinks of electric flux.


Gauss’s law for magnetic fields

Point form

∇⋅B=0\nabla \cdot \mathbf{B}=0∇⋅B=0

Integral form

∮SB⋅dS=0\oint_S \mathbf{B}\cdot d\mathbf{S}=0∮S​B⋅dS=0

Meaning

Magnetic monopoles do not exist, so magnetic field lines form closed loops.


Faraday’s law

Point form

∇×E=−∂B∂t\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}∇×E=−∂t∂B​

Integral form

∮CE⋅dl=−ddt∫SB⋅dS\oint_C \mathbf{E}\cdot d\mathbf{l} = -\frac{d}{dt}\int_S \mathbf{B}\cdot d\mathbf{S}∮C​E⋅dl=−dtd​∫S​B⋅dS

Meaning

A time-varying magnetic field produces a circulating electric field and an induced EMF.


Ampère–Maxwell law

Point form

∇×H=J+∂D∂t\nabla \times \mathbf{H} = \mathbf{J} + \frac{\partial \mathbf{D}}{\partial t}∇×H=J+∂t∂D​

Integral form

∮CH⋅dl=∫SJ⋅dS+ddt∫SD⋅dS\oint_C \mathbf{H}\cdot d\mathbf{l} = \int_S \mathbf{J}\cdot d\mathbf{S} + \frac{d}{dt}\int_S \mathbf{D}\cdot d\mathbf{S}∮C​H⋅dl=∫S​J⋅dS+dtd​∫S​D⋅dS

Meaning

Magnetic fields are produced by conduction current and time-varying electric fields.


7. Conceptual Relationships

The four equations describe a connected system:

  • Electric charge produces electric fields.

  • Magnetic monopoles do not act as sources of magnetic fields.

  • Changing magnetic fields produce electric fields.

  • Electric current produces magnetic fields.

  • Changing electric fields also produce magnetic fields.

  • Electric and magnetic fields can therefore generate one another when they vary with time.

This mutual generation of time-varying electric and magnetic fields forms the foundation of electromagnetic waves. A changing magnetic field produces an electric field through Faraday’s law, while a changing electric field produces a magnetic field through the Ampère–Maxwell law.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent