# 30. THE MAGNETIC FORCE AND FIELD.

## 30.1. The magnetic force

Up to now we have only considered the electrostatic forces acting on charges at rest. When the charges are in motion, an extra force acts on them. This extra force is called the magnetic force. The magnetic force between two charges q1 and q2, moving with velocities v1 and v2, is equal to (30.1)

where u0 is called the permeability constant which is equal to 4[pi] x 10-7 Ns2/C2, and r is the distance between the two charges (see Figure 30.1). The ratio R of the magnetic force and the electric force is equal to (30.2) Figure 30.1. Relevant vectors for definition of magnetic force.

Substituting the numerical values of [epsilon]0 and u0 into eq.(30.2), the ratio R can be rewritten as (30.3)

where c is the velocity of light in vacuum (c = 3 x 108 m/s). Clearly, the magnetic force is small compared with the electric force unless the speed of the particles is high (a significant fraction of the velocity of light).

A magnetic field B can be associated with the magnetic force. The magnetic field at some point in the vicinity of a moving charge can be determined by placing a test charge at that point and moving it with some velocity v. The test charge will experience, besides the electric force, a magnetic force Fmag. Per definition, the magnetic field B is related to the magnetic force Fmag via (30.4)

A measurement of the magnetic force acting on the test charge for various directions of v can be used to determine the magnetic field B. The magnetic force is always perpendicular to the velocity vector and the direction of the magnetic field. The unit of magnetic field strength is the Tesla (T). Comparing eq.(30.1) and eq.(30.4) we can determine the magnetic field generated by a point charge q2 moving with a velocity v2: (30.5)

Similar to electric field lines we can graphically represent the magnetic field by field lines. The density of field lines indicates the strength of the magnetic field. The tangent of the field lines indicates the direction of the magnetic field. The magnetic field lines form closed loops, that is they do not begin or end anywhere in the way that the electric field lines begin and end on positive and negative charges. This immediately implies that the magnetic flux through an arbitrary closed surface is equal to zero: (30.6)

The principle of superposition is also valid for the magnetic field.

### Example: Problem 30.10

At the surface of a pulsar, or neutron star, the magnetic field may be as strong as 108 T. Consider the electron in a hydrogen atom on the surface of the neutron star. The electron is at a distance of 0.53 x 10-10 m from the proton and has a speed of 2.2 x 106 m/s. Compare the electric force that the proton exerts on the electron with the magnetic force that the magnetic field of the neutron star exerts on the electron. Is it reasonable to expect that the hydrogen atom will be strongly deformed by the magnetic field ?

The electron in a hydrogen atom is at a distance r equal to 0.53 x 10-10 m from the proton. The electric force acting on the electron is equal to (30.7)

The maximum magnetic force acting on the electron occurs when the direction of the electron is perpendicular to the direction of the magnetic field. The maximum magnetic force is equal to (30.8)

Comparing eq.(30.7) and eq.(30.8) we conclude that the magnetic field is significantly stronger hat the electric field, and we expect that the orbits of the electrons are strongly affected by the intense magnetic field.

## 30.2. The Biot-Savart Law

The definition of the magnetic force showed that two moving charges experience a magnetic force. In other words, a moving charge produces a magnetic field which results in a magnetic force acting on all charges moving in this field.

A current flowing through a wire is equivalent to a collection of electrons moving with a certain velocity along the direction of the wire. Each of the moving electrons produces a magnetic field that is given by eq.(30.5). Consider a small segment of the wire with a length dL (see Figure 30.2). At any given time, a charge dq will be located in this segment. The magnetic field, dB, generated by this charge at point P is equal to (30.9)

where v is the velocity of the charge carriers. The time dt that it takes for all original charge carriers to leave the segment dL is given by (30.10)

The current I in the wire can now be obtained easily (30.11) Figure 30.2. Calculation of magnetic field produced by an electric current.

This equation can be rewritten as (30.12)

and substituted into eq.(30.9): (30.13)

Equation (30.13) is called the Biot-Savart Law.

### Example: Problem 30.33

Helmholtz coils are often used to make reasonably uniform magnetic fields in laboratories. These coils consist of two thin circular rings of wire parallel to each other and on a common axis, the z-axis. The rings have a radius R and they are separated by a distance which is also R. These rings carry equal currents in the same direction. Find the magnetic field at any point on the z-axis. Figure 30.3. Calculation of magnetic field produced by one ring.

