Lectures on Electricity and Magnetism — new series of lectures – EML – 10, 11.
All articles in this series will be found here. Click on link to left or search for menu “E AND M BASICS” on top.
Electrostatic Potential Energy Of A System Of Charge, A Charged Sphere And A Conducting Solid Sphere, Lecture-10, 11.
Definition Of Potential energy Of An Electrostatic Distribution Of Charges
We assume the charges to be located infinitely away from each other, initially. The charges interact among each other electrically when they come closer together, by the dint of Coulomb’s force. This gives rise to an electrostatic force between each pair of charge. When the charges come closer we have to perform work against the Coulomb’s force of interaction — eg to move a unit positive test charge in their electrostatic field, at a uniform pace in infinitesimally short straight paths.
Electrostatic Potential Energy of a distribution of electric charges is then defined as the amount of electrostatic work done in assembling the distribution from their elements assumed to be located at infinity.
Previously we have discussed the concept of electrostatic potential energy and electrostatic potential for simple electrostatic charge distributions here and here. In this lecture we will take it up a notch and discuss advanced cases and evaluate their electrostatic potential energy for the following cases:
- for a system of charges
- for uniformly charged sphere and
- for a conducting solid sphere.
+ click to see more about this article
This article belongs to a group of lectures I intend to prepare for their online dissemination — these were delivered in a physical format, beginning with hand written notes that were delivered in a classroom full of students. This series is on Electricity and Magnetism and bears the name sake Electricity and Magnetism Lectures and the number of the lecture will be appended to the end to reflect the same. eg the current lectures will be named EML – 10, 11 . These lectures were delivered to honors students on 20th Feb 2017. The last part of the lectures was delivered to a different class on 18th May 2019.
In the meanwhile if you can’t wait and you need some of these concepts at the earliest, here is a slide-share presentation I had made roughly 5 years ago that consists of “some of the things” an undergrad needs: Electricity and Magnetism slides. There are other slides on different topics at that account of mine on slideshare.net (such as; Introduction to Quantum Mechanics , and these are quite well received by the community for their usefulness).
Electrostatic Potential Energy Of A System Of Discrete Charge
Electrostatic Potential Energy Of A Pair Of Charge
Lets first derive the electrostatic potential energy for two point charges q1 and q2 which are located at points given by position vectors r1 and r2. Lets consider the following diagram which aptly depicts the situation.

