For example, the voltage appearing across an inductor or coil is due to a change in current which causes a change in the magnetic field within the coil, and therefore the self-induced voltage. The polarity of the voltage at every moment opposes that of the change in applied voltage, to keep the current constant.