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

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

where 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: 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 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

and since giving we can write Eq. (2) as and from that, Eqs. (4) and (5), respectively, as where , and 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):

(note that is negative at the bottom) and

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 :

and

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

(and very close to the rod ():

The last result can be used as the field due to an

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