Electricity and Magnetism

Learning Objectives

  • Define electric charge and apply Coulomb's Law.
  • Understand the concept of electric fields and apply Gauss's Law.
  • Calculate electric potential and capacitance.
  • Analyze simple DC circuits using Ohm's Law and Kirchhoff's Rules.
  • Describe magnetic fields, the magnetic force on moving charges, and sources of magnetic fields.
  • Explain electromagnetic induction using Faraday's Law and Lenz's Law.
Electricity and Magnetism (Electromagnetism) govern the interactions between electrically charged particles. This field is foundational for electrical engineering, power transmission, and electronics.

Electric Charge

Electric Charge Concepts

Matter is composed of atoms, which contain positively charged protons and negatively charged electrons. The fundamental unit of charge (ee) is 1.602×10191.602 \times 10^{-19} Coulombs (C).

  • Protons: +e+e
  • Electrons: e-e

Charge (qq) is a conserved property. The total charge of an isolated system remains constant. Like charges repel; opposite charges attract.

Coulomb's Law

Coulomb's Law Concepts

The fundamental force between two point charges (q1q_1 and q2q_2) separated by a distance (rr) is given by Coulomb's Law. It is mathematically identical in form to Newton's Law of Universal Gravitation, but the force can be attractive or repulsive.

Coulomb's Law

F=kq1q2r2=14πϵ0q1q2r2 F = k \frac{|q_1 q_2|}{r^2} = \frac{1}{4\pi\epsilon_0} \frac{|q_1 q_2|}{r^2}

Where:

  • FF is the magnitude of the electrostatic force (in Newtons, N).
  • kk is Coulomb's constant (8.987×109 Nm2/C28.987 \times 10^9 \text{ N}\cdot\text{m}^2/\text{C}^2).
  • ϵ0\epsilon_0 is the permittivity of free space (8.854×1012 C2/(Nm2)8.854 \times 10^{-12} \text{ C}^2/(\text{N}\cdot\text{m}^2)).

Interactive Simulation

Use this electric force model to see how charge signs, magnitudes, and separation control attraction or repulsion.

Interactive Physics Simulation

Coulomb's Law Electrostatic Simulator

Adjust the charges on two point particles and see how the electrostatic force scales with charge magnitudes and separation distance. Opposite charges attract; like charges repel.

Attracts
5 μC
-5 μC
10 cm
Governing Formula
F=keq1q2r2F = k_e \cdot \frac{|q_1 \cdot q_2|}{r^2}

Where electrostatic constant $k_e \approx 8.99 \times 10^9 \text{ N}\cdot\text{m}^2/\text{C}^2$. Force is proportional to charge product and inversely proportional to $r^2$.

Coulomb electrostatic charge interactions and vector forcesr = 10 cmF₁₂F₂₁Charge 1: 5 μC+5Charge 2: -5 μC-5
Force magnitude (F)
22.47 N
Interaction Type
Attractive

The Electric Field (E\vec{E})

The Electric Field (E\vec{E}) Concepts

Instead of thinking of charges exerting forces directly on one another across empty space, we introduce the concept of an electric field. A charge creates an electric field in the space around it, and another charge placed in that field feels a force.

Electric Field (E\vec{E})

The electrostatic force per unit charge exerted on a positive test charge (q0q_0) at a specific point in space. Electric field lines point away from positive charges and towards negative charges.

Electric Field

Calculates the electric field at a point.

E=Fq0\vec{E} = \frac{\vec{F}}{q_0}

Variables

SymbolDescriptionUnit
E\vec{E}Electric fieldN/C or V/m
F\vec{F}Electrostatic forceN
q0q_0Positive test chargeC

Electric Field of a Point Charge

Calculates the electric field created by a single point charge.

E=kqr2r^\vec{E} = k \frac{q}{r^2} \hat{r}

Variables

SymbolDescriptionUnit
E\vec{E}Electric fieldN/C or V/m
kkCoulomb's constantNm2/C2N\cdot m^2/C^2
qqPoint chargeC
rrDistance from the chargem
r^\hat{r}Unit vector pointing radially outward from the chargedimensionless

Gauss's Law

Gauss's Law Concepts

