English:Electricity and Magnetism

Electricity and Magnetism
Electricity and Magnetism
Electricity and Magnetism is a university-level introduction to classical electromagnetism: the study of electric charge, electric and magnetic fields, forces, potentials, induction, circuits, and electromagnetic waves. You will move from experimentally grounded laws such as Coulomb's law and Faraday's law to the compact field description provided by Maxwell's equations. The course emphasizes mathematical reasoning, physical interpretation, model building, and connections to engineering and modern technology.
This aiMOOC is suitable for first- or second-year university students in physics, electrical engineering, applied mathematics, and related programs. You should be comfortable with algebra, trigonometry, basic calculus, vectors, and elementary mechanics. Familiarity with partial derivatives and line, surface, and volume integrals is helpful for the later sections.
By the end of the course, you should be able to:
- Electric field: Calculate and interpret fields produced by discrete and continuous charge distributions.
- Electric potential: Relate potential, electric field, work, and electrostatic energy.
- Magnetic field: Analyze magnetic forces and fields created by currents.
- Electromagnetic induction: Predict induced emf using magnetic flux and Faraday's law.
- Maxwell's equations: Use integral and differential forms to connect sources, fields, and waves.
- Electromagnetic wave: Explain how time-varying electric and magnetic fields propagate energy through space.
Introduction
Electricity and magnetism were once studied as largely separate phenomena. Experiments in the eighteenth and nineteenth centuries revealed a deeper unity: charges create electric fields, moving charges create magnetic fields, changing magnetic fields create electric fields, and changing electric fields contribute to magnetic fields. James Clerk Maxwell assembled these relationships into a coherent theory that predicts electromagnetic waves. Light is one member of this much broader family.
Electromagnetism is central to both fundamental physics and technology. Electric motors, generators, transformers, radio antennas, magnetic resonance systems, power grids, sensors, capacitive touchscreens, particle accelerators, and optical communication all rely on electromagnetic principles. The same mathematical language also develops transferable skills in vector calculus, symmetry arguments, energy methods, and differential equations.

When you solve an electromagnetism problem, ask four questions: What are the sources? What symmetries are present? Which field law matches the geometry? What quantity is actually being requested? This habit helps you choose between direct integration, Gauss's law, Ampère's law, potential methods, or Maxwell's equations.
Mathematical Language and Conventions
This course uses SI units. Charge is measured in coulombs C, electric field in newtons per coulomb N/C or volts per metre V/m, potential in volts V, magnetic field in tesla T, current in amperes A, capacitance in farads F, inductance in henries H, and resistance in ohms.
Vectors are written with bold symbols in prose and vector notation in equations. The gradient , divergence , and curl describe how scalar and vector fields vary in space. Surface and line integrals connect local differential laws with global integral laws through the divergence theorem and Stokes' theorem.
Important vacuum constants are the electric constant and magnetic constant . In vacuum, the speed of electromagnetic waves satisfies .
Electric Charge and Coulomb's Law
Electric charge is a conserved property of matter. At the microscopic level, electrons carry negative elementary charge and protons carry positive elementary charge of equal magnitude. Charge is quantized in units of the elementary charge , although macroscopic charge distributions are often treated as continuous.
For two point charges and separated by displacement vector , Coulomb's law gives the force . The force acts along the line connecting the charges. Like charges repel and unlike charges attract.
The superposition principle is essential: the total force or field is the vector sum of contributions from all sources. For many charges, .
The Electric Field
The electric field at a point is defined as force per unit positive test charge: . For a point charge , .
Field lines are a visualization tool rather than physical threads. Their tangent gives the local field direction, their density can represent field magnitude, and electrostatic field lines begin on positive charge and end on negative charge or extend to infinity.

For a continuous charge distribution, replace the discrete sum by an integral. Typical source elements are for a line charge, for a surface charge, and for a volume charge. The resulting field is .
Electric Dipoles
An electric dipole consists of equal and opposite charges separated by a small displacement. Its dipole moment points from negative to positive charge: .
Far from an ideal dipole, the electric field decreases approximately as , faster than the field of a net point charge. A dipole in a uniform external electric field experiences torque and has potential energy .

