In our examination of the first of Maxwell’s four equations, we saw that magnetic charge doesn’t exist as far as we can tell. On the other hand, electric charge permeates every aspect of our existence. The motion of charged electrons is one of the central pillars of modern civilization. The way that electric charge creates an electric field is the subject of the second of Maxwell’s equations. In its full mathematical glory:
The triangle and the dot represent the divergence, exactly as in the first Maxwell equation. The letter E is the electric field. Unlike the magnetic field divergence equation, the divergence of the electric field is not zero everywhere. Instead, it’s equal to the charge density denoted by the Greek letter rho, divided by the electric constant, Greek letter epsilon.
Time for a quick review of divergence. It’s a property of a vector field (such as an electric field) that describes the sources of field lines. Field lines are not physically real but instead serve as a schematic representation, with their direction pointing along the field and their closeness representing the field strength. Draw a little box around a region of space, and if there’s more field lines leaving, you have positive divergence. If there’s more entering than leaving, you have negative divergence. If they’re the same, you have zero divergence.
All three possibilities are pictured in this snazzy Wikipedia image:
There’s two charges, one positive and one negative. In the space outside the charges, there’s no charge density. Therefore according to our equation, the divergence has to be zero. Sure enough if you draw a little box there’s just as many field lines entering as there are leaving. But draw a box around one of the charges and the situation is entirely different. There’s an excess of field lines leaving the positive charge (positive divergence) and an excess of field lines entering the negative charge (negative divergence).
This result was known well before Maxwell, and is in fact separately named Gauss’ Law in honor of the great Carl Gauss who did pioneering work in this kind of mathematics. If you know the appropriate calculus, it’s a snappy two-line calculation to derive the more elementary Coulomb’s Law version of the field of a point particle. One minor technicality of Gauss’ Law is that it gives the electric field divergence in terms of a continuous charge density. While this is a near-perfect approximation for macroscopic charge distributions, point particles technically don’t have a finite charge density by virtue of not having volume. This can be mathematically fixed by the method of the delta function.
You might notice that in the sample picture we’ve picked the field lines are closer together in the area between the charges. This is a typical feature of many charge configurations, related to the close mathematical correspondence between the “flow” of field lines down voltage gradients and the flow of water down a hill. If you build up charges on your body by rubbing the floor with your socks, you can feel this process in the form of a zap when the charges in your body come near to the charges in a door knob. The high field from the close proximity breaks down the resistance of the air and makes a spark.
All right, that’s two equations down, two to go. In fact at this point we’re done with electrostatics. However our world is one where charges move and currents flow, so we and Maxwell have two more equations to go before we’ve covered the whole sweeping panorama of electromagnetism.