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

Study methods

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

Maxwell’s Equations

Electromagnetism and Maxwell’s Equations

Electricity and magnetism are not separate theories. They form one unified theory called electromagnetism, summarized by the four Maxwell equations. These equations describe:

  • How electric charges produce electric fields

  • Why magnetic fields have no isolated sources

  • How electric currents produce magnetic fields

  • How changing magnetic fields produce electric fields

  • How changing electric fields produce magnetic fields

The final Maxwell equation completes the symmetry between electricity and magnetism and makes electromagnetic waves possible.


1. Faraday’s Law and Ampère’s Law

Two of Maxwell’s equations have a remarkably similar mathematical structure because both involve a line integral around a closed loop.

Faraday’s law

Faraday’s law in integral form is

∮E⋅dℓ=−dΦBdt\oint \mathbf{E}\cdot d\boldsymbol{\ell} = -\frac{d\Phi_B}{dt}∮E⋅dℓ=−dtdΦB​​

where:

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

  • dℓd\boldsymbol{\ell}dℓ is a small displacement along the path

  • The circle on the integral indicates a closed loop

  • ΦB\Phi_BΦB​ is the magnetic flux through the loop

  • The minus sign expresses Lenz’s law

The left-hand side is the circulation of the electric field around a closed path. It has a direct physical interpretation as the induced electromotive force, or induced voltage:

E=∮E⋅dℓ\mathcal{E}=\oint \mathbf{E}\cdot d\boldsymbol{\ell}E=∮E⋅dℓ

Faraday’s law states that a changing magnetic flux produces an induced electric field.

Changing magnetic flux is the source of induced electric fields.

The negative sign means that the induced electric field acts in a direction that opposes the change in magnetic flux that created it.


Ampère’s law before Maxwell’s correction

The original form of Ampère’s law is

∮B⋅dℓ=μ0Ienclosed\oint \mathbf{B}\cdot d\boldsymbol{\ell} = \mu_0 I_{\text{enclosed}}∮B⋅dℓ=μ0​Ienclosed​

where:

  • B\mathbf{B}B is the magnetic field

  • IenclosedI_{\text{enclosed}}Ienclosed​ is the net current passing through the loop

  • μ0\mu_0μ0​ is the permeability of free space

The constant μ0\mu_0μ0​ can also be related to the Coulomb constant kek_eke​ and the speed of light ccc:

μ0=4πkec2\mu_0=\frac{4\pi k_e}{c^2}μ0​=c24πke​​

Ampère’s law states conceptually that a current produces a circulating magnetic field.

Electric current is a source of magnetic fields.


Mathematical similarity and physical differences

Faraday’s law and Ampère’s law both have the general form

closed-loop line integral=source-related quantity\text{closed-loop line integral} = \text{source-related quantity}closed-loop line integral=source-related quantity

Their similarities include:

  • Both integrate a vector field along a closed loop.

  • Both describe circulation around a source.

  • Both involve vector fields, since E\mathbf{E}E and B\mathbf{B}B vary with position and have direction.

  • Both connect field circulation to another physical quantity.

However, the two line integrals have different physical meanings.

Electric-field line integral

The quantity

∮E⋅dℓ\oint \mathbf{E}\cdot d\boldsymbol{\ell}∮E⋅dℓ

is related to voltage and work per unit charge. The electric force on a charge is

FE=qE\mathbf{F}_E=q\mathbf{E}FE​=qE

so the electric field can do work on a charge as the charge moves.

Magnetic-field line integral

The quantity

∮B⋅dℓ\oint \mathbf{B}\cdot d\boldsymbol{\ell}∮B⋅dℓ

does not represent work done by the magnetic field. The magnetic force is

FB=qv×B\mathbf{F}_B=q\mathbf{v}\times\mathbf{B}FB​=qv×B

and is perpendicular to the velocity of the charge. Therefore, magnetic forces do no work on a point charge, even though the magnetic field can have a nonzero circulation.

The similarity between Faraday’s law and Ampère’s law is therefore primarily a mathematical and vector-field similarity, not an identity of physical interpretation.


2. Conservative and Non-Conservative Vector Fields

A vector field is conservative if its line integral between two points is independent of the path taken. Equivalently, the circulation around every closed path is zero:

