Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random  

[parent] Example of Field of a Rod with a Linear Charge-Density Gradient

(Example)

Field of a Rod with a Linear Charge-Density Gradient

1 Problem

A rod spans −L ≤ x′≤ L on the x axis. Its density is λ(x′) = λ0(1 + x′∕L), with λ0 > 0. Find the field at (0,a), a > 0.

PIC

Figure 1. The shaded density rises to the right. Reflected source elements have unequal charges.

Try first. The geometry is reflection-symmetric. Separate the even and odd pieces of the density to see what survives.

2 Worked solution

The displacement is (−x′,a), so

         ∫
           L (1-+-x′∕L)(−-x′ˆx-+-aˆy)-  ′
E = keλ0          ((x ′)2 + a2)3∕2     dx .
          −L
(1)

Only the uniform density contributes to Ey. Using ∫ dx′∕(  ′
(x ) 2 + a2)3∕2 = x′∕(a2∘  ----------
     ′2    2
   (x)  + a) gives Ey = 2keλ0L∕(a√ --------
  L2 + a2). Only the density gradient contributes to Ex. Use (x′) 2 = ((x′) 2 + a2) −a2 to obtain

        2keλ0 [                  L     ]
Ex =  − ------ arsinh (L∕a ) − √--2----2-.
          L                    L  +  a
(2)

The denser right half pushes the field toward negative x.

Check. Far from the rod Ey tends to ke(2Lλ0)∕a2. Expanding the bracket gives

           (      )
        ke  2 λ0L2
Ex ∼  − -3- ------  ,
        a      3
(3)

the equatorial field of the rod’s dipole moment.

3 Practice variation

Reverse the gradient by using λ0(1 − x′∕L).

Solution. The odd part of the density changes sign and the even part stays fixed. Ex reverses, and Ey stays the same.

4 Evaluate both component integrals explicitly

The even and odd parts of a density are [λ(x′) + λ(−x′)]∕2 and [λ(x′) − λ(−x′)]∕2. Here they are λ0 and λ0x′∕L. The denominator is even. The uniform contribution to Ex is odd because of the numerator −x′, whereas the gradient gives −(x′)2∕L, even. The gradient contribution to E y is odd. Hence

             ∫                                 ∫
               L -----dx′------          2keλ0-  L ---(x′)2-dx′---
Ey =  2keλ0a     [(x ′)2 + a2]3∕2,  Ex  = −   L       [(x′)2 + a2]3∕2.
              0                                 0
(4)

For the first integral set x′ = a tan u, with bounds 0 and arctan(L∕a). The differential is a sec 2udu and ∘ --′2----2-
  (x ) + a = a sec u because cos u > 0. The transformed integral is a−2 ∫ cos udu, giving L∕(a2√ --------
  L2 + a2) at the upper bound. For the second integral split (x′)2 = [(x′)2 + a2] −a2. The first term has primitive arsinh(x′∕a) and the second has the primitive already obtained times a2. Both primitives vanish at zero.

5 Worked example 2: choose a = L

Now Ey = √ --
  2keλ0∕L and Ex = −2keλ0[ln(1 + √ --
  2) − 1∕√ --
  2]∕L. Their ratio is about −0.246. The field tilts to the left of the upward Normal. At large a, setting u = L∕a gives arsinh u = u − u3∕6 + O(u5) and u∕√ -----2-
  1 + u = u − u3∕2 + O(u5). Their difference is u3∕3 + O(u5).

PIC

Figure 2. Even and odd contributions to a linear charge-density gradient. The even part sets the perpendicular field; the odd part sets the horizontal field at the midpoint.

6 Worked example 3: a controllable gradient parameter

The same geometry is useful with λ(x′) = λ0(1 + βx′∕L) for −1 ≤ β ≤ 1. The restriction ensures nonnegative density over the entire rod. The even part remains λ0, whereas the odd part is λ0βx′∕L. Therefore

Ey  = -√2keλ0L---,
      a  L2 + a2
        2keλ0β [       ( L )       L     ]
Ex  = − -------  arsinh   --  − √---2----2 .
           L             a       L  + a
(5)

The first component is independent of β because the total even source charge does not change. The second varies linearly with β and changes sign when the density slope is reversed. At β = 0 the field has no horizontal component; at β = 1 it reduces to the original problem.

7 Worked example 4: use the dipole moment to anticipate the far field

Compute the total charge and dipole moment of the gradient family directly:

     ∫
        L          ′      ′
 Q =     λ0 (1 + βx ∕L) dx =  2λ0L,
     ∫ −LL
           ′         ′      ′
