There is also a generalized electric scalar potential that is used in electrodynamics when time-varying electromagnetic fields are present. This generalized electric potential cannot be simply interpreted as potential energy per unit charge, however.
Electric potential may be conceived of as "electric pressure". Where this "pressure" is uniform, no current flows and nothing happens. This is similar to why people do not feel normal atmospheric air pressure: there is no difference between the pressure inside the body and outside, so nothing is felt. However, where this electrical pressure varies, an electric field exists, which will create a force on charged particles.
Mathematically, it is the potential φ (a scalar field) associated with the conservative electric field () that occurs when the magnetic field is time invariant (so that from Faraday's law of induction).
Like any potential function, only the potential difference (voltage) between two points is physically meaningful (neglecting quantum Aharonov-Bohm effects), since any constant can be added to φ without affecting (gauge invariance).
The electric potential can also be generalized to handle situations with time-varying potential fields, in which case the electric field is not conservative and a potential function cannot be defined everywhere in space. There, an effective potential drop is included, associated with the inductance of the circuit. This generalized potential difference is also called the electromotive force (emf).
Force and potential energy are directly related. As an object moves in the direction that the force accelerates it, its potential energy decreases. For example, the gravitational potential energy of a cannonball at the top of a hill is greater than at the base of the hill. As the object falls, that potential energy decreases and is translated to motion, or inertial (kinetic) energy.
For certain forces, it is possible to define the "potential" of a field such that the potential energy of an object due to a field is dependent only on the position of the object with respect to the field. Those forces must affect objects depending only on the intrinsic properties of the object and the position of the object, and obey certain other mathematical rules.
Two such forces are the gravitational force (gravity) and the electric force in the absence of time-varying magnetic fields. The potential of an electric field is called the electric potential.
where is the electric potential energy of a test charge q due to the electric field. Note that the potential energy and hence also the electric potential is only defined up to an additive constant: one must arbitrarily choose a position where the potential energy and the electric potential is zero.
The proper definition of the electric potential uses the electric field :
where C is an arbitrary path connecting the point with zero potential to the point under consideration. When , the line integral above does not depend on the specific path C chosen but only on its endpoints. Equivalently, the electric potential determines the electric field via its gradient:
Note: these equations cannot be used if , i.e., in the case of a nonconservative electric field (caused by a changing magnetic field; see Maxwell's equations). The generalization of electric potential to this case is described below.
When time-varying magnetic fields are present (which is true whenever there are time-varying electric fields and vice versa), one cannot describe the electric field simply in terms of a scalar potential ; because the electric field is no longer conservative: is path-dependent because .
Instead, one can still define a scalar potential by also including the magnetic vector potential . In particular, is defined by:
where is the magnetic flux density. One can always find such an because (the absence of magnetic monopoles). Given this, the quantity is a conservative field by Faraday's law and one can therefore write:
where φ is the scalar potential defined by the conservative field .
The electrostatic potential is simply the special case of this definition where is time-invariant. On the other hand, for time-varying fields, note that , unlike electrostatics.
Note that this definition of φ depends on the gauge choice for the vector potential (the gradient of any scalar field can be added to without changing ). One choice is the Coulomb gauge, in which we choose . In this case, we obtain , where ρ is the charge density, just as for electrostatics. Another common choice is the Lorenz gauge, in which we choose to satisfy .
The electric potential created by a point charge q, at a distance r from the charge, can be shown to be, in SI units:
The electric potential due to a system of point charges is equal to the sum of the point charges' individual potentials. This fact simplifies calculations significantly, since addition of potential (scalar) fields is much easier than addition of the electric (vector) fields.
The electric potential created by a tridimensional spherically symmetric gaussian charge density given by:
The solution is given by:
where erf(x) is the error function. This solution can be checked explicitly by a careful manual evaluation of . Note that, for r much greater than σ, erf(x) approaches unity and the potential approaches the point charge potential seen above, as expected.