Magnetic Fields and Electromagnetism - Lesson 2 - Electromagnetism

Getting your Trinity Audio player ready...

Hold down the T key for 3 seconds to activate the audio accessibility mode, at which point you can click the K key to pause and resume audio. Useful for the Check Your Understanding and See Answers.

In the previous sections of this lesson, we introduced two equations that allowed us to calculate the magnetic field around wires that carry current.  The first equation allowed us to determine the magnetic field at any distance away from a long, straight current-carrying wire.  The second helped us find the magnetic field inside a long current-carrying solenoid.

Two diagrams, the first showing a current carrying wire and the equation too calculate the magnetic field strength.  The second shows a current carrying solenoid and the equation to calculate the magnetic field within it.

When each of these equations was introduced earlier in this section, we explained that understanding where these equations come from would require us to use a relationship called Ampere’s Law.  That is the purpose of this section.  Our goal is to use Ampere’s Law to derive these two equations and show how Ampere’s Law can be applied to find the magnetic field for other current-carrying wire geometries as well.

Ampere’s Law is named after a Frech scientist named Andre-Marie Ampere.  Because of his contributions, the unit for current, the Ampere (or Amp for short), bears his name.  Ampere imagined a closed loop (sometimes called an “Amperian Loop”) of an arbitrary shape that surrounds a current.  He knew that this imaginary loop would be immersed in the magnetic field created by the current.  He next envisioned breaking the imaginary loop up into very small segments of length ∆l, where ∆l  is small enough so that the magnetic field could be considered constant over any given segment.  Ampere’s Law then states ΣBII ∆l = μoIenc

A visual representation of Ampere's law, where the equation Sigma of B sub I-I times the Delta of l equals mu sub o times I sub enc.  The pictures shows a current carrying wire pointing upwards, dissected by a plane and an imaginary loop around the wire with short segments, where the delta l is the distance between B and B II.

where BII is the component of the magnetic field parallel to ∆lIenc is the current enclosed in the loop, and µo is the permeability of free space.  The summation on the left side of the equation simply means that we must add up the product of BII and ∆l around the entire loop.  The right side of the equation consists of this familiar constant that we have seen before times the current that is enclosed by our imaginary loop.  Ampere's Law makes sense because it directly supports the idea that an electric current creates a magnetic field.  Going a step further, it states that the strength of the magnetic field is directly proportional to the current and, as we’ve already seen before, that the magnetic field circles the wire in a direction determined by the “Field-finding” Right Hand Rule.  Simply stated, the more current the stronger the magnetic field produced.  

While Ampere stated that any shaped Amperian loop can be used, applying this equation becomes much simpler if we choose the shape of our imaginary loop to satisfy one or both of these conditions:  (1) the magnetic field is a constant value and parallel to each segment around the loop, and/or (2) there is no field parallel to the loop.  To understand what these conditions mean, let’s consider two examples—the long straight wire and the solenoid.

Application of Ampere's Law

Example 1: Magnetic Field around a Long, Straight Current-carrying Wire

Problem: Use Ampere’s Law to derive an expression for the magnetic field at a distance ‘r’ from a long, straight current-carrying wire. 

A diagram with a straight current carrying wire going from bottom to top, with a plane intersecting the wire and an imaginary circle surrounding it with a radius of r and a B value unknown to solve.

Solution:  To derive an expression for the magnetic field a distance ‘r’ from this long, straight current-carrying wire we will begin by encircling the wire with an imaginary Amperian loop.  While Ampere’s Law suggests that any imaginary closed loop will do, we will want to be very particular about the shape of the loop that we select in order to perform the summation on the left side of Ampere’s Law with relative ease.  We stated above that performing this summation is much simpler if we choose the shape of the loop such that the magnetic field is the same value at each segment ∆l  of our loop and always parallel to these segments.  A circular loop or radius ‘r’ is the shape that will satisfy this condition.  How do we know this?  We know that the magnetic field must be the same value at each segment of our imaginary loop since all these segments are the same distance ‘r’ away from the wire.  We know that the magnetic field will point parallel to each short segments, ∆l , since the magnetic field is tangent to the circle.

The good news is that if BII is the same value at each segment, we can pull BII out in front of the summation sign.  This is what you may have done in algebra when you added up something like (3·x) + (3·x) +(3·x) +(3·x) + ··· which would simply equal 3·(x + x + x + x + ···).  Then, all we have to do is sum up all the lengths ∆l  around our entire circular loop.  Since this is a circle, however, we know that this sum would be the circumference of a circle of radius ‘r’. Solving for BII, which is just the magnetic field at any distance ‘r’ from the wire, gives us the same equation that we find above.