The potential energy of this simple system can be equivalently determined by two methods;
- Keep q1 fixed at position given by vector r1 and bring q2 from ∞ to position given by vector r2.
- Keep q2 fixed at position given by vector r2 and bring q1 from ∞ to position given by vector r1.
We will follow the first method. Charge q2 is brought from ∞ to vector r2 along . At point P (which is located at distance s, from O, along
) electric field vector experienced by q2 (due to q1) is given by:
, where AP is the separation vector and θ is the angle between position vectors r1 and r2 as shown.
Force F experienced by q2 is given by: . q2 is displaced from s to s – ds along PO so displacement is
. Work done against the electrostatic force of Coulomb interaction is
.
φ is the angle between PA and PO (i.e. between and
which is same as between
and
). Cosine of this angle is given by:
. We now integrate dU from s = ∞ to s = r2. We obtain:
.
You can take this as a homework to prove that: where r12 is short notation for
and therefore is the distance between the tip of r1 and r2, i.e. its the separation between r1 and r2, position vectors: in still simpler terms its the distance between the pair of charges q1 and q2.
+ To see how this is done click here (you can hide this by another click)
We have to prove that . Lets assume
, with this substitution:
so that:
.
When s = ∞, y = ∞; when s = r2, y = (r12)2, we have already mentioned that . Thus we have:
. QED.
Electrostatic Potential Energy Of Many Pair Of Charges
Lets now generalize the above result we obtained to the case when there are more than 1 pair of charges in the configuration. Let charges q1, q2, q3 … qN be located at the positions given by position vectors r1, r2, r3 … rN.
Electrostatic Potential Energy Of 3 Discrete Charges
(3 × 2) / 2 = 3 Pairs Of Charge: For bringing charge q3 to position specified by vector r3, from ∞, when q1 and q2 are already present at r1 and r2 respectively, we use the superposition principle according to which: the total wok done in moving a 3rd charge in the combined field of two charges is the sum of the work done against the forces due to each of the two charges separately, i.e. in our notation of the potential energy: .
So for a system of 3 charges for which there can be 3 pair of charges, the total potential energy of the configuration is the individual sum of potential energy for each pair, i.e. .
An alternative way to see this: we can also think of this as assembling the charges into its present configuration beginning with bringing the charges one by one, from ∞, to their respective positions. For the first charge there won’t be any work done. For the second charge the work done is what we calculated as potential energy of a pair of charge. The 3rd charge will experience force from each of the first two, as part of the pair it is considered in. So there are 3 pairs and each pair contribute according to the expression we first derived for the pair. viz.
Electrostatic Potential Energy Of 4 Discrete Charges
(4 × 3) / 2 = 6 Pairs Of Charge: Similarly we can write the potential energy of 4 discrete charges q1, q2, q3, q4 at locations: r1, r2, r3, r4. There are now 6 pairs and the index i runs from 1 to 4 while index j runs from 2 to 5 respectively (i.e j = i + 1). The first particle comes to its position and no work is done. For the second particle the work done equals potential energy of the pair as derived above: this is the first pair. For the 3rd charge there are now two pairs formed with the first and the second charge: these are the 2nd and the 3rd pair. For the 4th charge there are 3 pairs with the 3 charges already brought in: these are the 4th, 5th and the 6th pair. Hence for the Nth charge there are always N – 1 pairs that are formed by the Nth charge with the N – 1 previously occupied charges. In concise indexed notation we write: .
Electrostatic Potential Energy Of N Discrete Charges
(N × (N – 1)) / 2 Pairs Of Charge: Now we can easily generalize this to the case of the N discrete charge system, which as we mentioned consists of (N × (N – 1)) / 2 pairs with each pair of charge denoted by indices i and j has a distance of separation given by the magnitude of the separation vector rij: where
. So the potential energy of a N discrete charge configuration where the respective charges are at their respective positions (charges q1, q2, q3 … qN are located at the positions given by position vectors r1, r2, r3 … rN) is given by:
.
Alternative Ways to Express Potential Energy Of Electrostatic Configurations
Before we delve into our next interesting problem for calculating the electrostatic potential energy we will first show that there are several equivalent ways of representing the electrostatic potential energy.
Electrostatic Potential Energy of a Discrete Charge Configuration
We have already seen above that for a discrete charge distribution with point charges qi at positions given by vectors ri, i = 1, 2, 3, …, N the total electrostatic potential energy is given by: where rij is given by:
and
.
Electrostatic Potential Energy Of A Discrete Charge Configuration In Terms Of Potential
We now want to rewrite the electrostatic potential energy into an alternate form: with
, called the potential, which is produced by charges with index j except i and experienced by the charge with index i.
Electrostatic Potential Energy Of A Continuous Charge Configuration In Terms Of Potential
This can now be generalized to continuous charge distributions which are characterized by the volumetric charge distribution: and we have the expression for potential energy in terms of potential by the expression:
.
Electrostatic Potential Energy Of A Continuous Charge Configuration In Terms Of Electric Field
We can use vector identities (you can check some of them here) to recast the above expression for electrostatic potential energy into another relevant form, in terms of the electric field vector E, instead of the scalar field “potential” Φ that we have been dealing so far with.
Application of Gauss Divergence Theorem
We know that: . Now we will integrate this expression over a volume (whose infinitesimal element is dτ):
. We can now convert the left hand side of the equation into a surface integral by using Gauss Divergence Theorem (The Gauss divergence theorem relates the flux of a vector field through a closed surface to the divergence of the field in the volume bounded by the surface, mathematically:
).
We have after this application: , with slight rearrangement:
.
Application of Gauss Law to convert Potential into Electric Field
We just mentioned above the form of the electrostatic potential energy for a continuous distribution in terms of potential: and the volume charge density is given by Gauss Law (Gauss Law is discussed in detail here)
. Using the second expression in the first:
.
In order to use the vector identity we established above (viz. ) we recognize vector variables A = E and scalar functions f = Φ. With this the potential energy is now given as:
. But the electric field is the negative gradient of the potential:
(worked out here in great detail). This leads to the following expression therefore for the potential energy:
.
If we include all space for the integration (parts where there is no charge sources does not contribute) the first term is slated to increase with volume only (as integrand is a square term and is positive) this increase must be compensated by the decrease in the second term. The second term’s variation is ~ 1/r term, this can be seen from E → 1/r2, dτ → r3, Φ → 1/r and dS → r2 etc. Since we took volume V to be all space this means the bounding surface of this volume (which is S if you have been attentive all along) has a radius which is ∞.
Thus as we just understood the second term must go to zero at this limit. We are left with: .
is known as the energy density of the electrostatic field.
Electrostatic Potential Energy Of Uniform (Non-conducting) Spherical Charge Distribution
For calculating the potential energy of a sphere of charge distribution we need to assemble shells with uniformly distributed charge from their initial position at ∞ to the desirable final position which can vary from radius r = 0 to r = R, R being the specified radius of the sphere of charge. Let us depict the situation by the following diagram.