∮F⋅dℓ=0\oint \mathbf{F}\cdot d\boldsymbol{\ell}=0∮F⋅dℓ=0

For a conservative field, the line integral depends only on the initial and final points.

Static electric fields

The electric field produced by static charges is conservative. Therefore,

∮E⋅dℓ=0\oint \mathbf{E}\cdot d\boldsymbol{\ell}=0∮E⋅dℓ=0

for electrostatic fields.

This allows the electrostatic field to be expressed as the gradient of a scalar electric potential:

E=−∇V\mathbf{E}=-\nabla VE=−∇V

The direction of E\mathbf{E}E is the direction in which a positive charge would be pushed, and the field can be understood in terms of potential energy and voltage.

Magnetic fields

A magnetic field is not generally conservative as a vector field. In particular, the magnetic field surrounding a current-carrying wire forms closed circular loops. Following a circular path around the wire, the direction of the path can remain aligned with the magnetic field, producing a nonzero line integral.

This does not mean that magnetic fields do work on charges. Rather, it means that the mathematical vector field B\mathbf{B}B has nonzero circulation.

Induced electric fields

An induced electric field produced by changing magnetic flux is also non-conservative:

∮E⋅dℓ=−dΦBdt≠0\oint \mathbf{E}\cdot d\boldsymbol{\ell} = -\frac{d\Phi_B}{dt}\neq 0∮E⋅dℓ=−dtdΦB​​=0

when the magnetic flux changes with time.

Unlike an electrostatic field, an induced electric field cannot generally be written as the gradient of a single-valued scalar potential. The induced electric field forms closed, vortex-like loops around the changing magnetic field.

Because the force from an electric field is proportional to the field itself, the force due to an induced electric field is also non-conservative.

Energy conservation remains valid even when an induced electric field is non-conservative. The energy transferred to charges comes from the changing magnetic system, such as a changing current or moving magnet.


3. Divergence, Curl, and the Geometry of Fields

Two important mathematical properties of vector fields are divergence and curl.

Divergence

Divergence describes whether a vector field spreads outward from or converges inward toward a point.

  • Positive divergence indicates a local source.

  • Negative divergence indicates a local sink.

  • Zero divergence indicates no net outward or inward flow from a small closed surface.

The integral associated with divergence is a flux through a closed surface:

∯A⋅dA\oiint \mathbf{A}\cdot d\mathbf{A}∬​A⋅dA

A surface integral is two-dimensional and covers an entire closed surface.

Curl

Curl describes the local tendency of a vector field to circulate around a point. A field with curl often has a vortex-like structure.

The integral associated with curl is a line integral around a closed loop:

∮A⋅dℓ\oint \mathbf{A}\cdot d\boldsymbol{\ell}∮A⋅dℓ

A line integral is one-dimensional and follows a path.

Source-like and vortex-like fields

Two broad visual patterns are useful:

Radial or source-like field

A field produced by a static point charge points radially outward or inward. If a closed surface surrounds the charge, the net flux can be nonzero.

However, a closed line integral around such a field is zero because contributions in opposite directions cancel.

Circulating or vortex-like field

A magnetic field surrounding a current-carrying wire forms circles around the wire. An induced electric field surrounding a changing magnetic flux has a similar circular pattern.

For a loop encircling the source, the field and path direction can remain aligned, giving a nonzero line integral.

This distinction corresponds to the difference between:

  • Divergence: associated with sources and sinks

  • Curl: associated with circulation and vortices


4. Gauss’s Laws

Two of Maxwell’s equations are called Gauss’s laws: one for electric fields and one for magnetic fields.

Gauss’s law for electric fields

In integral form,

∯E⋅dA=Qenclosedε0\oiint \mathbf{E}\cdot d\mathbf{A} = \frac{Q_{\text{enclosed}}}{\varepsilon_0}∬​E⋅dA=ε0​Qenclosed​​

where:

  • The integral is over a closed surface.

  • QenclosedQ_{\text{enclosed}}Qenclosed​ is the total electric charge inside the surface.

  • ε0\varepsilon_0ε0​ is the permittivity of free space.

Conceptually:

Electric charge is a source of electric-field flux.

A positive charge produces a net outward flux, while a negative charge produces a net inward flux. The actual shape of the closed surface does not matter; only the total enclosed charge determines the net flux.