The first step to calculate the field of a pair of Helmholtz coils is to calculate the magnetic field produced by each ring. Suppose the ring is located in the x-y plane and we are interested in the field at point P, a distance z above the x-y plane (see Figure 30.3). The net magnetic field of the ring at point P will be directed along the z-axis. The magnitude dB of the magnetic field produced by a small segment of the ring with length dL is equal to (30.14)

To obtain eq.(30.14) we have used the fact that for any point on the ring, the position vector r is perpendicular to the direction of dL. The z-component of the magnetic field dB is equal to (30.15)

The magnitude of the position vector r is related to R and z: (30.16)

The angle a is also related to R and z: (30.17)

Combining eqs.(30.15), (30.16) and (30.17) we obtain (30.18)

Integrating eq.(30.18) over the whole ring we obtain for the total field generated by the ring (30.19)

Figure 30.4 shows the magnetic field generated by one coil with a radius of 1 m, located at z = 0 m.

To find the field generated by a pair of Helmholtz coils, we assume that the coils are centered at z = 0 and at z = R. The magnetic field generated by the coil located at z = 0 is given by eq.(30.19). The magnetic field generated by the coil located at z = R is given by (30.20)

The total field on the axis of a pair of Helmholtz coils is equal to the sum of the field generated by coil 1 and the field generated by coil 2: (30.21)

The total magnetic field generated by a pair of Helmholtz coils is shown in Figure 30.5 where also the contributions of the two coils are shown individually. We observe that the field is very homogeneous between the coils (0 < z < R). Figure 30.4. Magnetic field generated by a coil with R = 1 m. Figure 30.5. Magnetic field generated by a pair of Helmholtz coils.

### Example: Problem 30.22

A very long wire is bent at a right angle near its midpoint. One branch of it lies along the positive x-axis and the other along the positive y-axis (see Figure 30.6). The wire carries a current I. What is the magnetic field at a point in the first quadrant of the x-y plane ? Figure 30.6. Problem 30.22 Figure 30.7. Field generated by wire.

The first step to solve this problem is to look at the magnetic field produced by this single wire (see Figure 30.7). The direction of the magnetic field generated by a small segment of the wire is pointing out of the paper. The magnitude of the field, dB, is equal to (30.22)

The position x of the segment under consideration is determined by the angle a: (30.23)

or (30.24)

From eq.(30.24) we can obtain a relation between dx and da: (30.25)

Furthermore, (30.26)

Substituting eq.(30.25) and eq.(30.26) into eq(30.22) we obtain (30.27)

The total field can be obtained by integrating eq.(30.27) over the wire. The integration limits are (30.28)

and (30.29)

The result of the integration is (30.30)

The field of the vertical wire can be obtained in a similar fashion: (30.31)

The magnitude of the total field is thus equal to (30.32)

## 30.3. The magnetic dipole

The magnetic field on the axis of a current loop was discussed in Problem 30.33. At large distances from the current loop (z >> R) the field is approximately equal to (30.33)

which shows that the magnetic field strength decreases as 1/z3. This dependence of the magnetic field strength on distance is similar to the dependence observed for the electric field strength of an electric dipole: (30.34)

Equation (30.33) is often rewritten as (30.35)

where (30.36)

is called the magnetic dipole moment of the loop. In general, the dipole moment of a current loop is equal to (30.37)

Magnetic dipole moments exist for objects as small as electrons and as large as the earth.

### Example: Problem 30.44

An amount of charge Q is uniformly distributed over a disk of paper of radius R. The disk spins about its axis with angular velocity [omega]. Find the magnetic dipole moment of the disk.

The first step to solve this problem is to determine the dipole moment of a ring of the disk, with radius r and with a width dr. The amount of charge dq on this ring is equal to (30.38)

The angular velocity of the disk is [omega] and its period T is equal to (30.39)

During one period the charge dq will pass any given point on the ring. The current dI is thus equal to (30.40)

The magnetic dipole moment du of the ring is equal to (30.41)

The total dipole moment of the disk can be found by integrating eq.(30.41) between r = 0 and r = R: (30.42)

Send comments, questions and/or suggestions via email to wolfs@nsrl.rochester.edu and/or visit the home page of Frank Wolfs.