px =   −Lx λ0 (1 + βx ∕L )dx
          ∫ L                  2
   =  λ0β-    (x ′)2dx ′ = 2λ0βL--.
       L   −L               3
(6)

For an observer on the positive y axis with a ≫ L, the leading monopole field is keQy∕a2. The dipole field at a point perpendicular to p = pxx is −kepxx∕a3. Consequently

|---------------2--------------|
|E ≃  − 2keλ0βL--ˆx + 2keλ0L-yˆ. |
-----------3a3----------a2-----|
(7)

Expanding the exact inverse square root in Ey confirms the leading term. For Ex, let u = L∕a and expand

                u3   3u5
arsinh (u ) = u − 6--+ -40-+  ⋅⋅⋅ ,
                 3      5
√---u----=  u − u--+ 3u--+  ⋅⋅⋅ .
  1 + u2        2     8
(8)

Subtracting gives u3∕3 − 3u5∕10 + ⋅⋅⋅ , which reproduces the dipole contribution and its first correction.

8 Worked example 5: a piecewise constant charge distribution

Suppose instead the left and right halves have densities λL and λR, respectively. The observation point is again (0,a), with a > 0. Using the same source kernel and integrating over each half,

          [   ∫ 0       ′  ′          ∫ L       ′  ′    ]
E  =  − k  λ      -----x-dx----- + λ      ----x-dx------
  x      e   L − L((x′)2 + a2)3∕2    R  0  ((x′)2 + a2)3∕2
                  (               )
   =  ke(λL − λR )  1-− √---1-----  ,
                    a     L2 + a2
                   ∫ L      dx ′
Ey =  kea(λL + λR )    -----2--------
                    0  ((x′) + a2)3∕2
      ke(λL + λR )L
   =  ---√--2----2-.
       a   L +  a
(9)

The horizontal field points toward the side with lower positive charge density. If λR = −λL, the total charge vanishes and Ey = 0, but the horizontal field survives. The piecewise model shows that the even/odd decomposition works even without a differentiable density.

9 Exercises

Exercise 1. Remove the uniform component of the rod. Predict Q, the dipole moment, and the field direction above the midpoint.

Solution. The remaining density is odd, so Q = 0. Its first moment is (λ0∕L) ∫ −LL(x′)2 dx′ = 2λ 0L2∕3. The previous Ex stays negative and Ey = 0.

Exercise 2. Where does the net charge of the original rod sit in a first-moment description?

Solution. Its total is 2Lλ0. Dividing the first moment by this total gives x = L∕3, toward the more strongly charged end.

10 Further exercises and complete solutions

  1. For β = 0, which components remain? Verify the physical direction. Solution. The rod has uniform positive density. Horizontal contributions from ±x′ cancel; Ex = 0, and Ey = 2keλ0L∕(a√ --------
  L2 + a2) > 0.
  2. Find the dipole moment for β = −1∕2. Solution. px = 2λ0βL2∕3 = −λ 0L2∕3. The greater charge lies to the left.
  3. What happens to the field components when the observation height doubles, assuming a ≫ L? Solution. Ey decreases approximately by four (monopole a−2); E x decreases by eight (dipole a−3).
  4. A piecewise rod has λL = λ and λR = 3λ. State the field directions and total charge. Solution. Ex < 0 since λL − λR = −2λ; Ey > 0 since λL + λR = 4λ. Total charge is Q = L(λL + λR) = 4λL.

References

[1]   P. Dourmashkin et al., Electricity and Magnetism, MIT TEAL, chapter 2.

[2]   D. J. Griffiths, Introduction to Electrodynamics, 4th ed., chapters 2–3.

[3]   Massachusetts Institute of Technology, Electricity and Magnetism: Electrostatics, MIT Open Learning Library, 8.02.1x, course materials.


"Example of Field of a Rod with a Linear Charge-Density Gradient" is owned by bloftin.
(view preamble)
View style:
Other names:  ES02E5
Also defines:  even and odd parts of a charge density
Keywords:  nonuniform line charge, source integral, reflection symmetry % pacs:41.20.Cv

This object's parent.

Cross-references: net charge, works, positive charge, observation point, square, source charge, Normal, dipole moment, gradient, displacement, charges
There are 2 references to this object.

This is version 1 of Example of Field of a Rod with a Linear Charge-Density Gradient, born on 2026-11-27.
Object id is 1612, canonical name is ExampleOfFieldOfARodWithALinearChargeDensityGradient.
Accessed 21 times total.

Classification:
Physics Classification: 41.20.Cv (Electrostatics; Poisson and Laplace equations, boundary-value)

Pending Errata and Addenda

None.

Discussion

No messages.

Interact