# 5.6: Electric Field Due to an Infinite Line Charge using Gauss’ Law

- Page ID
- 24253

Section 5.5 explains one application of Gauss’ Law, which is to find the electric field due to a charged particle. In this section, we present another application – the electric field due to an infinite line of charge. The result serves as a useful “building block” in a number of other problems, including determination of the capacitance of coaxial cable (Section 5.24). Although this problem can be solved using the “direct” approach described in Section 5.4 (and it is an excellent exercise to do so), the Gauss’ Law approach demonstrated here turns out to be relatively simple.

Example \(\PageIndex{1}\): Electric field associated with an infinite line charge, using Gauss’ Law.

Use Gauss’ Law to determine the electric field intensity due to an infinite line of charge along the \(z\) axis, having charge density \(\rho_l\) (units of C/m), as shown in Figure \(\PageIndex{1}\).

Figure \(\PageIndex{1}\): Finding the electric field of an infinite line of charge using Gauss’ Law. (CC BY-SA 4.0; K. Kikkeri).**Solution**

Gauss’ Law requires integration over a surface that encloses the charge. So, our first problem is to determine a suitable surface. A cylinder of radius \(a\) that is concentric with the \(z\) axis, as shown in Figure \(\PageIndex{1}\), is maximally symmetric with the charge distribution and so is likely to yield the simplest possible analysis. At first glance, it seems that we may have a problem since the charge extends to infinity in the \(+z\) and \(-z\) directions, so it’s not clear how to enclose all of the charge. Let’s suppress that concern for a moment and simply choose a cylinder of finite length \(l\). In principle, we can solve the problem first for this cylinder of finite size, which contains only a fraction of the charge, and then later let \(l\to\infty\) to capture the rest of the charge. (In fact, we’ll find when the time comes it will not be necessary to do that, but we shall prepare for it anyway.)

Here’s Gauss’ Law:

\[\oint_{\mathcal S} {\bf D}\cdot d{\bf s} = Q_{encl} \label{m0149_eGL}\]

where \({\bf D}\) is the electric flux density \(\epsilon{\bf E}\), \({\mathcal S}\) is a closed surface with outward-facing differential surface normal \(d{\bf s}\), and \(Q_{encl}\) is the enclosed charge.

The first order of business is to constrain the form of \({\bf D}\) using a symmetry argument, as follows. Consider the field of a point charge \(q\) at the origin (Section 5.5):

\[{\bf D} = \hat{\bf r}\frac{q}{4\pi r^2}\]

We can “assemble” an infinite line of charge by adding particles in pairs. One pair is added at a time, with one particle on the \(+z\) axis and the other on the \(-z\) axis, with each located an equal distance from the origin. We continue to add particle pairs in this manner until the resulting charge extends continuously to infinity in both directions. The principle of superposition indicates that the resulting field will be the sum of the fields of the particles (Section 5.2). Thus, we see that \({\bf D}\) cannot have any component in the \(\hat{\bf \phi}\) direction because none of the fields of the constituent particles have a component in that direction. Similarly, we see that the magnitude of \({\bf D}\) cannot depend on \(\phi\) because none of the fields of the constituent particles depends on \(\phi\) and because the charge distribution is identical (“invariant”) with rotation in \(\phi\). Also, note that for any choice of \(z\) the distribution of charge above and below that plane of constant \(z\) is identical; therefore, \({\bf D}\) cannot be a function of \(z\) *and* \({\bf D}\) cannot have any component in the \(\hat{\bf z}\) direction. Therefore, the direction of \({\bf D}\) must be radially outward; i.e., in the \(\hat{\bf \rho}\) direction, as follows:

\[{\bf D} = \hat{\bf \rho}D_{\rho}(\rho)\]

Next, we observe that \(Q_{encl}\) on the right hand side of Equation \ref{m0149_eGL} is equal to \(\rho_l l\). Thus, we obtain

\[\oint_{\mathcal S} \left[\hat{\bf \rho}D_{\rho}(\rho)\right] \cdot d{\bf s} = \rho_l l\]

The cylinder \(\mathcal{S}\) consists of a flat top, curved side, and flat bottom. Expanding the above equation to reflect this, we obtain

\begin{aligned}

\rho_{l} l=& \int_{t o p}\left[\hat{\rho} D_{\rho}(\rho)\right] \cdot(+\hat{\mathbf{z}} d s) \\

&+\int_{s i d e}\left[\hat{\rho} D_{\rho}(\rho)\right] \cdot(+\hat{\rho} d s) \\

&+\int_{b o t t o m}\left[\hat{\rho} D_{\rho}(\rho)\right] \cdot(-\hat{\mathbf{z}} d s)

\end{aligned}

Examination of the dot products indicates that the integrals associated with the top and bottom surfaces must be zero. In other words, the flux through the top and bottom is zero because \({\bf D}\) is perpendicular to these surfaces. We are left with

\[\rho_l l = \int_{side} \left[D_{\rho}(\rho)\right] ds\]

The side surface is an open cylinder of radius \(\rho=a\), so \(D_{\rho}(\rho)=D_{\rho}(a)\), a constant over this surface. Thus:

\[\rho_l l = \int_{side} \left[D_{\rho}(a)\right] ds = \left[D_{\rho}(a)\right] \int_{side} ds\]

The remaining integral is simply the area of the side surface, which is \(2\pi a \cdot l\). Solving for \(D_{\rho}(a)\) we obtain

\[D_{\rho}(a) = \frac{\rho_l l}{2\pi a l} = \frac{\rho_l}{2\pi a}\]

Remarkably, we see \(D_{\rho}(a)\) is independent of \(l\), So the concern raised in the beginning of this solution – that we wouldn’t be able to enclose all of the charge – doesn’t matter.

Completing the solution, we note the result must be the same for any value of \(\rho\) (not just \(\rho=a\)), so \[{\bf D} = \hat{\rho} D_{\rho}(\rho) = \hat{\rho} \frac{\rho_l}{2\pi \rho}\] and since \({\bf D}=\epsilon{\bf E}\):

\[\boxed{ {\bf E} = \hat{\rho} \frac{\rho_l}{2\pi \epsilon \rho} }\]

This completes the solution. We have found that the electric field is directed radially away from the line charge, and decreases in magnitude in inverse proportion to distance from the line charge.

**Suggestion**: Check to ensure that this solution is dimensionally correct.

## Contributors and Attributions

Ellingson, Steven W. (2018) Electromagnetics, Vol. 1. Blacksburg, VA: VT Publishing. https://doi.org/10.21061/electromagnetics-vol-1 Licensed with CC BY-SA 4.0 https://creativecommons.org/licenses/by-sa/4.0. Report adoption of this book here. If you are a professor reviewing, adopting, or adapting this textbook please help us understand a little more about your use by filling out this form.