The differential form is

∇⋅E=ρε0\nabla\cdot\mathbf{E} = \frac{\rho}{\varepsilon_0}∇⋅E=ε0​ρ​

where ρ\rhoρ is the local charge density.

This local equation says that the divergence of the electric field at a point is determined by the charge density at that point.


Gauss’s law for magnetic fields

The corresponding magnetic-field equation is

∯B⋅dA=0\oiint \mathbf{B}\cdot d\mathbf{A}=0∬​B⋅dA=0

Its differential form is

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

This means that magnetic fields have no net flux through any closed surface.

No magnetic monopoles

Magnetic field lines do not begin or end at isolated magnetic charges. Instead, they form continuous loops.

A bar magnet has a north pole and a south pole. Outside the magnet, field lines conventionally emerge from the north pole and enter the south pole; inside the magnet, they continue from south to north, forming closed loops.

If a bar magnet is cut in half, the result is not an isolated north pole and an isolated south pole. Each piece becomes a smaller magnet with its own north and south poles.

Thus, several equivalent descriptions are possible:

  • Every magnet has both a north and a south pole.

  • Magnetic field lines form closed loops.

  • Every closed surface has zero net magnetic flux.

  • No experimentally confirmed magnetic monopoles have been observed.

Gauss’s law for magnetism can be interpreted as saying that the enclosed magnetic charge would always be zero because no magnetic monopoles have been found.

If magnetic monopoles were eventually discovered, this equation would need to be modified to include magnetic charge density.


5. Ampère’s Law and Enclosed Current

Ampère’s law relates the circulation of the magnetic field to the current enclosed by a loop:

∮B⋅dℓ=μ0Ienclosed\oint \mathbf{B}\cdot d\boldsymbol{\ell} = \mu_0 I_{\text{enclosed}}∮B⋅dℓ=μ0​Ienclosed​

The meaning of “enclosed current” requires careful geometric definition.

The surface bounded by a loop

A closed loop defines a boundary. A surface can be stretched across that boundary, much like a rubber sheet or balloon opening.

The current is considered enclosed when it passes through the surface bounded by the loop.

Each crossing is counted with a sign determined by the chosen orientation of the surface:

  • Crossings in one direction contribute positively.

  • Crossings in the opposite direction contribute negatively.

Net current

A wire can enter and leave the surface. If it crosses once in one direction and once in the opposite direction, the two contributions cancel.

Therefore, a wire that bends through a surface and returns does not necessarily produce a nonzero enclosed current. What matters is the net current through the surface.

A current that passes through the surface and continues away without returning contributes a nonzero amount.

Why the choice of surface normally does not matter

A single loop can bound many different surfaces. At first, this seems ambiguous: one surface might appear to be pierced by a current while another is not.

For ordinary steady currents, this ambiguity does not affect Ampère’s law because of charge conservation. Current cannot simply disappear in the space between two surfaces. Any current entering a region must leave it somewhere.

Consequently, the net current through any two surfaces sharing the same boundary is the same, provided the current is steady and charge does not accumulate between the surfaces.

This reasoning becomes crucial when considering a charging capacitor.


6. Why the Original Ampère’s Law Is Incomplete

The original Ampère’s law works for steady currents but fails in situations where charge density changes with time.

Charging capacitor setup

Consider a wire carrying current toward a capacitor.

  • Current flows through the wire toward one capacitor plate.

  • Charge accumulates on that plate.

  • An opposite charge accumulates on the other plate.

  • No charge physically crosses the gap between the plates.

Now choose an Amperian loop around the wire. There are two possible surfaces bounded by this loop:

  1. A surface that cuts through the wire

  2. A surface that bulges between the capacitor plates

Contradictory predictions

For the surface cutting through the wire, the enclosed current is

Ienclosed=I0I_{\text{enclosed}}=I_0Ienclosed​=I0​

For the surface passing between the capacitor plates, no charge crosses the gap, so the conduction current is

Ienclosed=0I_{\text{enclosed}}=0Ienclosed​=0

The original Ampère’s law would therefore give two different values for the same magnetic-field circulation:

∮B⋅dℓ=μ0I0\oint \mathbf{B}\cdot d\boldsymbol{\ell} = \mu_0 I_0∮B⋅dℓ=μ0​I0​

