The electrical work per unit of charge, when moving a negligible test charge between two points, is defined as the voltage between those points. The work can be done by electrochemical devices (electrochemical cells) or different metals junctions generating an electromotive force.
Particles that are free to move, if positively charged, normally tend towards regions of lower voltage (net negative charge), while if negatively charged they tend to shift towards regions of higher voltage (net positive charge).
However, any movement of a positive charge into a region of higher voltage requires external work to be done against the field of the electric force, which is equal to the work that the electric field would do in moving that positive charge the same distance in the opposite direction. Similarly, it requires positive external work to transfer a negatively charged particle from a region of higher voltage to a region of lower voltage.
The electric force is a conservative force: work done by a static electric field is independent of the path taken by the charge. There is no change in the voltage (electric potential) around any closed path; when returning to the starting point in a closed path, the net of the external work done is zero. The same holds for electric fields.
This is the basis of Kirchhoff's voltage law, one of the most fundamental laws governing electrical and electronic circuits, according to which the voltage gains and the drops in any electrical circuit always sum to zero.
Given a charged object in empty space, Q+. To move q+ (with the same charge) closer to Q+ (starting from infinity, where the potential energy=0, for convenience), positive work would be performed. Mathematically:
c is usually set to 0 and r(0) to infinity (making the 1/r(0) term=0) Now, use the relationship
To show that in this case if we start at infinity and move the charge to r,
This could have been obtained equally by using the definition of W and integrating F with respect to r, which will prove the above relationship.
In the example both charges are positive; this equation is applicable to any charge configuration (as the product of the charges will be either positive or negative according to their (dis)similarity). If one of the charges were to be negative in the earlier example, the work taken to wrench that charge away to infinity would be exactly the same as the work needed in the earlier example to push that charge back to that same position. This is easy to see mathematically, as reversing the boundaries of integration reverses the sign.
Where the electric field is constant (i.e. not a function of displacement, r), the work equation simplifies to:
or 'force times distance' (times the cosine of the angle between them).
V is the voltage. Work is defined by: