Derivation of the Electric Field Integral for a Charged Line Segment

In the study of electromagnetism, transitioning from the analysis of discrete point charges to continuous charge distributions is a fundamental leap. While Coulomb's Law provides a straightforward method for calculating the force between individual particles, real-world physical objects—such as wires, rods, or plates—require a more sophisticated approach: the method of integration.

The charged line segment serves as the quintessential model for mastering this transition. It requires the application of the principle of superposition, vector decomposition, and definite integration. This guide provides a rigorous derivation of the electric field produced by a uniformly charged line segment at a specific point in space.
To begin the derivation, we must establish a clear mathematical framework. Consider a thin, straight line segment of length $L$ with a uniform linear charge density $\lambda$ (measured in $\text{C/m}$).

To simplify the calculus, we define our coordinate system as follows:

  • The Source: Place the line segment along the $x$-axis, extending from $x_1$ to $x_2$.
  • The Observation Point: We wish to find the electric field $\mathbf{E}$ at a point $P$ located on the $y$-axis at a perpendicular distance $d$ from the origin. Thus, the coordinates of $P$ are $(0, d)$.
  • The Differential Element: We divide the line into infinitesimal segments of length $dx$. Each segment carries a tiny amount of charge $dq$, defined by:
    $$dq = \lambda dx$$

The distance $r$ from any infinitesimal charge element $dq$ at position $(x, 0)$ to the observation point $P(0, d)$ is given by the Pythagorean theorem:
$$r = \sqrt{x^2 + d^2}$$

2. Vector Decomposition of the Electric Field

According to Coulomb's Law, the magnitude of the differential electric field $dE$ produced by the charge element $dq$ at point $P$ is:
$$dE = \frac{1}{4\pi\epsilon_0} \frac{dq}{r^2} = \frac{1}{4\pi\epsilon_0} \frac{\lambda dx}{x^2 + d^2}$$

Because the electric field is a vector quantity, we cannot simply integrate the magnitude. We must account for the direction of each $d\mathbf{E}$ vector. Let $\theta$ be the angle between the $y$-axis and the vector $d\mathbf{E}$. We decompose $dE$ into its Cartesian components:

  • The $x$-component ($dE_x$): Parallel to the line segment.
  • The $y$-component ($dE_y$): Perpendicular to the line segment.

Using trigonometric relationships from the geometry of the system:
$$\sin\theta = \frac{x}{r} = \frac{x}{\sqrt{x^2 + d^2}}$$
$$\cos\theta = \frac{d}{r} = \frac{d}{\sqrt{x^2 + d^2}}$$

Thus, the components are:

  • $dE_x = -dE \sin\theta$ (The negative sign accounts for the direction relative to the origin)
  • $dE_y = dE \cos\theta$

3. Mathematical Derivation via Integration

The total electric field $\mathbf{E}$ is the vector sum of all infinitesimal contributions, calculated by integrating the components over the length of the segment from $x_1$ to $x_2$.

Calculating the Perpendicular Component ($E_y$)

The $y$-component is typically the most significant part of the field in symmetric configurations. Substituting the expressions for $dE$ and $\cos\theta$:
$$E_y = \int_{x_1}^{x_2} \frac{1}{4\pi\epsilon_0} \frac{\lambda dx}{x^2 + d^2} \cdot \frac{d}{\sqrt{x^2 + d^2}} = \frac{\lambda d}{4\pi\epsilon_0} \int_{x_1}^{x_2} \frac{dx}{(x^2 + d^2)^{3/2}}$$

Using the standard integral form $\int \frac{dx}{(x^2 + a^2)^{3/2}} = \frac{x}{a^2\sqrt{x^2 + a^2}}$, we obtain:
$$E_y = \frac{\lambda d}{4\pi\epsilon_0} \left[ \frac{x}{d^2\sqrt{x^2 + d^2}} \right]_{x_1}^{x_2} = \frac{\lambda}{4\pi\epsilon_0 d} \left( \frac{x_2}{\sqrt{x_2^2 + d^2}} - \frac{x_1}{\sqrt{x_1^2 + d^2}} \right)$$

Calculating the Parallel Component ($E_x$)

Similarly, for the $x$-component:
$$E_x = \int_{x_1}^{x_2} -\frac{1}{4\pi\epsilon_0} \frac{\lambda dx}{x^2 + d^2} \cdot \frac{x}{\sqrt{x^2 + d^2}} = -\frac{\lambda}{4\pi\epsilon_0} \int_{x_1}^{x_2} \frac{x dx}{(x^2 + d^2)^{3/2}}$$

By applying $u$-substitution (where $u = x^2 + d^2$ and $du = 2x dx$), the integral simplifies to:
$$E_x = -\frac{\lambda}{4\pi\epsilon_0} \left[ -\frac{1}{\sqrt{x^2 + d^2}} \right]_{x_1}^{x_2} = \frac{\lambda}{4\pi\epsilon_0} \left( \frac{1}{\sqrt{x_2^2 + d^2}} - \frac{1}{\sqrt{x_1^2 + d^2}} \right)$$

4. Analysis of Limiting Cases

To validate our derivation, we examine two physically significant scenarios.

Case A: The Infinite Line Charge

If we extend the line segment to infinity ($L \to \infty$), meaning $x_1 \to -\infty$ and $x_2 \to \infty$:

  • For $E_x$: The term $\left( \frac{1}{\infty} - \frac{1}{-\infty} \right)$ approaches $0$. This is expected due to symmetry; the lateral components from the left and right sides cancel each other out.
  • For $E_y$: The terms $\frac{x_2}{\sqrt{x_2^2+d^2}}$ and $\frac{x_1}{\sqrt{x_1^2+d^2}}$ approach $1$ and $-1$ respectively.
    $$E_y = \frac{\lambda}{4\pi\epsilon_0 d} (1 - (-1)) = \frac{\lambda}{2\pi\epsilon_0 d}$$
    This result perfectly matches the expression derived from Gauss's Law for an infinite line charge, confirming our derivation.

Case B: Symmetric Placement

If the point $P$ is located on the perpendicular bisector of the segment (where $x_1 = -L/2$ and $x_2 = L/2$):

  • The $x$-component $E_x$ vanishes ($E_x = 0$) due to the symmetry of the charge distribution.
  • The $y$-component simplifies to:
    $$E_y = \frac{\lambda L}{4\pi\epsilon_0 d \sqrt{(L/2)^2 + d^2}}$$

5. Summary of Methodological Best Practices

When approaching complex continuous charge problems, keep these professional guidelines in mind:

  • Leverage Symmetry Early: Before performing any integration, check if the geometry allows you to set certain components (like $E_x$) to zero. This significantly reduces algebraic error.
  • Master the Differential Element: Always clearly define $dq$ in terms of the appropriate density ($\lambda$ for lines, $\sigma$ for surfaces, $\rho$ for volumes).
  • Respect the Vector Nature: A common mistake is to integrate the magnitude $dE$ without decomposing it into components. Always treat $\mathbf{E}$ as a vector sum.
  • Recognize Standard Integrals: Proficiency with forms like $(x^2 + a^2)^{-3/2}$ is essential for efficiency in electromagnetism.