or

∮B⋅dℓ=0\oint \mathbf{B}\cdot d\boldsymbol{\ell}=0∮B⋅dℓ=0

The magnetic field should not suddenly change merely because a portion of the circuit has been replaced by a capacitor. The contradiction shows that the original law is incomplete.


7. Displacement Current

Maxwell resolved the contradiction by introducing a quantity called displacement current.

Although displacement current has the word “current” in its name, it is not necessarily caused by charge physically crossing the surface. Instead, it is associated with a changing electric field.

Electric field between capacitor plates

As charge accumulates on the capacitor plates, the electric field between them grows.

For an ideal parallel-plate capacitor, the electric field is

E=σε0E=\frac{\sigma}{\varepsilon_0}E=ε0​σ​

where σ\sigmaσ is the surface charge density.

Surface charge density is charge per unit plate area:

σ=QA\sigma=\frac{Q}{A}σ=AQ​

Therefore,

E=Qε0AE=\frac{Q}{\varepsilon_0 A}E=ε0​AQ​

Solving for charge gives

Q=ε0AEQ=\varepsilon_0 A EQ=ε0​AE

The current entering the capacitor is the rate at which charge accumulates:

I0=dQdtI_0=\frac{dQ}{dt}I0​=dtdQ​

Substituting the expression for QQQ,

I0=ddt(ε0AE)I_0 = \frac{d}{dt}\left(\varepsilon_0 A E\right)I0​=dtd​(ε0​AE)

For a fixed plate area AAA and constant ε0\varepsilon_0ε0​,

I0=ε0AdEdtI_0=\varepsilon_0 A\frac{dE}{dt}I0​=ε0​AdtdE​

The product of electric field and area is the electric flux:

ΦE=∫E⋅dA\Phi_E=\int \mathbf{E}\cdot d\mathbf{A}ΦE​=∫E⋅dA

For a uniform electric field perpendicular to the plates, this reduces to

ΦE=EA\Phi_E=EAΦE​=EA

Therefore,

I0=ε0dΦEdtI_0=\varepsilon_0\frac{d\Phi_E}{dt}I0​=ε0​dtdΦE​​

This motivates the definition of displacement current:

Id=ε0dΦEdtI_d=\varepsilon_0\frac{d\Phi_E}{dt}Id​=ε0​dtdΦE​​

More generally, in vacuum,

Id=ε0ddt(∯E⋅dA)I_d=\varepsilon_0\frac{d}{dt} \left( \oiint \mathbf{E}\cdot d\mathbf{A} \right)Id​=ε0​dtd​(∬​E⋅dA)

Meaning of displacement current

Displacement current does not mean that charge is moving through the capacitor gap. Instead:

  • Charge moves in the wires.

  • The moving charge causes charge to accumulate on the plates.

  • The accumulating charge produces an increasing electric field.

  • The changing electric flux acts as a source of magnetic field.

Thus, the displacement current supplies the same magnetic-field effect on the surface between the plates as the conduction current supplies on the surface through the wire.

A changing electric field produces a magnetic field in the same way that an electric current produces a magnetic field.


8. The Maxwell Correction to Ampère’s Law

The corrected form of Ampère’s law is called the Ampère–Maxwell law:

∮B⋅dℓ=μ0Ienclosed+μ0ε0dΦEdt\oint \mathbf{B}\cdot d\boldsymbol{\ell} = \mu_0 I_{\text{enclosed}} + \mu_0\varepsilon_0\frac{d\Phi_E}{dt}∮B⋅dℓ=μ0​Ienclosed​+μ0​ε0​dtdΦE​​

Using the displacement current,

∮B⋅dℓ=μ0(Ienclosed+Id)\oint \mathbf{B}\cdot d\boldsymbol{\ell} = \mu_0\left(I_{\text{enclosed}}+I_d\right)∮B⋅dℓ=μ0​(Ienclosed​+Id​)

The additional term,

μ0ε0dΦEdt\mu_0\varepsilon_0\frac{d\Phi_E}{dt}μ0​ε0​dtdΦE​​

is called the Maxwell term.

The Maxwell term makes the result independent of which surface is chosen:

  • Through the wire, the conduction current is I0I_0I0​.

  • Between the plates, the conduction current is zero, but the displacement current equals I0I_0I0​.

