One point charge q in the presence of another point charge Q The electrostatic potential energy,
UE, of one point charge
q at position
r in the presence of a point charge
Q, taking an infinite separation between the charges as the reference position, is: U_E(\mathbf r) = \frac{1}{4\pi \varepsilon_0} \frac{qQ}{r} where
r is the distance between the point charges
q and
Q, and
q and
Q are the charges (not the absolute values of the charges—i.e., an
electron would have a negative value of charge when placed in the formula). The following outline of proof states the derivation from the definition of electric potential energy and
Coulomb's law to this formula. {{math proof The electrostatic force
F acting on a charge
q can be written in terms of the electric field
E as \mathbf{F} = q\mathbf{E} , By definition, the change in electrostatic potential energy,
UE, of a point charge
q that has moved from the reference position
rref to position
r in the presence of an electric field
E is the negative of the work done by the
electrostatic force to bring it from the reference position
rref to that position
r. U_E(r) - U_E(r_{\rm ref}) = -W_{r_{\rm ref} \rightarrow r } = -\int_{{r}_{\rm ref}}^r q\mathbf{E} \cdot \mathrm{d} \mathbf{s} . where: •
r = position in 3d space of the charge
q, using cartesian coordinates
r = (
x,
y,
z), taking the position of the
Q charge at
r = (0,0,0), the scalar
r =
r is the
norm of the position vector, • d
s = differential
displacement vector along a path
C going from
rref to
r, • W_{r_\text{ref} \to r } is the work done by the electrostatic force to bring the charge from the reference position
rref to
r, Usually
UE is set to zero when
rref is infinity: U_E (r_{\rm ref}=\infty) = 0 so U_E(r) = - \int_\infty^r q\mathbf{E} \cdot \mathrm{d} \mathbf{s} When the
curl is zero, the line integral above does not depend on the specific path
C chosen but only on its endpoints. This happens in time-invariant electric fields. When talking about electrostatic potential energy, time-invariant electric fields are always assumed so, in this case, the electric field is
conservative and Coulomb's law can be used. Using
Coulomb's law, it is known that the electrostatic force
F and the electric field
E created by a discrete point charge
Q are radially directed from
Q. By the definition of the position vector
r and the displacement vector
s, it follows that
r and
s are also radially directed from
Q. So,
E and d
s must be parallel: \mathbf{E} \cdot \mathrm{d} \mathbf{s} = \left|\mathbf{E}\right| \cdot \left|\mathrm{d}\mathbf{s}\right| \cos(0) = E \, \mathrm{d}s Using Coulomb's law, the electric field is given by \left|\mathbf{E}\right| = E = \frac{1}{4\pi\varepsilon_0}\frac{Q}{s^2} and the integral can be easily evaluated: U_E(r) = -\int_\infty^r q\mathbf{E} \cdot \mathrm{d} \mathbf{s} = -\int_\infty^r \frac{1}{4\pi\varepsilon_0}\frac{qQ}{s^2} \, \mathrm{d}s = \frac{1}{4\pi\varepsilon_0}\frac{qQ}{r} = k_e\frac{qQ}{r} }}
One point charge q in the presence of n point charges Qi The electrostatic potential energy,
UE, of one point charge
q in the presence of
n point charges
Qi, taking an infinite separation between the charges as the reference position, is: U_E(r) = \frac{q}{4\pi\varepsilon_0} \sum_{i=1}^n \frac{Q_i}{r_i}, where
ri is the distance between the point charges
q and
Qi, and
q and
Qi are the assigned values of the charges. ==Electrostatic potential energy stored in a system of point charges==