Gauss's Law is a powerful alternative to Coulomb's law for calculating electric fields of symmetric charge distributions (like spheres, cylinders, or infinite planes). It relates the electric flux (ΦE\Phi_E) passing through a closed "Gaussian" surface to the total charge enclosed within that surface (qencq_{enc}).

Gauss's Law

Relates the electric flux passing through a closed surface to the charge enclosed within it.

ΦE=EdA=qencϵ0\Phi_E = \oint \vec{E} \cdot d\vec{A} = \frac{q_{enc}}{\epsilon_0}

Variables

SymbolDescriptionUnit
ΦE\Phi_EElectric fluxVmV\cdot m
E\vec{E}Electric fieldN/C or V/m
dAd\vec{A}Differential area vectorm2m^2
qencq_{enc}Total enclosed chargeC
ϵ0\epsilon_0Permittivity of free spaceC2/(Nm2)C^2/(N\cdot m^2)

Electric Potential (VV)

Electric Potential (VV) Concepts

Just as a mass in a gravitational field has gravitational potential energy, a charge in an electric field has electric potential energy (UU). Because the electrostatic force is conservative, we can define a potential energy function.

It is often more useful to talk about energy per unit charge, which is the electric potential (commonly called Voltage).

Electric Potential (VV)

The electric potential energy per unit charge at a point in an electric field. The SI unit is the Volt (V), where 1 V=1 J/C1 \text{ V} = 1 \text{ J/C}.

Electric Potential

Calculates the electric potential energy per unit charge.

V=UqV = \frac{U}{q}

Variables

SymbolDescriptionUnit
VVElectric potentialV
UUElectric potential energyJ
qqChargeC

Electric Potential of a Point Charge

Calculates the electric potential created by a single point charge.

V=kqrV = k \frac{q}{r}

Variables

SymbolDescriptionUnit
VVElectric potentialV
kkCoulomb's constantNm2/C2N\cdot m^2/C^2
qqPoint chargeC
rrDistance from the chargem

Electric Potential (VV) Concepts

The difference in potential between two points (ΔV\Delta V) is the voltage. It represents the work done per unit charge by an external agent moving a positive test charge between those points.

Voltage (Potential Difference)

Calculates the difference in electric potential between two points.

ΔV=VfVi=ΔUq=Eds\Delta V = V_f - V_i = \frac{\Delta U}{q} = - \int \vec{E} \cdot d\vec{s}

Variables

SymbolDescriptionUnit
ΔV\Delta VVoltage or potential differenceV
Vf,ViV_f, V_iFinal and initial electric potentialsV
ΔU\Delta UChange in electric potential energyJ
qqChargeC
E\vec{E}Electric fieldV/m
dsd\vec{s}Differential path elementm

Capacitance (CC)

Capacitance (CC) Concepts

A capacitor is a device (usually two conducting plates separated by an insulator) that stores electric charge and potential energy.

Capacitance (CC)

The ratio of the magnitude of charge on either plate (QQ) to the potential difference (ΔV\Delta V) between them. The SI unit is the Farad (F), where 1 F=1 C/V1 \text{ F} = 1 \text{ C/V}.

Capacitance

Calculates the capacitance of a device.

C=QΔVC = \frac{Q}{\Delta V}

Variables

SymbolDescriptionUnit
CCCapacitanceF
QQMagnitude of charge on either plateC
ΔV\Delta VPotential difference between platesV

Parallel-Plate Capacitor

Calculates the capacitance for a parallel-plate configuration.

C=ϵ0AdC = \epsilon_0 \frac{A}{d}

Variables

SymbolDescriptionUnit
CCCapacitanceF
ϵ0\epsilon_0Permittivity of free spaceF/morC2/(Nm2)F/m or C^2/(N\cdot m^2)
AAArea of each platem2m^2
ddSeparation distance between platesm

Capacitance (CC) Concepts

The energy stored in a capacitor is U=12C(ΔV)2U = \frac{1}{2} C (\Delta V)^2.

Current and Resistance

Current and Resistance Concepts

When charges move continuously, they form an electric current.

Current (II)

The rate of flow of electric charge through a cross-sectional area. The SI unit is the Ampere (A), where 1 A=1 C/s1 \text{ A} = 1 \text{ C/s}.

Electric Current

Calculates the rate of charge flow.

