Question
A thin insulating rod of length L carries a uniformly distributed charge Q. Find the electric field strength at a point along its axis at a distance ‘a’ from one end.

Solution
Let us consider an infinitesimal element of length dx at a distance x from the point P.
The charge on this element is dq = λdx,
where, is the linear charge density.
The magnitude of the electric field at P due to this element is
and its direction is to the right since X is positive.
The total electric field strength E is given by