# Rod of Current

As an exercise in the "brute force" integration of the LAW OF BIOT & SAVART (unavoidable in most cases), here is one way to find the magnetic field due to a current I flowing in a skinny rod of finite length L. (Of course the current cannot just start at one end and stop at the other, but the field due to the rest of the circuit can be added in separately.)

According to the LAW OF BIOT & SAVART, the current element shown in the Figure contributes

 (1)

to the magnetic field at the "test point" shown, where

 (2)

is the distance from the current element to the test point, r is its perpendicular distance from the rod and h is its distance up from the bottom end of the rod, measured parallel to the rod. The "test point" is characterized completely by r and h.

We choose to look at the rod and the point in their common plane. Thus the direction of can be seen by inspection to be into the page. In fact circulates around the rod in circular loops according to the Right Hand Rule.

To integrate equation (1) we need to convert all variables to match the differential (over which we integrate).

We could use Eq. (2) to express R in terms of z (where r and h are constants) and use

 (3)

 (4)

but this would leave us with integrals that cannot be solved by inspection.

If we want to solve this problem without reference to external aids (like tables of integrals), it is better to convert into angles and trigonometric functions as follows:

Equation (3) can be rewritten

 (5)

and since
 (6)

giving
 (7)

we can write Eq. (1) as

 dB = = (µ0 I / 4 r) cos d (8)

or
 (9)

where .

Integrating this differential is trivial; we are left with just the difference between u at the limits of integration (the top and bottom of the rod):

(10)

(note that u is negative at the bottom).

This equation expresses a completely general solution to this problem.

Let's check to see what this gives for the field directly out from the midpoint of the rod - i.e. for h = L/2:

 B = (11)

Let's also check to see what we get (at the midpoint) very far from the rod ():

 (12)

and very close to the rod ():
 (13)

The last result can be used as the field due to an infinitely long current-carrying wire. But there is a much easier way to obtain it . . . .

Note that the general formula (10) (and the right-hand rule to determine directions) can be used to find the net from a circuit composed of any arrangement of straight wire segments carrying a current I, by the principle of superposition. Note also, however, that the result is a vector sum.

Jess H. Brewer - Last modified: Mon Nov 16 17:56:05 PST 2015