# 11.2: Magnetic Fields and Lines

We have outlined the properties of magnets, described how they behave, and listed some of the applications of magnetic properties. Even though there are no such things as isolated magnetic charges, we can still define the attraction and repulsion of magnets as based on a field. In this section, we define the magnetic field, determine its direction based on the right-hand rule, and discuss how to draw magnetic field lines.

# Defining the Magnetic Field

A magnetic field is defined by the force that a charged particle experiences moving in this field, after we account for the gravitational and any additional electric forces possible on the charge. The magnitude of this force is proportional to the amount of charge *q*, the speed of the charged particle *v*, and the magnitude of the applied magnetic field. The direction of this force is perpendicular to both the direction of the moving charged particle and the direction of the applied magnetic field. Based on these observations, we define the magnetic field strength *B* based on the **magnetic force** \(\vec{F}\) on a charge *q* moving at velocity as the cross product of the velocity and magnetic field, that is,

\[\vec{F} = q\vec{v} \times \vec{B}. \label{eq1}\]

In fact, this is how we define the magnetic field \(\vec{B}\) - in terms of the force on a charged particle moving in a magnetic field. The magnitude of the force is determined from the definition of the cross product as it relates to the magnitudes of each of the vectors. In other words, the magnitude of the force satisfies

\[F = qv \, B \sin \, \theta \label{eq2}\]

where *θ* is the angle between the velocity and the magnetic field.

The SI unit for magnetic field strength \(B\) is called the tesla (T) after the eccentric, but brilliant inventor Nikola Tesla (1856–1943), where

\[1 \, T = \frac{1 \, N}{A \cdot m}.\]

A smaller unit, called the **gauss** (G) is sometimes used, where

\[1 \, G = 10^{-4} \,T\]

The strongest permanent magnets have fields near 2 T; superconducting electromagnets may attain 10 T or more. Earth’s magnetic field on its surface is only about \(5 \times 10^{-5}\, T\) or \(0.5 \,G\).

Problem-Solving Strategy: Direction of the Magnetic Field by the Right-Hand Rule

The direction of the magnetic force \(\vec{F}\) is perpendicular to the plane formed by \(\vec{v}\) and \(\vec{B}\) as determined by the **right-hand rule-1** (or RHR-1), which is illustrated in Figure \(\PageIndex{1}\).

- Orient your right hand so that your fingers curl in the plane defined by the velocity and magnetic field vectors.
- Using your right hand, sweep from the velocity toward the magnetic field with your fingers through the smallest angle possible.
- The magnetic force is directed where your thumb is pointing.
- If the charge was negative, reverse the direction found by these steps.
**Figure \(\PageIndex{1}\):**Magnetic fields exert forces on moving charges. The direction of the magnetic force on a moving charge is perpendicular to the plane formed by b\(\vec{v}\) and \(\vec{B}\) and follows the right-hand rule-1 (RHR-1) as shown. The magnitude of the force is proportional to \(q, \, v, \, B,\) and the sine of the angle between \(\vec{v}\) and \(\vec{B}\).

Note

Visit this website for additional practice with the direction of magnetic fields.

There is no magnetic force on static charges. However, there is a magnetic force on charges moving at an angle to a magnetic field. When charges are stationary, their electric fields do not affect magnets. However, when charges move, they produce magnetic fields that exert forces on other magnets. When there is relative motion, a connection between electric and magnetic forces emerges - each affects the other.

Example \(\PageIndex{1}\): An Alpha-Particle Moving in a Magnetic Field

An alpha-particle \((q = 3.2 \times 10^{-19}C)\) moves through a uniform magnetic field whose magnitude is 1.5 T. The field is directly parallel to the positive *z*-axis of the rectangular coordinate system of Figure \(\PageIndex{2}\). What is the magnetic force on the alpha-particle when it is moving (a) in the positive *x*-direction with a speed of \(5.0 \times 10^4 m/s\)? (b) in the negative *y*-direction with a speed of \(5.0 \times 10^4 m/s\)? (c) in the positive *z*-direction with a speed of \(5.0 \times 10^4 m/s\)? (d) with a velocity \(\vec{v} = \left(2.0 \hat{i} - 3.0 \hat{j} + 1.0 \hat{k} \right) \times 10^4 m/s\)?

**Figure \(\PageIndex{2}\):** The magnetic forces on an alpha-particle moving in a uniform magnetic field. The field is the same in each drawing, but the velocity is different.

**Strategy**

We are given the charge, its velocity, and the magnetic field strength and direction. We can thus use the equation \(\vec{F} = q \vec{v} \times \vec{B}\) or \(F = qv \, B sin\, \theta\) to calculate the force. The direction of the force is determined by RHR-1.

**Solution**