A diagram showing how we derive the B equals the product of mu sub o (permeability of space) times I (current) divided by 2 pi r.  Since the sum of all the changes of each segment (delta l) would equal the total circumference of the circle (2 pi r), and the I enc (current) is the same, then the total magnetic field is mu sub o times amperage divided by 2 pi r.

What is powerful about Ampere’s Law is that it does not just work for a long, straight wire.  It can be used to find the magnetic field around ANY configuration of current-carrying wires.  Next, let’s look at how we can apply Ampere’s Law to find the magnetic field inside a long solenoid.

Example 2: Magnetic Field Inside a Long Solenoid

Problem: Use Ampere’s Law to derive an expression for the magnetic field at a point inside a long solenoid.

Diagram of a Solenoid with a current I running through it and a B magnetic field flowing through it.

Solution: Let’s begin by imagining that we were to cut the solenoid in half by making a length-wise vertical cut down the center of the solenoid.  This cross-sectional view provides us with a very clear way to see that for each coil of this solenoid the current is pointing into the page at the top of the solenoid and out of the page at its bottom.  This is particularly helpful as we draw our imaginary Amperian loop around some of these coils that carry current.  Instead of drawing an imaginary circular loop as we did for Example 1, however, let’s draw an imaginary rectangular loop.  Why this shape?  Recall that the summation in Ampere’s Law is much simpler to apply if we choose a shape for our imaginary loop that satisfies one or both conditions mentioned above.  For this situation, we want to pick a shape so that (1) the magnetic field is a same value and always pointing parallel to each segment ∆l  along the bottom portion of our imaginary loop that is inside the solenoid.  This shape is also chosen since (2) there is no field parallel to the ∆l ’s for the top and two side segments.   

Remember that the left side of Ampere’s Law sums up the products of the magnetic field that is parallel to each of the small ∆l ’s around the loop.  As it turns out, this is not zero only for the bottom of our imaginary Amperian loop.  If we let our Amperian loop be length l, then Bl is entire sum of the bottom segments.  As we work our way up and down the side segments of our loop, we see that these segments point perpendicular (not parallel) to B.  Thus, there is no contribution to the left side of Ampere’s Law due to the two sides of the loop.  Finally, since for very long solenoids the magnetic field is essentially zero outside of the solenoid, the top portion of our imaginary loop does not contribute to our sum either.

Let’s look at the right side of Ampere’s Law next.  The right side of the equation represents the produce of μo times the total enclosed current, Nl. The reason we multiple the solenoid’s current by N is because each coil carries current I.  The more coils the stronger the magnetic field.

Solving the equation for B allows us to define the number of coils per length, N / l as n.  Thus, we have an expression for the magnetic field inside a solenoid—the very same equation we have shown above.

A cross section of a Solenoid, with each Wire represented by a circle with an X or dot (direction), and the magnetic field B going to the left.  A length of the solenoid is designated N (a segment of length Delta l).  There is no B-Field parallel to the delta l's along the top or sites of the loop, and B points parallel to the delta l's along the bottom of the loop.  So with this setup, current at the delta l now equals an N section of wire, so the current is N times the current I, and since B sub ll is only the B of l (bottom), the equation becomes B = mu sub o (permeability of space) times N times I.  Divide l length on both sides, to get B = mu sub o times N times I divided by L, and N being the number of wires and l being the length we convert to the term small-n (loops or wires per segment), or B = mu sub o (permeability of space) times the current times small n.

We have applied Ampere’s Law for two situations in this section.  This relation, however, can be applied to find the magnetic field around any geometry of current carrying wires.  

Check Your Understanding

Use the following questions to assess your understanding. Tap the Check Answer buttons when ready.

1. What does Ampere's Law allow us to find?

Check Answer

2. In Example 1, we chose a circle for the shape of our Amperian loop.  In Example 2, we chose an imaginary loop in the shape of a rectangle.  How do we decide on the best shape of the imaginary Amperian loop?

Check Answer

3. A coaxial cable consists of an inner conductor (a wire) that carries current in one direction that is surrounded by an outer conductor carries current in the opposite direction.  The two conductors are separated by insulating material.  Assume that the inner wire carries current I1 to the left while the outer conductor carries current I2 to the right.   Using Ampere’s Law, derive an expression for the magnetic field at a distance ‘r’ away from the center of this long, straight coaxial cable.

A picture of a coaxial cable with 4 layers.  The inner layer (inner conductor) is labeled with a current to the left of I sub 1.  Next layer is an insulator layer.  The 3rd layer is the Outer conductor with a current to the right of I sub 2.  The final layer is the outer insulator.  What is the Magnetic field of point B which is above the cable with a distance of r from the center of the wire?

Check Answer


Tired of Ads?
Go ad-free for 1 year