Electricity and Magnetism

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)).

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. The SI unit is N/C or V/m.
E=Fq0 \vec{E} = \frac{\vec{F}}{q_0}
For a point charge qq:
E=kqr2r^ \vec{E} = k \frac{q}{r^2} \hat{r}
Electric field lines point away from positive charges and towards negative charges.

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}).
ΦE=EdA=qencϵ0 \Phi_E = \oint \vec{E} \cdot d\vec{A} = \frac{q_{enc}}{\epsilon_0}

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}.
V=Uq V = \frac{U}{q}
For a point charge qq:
V=kqr V = k \frac{q}{r}

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.
ΔV=VfVi=ΔUq=Eds \Delta V = V_f - V_i = \frac{\Delta U}{q} = - \int \vec{E} \cdot d\vec{s}

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}.
C=QΔV C = \frac{Q}{\Delta V}
For a parallel-plate capacitor of area AA and separation dd:
C=ϵ0Ad C = \epsilon_0 \frac{A}{d}

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}.
I=dqdt I = \frac{dq}{dt}

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

For many materials (ohmic conductors), the current is directly proportional to the applied voltage.
I=ΔVR I = \frac{\Delta V}{R}
Where RR is the Resistance (in Ohms, Ω\Omega).

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 SI unit for B\vec{B} is the Tesla (T).
FB=q(v×B) \vec{F}_B = q(\vec{v} \times \vec{B})
The direction is determined by the Right-Hand Rule. 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.
  • Long straight wire: B=μ0I/(2πr)B = \mu_0 I / (2\pi r) (field lines form concentric circles).
  • Center of a circular loop: B=μ0I/(2R)B = \mu_0 I / (2R).
  • Inside a long solenoid: B=μ0nIB = \mu_0 n I (where nn is turns per unit length; the field is nearly uniform).
Here, μ0\mu_0 is the permeability of free space (4π×107 Tm/A4\pi \times 10^{-7} \text{ T}\cdot\text{m/A}).

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

The induced electromotive force (EMF, E\mathcal{E}) in a closed loop is equal to the negative rate of change of the magnetic flux (ΦB\Phi_B) through the 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}

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. The total resistance is the sum of individual resistances: Req=R1+R2+R_{eq} = R_1 + R_2 + \dots
  • Parallel Circuits: Components are connected across the same two nodes, providing multiple paths. The voltage (ΔV\Delta V) is identical across all parallel branches. The equivalent resistance is found via the reciprocal sum: 1/Req=1/R1+1/R2+1/R_{eq} = 1/R_1 + 1/R_2 + \dots

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.