At any intermediate stage we have a sphere of radius r up-to which the desired sphere has been completed, and a shell of thickness dr’ and is brought from ∞ and located at r’. Thus this intermittent radius r’ has an initial value ∞ and final value r. The uniformly charged shell is outside of the sphere of radius r and experiences a field due to the charged sphere of radius r.
This field is given by: . The points on the shell are moving along
. Charge on the shell = dq = 4πρr2dr. Work done (by external agent) in moving the shell a distance of dr’ (against the electrostatic force exerted by the charged sphere of radius r *)
.
* Remember that its necessarily a repulsive force for the given configuration of spherical charge since we are building a uniform sphere where all charges are alike.
in general for calculation of potential or potential energy in other circumstances, it can be an attractive force as well
Total work done in bringing the shell from r’ = ∞ to r’ = r, against the repulsive electrostatic force of the charge already sitting in the sphere of radius r, is then given by: .
We now continue building the sphere from r = 0 to r = R. For this the work done is given by integrating the last expression: . But Q = (4πρR3)/3. Thus teh potential energy is determined to be:
.
Electrostatic Potential Energy Of Uniform Conducting Solid Sphere
Application: Compute the electrostatic energy of a conducting solid sphere of radius R and having total charge Q using the expressions for the electrostatic energy in terms of the electric field E of the above sphere.
For conductors electric field is zero if r < R. For r ≥ R, E = kQ/r2 so . Its fairly easy and basic to evaluate this integral, so take this as a homework. We get the final expression for the electrostatic potential energy of a charged conducting sphere to be
which is identical for that of a spherical conducting shell as well. (Take
, solid angle integration gives 4π). This makes sense since on a solid conducting sphere all charges reside on its surface which is equipotential, inside of it field is zero, contributing to no potential energy (this is the beauty of the potential energy expression in terms of square of electric field). Outside of it the shell and the solid sphere have same form for the potential as just given. Inside of the solid sphere the potential has to be constant (by integrating the zero electric field we obtain a constant).
There are several other configurations where we can calculate the potential and now we have multiple methods of doing so. Electrodynamics text of Griffith is a good source of such problems and multiple ways to solve these problems. There are a treasure trove of other excellent texts on electricity and magnetism.
Now its enough to hit the publish button I guess.