Dipoles are important in molecular physics, dielectric materials, antennas, and radiation. The dipole model also illustrates how symmetry and approximation simplify complicated charge distributions.
Electric Flux and Gauss's Law
Electric flux measures how much electric field passes through an oriented surface. For a surface , . For a closed surface, use the notation .
Gauss's law states . In differential form, .
Gauss's law is always true in classical electromagnetism, but it is especially useful for calculating fields when the charge distribution has high symmetry. Spherical symmetry suggests a spherical Gaussian surface, cylindrical symmetry suggests a cylinder, and planar symmetry suggests a pillbox. If the magnitude or direction of is not sufficiently constrained by symmetry, direct integration or numerical methods may be better.
For a point charge, a spherical Gaussian surface gives , reproducing Coulomb's inverse-square law. For an infinite line charge with linear density , a cylindrical Gaussian surface leads to .
Electric Potential and Electrostatic Energy
Electrostatic forces are conservative. The electric potential difference between points A and B is . The electric field is related to potential by .
For a point charge, when zero potential is chosen at infinity. Unlike electric field, potential is a scalar, so contributions from several charges add algebraically.
A charge placed at potential has electric potential energy . For two point charges, .
Equipotential surfaces are everywhere perpendicular to the electrostatic field. Moving a charge along an equipotential surface requires no electrostatic work. This connection between geometry and energy is often more efficient than direct force calculations.
Conductors in Electrostatic Equilibrium
In an ideal conductor at electrostatic equilibrium, the electric field inside the conducting material is zero. Any excess charge resides on the surface, and the conductor is an equipotential. Just outside a conductor, the normal component of the electric field is related to surface charge density by when the field inside is zero.
Sharp curvature can produce large surface charge density and large local electric fields. This fact is relevant to corona discharge, lightning rods, field emission, and high-voltage engineering.
Capacitance and Dielectrics
A capacitor stores separated charge and electric-field energy. Capacitance is defined by . For an ideal parallel-plate capacitor with plate area , separation , and vacuum between the plates, when fringing fields are neglected.

Energy stored in a capacitor can be written in equivalent forms: . In vacuum, the electric-field energy density is .
A dielectric is an insulating material that polarizes in an electric field. For a linear dielectric with relative permittivity , the capacitance of a fully filled parallel-plate capacitor becomes . The microscopic explanation involves bound charges and induced or permanent molecular dipoles.

Capacitors appear in filters, oscillators, timing circuits, pulsed-power systems, energy storage, sensors, microphones, touch interfaces, and memory devices.
Current, Resistance, and Direct-Current Circuits
Electric current is the rate of charge flow: . In a conductor, the current density describes current per unit area. For a surface, .
Microscopically, charge carriers acquire a small drift velocity in response to an electric field. In an ohmic material, , where is conductivity. For a uniform wire of length , cross-sectional area , and resistivity , . Ohm's law for a circuit element is when resistance is constant.
Power dissipated by a resistor is .
Kirchhoff's junction rule expresses charge conservation, while Kirchhoff's loop rule is related to energy conservation in lumped circuits. These rules are highly effective when electromagnetic propagation delays are negligible compared with circuit timescales.
RC Circuits and Time Dependence
In a series RC circuit connected to a constant-voltage source , the capacitor charges according to . The time constant is . During discharge, .
The exponential form is a general signature of a first-order linear dynamical system. RC circuits therefore provide a bridge between electromagnetism, differential equations, signal processing, and control systems.
Magnetic Fields and the Lorentz Force
A charge moving with velocity in electric and magnetic fields experiences the Lorentz force .

The magnetic part is perpendicular to the instantaneous velocity, so a purely magnetic field does no work on an isolated point charge. It can change the direction of motion without changing kinetic energy. For , uniform circular motion has radius . If the velocity also has a component parallel to , the trajectory is helical.
For a straight wire segment carrying current in a uniform magnetic field, . For a general wire, .
Magnetic forces are central to electric motors, mass spectrometers, particle detectors, plasma confinement, loudspeakers, and accelerator beam steering.
Magnetic Fields Produced by Currents
A steady current produces a magnetic field. The Biot-Savart law is . It plays a role in magnetostatics analogous to Coulomb's law in electrostatics.
For an infinitely long straight wire, . The field direction follows the right-hand rule.

Ampère's circuital law for steady currents is . Like Gauss's law, Ampère's law is most useful for calculation when symmetry makes the field behavior simple.
Solenoids and Magnetic Dipoles
A long ideal solenoid with turn density and current has an approximately uniform interior field and a much weaker exterior field.


