`color{blue} ✍️` Consider first the simple case of two charges `q_1` and `q_2` with position vector `r_1` and `r_2` relative to some origin.
`color{blue} ✍️` Let us calculate the work done (externally) in building up this configuration. This means that we consider the charges `q_1` and `q_2` initially at infinity and determine the work done by an external agency to bring the charges to the given locations.
`color{blue} ✍️` Suppose, first the charge `q_1` is brought from infinity to the point `r_1`.
`color{blue} ✍️` There is no external field against which work needs to be done, so work done in bringing `q_1` from infinity to `r_1` is zero. This charge produces a potential in space given by
`color{green} {V = 1/(4piepsilon_0) (q_1)/(r_(1P)}`
`color{blue} ✍️` where `r_(1P)` is the distance of a point P in space from the location of `q_1.` From the definition of potential, work done in bringing charge `q_2` from infinity to the point `r_2` is `q_2` times the potential at `r_2` due to `q_1:`
work done on `color{green} {q_2= 1/(4piepsilon_0) (q_1q_2)/(r_12)}`
`color{blue} ✍️` where `r_(12)` is the distance between points 1 and 2. Since electrostatic force is conservative, this work gets stored in the form of potential energy of the system. Thus, the potential energy of a system of two charges `q_1` and `q_2` is
`U = 1/(4piepsilon_0) (q_1q_2)/(r_12)` ........................ 2.22
`color{blue} ✍️` Obviously, if `q_2` was brought first to its present location and `q_1` brought later, the potential energy `U` would be the same.
`color{blue} ✍️` More generally, the potential energy expression, Eq. (2.22), is unaltered whatever way the charges are brought to the specified locations, because of path-independence of work for electrostatic force.
`color{blue} ✍️` Equation (2.22) is true for any sign of `q_1` and `q_2`. If `q_1q_2 > 0`, potential energy is positive.
`color{blue} ✍️` This is as expected, since for like charges `(q_1q_2 > 0),` electrostatic force is repulsive and a positive amount of work is needed to be done against this force to bring the charges from infinity to a finite distance apart. For unlike charges `(q_1 q_2 < 0),` the electrostatic force is attractive.
`color{blue} ✍️` In that case, a positive amount of work is needed against this force to take the charges from the given location to infinity.
`color{blue} ✍️` In other words, a negative amount of work is needed for the reverse path (from infinity to the present locations), so the potential energy is negative. Equation (2.22) is easily generalised for a system of any number of point charges.
`color{blue} ✍️` Let us calculate the potential energy of a system of three charges `q_1, q_2 and q_3` located at `r_1, r_2, r_3`, respectively.
`color{blue} ✍️` To bring `q_1` first from infinity to `r_1`, no work is required. Next we bring `q_2` from infinity to `r_2`. As before, work done in this step is
`q_2 V_1 (r_2) = 1/(4piepsilon_0)(q_1q_2)/(r_12)` ..................2.23
`color{blue} ✍️` The charges `q_1` and `q_2` produce a potential, which at any point P is given by
`V(1,2) = 1/(4piepsilon_0) ((q_1)/(r_(1P)) +(q_1)/(r_(2P)))` .......................... 2.24
`color{blue} ✍️` Work done next in bringing `q_3` from infinity to the point `r_3` is `q_3` times `V_(1, 2)` at `r_3`
`q_2 V_(1,2) (r_2) = 1/(4piepsilon_0) ((q_1q_3)/(r_13)+(q_2q_3)/(r_23))` ............................. 2.25
`color{blue} ✍️` The total work done in assembling the charges at the given locations is obtained by adding the work done in different steps [Eq. (2.23) and Eq. (2.25)],
`U = 1/ (4 pi epsi_0 ) ( ( q_1q_2)/r_(12) + ( q_1q_3)/r_(13) + (q_2q_3)/r_23 )`
...........2.26
`color{blue} ✍️` Again, because of the conservative nature of the electrostatic force (or equivalently, the path independence of work done), the final expression for U, Eq. (2.26), is independent of the manner in which the configuration is assembled.
`color{blue} ✍️` The potential energy is characteristic of the present state of configuration, and not the way the state is achieved.
`color{blue} ✍️` Consider first the simple case of two charges `q_1` and `q_2` with position vector `r_1` and `r_2` relative to some origin.
`color{blue} ✍️` Let us calculate the work done (externally) in building up this configuration. This means that we consider the charges `q_1` and `q_2` initially at infinity and determine the work done by an external agency to bring the charges to the given locations.
`color{blue} ✍️` Suppose, first the charge `q_1` is brought from infinity to the point `r_1`.
`color{blue} ✍️` There is no external field against which work needs to be done, so work done in bringing `q_1` from infinity to `r_1` is zero. This charge produces a potential in space given by
`color{green} {V = 1/(4piepsilon_0) (q_1)/(r_(1P)}`
`color{blue} ✍️` where `r_(1P)` is the distance of a point P in space from the location of `q_1.` From the definition of potential, work done in bringing charge `q_2` from infinity to the point `r_2` is `q_2` times the potential at `r_2` due to `q_1:`
work done on `color{green} {q_2= 1/(4piepsilon_0) (q_1q_2)/(r_12)}`
`color{blue} ✍️` where `r_(12)` is the distance between points 1 and 2. Since electrostatic force is conservative, this work gets stored in the form of potential energy of the system. Thus, the potential energy of a system of two charges `q_1` and `q_2` is
`U = 1/(4piepsilon_0) (q_1q_2)/(r_12)` ........................ 2.22
`color{blue} ✍️` Obviously, if `q_2` was brought first to its present location and `q_1` brought later, the potential energy `U` would be the same.
`color{blue} ✍️` More generally, the potential energy expression, Eq. (2.22), is unaltered whatever way the charges are brought to the specified locations, because of path-independence of work for electrostatic force.
`color{blue} ✍️` Equation (2.22) is true for any sign of `q_1` and `q_2`. If `q_1q_2 > 0`, potential energy is positive.
`color{blue} ✍️` This is as expected, since for like charges `(q_1q_2 > 0),` electrostatic force is repulsive and a positive amount of work is needed to be done against this force to bring the charges from infinity to a finite distance apart. For unlike charges `(q_1 q_2 < 0),` the electrostatic force is attractive.
`color{blue} ✍️` In that case, a positive amount of work is needed against this force to take the charges from the given location to infinity.
`color{blue} ✍️` In other words, a negative amount of work is needed for the reverse path (from infinity to the present locations), so the potential energy is negative. Equation (2.22) is easily generalised for a system of any number of point charges.
`color{blue} ✍️` Let us calculate the potential energy of a system of three charges `q_1, q_2 and q_3` located at `r_1, r_2, r_3`, respectively.
`color{blue} ✍️` To bring `q_1` first from infinity to `r_1`, no work is required. Next we bring `q_2` from infinity to `r_2`. As before, work done in this step is
`q_2 V_1 (r_2) = 1/(4piepsilon_0)(q_1q_2)/(r_12)` ..................2.23
`color{blue} ✍️` The charges `q_1` and `q_2` produce a potential, which at any point P is given by
`V(1,2) = 1/(4piepsilon_0) ((q_1)/(r_(1P)) +(q_1)/(r_(2P)))` .......................... 2.24
`color{blue} ✍️` Work done next in bringing `q_3` from infinity to the point `r_3` is `q_3` times `V_(1, 2)` at `r_3`
`q_2 V_(1,2) (r_2) = 1/(4piepsilon_0) ((q_1q_3)/(r_13)+(q_2q_3)/(r_23))` ............................. 2.25
`color{blue} ✍️` The total work done in assembling the charges at the given locations is obtained by adding the work done in different steps [Eq. (2.23) and Eq. (2.25)],
`U = 1/ (4 pi epsi_0 ) ( ( q_1q_2)/r_(12) + ( q_1q_3)/r_(13) + (q_2q_3)/r_23 )`
...........2.26
`color{blue} ✍️` Again, because of the conservative nature of the electrostatic force (or equivalently, the path independence of work done), the final expression for U, Eq. (2.26), is independent of the manner in which the configuration is assembled.
`color{blue} ✍️` The potential energy is characteristic of the present state of configuration, and not the way the state is achieved.