Chapter 20 - Magnetic force
20.1Overview¶
This chapter introduces the tools to model the magnetic force, which is something that we have all experienced with magnets. As we will see, the magnetic force acts on moving (electric) charges, and is thus fundamentally different from the electric force which acts on stationary and moving charges. In later chapters, we will develop the tools that allow us to make connections between the electric and magnetic fields.
20.2Magnetic fields¶
Just as we can model the electric force on a charge by using the electric field (e.g. from another charge), we can model the force on a magnet by using a magnetic field (e.g. from another magnet). In your experience, every magnet that you have seen always has a “North” pole and a “South” pole. Most likely, you have noticed that the North pole of a magnet is attracted to the South pole of another magnet, and that the two North (or South) poles of different magnets repel each other. Thus, the magnetic force is attractive between two opposite poles, and repulsive otherwise.
The Earth itself can be modelled as a giant bar magnet, with North and South magnetic poles. The poles on a magnet are labelled North and South according to which geographic pole of the Earth they are attracted to (a magnetic compass needle has a magnetic North pole on the side that point to the Earth’s North geographic pole).
It may seem that the magnetic force can be described in the same way as the electric force, having two opposite sign “charges” (or poles for magnets), although this is not the case. As far as we can tell, there are no magnets that have only a North or a South pole. Every magnet must have a North and a South pole. This is fundamentally different from the electric force, where an object can have a net positive or negative charge. In the context of magnetism, we say that “monopoles do not exist” (an object that has only a North or a South pole would be called a monopole). This is illustrated in Figure 1, which shows what happens as one cuts a bar magnet into two pieces; rather than ending up with a North and a South piece (monopoles), we end up with two smaller bar magnets, each with their own North and South pole.
We model the magnetic force using a magnetic field vector, usually labelled . The magnitude of the magnetic field has the S.I. units of Teslas (\si{T}). We draw magnetic field lines in much the same way that we draw electric field lines. The magnetic field lines are such that the magnetic field vector, , at some point in space is tangent to the field line at that point. The strength of the magnetic field is determined by the density of field lines at that position in space. The direction of the magnetic field, , indicates the direction of the force that is exerted on the North pole of a magnet. Magnetic field lines thus flow away from North poles and towards South poles.
The magnetic field description is similar to that of the electric field, with North magnetic poles being similar to positive electric charges, and vice versa. However, because magnetic monopoles do not exist, magnetic field lines do not end (or start) on the pole of a magnet. Rather, magnetic field lines must always form closed loops. Figure 2 shows the magnetic field lines for a bar magnet, highlighting that the field lines do not end at the poles, but rather continue through the magnet (and some of the lines only “close” outside of the figure). The magnetic field from a bar magnet is very similar to the electric field created by an electric dipole. For that reason, an object (such as a bar magnet) that forms magnetic field lines of this shape are often described as magnetic dipoles.
We will discuss how to model magnetic fields in the next chapter, but it is important to understand that magnetic fields are created by moving electric charges. The electrons in the material that forms a bar magnet are the moving charges that create the magnetic field. As we will see, the magnetic field from a charge moving around in a circle (or a circular loop of current), has exactly the same shape as that of a bar magnet, as illustrated in Figure 3. We can thus think of charge moving in a circle as a small bar magnet, or more precisely, as a magnetic dipole.
In a magnet, the electrons in the material are moving in such a way that the magnetic fields that they generate are all in the same direction. In other words, each atom is like a small magnetic dipole, and all of these are aligned. This allows us to understand why cutting a magnet does not result in two monopoles (Figure 1): when we cut the bar magnet, we end up with less material, but each piece of material still contains magnetic dipoles that are aligned with each other, each having a North and South pole. Note that it is not the motion of electrons around their nuclei that results in the magnetic field, and that one requires quantum mechanics and the notion of “spin” to describe this all in detail.
Most materials will respond to magnetic fields, but the behaviour is most evident in “ferromagnetic” materials, such as iron (Fe). Ferromagnetic materials can be magnetized by an external magnetic field, effectively transforming them into magnets. One can think of a material as containing many little magnetic dipoles (from the motion of the electrons), which themselves are like bar magnets. If that material is ferromagnetic, an external magnetic field can act on the little “bar magnets”, orienting them all in the same way, so that the material as a whole becomes magnetic. For some ferromagnetic materials, that common orientation will remain when the external magnetic field is removed, creating a “permanent magnet”. For other ferromagnetic materials, the common orientation disappears when the external field is removed; those materials are thus attracted to a magnet, but they cannot form a magnet.
20.3The magnetic force on a moving charge¶
When an electric charge, , has a velocity, , relative to a magnetic field, , a magnetic force is exerted on the particle:
We can make a few remarks about the magnetic force:
- The magnetic force is always perpendicular to the velocity and to the magnetic field (since it is given by their cross-product).
- The direction of the magnetic force depends on the sign of the charge.
- The magnetic force can do no work, since it is always perpendicular to the velocity (and thus to displacement).
- There is no force if the particle’s velocity is in the same direction as the magnetic field vector.
- The force increases with charge, speed, and strength of the magnetic field.
You should be somewhat bothered by the fact that the force depends on the velocity of the charge, since velocity depends on the frame of reference from which it is measured. The above equation has a strange implication: if we observe an electron moving in a magnetic field, we will see its motion be deflected by the magnetic field. If we move along with the electron, so that it has a velocity of zero in our frame of reference, we should not see the electron being deflected, since the magnetic force would be zero. Clearly, the motion of the electron cannot depend on the frame of reference from which we observe it. Thus, the only way that this equation can make sense is if the magnetic field also depends on our frame of reference. We will revisit this in a subsequent chapter, but for now, remember that this equation only makes sense if the velocity is measured in the same reference frame as that in which the magnetic field is defined.
Another bothersome issue with the magnetic force is that it appears to depend on the fact that most humans are right-handed. Indeed, the direction of the force requires one to use the right-hand rule, which appears arbitrary. This is a common occurrence in physics, as many quantities are defined using a cross-product. However, no physical quantity can ever depend on our choice of right or left hand for determining cross-products. It turns out that any physical quantity (such as the force on a particle, which will deflect the particle in a clearly identifiable direction that does not depends on a human’s choice of right and left), always depends on two successive applications of the right-hand rule. In this case, the direction of the magnetic field is also given by a right-hand rule applied to the moving charges that create the field (as we will see in the next chapter). The successive uses of the right hand twice “cancel”; one finds that a charge is deflected in the same direction if one had used the left hand to define the magnetic field, and then again the left-hand for the cross-product! We will revisit this issue in the next chapter.
Consider the motion of a charged particle in a region where the magnetic field is uniform (constant in magnitude and direction). If the velocity vector of the particle is perpendicular to the magnetic field, the particle will undergo uniform circular motion, as illustrated in Figure 5.
Indeed, the force is always perpendicular to the velocity, and the force is constant in magnitude since both the speed and magnetic field remain constant. These are the only conditions required for uniform circular motion. We can easily determine the radius, , of the circle, since the magnetic force is responsible for the centripetal acceleration:
The radius is called the “cyclotron radius”.
Referring to Figure 5, if the velocity of the particle is in the plane of the page (perpendicular to the magnetic field), as illustrated, the particle will undergo uniform circular motion. If the velocity of the particle has a component that is parallel to the magnetic field (for example a component coming out of the page, towards you), the particle will undergo “helical motion” (a spiral). The radius of the helix is determined by the component of the velocity, , that is perpendicular the magnetic field:
The charged particle would also have a component of velocity towards you that is constant, resulting in the spiral motion illustrated in Figure 6. Note that the distance between two spirals (labelled in the figure) is called the “pitch”, and is determined by the component of velocity that is parallel to the magnetic field, , since that component is not affected by the magnetic force.
20.4The magnetic force on a current-carrying wire¶
In this section, we examine the force that is exerted by a magnetic field on a wire that carries electric current. Since a current is formed by moving charges, it is natural to expect that a wire that carries current will experience a force if immersed in a magnetic field.
Consider a vertical wire with cross-sectional area, , carrying current, , upwards that is immersed in a uniform magnetic field, , into the page, as illustrated in Figure 7. Inside the wire, on average, electrons have a drift velocity, , in the downwards direction (since they move in the direction opposite to that of conventional current).
A single electron (with charge ) will experience a magnetic force, , given by:
as illustrated in Figure 7. A section of wire of length, , will contain drifting electrons, where is the density of free electrons for the wire (the number of electrons per unit volume that are available to produce a current). Thus, the magnetic force on that section of wire will be times the force on a single electron:
Recall the microscopic model of current to relate the drift velocity to the conventional current in the wire:
where the minus sign indicates that negative electrons flow in the opposite direction from the conventional current. We also introduce a vector, , with a magnitude equal to the length of the section of wire, and a direction that is parallel to the conventional current (thus anti-parallel to the electron drift velocity). The force on the section of the length, , of the wire is thus given by:
Note that if the wire is not straight, then we can model the wire as being made of many infinitesimally short sections (Figure 9), of length , and sum the forces on those sections to get the total force on a section of length :
20.5The torque on a current-carrying loop¶
As noted in Example 20.2, the net magnetic force on any closed loop immersed in a uniform magnetic field is zero. Consider, for example, the current-carrying rectangular loop of height and width , immersed in a uniform magnetic field, , as illustrated in Figure 12 (note that the field is not perpendicular to the plane of the loop, as it was in Example 20.2).
The magnetic force on the two horizontal sections of the wire are zero, since the current is co-linear with the magnetic field along those sections. In the left vertical section (with current flowing downwards), the magnetic force is out of the page (positive direction), and is given by:
Similarly, the force on the right vertical section (with current flowing upwards) will have the same magnitude but the opposite direction. The net force on the loop is thus zero.
However, the net torque on the loop about its vertical axis of symmetry (shown by the vertical dashed line in the figure) is not zero. The total torque is found by summing the torques from the forces exerted on the two vertical sections of wire:
where is the vector from the axis of rotation to the location where the force is exerted.
20.5.1Magnetic dipole moment¶
Describing the torque on a loop can be difficult in three dimensions, so we introduce the “magnetic dipole moment” to simplify the description.
If a closed loop carries a current, , the magnetic dipole moment vector, , is defined such that it has a magnitude:
where is the area enclosed by the loop. The direction of the magnetic dipole moment vector is such that it is perpendicular to the surface defined by the loop. This leaves two possible directions, and the correct option is given by the right-hand rule for axial vectors; by curling the fingers in the direction of the current, the thumb will point in the direction of the magnetic dipole moment. This is illustrated in Figure 13.
In terms of the magnetic dipole moment, the torque on a loop with magnetic dipole moment, , immersed in a magnetic field, , is given by:
The magnitude of the torque is given by:
where θ is the angle between the magnetic dipole moment and the magnetic field vectors.
We can verify that this formula gives the correct torque for the rectangular loop in Figure 12 that we calculated above. The magnetic dipole moment of that loop is given by:
where the direction of the vector is given by the right hand rule for axial vectors (out of the page, since the current is in the counter-clockwise direction in Figure 12). The torque on the loop is thus:
as we found previously.
The magnetic dipole moment can be used to describe a current-carrying loop in a magnetic field. That is, instead of drawing a loop carrying current, we can equivalently simply draw the associated magnetic dipole moment vector. This is useful because the magnetic dipole moment vector behaves in the same way as a bar magnet (with the tip of the arrow acting like a North pole). Indeed, a magnetic field will always create a torque that will try to align the magnetic dipole moment with the magnetic field, just as the needle of a compass experiences a torque if it is not aligned with the magnetic field of the Earth. The torque from the magnetic field is then zero when the magnetic dipole moment is parallel to the magnetic field (as the cross-product between co-linear vectors is zero).
Figure 14 shows a way to visualize a current-carrying loop in a magnetic field using its magnetic dipole moment vector, .
Three loops are shown (as lines), seen from above, and the direction of the current in each loop is shown as going in or out of the page. Equivalently, one can simply draw the magnetic dipole moment vector for each loop (perpendicular to the plane of the loop). For the top loop, the magnetic dipole moment is parallel to the magnetic field, so the magnetic field exerts no torque. For the middle loop, the magnetic dipole moment makes an angle θ with the magnetic field vector, so that the torque on that loop has a magnitude given by , and points into the page (clockwise rotation). The bottom loop makes an angle of with the magnetic field, which results in a torque in the counter-clockwise direction. In all cases, the torque is such that it always tries to align the magnetic dipole moment vector with the magnetic field, just as if the magnetic dipole moment were the needle of a compass.
20.5.2Potential energy for a magnetic moment in a magnetic field¶
A magnetic dipole moment in a magnetic field behaves in the same way as an electric dipole in an electric field. By analogy, we can define a potential energy, , for a magnetic dipole moment, , in a magnetic field, :
where θ is the angle between the magnetic moment and the magnetic field. If a magnetic dipole is not aligned with a magnetic field and it is released, it will start to rotate (gain rotational kinetic energy) until it reaches a minimum in potential energy (). The magnetic moment would oscillate back and forth about if there are no losses. Note that the point where , is an unstable equilibrium.
20.6The Hall Effect¶
Figure 15 shows a simple circuit to illustrate the Hall effect. A flat slab of metal, with width , is connected to a battery, so that current flows through the slab. The slab is immersed in a uniform magnetic field, , that is perpendicular to the plane of the slab.
As the electrons enter the right-hand side of the slab (Figure 15) and drift towards the left, they will experience an upwards force from the magnetic field. As they move to the left through the slab, they also move upwards and “pile up” on that side of the slab. There will thus be an excess of negative charge on the top side of the slab, leading to an electric potential difference between the top and the bottom of the slab. This potential difference is called the “Hall potential”, . An equilibrium between the magnetic force and the electric force associated with the Hall potential is quickly reached, so that the Hall potential remains constant.
If we model the slab as two parallel plates, with a potential difference, , between them, the electric field in the slab is constant and given by:
The equilibrium condition (that the electric force on an electron is equal to the magnetic force) is given by:
If the drift velocity of electrons is known, then the Hall effect can be used to measure the strength of the magnetic field by simply measuring the Hall voltage. This is the most common way to measure the strength of a magnetic field (and the device to do so is called a Hall probe). Conversely, if the magnetic field is known, the Hall effect can be used to characterize the drift velocity of electrons and other microscopic quantities for the material from which the Hall probe is made.
The Hall effect allows us to determine that it is negative charges that flow, and not positive charges. Indeed, consider Figure 15, but replace the electrons with positive charges flowing to the right, which is equivalent as far as analysing the circuit goes. In this case, those positive charges will be deflected upwards. Thus, if positive charges flow, the top side of the Hall probe becomes positive, whereas it becomes negative if it is negative charges that flow. By measuring the sign of the Hall potential, one can show that it is electrons that flow in an electric current.
20.7Applications¶
In this section, we briefly outline a few applications of the magnetic force.
20.7.1Velocity selector and mass spectrometer¶
In Example 20.1, we described how charged particles with different charge-to-mass ratios will undergo uniform circular motion with different radii, if they all have the same speed. This principle is used in mass spectrometers, which are devices that are able to detect trace amounts of matter in a sample. For example, when your bag gets swiped with a sticky tape at a security check at the airport, that piece of sticky tape is then analysed by a mass spectrometer.
The tape is vaporized in a way to ionize the atoms on the tape. The ions are then accelerated through an electric potential difference and then pass through a region with a magnetic field. The ions typically execute half of a circular orbit before being detected, as illustrated in Figure 16. The charge-to-mass ratio of the ions is determined from the radius of their orbit. Usually, their charge is either one or two times the electron charge, allowing their mass to be determined.
In order for the mass spectrometer to function as designed, it is important that all of the charged particles enter the region of magnetic field with the same speed. A velocity selector is a device that combines perpendicular electric and magnetic fields in order to select only particles of a certain speed, regardless of their mass. The velocity selector is illustrated in Figure 17
In a velocity selector, both an electric and a magnetic force are exerted. Figure 17 shows a positive particle moving toward the right with speed . The particle will experience an upwards electric force and a downwards magnetic force. If those two forces are equal, then the particle will move in a straight line. If, instead, one of the forces is larger than the other, the particle will be deflected and hit one of the charged plates. The condition for the two forces to be equal is given by:
Thus, the electric and magnetic fields can be tuned so that their ratio gives the desired speed. Note that the speed selector works regardless of the sign of the charge or its mass, which makes it ideal to filter the particles entering a mass spectrometer.
20.7.2Galvanometer¶
The galvanometer makes use of the magnetic force in order to measure electric current. In a galvanometer, a coil (composed of many loops) is placed in a known magnetic field. As current passes through the coil, the magnetic dipole moment of the coil increases, and the magnetic field exerts a torque on the coil. The torque from the magnetic force is balanced by the restoring torque of a torsional spring (a coil spring). A needle is attached to the coil, and the deflection of the needle, proportional to the current in the coil, is then a measure of the current through the coil. A galvanometer is illustrated in Figure 18.
20.7.3Electric motor¶
In an electric motor, a current-carrying coil is immersed in a fixed and uniform magnetic field. As current passes through the coil, the coil experiences a torque and rotates. Once the coil has reached a position where its magnetic dipole moment vector is parallel to the magnetic field, the direction of the current is reversed, so that the coil continues to feel a torque for another half turn, until the direction of the current is reversed again. This is illustrated in Figure 19.
20.7.4Cathode ray tube¶
The cathode ray tube is the main component of old televisions and monitors. In those devices, a beam of electrons is accelerated by an electric potential difference. The electrons then hit a phosphorescent screen that emits light when the electrons collide with the screen. A magnetic field is used to deflect the electron beam to different parts of the screen and create the desired image, in a rapid sweeping motion, fast enough that the human eye cannot detect the sweeping motion. An example of a cathode ray tube is shown in Figure 20.
20.7.5Loudspeaker¶
In a loudspeaker, a coil is immersed in a non-uniform magnetic field. The coil is attached to a membrane so that the membrane moves with the coil when a magnetic force is exerted on the coil. AC current circulates in the coil, with the same frequencies as the desired sound. The coil then moves at those frequencies and the membrane then displaces the air, creating the desired sound waves.
20.8Summary¶
In order to describe the magnetic force, we introduced the magnetic field, . While there are some similarities with the electric field, the key difference in magnetism is that there are no “magnetic charges” (so-called monopoles), and magnets thus always have a North and a South pole. As a result, magnetic field lines never end and must always form closed loops. The magnetic field points in the direction of the force that would be exerted on the North pole of a magnet placed at that position.
Electric charges can feel a force from a magnetic field only if they are moving relative to the frame of reference in which the magnetic field is described. If a charge, , has velocity, , in a magnetic field, , it will feel a magnetic force given by:
The magnetic force can do no work, since it always acts in a direction perpendicular to the velocity (and thus to the displacement). The magnetic field acts in opposite directions for charges of opposite signs.
In a uniform magnetic field, a charged particle with charge, , mass , and velocity vector, , perpendicular to a magnetic field, , will undergo uniform circular motion, with a cyclotron radius, , given by:
A straight wire of length, , carrying current, , will experience a magnetic force in a magnetic field, :
where the vector points in the same direction as the current.
If the wire is curved (or the magnetic field changes direction along the wire), then we can integrate the force, , exerted on each infinitesimal section of wire with length, . Again, the direction of is in the same direction as the current in the wire. The infinitesimal force on an infinitesimal section of wire, is given by:
A closed loop of wire carrying current will experience no net force in a uniform magnetic field. However, it will experience a torque, if the loop is not “aligned” with the magnetic field (the torque is zero if the magnetic field is perpendicular to the plane of the loop). We define the magnetic dipole moment, of a loop of wire carrying current, , to be a vector with magnitude:
where is the area enclosed by the loop. The magnetic dipole moment vector is perpendicular to the plane of the loop, and points in the direction given by the right-hand rule for axial vectors applied to the current (think of the current as rotating in the loop).
The torque from a magnetic field, , exerted on a loop with a magnetic dipole moment, , is given by:
The torque is zero when the magnetic dipole moment vector is parallel to the magnetic field vector (corresponding to the loop being “aligned” with the magnetic field). One can think of the magnetic dipole moment as a small bar magnet, or the needle of a compass, that always experiences a torque to align it with a magnetic field.
We can define the potential energy of a magnetic dipole moment in a magnetic field as:
The Hall effect can be observed when current flows through a slab that is immersed in a magnetic field that is perpendicular to the slab. As the electrons move longitudinally through the slab, they will also be pushed to one side by the magnetic force, resulting in an excess of negative charge on that side. An electric potential difference (the “Hall potential”) is then established between the two sides of the slab (in the direction perpendicular to the motion of the electrons). The Hall potential is given by:
where is the width of the slab in the perpendicular direction, is the strength of the magnetic field, and is the drift velocity of electrons. The most common use of the Hall effect is to build a Hall probe to measure magnetic fields. However, Hall probes can also measure the drift velocity of electrons and other microscopic properties. The sign of the Hall potential also indicates the sign of the charges moving in the slab.
There are many applications of the magnetic force in our daily lives, including electric motors, loudspeakers, cathode ray tubes, mass spectrometers, and galvanometers.
20.9Thinking about the material¶
20.10Sample problems and solutions¶
20.10.1Problems¶
20.10.2Solutions¶
Solution 20.1
First, we determine the velocity of the electron that were accelerated over a potential difference of . Their kinetic energy is given by their charge times the potential difference::
Now that we have the velocity, we must determine the direction of the magnetic field. We know that the electron is moving directly towards the phosphorescent screen (which we will define as ) and the electron must be deflected directly upwards (which we will define as ). Knowing this, we can use the right hand rule to quickly determine that the magnetic force will be acting in the direction.
In the region with a magnetic field, the electron will undergo uniform circular motion with a radius give by the cyclotron radius, :
We thus need to determine the radius of that circle for the electron to arrive that desired location on the screen. A section of the circle about which the electron moves is illustrated in Figure 22.
From geometry and Pythagoras’ Theorem, we have:
The strength of the magnetic field is then given by:
Solution 20.2
First, we will determine the magnetic dipole moment of the square coil:
Now that we have the magnetic dipole moment, we can calculate the torque on the square coil that is produced by the magnetic field. Note that, in a galvanometer, the magnetic field is configured such that it is radial and always perpendicular to the magnetic dipole moment of the coil:
The deflection, θ, for a given current will occur when the torque produced by the wire is equal to the torque produced by the spring. The torque produced by the spring is given by:
where θ is measured in radians. The above equation is the rotational equivalent of Hooke’s Law. Equating the torque from the spring and from the magnetic field, we can determine the current:
Solution 20.3
Figure 23 illustrates a loop of radius, , carrying current, . The loop is in the plane, and there is a magnetic field, , in the negative direction. By setting the loop up this way, it is easier to visualize some of the three-dimensional aspects.
Consider an infinitesimal section of the loop, with length, , located on the loop at a position labelled by the angle, θ, as illustrated. The vector, , is given by:
The magnetic force on that element of the loop is given by:
and the force on that element of wire is out of the page (negative direction), as illustrated. That infinitesimal force will create an infinitesimal torque:
where is the vector from the axis of rotation (through the centre of the loop, parallel to the axis) to the point where the force is exerted. The length of the vector, , is simply , and the force is perpendicular to the vector . Thus, the torque on the infinitesimal element is given by:
and the torque on that infinitesimal element is in the negative direction, as anticipated from the direction of the force. Note that had we considered the loop to be oriented such that the magnetic field is not in the plane of the loop, the vector in the torque would have a component in the direction.
We can sum the torques on each element of the loop, from to . We can express the length, , using the infinitesimal angle, , that subtends the arc of length, , on the circle of radius, :
The net torque is then given by:
The magnetic moment of the loop is:
so that the torque is indeed given by . If we had rotated the loop so that the vector, , had a component, then we would have found the general formula with a cross-product.