A current loop has magnetic dipole moment . In a uniform magnetic field, the loop experiences torque and has potential energy .
The dipole picture connects current loops with bar magnets and microscopic magnetic moments. In matter, magnetism arises from quantum-mechanical electron orbital motion and spin, but classical dipole models remain useful for many macroscopic problems.
Magnetic Flux and Electromagnetic Induction
Magnetic flux through a surface is . Faraday's law states that a changing magnetic flux through a circuit induces an electromotive force: . For identical turns, .
The minus sign expresses Lenz's law: the induced effect opposes the change in magnetic flux that produces it. This is a manifestation of energy conservation, not a separate force law.


Flux can change because the magnetic field magnitude changes, the loop area changes, the loop rotates, or the loop moves through a nonuniform field. Motional emf in a conductor moving through a magnetic field can also be analyzed with the magnetic Lorentz force on charge carriers.
Generators convert mechanical work into electrical energy through induction. Transformers rely on time-varying magnetic flux to transfer energy between circuits. Induction also explains eddy-current braking, wireless power transfer, induction heating, and many sensing technologies.
Inductance and RL Circuits
Self-inductance measures how a circuit's own current creates magnetic flux that opposes changes in that current. For a linear inductor, and the induced emf is .
The magnetic energy stored in an inductor is . In vacuum, the magnetic-field energy density is .
In a series RL circuit driven by a DC source, the current rises as , with time constant . Inductors resist rapid changes in current, just as capacitors resist rapid changes in voltage.
Maxwell's Equations
Maxwell's equations summarize classical electromagnetism. In vacuum with charge density and current density , their differential forms are:

The first equation is Gauss's law for electricity: electric charge is a source or sink of electric field. The second expresses the absence of observed magnetic monopoles in classical electromagnetism: magnetic field lines form closed loops or extend without beginning or end. The third is Faraday's law: changing magnetic fields generate circulating electric fields. The fourth is the Ampère-Maxwell law: currents and changing electric fields generate circulating magnetic fields.
Maxwell's addition of the displacement-current term makes the equations consistent with charge conservation and allows electromagnetic waves to propagate through vacuum.
Integral Forms and Boundary Thinking
The integral forms connect fields to finite regions:
These forms are especially useful when symmetry or boundary geometry matters. Differential forms describe local field behavior at a point, while integral forms describe net behavior over a region.
A powerful strategy is to switch forms deliberately. If a problem emphasizes local source density, a differential equation may be natural. If it emphasizes total enclosed charge, linked current, or flux through a surface, an integral form may reveal the answer more directly.
Electromagnetic Waves
In a source-free region of vacuum, Maxwell's equations imply wave equations such as and .
The propagation speed is . This result identified light as an electromagnetic wave.
For an ideal plane wave in vacuum, , , and the direction of propagation are mutually perpendicular. Their magnitudes satisfy .