Both surfaces therefore predict the same magnetic field.

Maxwell did not discover all four laws individually. Rather, he identified the missing term that completed the set and made the theory internally consistent. The complete group of four equations is consequently known as Maxwell’s equations.


9. The Four Maxwell Equations

In integral form, the four equations are:

Gauss’s law for electricity

∯E⋅dA=Qenclosedε0\oiint \mathbf{E}\cdot d\mathbf{A} = \frac{Q_{\text{enclosed}}}{\varepsilon_0}∬​E⋅dA=ε0​Qenclosed​​

Meaning: Electric charge produces electric-field flux.

Gauss’s law for magnetism

∯B⋅dA=0\oiint \mathbf{B}\cdot d\mathbf{A}=0∬​B⋅dA=0

Meaning: There are no confirmed magnetic monopoles; magnetic field lines form closed loops.

Faraday’s law

∮E⋅dℓ=−dΦBdt\oint \mathbf{E}\cdot d\boldsymbol{\ell} = -\frac{d\Phi_B}{dt}∮E⋅dℓ=−dtdΦB​​

Meaning: A changing magnetic flux produces a circulating electric field.

Ampère–Maxwell law

∮B⋅dℓ=μ0Ienclosed+μ0ε0dΦEdt\oint \mathbf{B}\cdot d\boldsymbol{\ell} = \mu_0 I_{\text{enclosed}} + \mu_0\varepsilon_0\frac{d\Phi_E}{dt}∮B⋅dℓ=μ0​Ienclosed​+μ0​ε0​dtdΦE​​

Meaning: Electric current and changing electric flux produce a circulating magnetic field.

Together, these equations describe the sources and interactions of electric and magnetic fields.


10. Electricity and Magnetism as Reciprocal Phenomena

The history of electromagnetism can be understood as a gradual discovery of connections between electric and magnetic phenomena.

Electric charge produces electric fields

Gauss’s law establishes the basic electrostatic relationship:

Electric charge produces electric field.

Moving charge produces magnetic fields

Ampère’s law adds that moving charges, or electric currents, produce magnetic fields.

This creates the first major link between electricity and magnetism:

Moving electric charge produces magnetic field.

The magnetic force on a charge is described by the Lorentz force law:

F=q(E+v×B)\mathbf{F} = q\left(\mathbf{E}+\mathbf{v}\times\mathbf{B}\right)F=q(E+v×B)

where:

  • qqq is the charge

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

  • v\mathbf{v}v is the charge velocity

  • B\mathbf{B}B is the magnetic field

A magnetic force requires a moving charge because the magnetic part is proportional to v×B\mathbf{v}\times\mathbf{B}v×B.

Changing magnetic field produces electric field

Faraday’s law establishes the reverse relationship:

A changing magnetic field or magnetic flux produces an electric field.

This is not described as magnetic charge producing electric field because isolated magnetic charge has not been observed. Instead, the relationship is expressed using changing magnetic flux.

Changing electric field produces magnetic field

The Maxwell term completes the reverse direction:

A changing electric field produces a magnetic field.

This relationship is the key addition that makes the electric–magnetic interaction fully interconnected.

The apparent asymmetry between electricity and magnetism is primarily due to the absence of magnetic monopoles. If magnetic charges existed, additional equations involving magnetic charge and magnetic current would be possible.


11. Electromagnetic Waves

The Maxwell term allows electric and magnetic fields to sustain one another through space.

Consider a charge oscillating up and down:

  1. The charge produces an electric field.

  2. Because the charge is moving, it constitutes a current.

  3. The current produces a magnetic field that circulates around the motion.

  4. The changing magnetic field produces an electric field through Faraday’s law.

  5. The changing electric field produces a magnetic field through the Maxwell term.

  6. The process continues, allowing the disturbance to travel outward.

This self-sustaining sequence is an electromagnetic wave.

Without the Maxwell term, the chain would stop after the changing magnetic field produced an electric field. A changing electric field would not produce any additional magnetic field under the incomplete theory.

With the Maxwell term:

changing electric field⟶magnetic field⟶changing magnetic field⟶electric field⟶⋯\text{changing electric field} \longrightarrow \text{magnetic field} \longrightarrow \text{changing magnetic field} \longrightarrow \text{electric field} \longrightarrow\cdotschanging electric field⟶magnetic field⟶changing magnetic field⟶electric field⟶⋯