I=dqdtI = \frac{dq}{dt}

Variables

SymbolDescriptionUnit
IICurrentA
dqdqDifferential amount of chargeC
dtdtDifferential time intervals

Current and Resistance Concepts

By convention, the direction of current is the direction positive charges would flow (opposite to the actual flow of electrons).

To drive a current through a conductor, a potential difference (ΔV\Delta V) is required. Most materials resist this flow.

Ohm's Law

Relates current, voltage, and resistance for ohmic materials.

I=ΔVRI = \frac{\Delta V}{R}

Variables

SymbolDescriptionUnit
IICurrentA
ΔV\Delta VPotential difference or voltageV
RRResistanceΩ\Omega

Interactive Simulation

Use this circuit model to connect voltage, resistance, current, and power in a simple DC series path.

Interactive Physics Simulation

Ohm's Law Circuit Simulator

Switch between series and parallel resistance. Current, power, electron-flow speed, and bulb brightness update immediately.

12 V
6 Ω
4 Ω
Governing Formulas
Ohm's LawI=VRI = \frac{V}{R}
Equivalent Resistance (series)Req=R1+R2R_{eq} = R_1 + R_2
Circuit with battery resistors and bulbR1R2
Equivalent R
10.00 Ω
Current
1.20 A
Power
14.40 W

Current and Resistance Concepts

Resistance depends on the material's resistivity (ρ\rho) and geometry: R=ρL/AR = \rho L / A.

The rate at which energy is dissipated in a resistor (power) is P=IΔV=I2R=(ΔV)2/RP = I \Delta V = I^2 R = (\Delta V)^2 / R.

Kirchhoff's Rules

Kirchhoff's Rules Concepts

For analyzing complex circuits, we use two rules based on conservation laws:

  • Junction Rule (Conservation of Charge): The sum of currents entering any junction must equal the sum of currents leaving that junction (ΣIin=ΣIout\Sigma I_{in} = \Sigma I_{out}).
  • Loop Rule (Conservation of Energy): The algebraic sum of changes in potential around any closed circuit path (loop) must be zero (ΣΔV=0\Sigma \Delta V = 0).

Magnetism

Magnetism Concepts

Moving charges (currents) create magnetic fields (B\vec{B}). Magnetic fields, in turn, exert forces on moving charges.

Magnetic Force (FB\vec{F}_B)

The force exerted by a magnetic field B\vec{B} on a charge qq moving with velocity v\vec{v}. The direction is determined by the Right-Hand Rule.

Magnetic Force

Calculates the force exerted by a magnetic field on a moving charge.

FB=q(v×B)\vec{F}_B = q(\vec{v} \times \vec{B})

Variables

SymbolDescriptionUnit
FB\vec{F}_BMagnetic forceN
qqChargeC
v\vec{v}Velocity vectorm/s
B\vec{B}Magnetic field vectorT

Work and Magnetic Force

Notice that the force is always perpendicular to both the velocity and the magnetic field. Therefore, a magnetic field can change the direction of a moving charge but cannot do work on it (cannot change its kinetic energy).

Sources of Magnetic Fields

Sources of Magnetic Fields Concepts

Magnetic fields are created by currents. The Biot-Savart Law and Ampere's Law allow us to calculate these fields. For highly symmetric current distributions, Ampere's Law is especially useful.

Magnetic Field of a Long Straight Wire

Calculates the magnetic field magnitude at a distance r from a long, straight current-carrying wire.

B=μ0I2πrB = \frac{\mu_0 I}{2\pi r}

Variables

SymbolDescriptionUnit
BBMagnetic field magnitudeT
μ0\mu_0Permeability of free space4π×107 Tm/A4\pi \times 10^{-7} \text{ T}\cdot\text{m/A}
IICurrent in the wireA
rrPerpendicular distance from the wirem

Magnetic Field at the Center of a Circular Loop

Calculates the magnetic field magnitude at the center of a single circular current loop.

B=μ0I2RB = \frac{\mu_0 I}{2R}

Variables

SymbolDescriptionUnit
BBMagnetic field magnitudeT
μ0\mu_0Permeability of free space4π×107 Tm/A4\pi \times 10^{-7} \text{ T}\cdot\text{m/A}
IICurrent in the wire loopA
RRRadius of the circular loopm