The electromagnetic spectrum includes radio waves, microwaves, infrared, visible light, ultraviolet, X-rays, and gamma rays. These categories differ primarily in frequency and wavelength; all are electromagnetic radiation.
Energy transport is described by the Poynting vector . Its direction gives the local direction of electromagnetic energy flow, and its magnitude represents power per unit area for a plane wave.
From Fields to Communication Systems
A time-varying current in an antenna can radiate electromagnetic waves. A receiving antenna converts part of the incident field into electrical signals. Modulation, resonance, bandwidth, impedance matching, and propagation environments determine how efficiently information is transmitted.
The same field theory governs radio communication, Wi-Fi, radar, satellite links, optical fibers, and remote sensing. Engineering models often simplify full Maxwell equations into circuit, transmission-line, or waveguide descriptions depending on the scale and frequency.
Energy, Momentum, and Conservation Laws
Electromagnetic fields store and transport energy. In vacuum, total field energy density is . The Poynting theorem expresses energy conservation by linking the decrease of field energy inside a volume, the outward flow of electromagnetic energy, and the work done on charges.
Electromagnetic fields also carry momentum. Radiation can exert pressure, a fact observed in optical trapping and important in astrophysics and spacecraft concepts. Classical electromagnetism therefore extends the familiar mechanics ideas of energy and momentum into the field description.
Problem-Solving Strategies
University electromagnetism becomes easier when you separate the physical model from the algebra.
- Symmetry in physics: Identify rotational, spherical, cylindrical, planar, or translational symmetry before choosing an equation.
- Dimensional analysis: Check that your result has the correct SI units and plausible scaling.
- Limiting case: Test what happens when distance becomes very large or small, a parameter goes to zero, or symmetry becomes exact.
- Vector calculus: Draw directions before computing cross products, fluxes, gradients, curls, or line integrals.
- Energy method: Use potential or stored energy when forces are complicated but conservative structure is clear.
- Numerical method: Use computation when analytic symmetry is insufficient, but verify the model against known limiting cases.
A correct formula used in the wrong geometry is still a wrong solution. State assumptions explicitly, such as point-like sources, infinite wires, ideal capacitors, negligible resistance, quasistatic behavior, or vacuum propagation.
Applications Across Science and Engineering
Electromagnetic concepts reappear throughout university study. In electrical engineering, circuit theory is the low-frequency limit of field theory, while high-frequency systems require transmission lines, waveguides, and antennas. In materials science, polarization, conductivity, magnetic response, and dielectric loss connect microscopic structure to macroscopic fields. In chemistry, molecular dipoles and spectroscopy depend on electromagnetic interactions. In biology and medicine, membrane potentials, electrophysiology, imaging, and radiation-matter interaction rely on electromagnetic models.
Modern devices often combine several principles at once. An electric motor uses magnetic force and torque; a generator uses induction; a transformer uses mutual inductance; a capacitor stores electric-field energy; an inductor stores magnetic-field energy; a radio link uses oscillating currents and electromagnetic radiation.
Interactive Tasks
Quiz: Test Your Knowledge
What is the electric field of a point charge proportional to as distance increases? (Inverse square of distance) (!Inverse distance) (!Distance squared) (!Distance cubed)
Which law is usually most efficient for finding the electric field of a highly symmetric charge distribution? (Gauss law) (!Faraday law) (!Lenz law) (!Ohm law)
What is the relationship between electrostatic electric field and electric potential? (Electric field is the negative gradient of potential) (!Electric field equals potential times charge) (!Electric field is the curl of potential) (!Electric field is independent of potential)
What quantity does a capacitor primarily store in its idealized field description? (Electric field energy) (!Magnetic monopoles) (!Mechanical momentum only) (!Gravitational potential)
What is the magnetic force on a moving positive charge proportional to? (Velocity cross magnetic field) (!Velocity dot magnetic field) (!Charge divided by magnetic field) (!Magnetic flux divided by time)
Which law relates magnetic field circulation to current in magnetostatics? (Ampere law) (!Coulomb law) (!Hooke law) (!Snell law)
What does the minus sign in Faraday law express? (Opposition to the change in magnetic flux) (!Creation of magnetic monopoles) (!Loss of electric charge) (!Negative resistance in every circuit)
Which term did Maxwell add to extend Ampere law to time varying electric fields? (Displacement current term) (!Coulomb friction term) (!Gravitational source term) (!Thermal diffusion term)
How are electric field magnetic field and propagation direction oriented in an ideal plane electromagnetic wave? (Mutually perpendicular) (!All parallel) (!Electric and magnetic fields parallel only) (!Magnetic field parallel to propagation)
What vector describes electromagnetic energy flow in classical field theory? (Poynting vector) (!Dipole vector) (!Drift vector) (!Gauss vector)
Memory Game
| Coulomb law | Force between point charges follows an inverse square dependence |
| Gauss law | Electric flux through a closed surface depends on enclosed charge |
| Capacitance | Ratio of stored charge to potential difference |
| Lorentz force | Combined electric and magnetic force on a charged particle |
| Biot-Savart law | Magnetic field contribution produced by a current element |
| Faraday law | Changing magnetic flux produces an induced electromotive force |
| Inductance | Measure of flux linkage produced per current in a linear circuit |
| Poynting vector | Direction and rate of electromagnetic energy transport per area |
Drag and Drop
| Match the correct terms. | Topic |
|---|---|
| Enclosed electric charge | Gauss law source |
| Changing magnetic flux | Faraday law cause |
| Current and changing electric field | Ampere-Maxwell sources |
| Potential gradient | Electric field relation |
| Cross product of electric and magnetic fields | Electromagnetic energy flow direction |
Match each physical phrase with the principle or field relationship shown in the second column.
Crossword Puzzle
| Coulomb | Which scientist gives the name to the inverse square law for electrostatic force? |
| Gauss | Which law links closed surface electric flux to enclosed charge? |
| Ampere | Which name is associated with magnetic circulation around electric current? |
| Faraday | Which scientist is associated with electromagnetic induction? |
| Maxwell | Which physicist unified classical electricity magnetism and light in one field theory? |
| Inductance | What circuit property links changing current to an induced electromotive force? |
LearningApps
Cloze Text
Open-Ended Tasks
Easy
- Field Line Sketch: Draw electric field lines and equipotential lines for one positive charge, one negative charge, and a dipole. Explain where the field is strongest and how your drawing shows direction.
- Capacitor Observation: Photograph or sketch three everyday devices that plausibly contain capacitors, research the capacitor's role in each device, and write a short comparison of energy storage, filtering, or timing functions.
- Right-Hand Rule Video: Produce a two-minute video that demonstrates the right-hand rule for the magnetic field around a straight current-carrying wire and for magnetic force on a positive moving charge.
- Electromagnetism Interview: Interview an engineering student, technician, researcher, or instructor about one practical use of electromagnetism and summarize the physical principle in your own words.
Standard
- RC Circuit Experiment: Build or simulate an RC circuit, record capacitor voltage during charging or discharging, estimate the time constant from your data, and compare it with the theoretical value RC.
- Magnetic Field Mapping: Use a compass, smartphone magnetometer, or laboratory probe to map the magnetic field near a bar magnet or coil, then discuss measurement limitations and background fields.
- Faraday Induction Demonstration: Move a magnet through a coil connected to a sensitive meter or use a safe simulation, vary the speed and direction, and explain the observed emf using flux change and Lenz's law.
- Science Museum Field Study: Visit a science museum, university laboratory open day, power facility visitor center, or technical exhibition and document at least three exhibits or systems that rely on electromagnetic principles.
Advanced
- Numerical Electric Field Project: Write a computational model that calculates the electric potential and field of a nontrivial two-dimensional charge distribution, visualize the result, and validate it against a symmetric limiting case.
- Maxwell Equation Case Study: Choose one technology such as a coaxial cable, waveguide, transformer, MRI system, or antenna and explain which Maxwell equations dominate the analysis at different scales or operating regimes.
- Electromagnetic Energy Audit: Analyze energy transfer in a simple circuit or wave system using field energy and the Poynting vector, and compare the field viewpoint with the standard circuit-power viewpoint.
- Research Communication Project: Produce a poster, article, podcast, or video for university peers that traces one concept from Coulomb's law through Maxwell's equations to a modern application, with equations, diagrams, assumptions, and properly credited sources.
Learning Assessment
- Electrostatic Modeling Assessment: Derive the electric field on the symmetry axis of a uniformly charged ring, identify the far-field limit, and explain why that limit matches a point-charge model.
- Potential and Energy Assessment: Compare two methods for finding the work required to assemble a small system of point charges, and justify when scalar potential is more efficient than direct force integration.
- Magnetostatics Transfer Assessment: Design an Ampere-law argument for an ideal solenoid and then explain precisely why the same shortcut fails for a short finite solenoid.
- Induction Reasoning Assessment: Given a conducting loop moving through a nonuniform magnetic field, predict the sign and qualitative time dependence of induced current before performing any algebra.
- Maxwell Consistency Assessment: Explain why the original steady-current form of Ampere's law is incomplete for a charging capacitor and show how the displacement-current term resolves the inconsistency.
- Wave Application Assessment: Starting from the source-free Maxwell equations, outline the derivation of an electromagnetic wave equation and connect the result to one real communication or sensing technology.
Evidence of Learning
- Knowledge: You can explain electric charge, fields, potentials, flux, capacitance, current, magnetic force, induction, inductance, Maxwell's equations, and electromagnetic waves in a connected conceptual framework.
- Mathematical skill: You can select and apply vector algebra, calculus, line integrals, surface integrals, differential operators, symmetry arguments, and differential equations appropriately.
- Experimental and computational skill: You can design measurements or simulations, record data, estimate uncertainty, compare observations with theory, and identify the limits of idealized models.
- Products: Your evidence may include solved derivations, field maps, circuit data, simulation code, laboratory reports, diagrams, presentations, posters, podcasts, or videos.
- Transfer: You can use electromagnetic principles to explain or analyze unfamiliar systems such as sensors, motors, generators, antennas, biomedical devices, communication links, or energy-conversion equipment.
OERs on the Topic
Open educational resources can support deeper study. Useful related English-language topics include Electrostatics, Magnetostatics, Electric potential, Capacitance, Electromagnetic induction, Maxwell's equations, Electromagnetic radiation, Poynting vector, and Electrical circuit.
Linked Learning Areas
aiMOOC Projects
NEWSLernweltNOAH fragen