Maxwell's Laws of Electromagnetism
Maxwell's Laws of Electromagnetism
All electric and magnetic fields in the Universe are governed by Maxwell’s four laws of electromagnetism. These laws describe how charges create fields, how fields interact with charges, and how changing fields produce other fields. The following notes explain each law in detail, along with related concepts such as magnetic forces, electromagnets, induction, motors, generators, and electromagnetic waves.
Electric Fields
Fundamental Properties of Electric Fields
A single charged particle creates an electric field everywhere throughout the entire Universe.
Electric field lines extend to infinity in all directions. The direction of the lines indicates the direction of the electric field.
The strength of the electric field is determined by how closely the field lines are packed together. The field is strongest near the charged particle because the lines are most dense there.
Electric fields exert a force on all charged particles. Positive particles feel a force in the same direction as the electric field. Negative particles feel a force in the opposite direction.
Behavior of Charges and Field Lines
Like charges repel; opposite charges attract.
Positive particles cause electric field lines to point away from the particle. Negative particles cause electric field lines to point toward the particle.
Negative and positive charges cancel each other out in terms of net field line count. If an object encloses equal amounts of positive and negative charge, the number of field lines exiting equals the number entering, giving a net zero field lines leaving.
Maxwell’s First Law (Gauss’s Law for Electricity)
The number of electric field lines leaving an object is determined only by the amount of charge inside the object.
The quantity of charge inside a closed surface dictates the total electric flux (number of field lines) passing through that surface.
Charges outside the object can bend the lines but cannot change the number of lines that exit the object.
The only way to increase the number of field lines leaving the object is to increase the charge inside (e.g., doubling the charge doubles the number of lines leaving, doubling the field strength).
This law is independent of the shape or size of the enclosing object. As long as the enclosed charge remains constant, the number of field lines leaving the object stays constant.
Magnetic Fields
Fundamental Properties of Magnetic Fields
Magnetic fields are very different from electric fields. They are created by moving charged particles.
The strength of a magnetic field is indicated by how close together the magnetic field lines are. The direction of the field lines indicates the field’s direction.
Maxwell’s Second Law (Gauss’s Law for Magnetism)
The number of magnetic field lines leaving an object is always zero.
For any closed surface, the number of magnetic field lines entering equals the number exiting. This is true regardless of whether charges are present inside the object.
This law reflects the fact that magnetic monopoles do not exist; magnetic field lines always form closed loops.
Maxwell’s Third Law (Ampère’s Law with Maxwell’s addition)
The strength of the magnetic field around a closed loop depends on the amount of charge passing through the loop each second, plus the rate of change of the electric field through the loop.
Current (charge per second) flowing through a loop creates a magnetic field circulating around the loop.
Increasing the current increases the magnetic field strength.
Negative charges flowing through the loop create a magnetic field in the opposite direction compared to positive charges.
The law applies regardless of the shape or size of the loop. The sum of the magnetic field arrow lengths (line integral of the field) around the loop is proportional to the current passing through it.
If the loop has no charge passing through it, but the electric field through the loop is changing with time, a magnetic field is still created around the loop. This is the Maxwell addition: changing electric fields produce magnetic fields.
Maxwell’s Fourth Law (Faraday’s Law of Induction)
A changing magnetic field can create an electric field.
Mathematically, the sum of the electric field arrow lengths around a closed loop is determined by the rate at which the magnetic field through the loop changes with time.
This law is the reverse of the third law: changing magnetic fields induce electric fields.
The law holds for any loop shape or size; the same rules for summing arrow lengths apply.
Magnetic Forces and the Right-Hand Rules
Force on a Moving Charged Particle in a Magnetic Field
Magnetic fields exert a force only on moving charged particles.
The force on a positive particle is perpendicular to both the magnetic field direction and the particle’s velocity — it is 90 degrees to the magnetic field and 90 degrees to the direction of motion.
The magnitude of the force F is proportional to the charge q, the magnetic field strength B, and the component of velocity perpendicular to the field:
F=qvBsinθMaximum force when θ=90∘ (motion perpendicular to field).
Zero force when θ=0∘ (motion parallel to field).
Negative particles experience a force in the opposite direction to positive particles.
Right-Hand Rules
Rule 1 (for direction of magnetic field around a current): Point your thumb in the direction of conventional current (positive charge flow); your fingers curl in the direction of the magnetic field lines.
Rule 2 (for direction of force on a moving positive charge): Point your fingers in the direction of the magnetic field, your thumb in the direction of motion; the force comes out of your palm.
Interaction Between Moving Charges
Particles with same charge moving in the same direction experience a magnetic attraction toward each other.
Particles with same charge moving in opposite directions experience a magnetic repulsion pushing them apart.
Electromagnets and Magnetic Materials
Coils and Electromagnets
A coil of wire carrying current creates a magnetic field similar to that of a bar magnet.
The strength of the magnetic field around a coil depends on:
The current through the wire.
The number of turns in the coil (more turns → stronger field).
Placing a magnetic material (e.g., iron) inside the coil greatly strengthens the field. The material’s rotating charged particles align with the coil’s field, turning the material into a magnet itself.
Magnetization
Magnetic materials have rotating charged particles that can be aligned by an external magnetic field.
In the presence of a magnet, these rotations align in the same direction, causing the material to be attracted.
For certain materials (e.g., hard ferromagnets), the alignment persists even after the external field is removed — the material becomes a permanent magnet.
Electric vs. Magnetic Materials
Electric fields affect materials where molecules orient themselves to create an internal field opposing the external field (dielectrics). The total electric field inside the material becomes weaker.
Magnetic fields affect materials where internal fields align with the external field (ferromagnets). The total magnetic field inside the material becomes stronger.
Induction and Transformers
Changing Magnetic Fields and Induced Currents
A changing magnetic field through a loop creates an induced electric field, which moves charges — generating an induced current.
Lenz’s Law: The induced current creates its own magnetic field that opposes the change in the original magnetic field. This reflects the idea that magnetic fields do not like to change.
Basic Transformer Principle
A transformer consists of two coils (primary and secondary) wrapped around a magnetic core.
Changing the current in the primary coil creates a changing magnetic field, which induces a current in the secondary coil.
Wrapping the coils around a magnetic material (core) makes the effect much stronger because the core’s rotating charged particles amplify the magnetic field changes.
Electric Generators
A rotating magnet creates a rotating magnetic field, causing the magnetic flux through a stationary loop to change continuously.
This changing flux induces an electric field, driving charges to move — generating electricity.
Motors and Rotating Fields
Three-Phase Synchronous Motor
By using three coils with currents phase-shifted in time, the combined magnetic field rotates in space.
A magnet placed inside these coils follows the rotating field, spinning at the same speed (synchronized). This is the principle of a three-phase synchronous motor.
Induction Motor
A rotating magnetic field (e.g., from three-phase coils) can be thought of as a rotating ring of charged particles.
If a conducting ring (or metal rotor) is placed inside, the changing magnetic field induces currents in the ring. These currents experience a magnetic force from the original rotating field, causing the ring to rotate in the same direction as the field.
This is the principle of an induction motor — no permanent magnets needed; the rotor is dragged along by induced currents.
Electromagnetic Waves and Light
Self-Reproducing Fields
A changing electric field creates a changing magnetic field, which in turn creates a changing electric field, and so on.
These self-reproducing fields propagate through space as electromagnetic waves.
Speed and Nature of Light
Electromagnetic waves travel through empty space at the speed of light (c≈3×108 m/s).
Light itself is an electromagnetic wave.
Nothing can travel through empty space faster than an electromagnetic wave.
When traveling through materials, electromagnetic waves slow down.
Frequency and Spectrum
All electromagnetic waves in vacuum have the same speed, but they can have different frequencies and wavelengths.
Visible light is a small portion of the spectrum; each color corresponds to a different frequency.
Radio waves have frequencies much lower than visible light.
X-rays and gamma rays have frequencies much higher than visible light.
Quantum Mechanics and Photons
According to quantum mechanics, everything can behave both as a wave and as a particle.
Electromagnetic waves are composed of particles called photons.
In Quantum Electrodynamics (QED), electric and magnetic fields are not fundamental; forces arise from the exchange of photons between charged particles.
Summary of Maxwell’s Four Laws
Law | Statement (Simplified) |
|---|---|
1st | The electric flux through a closed surface is proportional to the enclosed charge. |
2nd | The magnetic flux through a closed surface is always zero (no magnetic monopoles). |
3rd | The circulation of the magnetic field around a loop is proportional to the current through the loop plus the rate of change of electric flux through the loop. |
4th | The circulation of the electric field around a loop is proportional to the negative rate of change of magnetic flux through the loop. |
Note: The numbering of Maxwell’s laws is arbitrary; they are presented here in the order corresponding to Gauss’s law for electricity, Gauss’s law for magnetism, Ampère’s law with Maxwell’s addition, and Faraday’s law.

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