Electric Potential (Part 2)
We drag charges in one by one, crunch the work each step takes, and land on a neat double-sum formula for the total electric potential energy of a system.
This time, let’s bring in the charges one by one, from q1 all the way to qn, into a space that has nothiiiing in it.
I’ll calculate the energy it takes to move them!
Why??????????Why go through all that??????????
You’ll see once we do the calculation — move the charges slowly and hold the ones already placed fixed. Then our external work equals the change in interaction energy (and can be positive or negative),
we do the work and ~ then calculate the energy

Okay, we brought q1 to r1. Well, there’s no electric field for this one, so.. W=0.

When we bring q2, we have to do work against the electric field made by q1, so it’ll take energy, right???


The energy it takes to bring q3 can also be written out easily~


By now you probably get it…..

So if we move all of them up to qn and add up each of the energies it took, it’d be W1+ W2 + ……+ Wn, right~

This makes sense!!!
Buuuuuut buuuuuut buuuuuut, who’s gonna sit there counting one by one by oneeee~~ when there are soooo many of them!!
So with the thought “ah screw it, let’s just straight-up count each one twice, add ’em all up, then divide by 2!!!!”
if we compute Wtot that way,

The reason I did it this way~~~~

In the last pictured line, keep the potential inside the sum: $W=\frac12\sum_i q_iV_{\rm others}(\mathbf r_i)$. Each position generally has a different potential, and a charge does not include its own potential!
Now I need to answer the question I threw out at the very~~~ beginning.
Why did we go through all that trouble dragging the charges in one by one lol
After computing this whole thing we’ve dragged in, we have the charges’ interaction energy — not the electric field itself,
or equivalently, the same as computing the energy that the object (made up of all those charges bunched together) has~~ so
now let’s look at the case where the charge distribution is continuous.

In the middle expression, retain the factor one-half: $W=(\epsilon_0/2)\int V(\nabla\cdot\mathbf E)\,d\tau$.
This field-energy equality is for a smooth localized charge distribution, integrating over all space with the boundary term vanishing at infinity. For ideal point charges, the full $\epsilon_0\int E^2d\tau/2$ also contains infinite self-energies; our finite pair sum leaves those out. Keep that distinction when switching between the two formulas!
(This is going to come in handy laaaaaater, like reeeeeally way later!!!!
What’s the total of the electric field energy and the magnetic field energy in some space — what’s it gonna beee?!?!)
That’s when this formula gets used~ hehehehehe we won’t derive it then though, hehe
Just think of it simplyyy as being the same as computing the energy contained in the E in space, and let’s move on~
Questions or corrections?
Did a step lose you, or does a number look off? Email me or use the contact page. Include the note title and the step or figure you mean.
Feedback goes to me privately by email; it is not posted as a public comment.