As an exercise in the "brute force" integration of COULOMB'S LAW (unavoidable in most cases), here is one way to find the electric field due to a uniformly charged, skinny rod of finite length :

If the total charge is uniformly distributed along the rod, then the charge per unit length is

 (1)

We want to evaluate the electric field at an arbitrary "test point" in space. Such a point can be characterized completely by its perpendicular distance from the rod and its distance up from the bottom end of the rod, measured parallel to the rod, as shown. We choose to look at the rod and the point in their common plane.

Then we pick an arbitrarily position a distance up from the bottom end of the rod, as shown. A small slice of the rod (width ) at that position contains a "charge element" which contributes to the electric field vector at the test point. Coulomb's Law says that points away from the charge element (assuming positive charge) and has a magnitude

 (2)

where
 (3)

is the distance from the charge element to the test point. In general makes an angle with the direction perpendicular to the rod. If we define the direction to be "up" parallel to the rod, then we can separate until its and components:
 (4)

 (5)

To integrate these equations we need to convert all variables to match the differential (over which we integrate). We could use Eq. (3) to express in terms of (where and are constants) and use
 (6)

 (7)

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 (6) can be rewritten

 (8)

and since
 (9)

giving
 (10)

we can write Eq. (2) as
 (11)

and from that, Eqs. (4) and (5), respectively, as
 (12)

where , and
 (13)

where .

Integrating these differentials is trivial; we are left with just the differences between (or ) at the limits of integration (the top and bottom of the rod):

 (14)

(note that is negative at the bottom) and
 (15)

These equations express a completely general solution to this problem.

Let's check to see what these give for the field directly out from the midpoint of the rod - i.e. for :

 (16)

and
 (17)

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

 (18)

(i.e. Coulomb's Law)

and very close to the rod ():

 (19)

The last result can be used as the field due to an infinitely long uniform line of charge. But there is a much easier way to obtain it . . . .

Jess H. Brewer - Last modified: Mon Nov 16 17:22:34 PST 2015