Imagine that you are standing in the middle of a plaza, and several friends are trying to pull or push you with invisible ropes. If two strong friends pull you with exactly the same force but in completely opposite directions, you will stay in place, because the forces will cancel each other out completely. But if several friends stand at different angles, you will have to weigh the direction and strength of each pull separately to know where exactly you will fly off in the end. Each friend acts independently, but your motion is the combined result of all of them together - and this is exactly the way electric charges affect one another in space.
The electric force acting between two point charges is described in physics by Coulomb's law: \[\vec{F} = \frac{1}{4\pi\epsilon_0}\frac{q_1 q_2}{r^2}\hat{r}.\] This equation states that the magnitude of the force is directly proportional to the product of the charges, and inversely proportional to the square of the distance between them, where the direction \((\hat{r})\) is set by the signs of the charges (like charges repel, opposite charges attract).
Since in nature charges usually do not act in single pairs, we rely on the superposition principle. This principle states that the total force acting on a charge is the vector sum of all the forces exerted on it by each of the other charges separately: \[\vec{F}_{total} = \sum \vec{F}_i.\] To solve such a system in two dimensions, we resolve each force vector into its \(x\) and \(y\) components. Then, the magnitude of the resultant force is calculated with the Pythagorean theorem: \[\left|\vec{F}_{total}\right| = \sqrt{F_x^2 + F_y^2},\] and its direction (the angle) is found with the tangent function: \[\theta = \tan^{-1}\left(\frac{F_y}{F_x}\right).\] This approach makes it possible to break complicated systems down into simple algebraic calculations and to predict the dynamics of the system precisely.
All the charges are locked to the plane of the table (2D), even when you rotate the camera. Each grid cell is 0.1 m, and the X axis and Y axis are marked with bright lines that meet at the test charge.
Red spheres for positive charges \((+)\) and blue spheres for negative charges \((-)\). The larger the charge, the larger the sphere and the stronger its halo. The label above each sphere is the size of the charge.
The white sphere at the center of the grid, \(q_0 = +1Q\), fixed at the origin. All the forces are calculated on it.
A thin flowing beam runs from each source to the test charge, and a thin arrow in the color of the source comes out of the test charge: the force \(\vec{F}_i\) according to Coulomb's law. For repulsion the arrow points away from the source, and for attraction it points in toward it.
The thick arrow is the vector sum \(\vec{F}_{total} = \sum \vec{F}_i\). The length of every arrow is proportional to the magnitude of the force: one cell for every \(0.05\,\text{N}\). An arrow longer than 10 cells is cut at length 10.
A gold arc between the X axis and the gold arrow: exactly the angle that the formula \(\theta = \tan^{-1}\left(\frac{F_y}{F_x}\right)\) calculates in the math panel. The angle is measured counterclockwise from the X axis.
In the top right corner: the sum of the \(x\) components and the sum of the \(y\) components, the Pythagorean theorem and the angle, with the numbers of the system at this moment.
The Resolution Cam button switches to a top view (Top-Down 2D). There, "Show components" splits every diagonal vector into two dashed arrows: the \(X\) component from the test charge, and the \(Y\) component from the tip of the \(X\) component.
Clicking a charge selects it (a gold ring) and opens its slider in the control column, from \(-5Q\) to \(+5Q\). Dragging moves it across the table in steps of half a cell, and no closer than one cell to the test charge.
"The Magic of Symmetry" places five \(+Q\) charges on a semicircle around the test charge, and shows in an animation the \(Y\) components cancelling and the \(X\) components adding up.
Dragging on empty background rotates the camera through 360 degrees, the wheel zooms in and out, and dragging with the right button pans. In the top view the camera does not rotate.
The speed slider only changes the pace of the animation (the pulsing, the flow of the beams and the symmetry scenario), and ⏸ freezes it. The forces themselves do not depend on time.
\(Q = 1\,\mu\text{C}\), one cell \(= 0.1\,\text{m}\) and \(\frac{1}{4\pi\epsilon_0} = 8.99\times 10^9\,\frac{\text{N}\cdot\text{m}^2}{\text{C}^2}\). So the force between \(+1Q\) and \(q_0\) at a distance of one cell is \(0.899\,\text{N}\).