LIMA
With God's help
עברית

Electric Field of a Continuous Charge Distribution

Imagine that you are trying to calculate the intensity of the noise reaching you from a huge crowd in a stadium. Instead of treating the crowd as a single body that produces noise, you divide it into individual people. First you calculate the noise contribution of a single spectator only, taking into account their distance from you and the direction they are shouting from. Finally, you add up precisely all the voices of the spectators in the stadium to find the total sound intensity reaching your seat, exactly the way we sum (by means of an integral) infinitely many point charges.

The theory in brief

The theoretical basis for calculating the electric field of continuous bodies rests on Coulomb's law and the superposition principle. We divide the charged body into infinitely many differential charge elements, \(dq\), each of which produces around itself an electric field element given by the equation \[d\vec{E} = \frac{k\,dq}{r^{2}}\hat{r}.\] We express the charge \(dq\) using the charge density that fits the shape of the body: a linear density is expressed as \(dq = \lambda\,dl\) (for wires), and a surface density as \(dq = \sigma\,dA\) (for shells or disks). The total field at a given point in space is obtained by summing all the contributions, that is, by vector integration over the entire charge distribution: \[\vec{E} = \int d\vec{E}.\]

Since this is a vector sum, symmetry is a critical tool that makes it possible to cancel opposing components before carrying out the integral, as happens in a charged ring, where the components parallel to the plane cancel and only the perpendicular component remains. In cases of incomplete distributions (such as a hole in a wire), the superposition principle makes it possible to calculate the field of the infinite, complete shape, and to subtract from it the field contribution of the missing segment by imagining a segment with a negative charge density \((-\lambda)\), which saves us from dealing with complicated integrals.

dqdq yb r P dEdE dEy Ex The y components of a symmetric pair cancel; the x components add up

How to read the lab

The room and the Grid

A dark room with an almost fully transparent coordinate grid that lights up softly only around the measurement point, the active element or the nabla tool. Each grid cell is 0.1 m.

The measurement point P

The white sphere: the point where the field is calculated. For a wire it is at distance \(b\) from the wire, for the ring at height \(z\) on the Z axis, and for the hemispherical shell at the center of the sphere.

The spark: a single element \(dq\)

At the start of the integration on the finite wire, a blue spark lights up on the wire and the system pauses for a second: a dashed line stretches to P with the label \(r = \sqrt{y^2+b^2}\).

The field fan

The wire is painted blue from the center up and down, and from every strip a ray runs to P along with a red arrow \(d\vec{E}\) in the direction of its field. The strips are divided into equal angles as seen from P, so all the arrows have the same length.

Decomposition

The space bar or the "Decomposition" button freezes time: every arrow releases a semi-transparent X component and Y component. The Y components of opposite pairs are sucked into each other and vanish in dust, and the X components stack head to tail into a single vector.

The total field vector

The thick gold arrow is \(\vec{E} = \int d\vec{E}\). The length of the arrow is proportional to the magnitude of the field, and the scale of each module is written at the bottom of its readouts.

The ring: opposite pairs and the cone of light

The integration slider runs \(\theta\) from 0 to \(\pi\), and at each angle two arrows are fired from opposite points. The radial components (red) collide on the Z axis and evaporate, and the vertical components (green) stack upward. The trail builds a holographic cone.

The heat map of the dome

The color of the dome is the charge density \(\sigma\): bright white at maximal density \((\sigma = A)\), blue in between, and almost black and mesh-like at \(\sigma = 0\). The density of the light particles on the dome is also proportional to the charge.

Zoom on an element \(dA\)

Clicking on the dome (or on the button) dives to the surface and draws a curved \(12^\circ \times 12^\circ\) rectangle: one side \(R\,d\theta\) and the other \(R\sin\theta\,d\phi\).

Slicing

On the hemispherical shell the integration passes through horizontal rings from the apex downward. The current ring is gold, and lines from it to the center show its contribution. The graph in the control column shows \(|\vec{E}|\) as a function of \(\theta\), and the gray line is the other density function.

The \(-\lambda\) segment and the hole

On the wire with a hole you pull out a segment (orange-magenta for \(-\lambda\), cyan for \(+\lambda\), violet-white for \(+2\lambda\)) and drag it to the center of the wire. A \(-\lambda\) segment creates a dark "hole", and at the measurement point the orange vector overlaps the blue one and the hidden part fades away.

∇

The nabla tool \(\vec{\nabla}\)

Turn the tool on and move the mouse over the vertical plane that contains the bodies (on touch screens: tap). The probe shows \(|\vec{E}|\), the divergence \(\vec{\nabla}\cdot\vec{E}\) and the curl \(\vec{\nabla}\times\vec{E}\), computed from the field by finite differences. In this tool the wire is slightly thick: the charge is spread within a radius of 2 cm.

∫dE

The live equation panel