- First, to determine the direction, start with your fingers pointing in the positive
*x*-direction. Sweep your fingers upward in the direction of magnetic field. Your thumb should point in the negative*y*-direction. This should match the mathematical answer. To calculate the force, we use the given charge, velocity, and magnetic field and the definition of the magnetic force in cross-product form to calculate: \[\vec{F} = q\vec{v} \times \vec{B} = (3.2 \times 10^{-19} C) (5.0 \times 10^4 m/s \, \hat{i}) \times (1.5 \, T \, \hat{k}) = - 2.4 \times 10^{-14} N \, \hat{j}\] - First, to determine the directionality, start with your fingers pointing in the negative
*y*-direction. Sweep your fingers upward in the direction of magnetic field as in the previous problem. Your thumb should be open in the negative*x*-direction. This should match the mathematical answer. To calculate the force, we use the given charge, velocity, and magnetic field and the definition of the magnetic force in cross-product form to calculate: \[\vec{F} = q\vec{v} \times \vec{B} = (3.2 \times 10^{-19} C) (- 5.0 \times 10^4 m/s \, \hat{i}) \times (1.5 \, T \, \hat{k}) = - 2.4 \times 10^{-14} N \, \hat{i}\] An alternative approach is to use Equation \ref{eq2} to find the magnitude of the force. This applies for both parts (a) and (b). Since the velocity is perpendicular to the magnetic field, the angle between them is 90 degrees. Therefore, the magnitude of the force is: \[F = qv \, B \sin \, \theta = (3.2 \times 10^{-19} C)(5.0 \times 10^4m/s)(1.5 \, T) sin (90^o)) = 2.4 \times 10^{-14} N.\] - Since the velocity and magnetic field are parallel to each other, there is no orientation of your hand that will result in a force direction. Therefore, the force on this moving charge is zero. This is confirmed by the cross product. When you cross two vectors pointing in the same direction, the result is equal to zero.
- First, to determine the direction, your fingers could point in any orientation; however, you must sweep your fingers upward in the direction of the magnetic field. As you rotate your hand, notice that the thumb can point in any
*x*- or*y*-direction possible, but not in the*z*-direction. This should match the mathematical answer. To calculate the force, we use the given charge, velocity, and magnetic field and the definition of the magnetic force in cross-product form to calculate: \[\vec{F} = q\vec{v} \times \vec{B} = (3.2 \times 10^{-19} C)((2.0 \hat{i} - 3.0 \hat{j} + 1.0 \hat{k}) \times 10^4 m/s) \times (1.5 \, T \hat{k})\] \[(-14.4 \hat{i} - 9.6 \hat{j}) \times 10^{-15}N.\] This solution can be rewritten in terms of a magnitude and angle in the*xy*-plane: \[|\vec{F}| = \sqrt{F_x^2 + F_y^2} = \sqrt{(-14.4)^2 + (-9.6)^2} \times 10^{-15} N = 1.7 \times 10^{-14}N\] \[\theta = tan^{-1} \left(\frac{F_y}{F_x}\right) = tan^{-1} \left(\frac{-9.6 \times 10^{-15}N}{-14.4 \times 10^{-15}N} \right) = 34^o.\] The magnitude of the force can also be calculated using Equation \ref{eq2}. The velocity in this question, however, has three components. The*z*-component of the velocity can be neglected, because it is parallel to the magnetic field and therefore generates no force. The magnitude of the velocity is calculated from the*x*- and*y*-components. The angle between the velocity in the*xy*-plane and the magnetic field in the*z*-plane is 90 degrees. Therefore, the force is calculated to be: \[|\vec{v}| = \sqrt{(2)^2 + (-3)^2} \times 10^4 \frac{m}{s} = 3.6 \times 10^4 \frac{m}{s}\]\[F = qv \, Bsin \, \theta = (3.2 \times 10^{-19}C)(3.6 \times 10^4 m/s) (1.5 \, T) sin (90^o) = 1.7 \times 10^{-14} N\]

**Significance**

The cross product in this formula results in a third vector that must be perpendicular to the other two. Other physical quantities, such as angular momentum, also have three vectors that are related by the cross product. Note that typical force values in magnetic force problems are much larger than the gravitational force. Therefore, for an isolated charge, the magnetic force is the dominant force governing the charge’s motion.

Exercise \(\PageIndex{1}\)

Repeat the previous problem with the magnetic field in the *x*-direction rather than in the *z*-direction. Check your answers with RHR-1.

**Answer a**-
0 N

**Answer b**-
\(2.4 \times 10^{-14}\hat{k} N\)

**Answer c**-
\(2.4 \times 10^{-14}\hat{j} N\)

**Answer d**-
\(7.2 \hat{j} + 2.2 \hat{k}) \times 10^{-15}N\)

# Representing Magnetic Fields

The representation of magnetic fields by **magnetic field lines** is very useful in visualizing the strength and direction of the magnetic field. As shown in Figure \(\PageIndex{3}\), each of these lines forms a closed loop, even if not shown by the constraints of the space available for the figure. The field lines emerge from the north pole (N), loop around to the south pole (S), and continue through the bar magnet back to the north pole.

Magnetic field lines have several hard-and-fast rules:

- The direction of the magnetic field is tangent to the field line at any point in space. A small compass will point in the direction of the field line.
- The strength of the field is proportional to the closeness of the lines. It is exactly proportional to the number of lines per unit area perpendicular to the lines (called the areal density).
- Magnetic field lines can never cross, meaning that the field is unique at any point in space.
- Magnetic field lines are continuous, forming closed loops without a beginning or end. They are directed from the north pole to the south pole.

The last property is related to the fact that the north and south poles cannot be separated. It is a distinct difference from electric field lines, which generally begin on positive charges and end on negative charges or at infinity. If isolated magnetic charges (referred to as **magnetic monopoles**) existed, then magnetic field lines would begin and end on them.

**Figure \(\PageIndex{3}\):** Magnetic field lines are defined to have the direction in which a small compass points when placed at a location in the field. The strength of the field is proportional to the closeness (or density) of the lines. If the interior of the magnet could be probed, the field lines would be found to form continuous, closed loops. To fit in a reasonable space, some of these drawings may not show the closing of the loops; however, if enough space were provided, the loops would be closed.

## Contributors

Paul Peter Urone (Professor Emeritus at California State University, Sacramento) and Roger Hinrichs (State University of New York, College at Oswego) with Contributing Authors: Kim Dirks (University of Auckland) and Manjula Sharma (University of Sydney). This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).