The fields produced by radiation decrease approximately as

1r\frac{1}{r}r1​

rather than as the electrostatic inverse-square behavior

1r2\frac{1}{r^2}r21​

This difference allows electromagnetic disturbances to propagate over large distances as waves.

The complete Maxwell equations therefore predict electromagnetic radiation, including the physical basis of light and other electromagnetic waves.


12. Differential Forms of Maxwell’s Equations

Integral equations describe fields over finite paths, surfaces, or volumes. Differential equations describe what happens locally at each point.

The differential forms of Maxwell’s equations in vacuum are:

Gauss’s law for electricity

∇⋅E=ρε0\nabla\cdot\mathbf{E} = \frac{\rho}{\varepsilon_0}∇⋅E=ε0​ρ​

Gauss’s law for magnetism

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

Ampère–Maxwell law

∇×B=μ0J+μ0ε0∂E∂t\nabla\times\mathbf{B} = \mu_0\mathbf{J} + \mu_0\varepsilon_0\frac{\partial\mathbf{E}}{\partial t}∇×B=μ0​J+μ0​ε0​∂t∂E​

Faraday’s law

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

where:

  • ρ\rhoρ is charge density

  • J\mathbf{J}J is current density

  • ∂E/∂t\partial\mathbf{E}/\partial t∂E/∂t is the local rate of change of electric field

  • ∂B/∂t\partial\mathbf{B}/\partial t∂B/∂t is the local rate of change of magnetic field

The differential equations are local. For example, the electric field at one point is related to the charge density and field derivatives at that point. Integral forms are obtained by adding up local contributions over a surface, loop, or volume.


13. The Gradient Operator

The symbol ∇\nabla∇ is called the del operator or nabla operator. It is a vector differential operator.

In Cartesian coordinates,

∇=x^∂∂x+y^∂∂y+z^∂∂z\nabla = \hat{\mathbf{x}}\frac{\partial}{\partial x} + \hat{\mathbf{y}}\frac{\partial}{\partial y} + \hat{\mathbf{z}}\frac{\partial}{\partial z}∇=x^∂x∂​+y^​∂y∂​+z^∂z∂​

The operator itself is not a function. It becomes meaningful when it acts on a scalar or vector field.


Gradient

When ∇\nabla∇ acts on a scalar function f(x,y,z)f(x,y,z)f(x,y,z), it produces the gradient:

∇f=x^∂f∂x+y^∂f∂y+z^∂f∂z\nabla f = \hat{\mathbf{x}}\frac{\partial f}{\partial x} + \hat{\mathbf{y}}\frac{\partial f}{\partial y} + \hat{\mathbf{z}}\frac{\partial f}{\partial z}∇f=x^∂x∂f​+y^​∂y∂f​+z^∂z∂f​

The gradient is a vector that indicates:

  • The direction in which the scalar increases most rapidly

  • The rate at which the scalar changes in that direction

For example, the temperature gradient indicates how temperature varies through space.


Divergence

The divergence of a vector field A\mathbf{A}A is written

∇⋅A\nabla\cdot\mathbf{A}∇⋅A

It is the dot product of the del operator with the vector field, so it produces a scalar.

If

A=Axx^+Ayy^+Azz^\mathbf{A} = A_x\hat{\mathbf{x}} + A_y\hat{\mathbf{y}} + A_z\hat{\mathbf{z}}A=Ax​x^+Ay​y^​+Az​z^

then

∇⋅A=∂Ax∂x+∂Ay∂y+∂Az∂z\nabla\cdot\mathbf{A} = \frac{\partial A_x}{\partial x} + \frac{\partial A_y}{\partial y} + \frac{\partial A_z}{\partial z}∇⋅A=∂x∂Ax​​+∂y∂Ay​​+∂z∂Az​​

Divergence measures the net tendency of a field to flow outward from a point.

  • Positive divergence: local source

  • Negative divergence: local sink

  • Zero divergence: no net source or sink

Electric and magnetic fields are examples of vector fields because each has three spatial components and can vary with position and time.


Curl

The curl of a vector field A\mathbf{A}A is written

∇×A\nabla\times\mathbf{A}∇×A