The glass window on the left side of the view is built together with you: the line of the current stage lights up, and the limits of the integral and the numbers run in real time until the final result.

The "integration time" slider

The metal bar at the bottom of the view: drag it to build the field yourself, or press ▶ to play the build-up and ❚❚ to stop at any moment.

Camera

Dragging rotates the camera, the wheel zooms in down to the level of a single charge element or out to infinite space, and dragging with the right button pans. The \(\lim_{l\to\infty}\) button pulls the camera back until the wire crosses the galaxy.

Speed and pause

The speed slider only changes the pace of the display (playing the integration, the shots in the ring and the animations), and ⏸ freezes everything. The physical values do not depend on the speed.

Sound

A soft electric hum that grows louder the stronger the field at the measurement point, and a muffled click when components cancel. The sound starts after the first click in the lab, and you can turn it off.

nC/m

Units

\(k = 8.99\times 10^9\,\frac{\text{N}\cdot\text{m}^2}{\text{C}^2}\). Wires: \(\lambda = 2.0\,\frac{\text{nC}}{\text{m}}\). Ring: \(Q = 5.0\,\text{nC}\), \(R = 0.30\,\text{m}\). Hemispherical shell: \(A = 3.0\,\frac{\text{nC}}{\text{m}^2}\), \(R = 0.40\,\text{m}\). Wire with a hole: \(b = 0.30\,\text{m}\).

To the lab ↓
Loading the lab...
Live equation panel
1

Experiments to try in the lab

  1. The "length limit" experiment (going from a finite wire to an infinite one). In the finite wire module, place the measurement point very close to the center of the wire. Use the slider to lengthen the wire in both directions symmetrically until it becomes an "infinite" wire, and follow the growth rate of the total field vector on the field meter.
    At the start of the stretching, you will see that the field strength grows at a fast rate. However, as the wire gets longer, the contribution of the ends of the wire keeps shrinking until the field settles at a constant value (as it appears in the formula for an infinite wire). Visually, you will notice that the vectors arriving from the far ends hit the measurement point at such a flat angle that their perpendicular components are completely negligible. This is a powerful demonstration that the field of an infinite wire does not tend to infinity, but is dominated almost entirely by the segment closest to it.
  2. The "symmetry breaker" experiment (charged ring). In the charged ring module, turn off the uniform charge density property and create a deliberate "defect": remove the charge from a small 12-degree segment of the ring. Run the summation integral and watch the direction of the total field vector.
    The moment we broke the perfect symmetry, the field vector tilts away from the Z axis. The defect creates a situation in which the charge segment lying exactly opposite the "hole" has no partner to cancel its horizontal component. This experiment proves sharply that the simple formula of a ring (which points only in the vertical direction) relies on a smooth and perfect charge distribution, and shows how geometric symmetry translates directly into physical vector cancellation.
  3. The "heat map flip" experiment (spherical shell). In the hemispherical shell module, change the charge density function from \(\sigma = A\cos\theta\) to \(\sigma = A\sin\theta\). Watch the change in the colors of the heat map on the dome and the updated process of summing the field.
    In the original function (cosine), the apex of the dome was charged at maximal density and the region of the equator was empty of charge. Now the picture flips: the whole equator glows while the apex is dark. Beyond the aesthetics, you will see how this change dramatically affects the total field vector – now most of the field contribution comes from the lower rim, at angles where the vertical component is weaker, which changes the result of the integral and builds a visual understanding of what the angular dependence of a surface density means.
  4. The "ghost matter" experiment (superposition with a wire and a hole). In the infinite wire with a hole module, do not fill the hole with an identical charge. Instead, drag into the "hole" a wire segment with a positive charge density twice \((+2\lambda)\) that of the rest of the wire, and check the vector result.
    The experiment reveals the true power of the superposition principle as a flexible mathematical tool. Instead of seeing "a wire with a hole" or "a wire with a varying density", the software shows you that the situation can be broken down into the sum of two simple bodies: an infinite wire of density \(\lambda\) plus a short segment of density \(\lambda\) (which completes the total \(+2\lambda\) in the region of the hole). This instills the understanding that superposition is not bound to the material reality of "what is missing", but makes it possible to build any configuration out of simple theoretical building blocks.
  5. The "field probing" experiment (nabla operators in space). Turn on the "nabla" tool \((\vec{\nabla})\) in the simulation. Move the mouse cursor through the empty space around the charged bodies, and then place the cursor physically on the charged body itself (for example, on the wire). Follow the values of the Divergence and the Curl shown on the meter.
    As you hover in empty space, the divergence will always be zero, even though strong electric field vectors exist there – this is because the field only "passes through" there and there is no source (charge) at that point. The moment you touch the charged wire, the divergence will jump drastically, which illustrates the immediate connection between divergence and the sources of the field (the differential form of Gauss's law). At the same time, you will see that the curl stays zero at every point in space, which cements the theoretical understanding that an electrostatic field is always a conservative field and never curls.