Electric Fields via Integration
To find the electric field created by a charge distribution, we use the same basic technique: break the distribution up into a bunch of little pieces, find the electric field at the target due to each little piece, and adding all the fields together. We can think of each little piece as a little point charge \(dq\), and the field it creates as
$$d\vec E=k{dq\over d^3}\vec d$$
where \(\vec d\) is the vector from the source to the target. (Notice that this vector isn't necessarily tiny, which is why we don't write it as an infinitesimal. The electric field created by a tiny point charge is tiny, however, so I write \(d\vec E\). The total electric field is then
$$\vec E=\int d\vec E=\int k{dq\over d^3}\vec d$$
Let's look at an example.
$$\let\lm\lambda$$
Electric Field of a Line Charge
Suppose we have a line charge of length \(L\) and line charge density \(\lambda(x)\). Find the electric field a distance \(H\) from the center of the line.
Let's say that the line lies along the \(x\)-axis with the origin
at the center. The target (where we want to find the electric
field) is on the positive \(y\)-axis. To find the electric field
there, we break the line up into a bunch of little charges \(dq\)
and find the field due to each one.
For instance, let's consider the little piece of the line
highlighted in red, which is a distance \(x\) from the origin. The
field it creates at the star is
$$d\vec E=k{dq\over d^3}\vec d$$
To put this into integrable form, we need to figure out what \(dq\) and
\(\vec d\) are.
- Just as in the previous section, we need to
rewrite \(dq\) in terms of a variable we can actually integrate
over. The charge of this segment is equal to its line charge
density \(\lm(x)\) times its length \(dL\), and we can write its
length as \(dx\) because it lies along the \(x\) axis. Therefore
$$dq=\lm(x)\,dx$$
- The vector \(\vec d\) points from source to
target, as shown. We want to write this in terms of its components,
and we do that by asking "How can we get from the source to the
target by only moving horizontally or vertically?" In this case, we
need to move upward a distance \(H\), and then a distance \(x\) to
the left (or vice versa). Thus
$$\vec d=H\hat y-x\hat x$$
We'll also need the length of this vector, which is
$$d=\sqrt{H^2+x^2}$$
Now it may seem that we only found the electric field due to one
particular piece of the line, but by changing the value of x we
can find the field due to any of the sources.
Putting all the pieces together, we get
$$\vec E=\int d\vec E=\int_{-L/2}^{L/2} k{\lambda(x)\,dx\over
(H^2+x^2)^{3/2}}(H\hat y-x\hat x)$$
This is the integral of a vector, and you may be wondering how we're
supposed to handle that. The answer is simple: the unit vectors
\(\hat x\), \(\hat y\), and \(\hat z\) are all constants: they
always point in their respective directions no matter what \(x\) is.
Therefore, we can pull them out of the integral:
$$\vec E=kH\hat y\int_{-L/2}^{L/2} {\lambda(x)\,dx\over (H^2+x^2)^{3/2}}
-k\hat x\int_{-L/2}^{L/2} {x\lambda(x)\,dx\over (H^2+x^2)^{3/2}}$$
Constant charge density
Without knowing what \(\lambda(x)\) is, this is the best we can do. The simplest case is if it is a constant \(\lm\) and can come out of the integral. We can then use the two integral identities shown on the left and right. Then the electric field is
$$\begin{eqnarray}
\vec E&=& kH\lm\hat y \int_{-L/2}^{L/2}{dx\over (H^2+x^2)^{3/2}}-k\lm\hat x\int_{-L/2}^{L/2}{x\,dx\over (H^2+x^2)^{3/2}}\\
&=&kH\lm\hat y\left[{x\over H^2\sqrt{H^2+x^2}}\right]_{-L/2}^{L/2}
-k\lm \hat x\left[-\frc{\sqrt{x^2+H^2}}\right]_{-L/2}^{L/2}\\
&=& {k\lm \hat y\over H}\left[ {L/2\over\sqrt{H^2+(L/2)^2}}-{-L/2\over\sqrt{H^2+(-L/2)^2}}\right]\\
&&+k\lm\hat x\left[\frc{\sqrt{H^2+(L/2)^2}}-\frc{\sqrt{H^2+(-L/2)^2}}\right]\\
&=&{k\lm L\over H\sqrt{H^2+(L/2)^2}}\hat y+0\\
\end{eqnarray}$$
The second integral is zero because the integrand is an odd function of \(x\), so the electric field at the star points in the \(\hat y\) direction, as one might expect from symmetry.
Limiting cases
We can graph the electric field as a function of \(H/L\) as shown, but this doesn't tell us much other than that the electric field gets weaker as one moves away from the line. We can gain more insight if we consider what happens when one is really close to the line, and when one is really far from the line. (Read Section 0.2 on approximations if you need a refresher.)
- To be "really far" from the line means that \(H\gg L\), so that \(H^2+(L/2)^2\approx H^2\). Thus the electric field far from the line is
$$\vec E\approx {k\lm L\over H\sqrt{H^2}}\hat y={k Q\over H^2}\hat y,\,(H\gg L)$$
where \(Q=\lm L\) is the total charge of the line. Because \(H\) is the distance of the target from the line and \(\hat y\) is the unit vector that points from the line to the target, we might write this as \(\vec E={kQ\over r^2}\hat r\), which is the electric field of a point. Why? Well, we can also interpret \(H\gg L\) as \(L\ll H\)--that is, the line is really small. A very small line is basically a point, so its field will be the field of a point charge. (The field of any finite charge distribution will do the same thing if you get far enough away from it.)
- To be "really close" to the line means that \(H\ll L\) and \(H^2+(L/2)^2 \approx (L/2)^2\).
$$E\approx {k\lm L\over H\sqrt{(L/2)^2}}\hat y={2k\lm\over H}\hat y ,\, (H\ll L)$$
This is also the field of a very long line. Notice that the field doesn't depend on the length \(L\): once the line is "long enough", adding more charge to either end of the line doesn't affect the electric field much. In fact, this is also the field of an infinite line (take the limit \(L\to\infty\)). Notice that the field dies away as \(1/r\) rather than \(1/r^2\): this is because the line is not finite, so that no matter how far away you get from it, it never looks like a point. Any charge distribution which is infinite in one dimension will have this same property that \(E\sim \frc{r}\).