Magnetic Field Inside a Long Solenoid

Calculates the nearly uniform magnetic field inside a long coil of wire.

B=μ0nIB = \mu_0 n I

Variables

SymbolDescriptionUnit
BBMagnetic field magnitudeT
μ0\mu_0Permeability of free space4π×107 Tm/A4\pi \times 10^{-7} \text{ T}\cdot\text{m/A}
nnNumber of turns per unit length (N/L)1/m
IICurrent in the wireA

Applications of Magnetism

Electromagnetic Induction

Electromagnetic Induction Concepts

A changing magnetic field can induce an electric current in a conductor. This is the principle behind all electrical generators.

Faraday's Law of Induction

Calculates the induced electromotive force in a closed loop.

E=dΦBdt=d(BA)dt=d(BAcosθ)dt\mathcal{E} = - \frac{d\Phi_B}{dt} = - \frac{d(\vec{B} \cdot \vec{A})}{dt} = - \frac{d(B A \cos\theta)}{dt}

Variables

SymbolDescriptionUnit
E\mathcal{E}Induced electromotive force (EMF)V
ΦB\Phi_BMagnetic fluxWb
ttTimes
B\vec{B}Magnetic fieldT
A\vec{A}Area vectorm2m^2
θ\thetaAngle between the magnetic field and the area normalradorrad or ^\circ

Electromagnetic Induction Concepts

The negative sign represents Lenz's Law, which states that the induced current will flow in a direction such that its own magnetic field opposes the change in flux that caused it. This is a consequence of the conservation of energy.

Direct Current (DC) Circuits

Resistors in Series and Parallel

In DC circuits, components can be connected in two primary configurations, which dictate how voltage and current behave across them.

  • Series Circuits: Components are connected end-to-end, forming a single path. The current (II) is identical through all components.
  • Parallel Circuits: Components are connected across the same two nodes, providing multiple paths. The voltage (ΔV\Delta V) is identical across all parallel branches.

Equivalent Resistance in Series

Calculates the total resistance of multiple resistors connected in series.

Req=R1+R2+R3+R_{eq} = R_1 + R_2 + R_3 + \dots

Variables

SymbolDescriptionUnit
ReqR_{eq}Equivalent series resistanceΩ\Omega
RiR_iIndividual resistancesΩ\Omega

Equivalent Resistance in Parallel

Calculates the total resistance of multiple resistors connected in parallel.

1Req=1R1+1R2+1R3+\frac{1}{R_{eq}} = \frac{1}{R_1} + \frac{1}{R_2} + \frac{1}{R_3} + \dots

Variables

SymbolDescriptionUnit
ReqR_{eq}Equivalent parallel resistanceΩ\Omega
RiR_iIndividual resistancesΩ\Omega

Capacitance and Dielectrics

Dielectric Materials

When an insulating material (a dielectric) is placed between the plates of a capacitor, it increases the capacitance of the device by a dimensionless factor called the dielectric constant (κ\kappa).

The molecules in the dielectric become polarized by the external electric field, creating an opposing internal electric field. This reduces the overall electric field between the plates, allowing the capacitor to store more charge for the same applied voltage.

Key Takeaways
  • Electric Charge is quantized and conserved. Like charges repel, opposites attract according to Coulomb's Law (F=kq1q2/r2F = kq_1q_2/r^2).
  • An Electric Field (E=F/q\vec{E} = \vec{F}/q) is created by charges and exerts forces on other charges. Gauss's Law relates flux to enclosed charge.
  • Electric Potential (V=U/qV = U/q) is energy per unit charge (Voltage). Capacitors (C=Q/ΔVC = Q/\Delta V) store charge and energy.
  • Current (I=dq/dtI = dq/dt) is the flow of charge, driven by voltage and opposed by Resistance (V=IRV=IR, Ohm's Law).
  • Moving charges create Magnetic Fields (B\vec{B}), and magnetic fields exert forces on moving charges (F=qv×B\vec{F} = q\vec{v}\times\vec{B}).
  • A changing magnetic flux induces an EMF (voltage) according to Faraday's Law (E=dΦB/dt\mathcal{E} = -d\Phi_B/dt), the basis of electrical generation.