APPC EM Notes
APPC EM Notes
Contents
1 A Note to the Reader 3
2 Electrostatics 4
2.1 Electric Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1.1 Coulomb’s Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1.2 Electric Potential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.3 Electric Dipole . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1.4 Charge Distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1.5 Ring of Charge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.6 Disk of Charge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1.7 Infinite Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.2 Flux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3 Gauss’ Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.4 Implications of Gauss’ Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.4.1 Coulomb’s Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.4.2 Line Charge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4.3 Spherical Shell of Charge . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.4.4 Infinite Sheet of Charge . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.5 Conductors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 Circuits 17
3.1 Current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.1.1 Current Density . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.1.2 Drift Velocity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2 Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2.1 Ohm’s Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2.2 Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2.3 Resistivity and Conductivity . . . . . . . . . . . . . . . . . . . . . . . 18
3.2.4 Other Materials (Optional) . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3 Parallel and Series Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3.1 Parallel Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3.2 Series Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.4 Kirchhoff’s Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.4.1 Electromotive force . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.4.2 Current Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1
2 Contents
4 Magnetic Field 28
4.1 Behavior of B-field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.1.1 Field Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.1.2 The Lorenz force . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.1.3 Velocity Selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.1.4 Cyclotron . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.1.5 Magnetic Force on a Current . . . . . . . . . . . . . . . . . . . . . . . 31
4.1.6 The Biot Savart Law . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.1.7 Long Straight Wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.1.8 Circular Current Loop . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.1.9 Two Parallel Wires . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.1.10 Monopoles Don’t Exist . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.1.11 Ampere’s Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.1.12 Infinite Wire of Current with Ampere’s law . . . . . . . . . . . . . . 35
4.1.13 Solenoids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.2 Induction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.2.1 Faraday’s Experiment . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.2.2 Faraday’s Law of Induction . . . . . . . . . . . . . . . . . . . . . . . 37
4.2.3 Lenz’s Law . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.2.4 Eddy Currents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
4.2.5 Induced Electric Fields . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.3 Inductance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.3.1 Inductors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.3.2 Calculating Inductance . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.3.3 Inductance of a Solenoid . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.3.4 LR Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3 1. A Note to the Reader
If you are running on time, I would advise to read these notes and then try past FRQs, but
otherwise, read from one of these sources1 , and come back to these notes for review.
Once you’ve read through a section of these notes, try to make sure it makes sense. Work
out the reasoning through your head or even use Feynman’s technique. If you think you
understood a concept, put it to test by trying a past FRQ on it or using Isaac Physics for
harder problems.
Please email me for any corrections. You may see the source code on Github.
1
HRK is highly recommended. The other two sources are higher level texts.
4 2. Electrostatics
2 Electrostatics
2.1 Electric Field
It is important to first understand what a field is to understand electromagnetism. Consider
an example where you are sitting in your room. A heater is placed in one corner while you
are sitting at your desk on the other side of the room. The temperature at where you are
sitting will be colder than where the heater is. In general, you could try to represent the
temperature of all the points in the room by the function T (x, y, z), or with a graph plotting
values of T . Such a distribution of temperatures can be thought of as a temperature field.
In fact, if you see the weather frequently, you may be familiar with the temperature fields.
Here is an example of the temperature field from the weather in the United States on March
23, found on accuweather.com:
There are also scalar and vector fields. For example, if we plotted the pressure all over a fluid,
this field p(x, y, z) would be scalar because pressure is not a vector quantity. However, if we
plotted the velocity of a flowing fluid at every point, this would be a vector field v(x, y, z)
as velocity is a vector quantity. Another way to comprehend the field is to visualize it by
drawing vectors at different points in space, with each vector representing the strength and
direction of the field at that particular point.
Now consider the field most talked about in mechanics: the gravitational field. In the
past, we have defined gravity as a vector quantity which follows
F
g= .
m
5 2. Electrostatics
This is, of course, experimentally verified. Near the surface of the Earth, this vector field
is constant and directly downwards, normal to the surface of the planet. If we look further
away, we can see something similar:
The field lines are linear and are all directed to the center of the Earth. This makes sense
because all objects within Earth’s proximity will be attracted to it. If we add another object,
like the moon, for example, then the field lines start to change. Objects closer to the moon
will be more likely to stay on the moon, while objects closer to the Earth are more likely to
attract to the Earth. We also note that the field lines start to curve, because the attraction
from a second object disorients the linear path an object would typically take. We also can
see more field lines packed near the Earth. A higher density of field lines simply shows that
there is a greater force near there.
We can also note that the field lines curve because of the law of gravitation which states
that
m1 m2
F = G 2 r̂.
r12
This means that
F m 1
g= = G 2 ∝ 2.
m r r
This means that if you are two times further away, the gravitational field strength is 14 of
its original. We can create a sort of topographical map that shows the gravitational field
6 2. Electrostatics
strength from Earth. Each solid circle is an equipotential lines which represents a certain
field strength of constant magnitude. If the circles are more densely packed, the object is of
greater mass.
Idea: Now the electric field is very similar to the gravitational field and has been
experimentally verified to follow the inverse square law. In fact, it is easy to relate
both fields through
F F
g= ←→ E = .
m q
Here q is the electric charge measured in Coulombs while E is the electric field measured
in Newtons/Coulombs.
Figure 5: A side by side depiction of negative and positive charge carriers and their equipo-
tential lines. They are not interacting with each other.
Let V (a) denote the work done from going from point P to a, and V (b) denote the work
done from going from point P to b. It can finally be written that
Z b
∆V = V (b) − V (a) = − E · ds.
a
We typically denote ∆V as the electrostatic potential. For the total energy of the system,
we simply multiply by q (as the work is per unit charge) to get U = q∆V . In the limit of
b → ∞, the electric potential can be written as
kq
V = .
r
The net electric field at a point P away from the dipole can be expressed as the sum of
the individual field contributions from both charges, or
E = E+ + E− .
p
Point P is located a distance of x2 + (d/2)2 where x is the horizontal distance from the
charges and d/2 is the vertical distance. Additionally, note that the horizontal components
of E+ and E− cancel out, so all that is left is the vertical components, or E cos θ summing
up to 2E+ cos θ. Also, note that
d/2
cos θ = p
x + (d/2)2
2
define a length density λ, surface charge density σ or a volume charge density ρ. Then we
can exploit the fact that
Z Z Z
Qnet = λdℓ = σdA = ρdV.
Problem: Consider a thin ring of radius R that has a linear charge density λ. What is
the electric field at a point P a distance z above the vertical axis of symmetry through
its center?
Figure 7: A model of a ring of charge. The element λds produces an electric field dE.
We can split the ring into small segments of length ds. The charge of these elements will
then be λds. Additionally, note that the distance squared of an element from a point P will
follow r2 = R2 + z 2 by the Pythagorean theorem. The total magnitude of the infinitesimal
field is then
q λds
dE = k 2 = k 2
r R + z2
This electric field will be oriented at an angle θ. However, since the ring is symmetric, all
of the horizontal components of the added up electric fields dE1x + dE2x + · · · + dEnx = 0.
Therefore, we will only have the vertical component of the electric field left. This follows
dEy = dE cos θ where
z z
cos θ = = 2 .
r (z + R2 )1/2
Hence,
Z Z Z
λds z kzλ kzλ(2πR)
E= dE cos θ = k 2 = ds = ẑ.
R + z 2 (z 2 + R2 )1/2 (z 2 + R2 )3/2 (z 2 + R2 )3/2
In the limit of z ≫ R, we can find that the electric field approaches the field of a point
charge, or
kq
Ez = 2 .
z
10 2. Electrostatics
Problem: Consider a disk of radius R that has a surface charge density σ. What is
the electric field at a point P a distance z above the vertical axis of symmetry through
its center?
Figure 8: A model of a disk of charge. We split the disk into many small rings which produce
an electric field directly upwards.
We divide the disk up into concentric rings of radius s and thickness ds. The infinitesimal
area of these rings will thus be dA = 2πsds. Therefore, the infinitesimal charge of each ring
will be
dq = σdA = σ(2πs)ds.
Using the results from the previous section, w find that
kzσ(2πs)ds
dE = ẑ
(z 2 + R2 )3/2
Problem: Suppose you have an infinite line of charge that has a linear charge density
of λ. Find the electric field at a distance r perpendicular to the wire.
We can once again split the wire into infinite elements that have length dx. The charge
of these elements will then be dq = λdx. Let x be the horizontal distance of the element on
11 2. Electrostatics
the wire from the point P . The horizontal components of the electric field cancel out (by
symmetry) so the only component left is the vertical component which follows
r
cos θ = √ .
r2 + x2
Hence, Z Z
kλdx r
E= dE cos θ = · √
r 2 + x2 r 2 + x2
We can then integrate x from −∞ to ∞ to find
Z ∞
dx
E = kλr 2 2 3/2
−∞ (r + x )
2.2 Flux
Let us consider a stream of water that is flowing with a velocity v. We bend a wire into a
square area A and place it perpendicular to the flow of the stream. We define the flux of
the wire as the product of the stream velocity and its area as
|Φ| = vA.
If we slant the wire at an angle θ, such that its projected area perpendicular to the stream
is A′ = A cos θ, we can say the flux will be
|Φ| = vA cos θ.
You may see that this is very similar to the dot product of two vectors a, b where a · b =
ab cos θ. Therefore, we can rewrite Φ as
Φ=v·A
If we attempt to generalize this to any arbitrary surface, we can note that every surface can
be split into small areas ∆A such that
X
∆Φ = v · ∆A =⇒ Φ = v · ∆A
12 2. Electrostatics
Now, while this stream analogy may make physical sense, in the end we are talking about
electric fields. If we replace v with E, we get our definition of electric flux. But, it is good to
note that for a closed surface, that is: a surface is confined by itself (like a sphere, cylinder,
etc, and NOT a cup or parabaloid), we replace the integral with a surface integral, which
pretty much is a regular integral that shows it is done over the surface. This gives
I
Φ = E · dA
ε0 Φ = q
or I
ε0 E · dA = q.
where ε0 is the permittivity of free space. It may seem a little frustrating for this to just
be given with no proof, but do note that Gauss’ law is part of Maxwell’s equations. It is
an axiom that is experimentally verified. In a way, the definition of electric charge is fixed
within Gauss’ law, for that is what we may use to measure the charge of a particle.
Figure 10: Charge in free space with a spherical Gaussian surface. The lines represent the
E-fields of the charge.
Φ = EA = E(4πr2 ).
Therefore, using Gauss’ law, we have
q
ε0 Φ = q =⇒ ε0 E(4πr2 ) = q =⇒ E(r) = .
4πε0 r2
Figure 11: Wire in free space. The red cylinder represents the Gaussian surface.
For a length h, the charge enclosed in the surface is q = λh. The electric field does not go
through the upper or bottom faces of the cylinder so all the flux is enclosed within the side
of the cylinder. The surface area is therefore, 2πrh where r is the distance from the center
of the wire. Hence,
λ
ε0 Φ = q =⇒ ε0 E(2πrh) = λh =⇒ E(r) =
2πε0 r
14 2. Electrostatics
1. A uniform shell of charge acts as if all of its charge is concentrated at the center.
2. A charged particle inside the shell will exhibit no force on the particle.
Figure 12: A spherical shell in free space shown in black. A red and purple Gaussian surface
is shown.
We can prove this with Gauss’ law. Construct a sphere of radius b > R where R is the radius
of the shell. Then, we can apply Gauss’ law to this sphere to see:
q
ε0 E(4πb2 ) = q =⇒ E =
4πε0 b2
Now construct a sphere of radius a < R. We can again apply Gauss’ law to this sphere to
see:
ε0 E(4πa2 ) = 0 =⇒ E = 0.
The reason q = 0 for the inner radius is because no charge is enclosed within the Gaussian
surface, therefore, no electric field will be present as well.
Figure 13: An infinite sheet of charge in free space. The red lines consist of the pillbox,
while the blue ones represent the E-field.
For an area A, the enclosed charge is q = σA. As the E-field of the sheet exits the sheet
behind and in-front of the pillbox, we can write
σ
ε0 Φ = q =⇒ ε0 (EA + 0 + EA) = σA =⇒ E =
2ε0
2.5 Conductors
An electrical conductor is a solid that contains many “free” electrons. The electrons can
move around freely in the material, but cannot leave the surface. Consider the interior of
the conductor. By the shell theorem, the electric field inside the conductor will be zero E = 0
because all the charges reside at its surface. This implies that the electric field just outside
the conductor will be normal to its surface.
Figure 14: A conductor in free space. We construct a Gaussian pillbox as shown in red. The
electric field in the interior is zero.
One may be perplexed why this result is different to the result from the infinite sheet. For
another explanation apart from the shell theorem, the reason is because we derived Gauss’
law to determine the difference of the electric field right inside and outside the conductor at a
point. In other words, Eoutside − Einside = εσ0 , which makes sense because we know Einside = 0
and Eoutside = σ/ε0 . If there were no other charges around except for the ones at the surface
(locally), then the inside and outside fields would have been ±σ/2ε0 . But all the rest of the
charges on the conductor ”conspire” to produce an additional field to cancel out the inside
field equal to σ/2ε0 .
17 3. Circuits
3 Circuits
3.1 Current
In an isolated conductor, the electrons are in random motion. But when a battery is con-
nected, it generates an electric field that causes the electrons to move forwards inside the
wire. If a net charge dq passes through a given area in a time dt, we can say that the electric
current has been established where
dq
I= .
dt
The SI unit of current is amperes, or coulomb/second. Additionally, per this definition, the
net charge over a given time can be integrated as
Z
q = Idt.
j = i/A
where A is the cross-sectional area of the conductor. Current density j is a vector charac-
teristic of a point within in the conductor rather than the conductor as a whole. In general,
for a particular surface, we can write
Z
i = j · dA.
Note that the vector j is oriented in the direction a positive charge carrier would point to.
So an electron would point in the −j direction.
j = −nevd .
18 3. Circuits
3.2 Resistors
3.2.1 Ohm’s Law
If we apply a potential difference between a piece of wood and a piece of copper, drastic
differences in current will exist. This is due to the resistance of a material. The flow of
current in a resistor involves the dissipation of energy. If it takes a force F to push a charge
carrier with an average velocity v, any agency must accomplish work at the rate of F · v.
The resistance is typically defined through Ohm’s Law, that is
R = V /i
where V is the voltage measured in volts and i is the current measured in amperes. The
flow of current through a conductor can be thought of as analogous to the flow of water in
the pipe. The water pressure can be thought of as the potential difference (voltage) through
the pipe, the rate of flow of water can be thought of as the current. The factors in the pipe
which reduce the rate of flow, like its length, cross-sectional area, and type of material inside
of it, can be attributed to its resistance.
3.2.2 Power
3.2.3 Resistivity and Conductivity
We can define the resistivity ρ of a material as
E
ρ= =⇒ E = ρj.
j
The resistivity, as per its name, measures how resistive a material is. It is small for conductors
and large for insulators. Sometimes we may refer to the conductivity σ, which is the inverse
of resistivity, or
1
σ= .
ρ
The conductivity, as per its name, measures how conductive a material is. It is large for
conductors and small for resistors. The current density is typically defined as j = σE.
If we use Ohm’s law, we can find the resistance of a conductor based on resistivity and
conductivity. Note that
V LE L J L ρL
R= = = = = .
I jA jA σ Aσ A
ρL
It is important to remember R = A
.
Figure 15: A parallel circuit of two resistors. It can be seen that Vab = Vcd .
where Req is the equivalent resistance of the resistance and Ri is the individual resistance of
each resistor.
where Req is the equivalent resistance of the resistance and Ri is the individual resistance of
each resistor.
20 3. Circuits
Idea: Kirchhoff’s current law (KCL) states that the algebraic sum of currents entering
and leaving a node (junction) in a circuit must be zero. Mathematically, it can be
represented as:
Xn
Ii = 0
i=1
where Ii is the current flowing through the ith branch connected to the node.
KCL can be thought of as the law of conservation of charge. At any point in a circuit, the
total amount of charge flowing into that point must be equal to the total amount of charge
flowing out of it. This is because charge is a conserved quantity, and it cannot be created or
destroyed in a circuit. KCL is based on the principle of charge continuity, which states that
the total amount of charge in a closed system must remain constant over time.
node must be equal to the current flowing out of it. By applying KCL at each node in a
circuit, we can determine the currents flowing through various branches of the circuit.
Idea: Kirchhoff’s voltage law (KVL) states that the algebraic sum of voltages around
a closed loop in a circuit must be zero. Mathematically, it can be represented as:
n
X
Vi = 0
i=1
KVL can be thought of as the law of conservation of energy. In a closed loop, the energy
supplied to the loop by the voltage sources must be equal to the energy dissipated by the
components in the loop. This is because energy is also a conserved quantity, and it cannot
be created or destroyed in a circuit. KVL is based on the principle of energy conservation,
which states that the total amount of energy in a closed system must remain constant over
time.
Problem: Consider the Wheatstone bridge arrangement shown below with the battery
having a voltage V . What is the value of the current flowing through the circuit?
22 3. Circuits
V = R(I1 − I2 ) + 2R(I1 − I3 )
0 = −R(I1 − I2 ) − R(I3 − I2 ) + 2RI2
0 = −2R(I1 − I3 ) + R(I3 − I2 ) + RI3
A common question asked may be why some voltages are negative and some positive. Well,
it depends on the loop in question. For each loop, we write that the current must tend
clockwise. But in the top right loop, for example, we found that two of the currents oppose
the clockwise flow, (the I1 − I2 and I3 − I2 currents). Therefore, we must add a negative
sign to these to indicate as such. We can then solve these equations to find that I1 = 5V7R
and I2 = 10V
7R
and I3 = 3V
7R
.
3.5 Capacitors
3.5.1 On Dielectrics
In insulators, no current flows when an electric field is applied between them. If we put some
small conducting elements within the insulator, however, something interesting happens: the
insulator becomes polarized, which means that every element in the insulator acquires a
polarity. In other words, the small elements gain both a positive and negative side due to
the electric field redirecting the charges on their surfaces (dipoles). As charge is conserved,
these adjacent positive and negative charges cancel out. But on the surface of the insulator,
the charges are not canceled out. Materials that exhibit these properties are in general called
dielectrics. Within the dielectric, the electric field is a fixed fraction of the external electric
field E0 . We generally define the dielectric constant κ to show that
E0
E= .
κ
23 3. Circuits
Figure 17: A picture of how a dielectric material works in a parallel plate capacitor.
Figure 18: A parallel plate capacitor. A red Gaussian surface is shown. The electric field
lines go straight perpendicularly from one plate to another because d is small.
By Gauss’ law, we can find the applied electric field from the plates as
Q
ε0 Φ = Q =⇒ ε0 (EA) = Q =⇒ E =
ε0 A
If there is a dielectric, the electric fields between the plates is
E0
E= .
κ
We can also find the voltage difference between the two plates to be V = Ed = E0 d/κ. This
can be rewritten as
Qd
V =
ε0 κA
24 3. Circuits
If the parallel combination was replaced with one equivalent capacitance q = Ceq V , we must
have that X
Ceq V = Ci
q X q 1 X 1
= =⇒ = .
Ceq Ci Ceq Ci
′ q′ ′ ′
dU = V dq = dq .
C
Therefore,
q
q′ ′ q2
Z Z
U= dU = dq = .
0 C 2C
From the fact that q = CV , we can also write that
1
U = CV 2 .
2
3.6 RC Circuits
An RC circuit is a circuit that consists of a resistor (R) and a capacitor (C) connected in
series or parallel. When a voltage is applied to an RC circuit, the capacitor charges up and
discharges through the resistor. The behavior of the circuit depends on the time constants
of the circuit, which are determined by the values of R and C.
26 3. Circuits
3.6.4 Example
Try the 2019 FRQ Set 2 Problem 1.
28 4. Magnetic Field
4 Magnetic Field
4.1 Behavior of B-field
4.1.1 Field Lines
The field lines of the magnetic field act very differently to the field lines of the electric field.
While the field lines of the electric field tend to diverge from a source, the field lines of the
magnetic field tend to curl around it. For example, let us take a wire that has a current
flowing through it. Looking at the wire from above will show us that:
Figure 21: The B-field lines of the wire. The current is out of the page.
Here, the field lines curl around the wire counter-clockwise since the electric current is
out of the page. On the contrary, the field lines will curl clockwise if the current is into the
page. In general, we can posit the ”curl”-rule. This is, take your right hand and make a fist.
Then stick your thumb out of the fist. The direction of your thumb will be the direction of
current. The direction your fingers are oriented at will be the direction the field lines will
curl.
Additionally, if you are unfamiliar with the crosses and circles, this simply shows the
direction of the field lines. If they are into the page, they are given by a cross, and if they
are out of the page, they are given by a circle.
29 4. Magnetic Field
You can use the arrowhead analogy. Suppose you are shooting a bow and arrow. Once
you let it release, you will see the feathers of the arrow, which make a cross. But if the arrow
comes to you, you will last see a circle.
Idea: For a charged particle moving in electric and magnetic fields, the total force on
the particle is given as
F = q(E + v × B)
where v is the velocity of the particle, B is the magnetic field, q is the charge of the
particle, and E is the electric field.
We are already familiar with the qE term from electrostatics, but the qv × B term is new.
Here, × symbol implies the cross product. You should know how to find the direction of
the cross product to predict the latter motion of particles. To do so, you can use the right
hand rule. First, take your right hand. Orient your thumb in the direction of the particles
velocity. Then orient, your index finger in the direction of the magnetic field. Your middle
finger, or the direction your open palm points in, will then be the direction of force.
4.1.4 Cyclotron
A cyclotron is a type of particle accelerator used to accelerate charged particles to very high
energies. It was invented by Ernest O. Lawrence in 1932 and has since become an essential
tool in the field of nuclear physics and medical research.
The basic principle of a cyclotron is that a charged particle, such as a proton, is injected
into a magnetic field that causes it to move in a circular path. The magnetic field is created
by a series of magnets arranged in a donut-shaped device called a ”dees.” The dees are
connected to a high-frequency oscillator, which alternates the polarity of the magnetic field
at a precise frequency, causing the charged particle to move in a spiral path of increasing
radius.
Figure 25: An image of the cyclotron. The direction of the particles are shown. The magnetic
field is directed into the page.
Suppose the magnetic field is directed downwards. Then the magnetic force is directed
inwards (by qv × B). Therefore, we can find the radius of motion by equating the centripetal
force to the magnetic force, or
mv 2 qBR
qvB = =⇒ v = .
R m
And the corresponding (nonrelativistic) kinetic energy would be
1 2 q 2 B 2 R2
mv = .
2 2m
31 4. Magnetic Field
F = −N evd × B = −nAeLvd × B
where n is the number density of electrons, A is the cross-sectional area, and L is the length
of the wire. But note that nAevd = I where I is the current, so
F = −nAeLvd × B = iL × B.
Idea: If we cut the wire into small segments of length ds, then the infinitesimal force
on each segment can be written as
dF = Ids × B
dF21 = i2 ds2 × B1
where the magnetic field B1 acting on element 2 is due to current i1 . Note that in the electric
field analogy, if we have a particle of charge dq1 , the applied electric field will be
1 dq1 1 dq
E1 = 2
u= r
4πε0 r 4πε0 r3
Here, u = r/|r| is the unit vector in the direction of r.
Combining dB with the expression for dF allows us to find the force from an arbitrary
current distribution. We can find the total magnetic field as
ids × r
Z Z
µ0
B = dB =
4π r3
Suppose we have a current loop as shown below. The direction of current ids makes an angle
θ with the direction vector r. Therefore, we can write the cross product as ids×r = ids sin θ.
32 4. Magnetic Field
Problem: Suppose an infinite long straight wire extends from −∞ to ∞. What is the
magnetic field at a distance R perpendicular to the rod?
We can use the results from the previous section, and generalize the cross product for an
angle θ. If we define the variable of integration to be x as seen in the diagram, we get
µ0 i ∞ sin θdx
Z
µ0 ids sin θ
dB = =⇒ B =
4π r2 4π −∞ R2 + x2
Problem: What is the magnetic field through the center of a circular loop of current
of radius R and current value I?
Let us denote the radius of the ring to be R. Consider an element on the ring of length
dℓ. Consider an object that is an height z above the circular wire. Each small element on
this ring contributes an infinitesimal magnetic field dB perpendicular to the distance vector
r which acts on the object at an angle θ (refer to figure 7 for the electrical analogue). Since
this object is a ring, the total magnetic field B must point upwards by symmetry. Using
Biot-Savart’s law, we can then say
µ0 I dℓ × r̂ µ0 dℓ
dB = 2
=⇒ dBz = cos θ.
4π r 4π r2
Note that cos θ = R/r where r is the distance vector once again. This means that we can
now integrate as shown below:
Z 2π
µ0 dℓ · R µ0 dℓ · R
Z
dBz = 3
=⇒ dBz = .
4π r 0 4π r3
R
Note that dℓ = 2πR therefore,
µ0 I 2πR2 µ0 IR2
Bz = · 3 = .
4π r 2(R2 + z 2 )3/2
The magnetic field at the center of the ring will then be evaluated at z = 0 or
µ0 I
B0 = .
2R
F21 = i2 L × B1 .
Hence,
µ0 i 1 µ0 i1 i2 L
F21 = i2 L = .
2πd 2πd
Idea: Gauss tried to create a similar law for magnetism. In short, he found that
I
µ0 B · dA = 0.
34 4. Magnetic Field
In other words, the net magnetic flux through any surface is zero. You can think of
this law as stating that there are no individual magnetic charges, like there are electric
charges. That is “magnetic monopoles” do not exist.
Idea: In short, Ampere’s law states that the magnetic field along a closed loop is
proportional to the electric current passing through the loop. Mathematically, it can
be written as: I
B · ds = µ0 i
As we travel around the loop, we calculate B · ds at every point and add (integrate)
all quantities around the loop. This is called the line integral.
An Amperian loop is a closed loop used in the context of Ampere’s law to calculate the line
integral. An Amperian loop is any closed path that encloses the current-carrying conductor
or current-carrying region of interest.
The choice of the Amperian loop is arbitrary, but it is important that the loop encloses
the current-carrying conductor or region of interest and that it is chosen in such a way that
the magnetic field is constant along the entire loop. This ensures that the line integral of
the magnetic field along the loop can be easily calculated using Ampere’s law.
35 4. Magnetic Field
Problem: Suppose an infinite long straight wire extends from −∞ to ∞. What is the
magnetic field at a distance R perpendicular to the rod?
We can now apply Ampere’s law on this closed loop to find that
I I
B · ds = B ds = B(2πr).
4.1.13 Solenoids
A solenoid is a long, cylindrical coil of wire that is often used in electromagnets, transformers,
and inductors. It is typically made of a tightly wound coil of insulated copper wire, with
many turns of wire per unit length.
When an electric current passes through the solenoid, it creates a magnetic field inside
the coil. The magnetic field lines run parallel to the axis of the solenoid, and the field is
strongest at the center of the coil.
36 4. Magnetic Field
Figure 29: The magnetic field lines in a solenoid. They run parallel to it and escape at the
endings.
We can find the value of the magnetic field within the solenoid using Ampere’s law.
Construct a rectangular loop going through the solenoid and out as shown below.
Note that we can now apply Ampere’s law by performing the line integral:
I I b I d I c I a
B · ds = B · ds + B · ds + B · ds + B · ds
a b d c
The first integral will equal to 0 because the magnetic field is practically zero outside of the
solenoid. The second and fourth integrals will equal to 0 because the magnetic field lines are
perpendicular to the loop, so the dot product B · ds = Bds cos(90) = 0. The third integral
will equal to Bh where h is an arbitrary length of the loop. Therefore, the total line integral
equates I
B · ds = Bh.
Let n be the number of turns per unit length of the solenoid. The current that passes through
will hence be i = i0 nh. Therefore,
I
B · ds = µ0 i =⇒ Bh = µ0 i0 nh =⇒ B = µ0 i0 n.
4.2 Induction
4.2.1 Faraday’s Experiment
Faraday’s experiment for induction is a classic demonstration of how a changing magnetic
field can induce an electric current in a conductor. The experiment involves a coil of wire, a
magnet, and a galvanometer (a device that measures small electrical currents).
37 4. Magnetic Field
Faraday found that the direction of the induced current was dependent on the direction
of the magnetic field and the direction of the motion of the magnet.
• If the magnet moves away, the galvanometer deflects in the opposite way.
For a constant area that is slanted at angle θ, the new projected area would be A′ = A cos θ
which implies that Φ = BA cos θ.
Idea: Lenz’s law describes the direction of the induced current that is generated by a
changing magnetic field. The law states that the direction of the induced current is
always such that it opposes the change that produced it.
In other words, if a magnetic field is changing in a certain direction, the induced current
will flow in the opposite direction in order to try to counteract the change. This principle
is based on the law of conservation of energy, which states that energy cannot be created or
destroyed, only transformed from one form to another.
For example, consider a coil of wire with a magnetic field passing through it. If the
magnetic field is increasing in strength, Lenz’s law predicts that an induced current will flow
in the coil in such a way as to create a magnetic field that opposes the increase in the original
field. If the magnetic field is decreasing, the induced current will flow in such a way as to
create a magnetic field that opposes the decrease in the original field.
Figure 32: A visualization of Lenz’s law. A magnet is brought close to a current carrying
loop of wire. Notice how the current on the loop rotates to make the polarity of the loop
opposite to the magnet (North and North repel, so it gets harder to push the magnet towards
the loop).
E = E(2πr).
In general, for any closed path, we can relate the induced EMF as
I
E = E · ds.
4.3 Inductance
4.3.1 Inductors
An inductor maintains a voltage that resists a change in current (Lenz’s law). This means
the voltage across an inductor is
dI
V = −L
dt
where L is the inductance. Since the voltage across cannot be infinite, the current across it
has to be differentiable. When inductors are added in series, the equivalent inductance is:
X
Leq = L1 + L2 + · · · + Ln = Li
d(N Φ)
EL = − .
dt
40 4. Magnetic Field
Replacing EL gives us
di d(N Φ) NΦ
L = =⇒ L = .
dt dt i
In general, the inductance for any shape can be written as
Z
N
L= B · dA.
i
4.3.4 LR Circuits
Suppose the circuit intially has 0 emf and has an initial current I0 . According to Kirchoff’s
laws,
dI
RI + L = 0.
dt
Hence,
dI Rdt Rt
=− =⇒ ln I − ln I0 = − =⇒ I = I0 e−Rt/L .
I L L
Now, when the emf is turned on, we have by Kirchoff’s laws:
dI
RI + L = e.
dt
By separating variables, we obtain
dI Rdt e
=− =⇒ I = (1 − e−Rt/L ).
I − e/R L R