# Magnetic Field of an Infinitely-Long Straight Current-Bearing Wire

In this section, we use the magnetostatic form of Ampere’s Circuital Law (ACL) (Section 7.4) to determine the magnetic field due to a steady current

(units of

) in an infinitely-long straight wire. The problem is illustrated in Figure 7.5.1. The wire is an electrically-conducting circular cylinder of radius

. Since the wire is a cylinder, the problem is easiest to work in cylindrical coordinates with the wire aligned along the

axis.

Here’s the relevant form of ACL:

where

is the current enclosed by the closed path

. ACL works for *any* closed path, so to exploit the symmetry of the cylindrical coordinate system we choose a circular path of radius

in the

plane, centered at the origin. With this choice we have

For

, we see that

. a steady (DC) current will be distributed uniformly throughout the wire (Section 6.4). Since the current is uniformly distributed over the cross section,

is less than the total current

by the same factor that the area enclosed by

is less than

, the cross-sectional area of the wire. The area enclosed by

is simply

, so we have

For the choice of

made above, Equation 7.5.1 becomes

Note that we have chosen to integrate in the

direction. Therefore, the right-hand rule specifies that positive

corresponds to current flowing in the

direction, which is consistent with the direction indicated in Figure 7.5.1. (Here’s an excellent exercise to test your understanding. Change the direction of the path of integration and confirm that you get the same result obtained at the end of this section. Changing the direction of integration should not change the magnetic field associated with the current!)

The simplest way to solve for ** **

from Equation 7.5.4 is to use a symmetry argument, which proceeds as follows:

- Since the distribution of current is uniform and infinite in the -dimension, can’t depend on , and so must be zero everywhere.
- The problem is identical after any amount of rotation in ; therefore, the magnitude of cannot depend on . This is a form of radial symmetry. Since we determined above that can’t depend on either, it must be that the magnitude of can depend only on .
- The radial symmetry of the problem also requires that be equal to zero. If this were not the case, then the field would not be radially symmetric. Since we determined above that is also zero, must be entirely -directed.

From the above considerations, the most general form of the magnetic field intensity can be written

. Substituting this into Equation 7.5.4, we obtain

Therefore,

. Reassociating the known direction, we obtain:

Therefore, the field outside of the wire is:

whereas the field inside the wire is:

(By the way, this is a good time for a units check.)

Note that as

increases from zero to

(i.e., inside the wire), the magnetic field is proportional to

and therefore increases. However, as

continues to increase beyond

(i.e., outside the wire), the magnetic field is proportional to

and therefore decreases.

If desired, the associated magnetic flux density can be obtained using ** **

.

### Summarizing:

The magnetic field due to current in an infinite straight wire is given by Equations 7.5.7 (outside the wire) and 7.5.8 (inside the wire). The magnetic field is

-directed for current flowing in the

direction, so the magnetic field lines form concentric circles perpendicular to and centered on the wire.

Finally, we point out another “right-hand rule” that emerges from this solution, shown in Figure 7.5.2 and summarized below:

The magnetic field due to current in an infinite straight wire points in the direction of the curled fingers of the right hand when the thumb of the right hand is aligned in the direction of current flow.

This simple rule turns out to be handy in quickly determining the relationship between the directions of the magnetic field and current flow in many other problems, and so is well worth committing to memory.

Ellingson, Steven W. (2018) Electromagnetics, Vol. 1. Blacksburg, VA: VT Publishing. https://doi.org/10.21061/electromagnetics-vol-1 CC BY-SA 4.0

## Explore CircuitBread

Get the latest tools and tutorials, fresh from the toaster.