It is the cross product of the del operator with the vector field, so it produces another vector.

The curl is

∇×A=x^(∂Az∂y−∂Ay∂z)+y^(∂Ax∂z−∂Az∂x)+z^(∂Ay∂x−∂Ax∂y)\nabla\times\mathbf{A} = \hat{\mathbf{x}} \left( \frac{\partial A_z}{\partial y} - \frac{\partial A_y}{\partial z} \right) + \hat{\mathbf{y}} \left( \frac{\partial A_x}{\partial z} - \frac{\partial A_z}{\partial x} \right) + \hat{\mathbf{z}} \left( \frac{\partial A_y}{\partial x} - \frac{\partial A_x}{\partial y} \right)∇×A=x^(∂y∂Az​​−∂z∂Ay​​)+y^​(∂z∂Ax​​−∂x∂Az​​)+z^(∂x∂Ay​​−∂y∂Ax​​)

The curl measures the local circulation or vortex-like tendency of a vector field.

The order of the operation matters:

∇×A\nabla\times\mathbf{A}∇×A

is the curl, whereas writing the factors in another order does not represent the same operation. Since ∇\nabla∇ contains derivatives, it must appear before the field on which it acts.


14. Cross Products and the Curl Formula

The component form of a cross product can be remembered using a determinant-like arrangement:

A×B=∣x^y^z^AxAyAzBxByBz∣\mathbf{A}\times\mathbf{B} = \begin{vmatrix} \hat{\mathbf{x}} & \hat{\mathbf{y}} & \hat{\mathbf{z}}\\ A_x & A_y & A_z\\ B_x & B_y & B_z \end{vmatrix}A×B=​x^Ax​Bx​​y^​Ay​By​​z^Az​Bz​​​

Expanding gives

A×B=x^(AyBz−AzBy)+y^(AzBx−AxBz)+z^(AxBy−AyBx)\mathbf{A}\times\mathbf{B} = \hat{\mathbf{x}}(A_yB_z-A_zB_y) + \hat{\mathbf{y}}(A_zB_x-A_xB_z) + \hat{\mathbf{z}}(A_xB_y-A_yB_x)A×B=x^(Ay​Bz​−Az​By​)+y^​(Az​Bx​−Ax​Bz​)+z^(Ax​By​−Ay​Bx​)

The positive terms follow one set of diagonal patterns, and the negative terms follow the opposite diagonal patterns.

To calculate the curl, the first vector is replaced by ∇\nabla∇:

∇×A=∣x^y^z^∂∂x∂∂y∂∂zAxAyAz∣\nabla\times\mathbf{A} = \begin{vmatrix} \hat{\mathbf{x}} & \hat{\mathbf{y}} & \hat{\mathbf{z}}\\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z}\\ A_x & A_y & A_z \end{vmatrix}∇×A=​x^∂x∂​Ax​​y^​∂y∂​Ay​​z^∂z∂​Az​​​

This produces the component expression:

∇×A=x^(∂Az∂y−∂Ay∂z)+y^(∂Ax∂z−∂Az∂x)+z^(∂Ay∂x−∂Ax∂y)\nabla\times\mathbf{A} = \hat{\mathbf{x}} \left( \frac{\partial A_z}{\partial y} - \frac{\partial A_y}{\partial z} \right) + \hat{\mathbf{y}} \left( \frac{\partial A_x}{\partial z} - \frac{\partial A_z}{\partial x} \right) + \hat{\mathbf{z}} \left( \frac{\partial A_y}{\partial x} - \frac{\partial A_x}{\partial y} \right)∇×A=x^(∂y∂Az​​−∂z∂Ay​​)+y^​(∂z∂Ax​​−∂x∂Az​​)+z^(∂x∂Ay​​−∂y∂Ax​​)

The curl equations in Maxwell’s theory are therefore:

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

and

∇×B=μ0J+μ0ε0∂E∂t\nabla\times\mathbf{B} = \mu_0\mathbf{J} + \mu_0\varepsilon_0\frac{\partial\mathbf{E}}{\partial t}∇×B=μ0​J+μ0​ε0​∂t∂E​

These equations express the central reciprocal relationship of electromagnetism: changing magnetic fields create electric-field circulation, while currents and changing electric fields create magnetic-field circulation.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent