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 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.
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 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.
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 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.
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 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 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 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.
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\).
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.
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.
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.
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 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.
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.
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.
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.
\(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}\).