thermoelectricity, direct conversion of heat into electric energy, or vice versa. The term is generally restricted to the irreversible conversion of electricity into heat described by the English physicist James P. Joule and to three reversible effects named for Seebeck, Peltier, and Thomson, their respective discoverers. According to Joule's law, a conductor carrying a current generates heat at a rate proportional to the product of the resistance ( R ) of the conductor and the square of the current ( I ). The German physicist Thomas J. Seebeck discovered in the 1820s that if a closed loop is formed by joining the ends of two strips of dissimilar metals and the two junctions of the metals are at different temperatures, an electromotive force, or voltage, arises that is proportional to the temperature difference between the junctions. A circuit of this type is called a thermocouple; a number of thermocouples connected in series is called a thermopile. In 1834 the French physicist Jean C. A. Peltier discovered an effect inverse to the Seebeck effect: If a current passes through a thermocouple, the temperature of one junction increases and the temperature of the other decreases, so that heat is transferred from one junction to the other. The rate of heat transfer is proportional to the current and the direction of transfer is reversed if the current is reversed. The Scottish scientist William Thomson (later Lord Kelvin) discovered in 1854 that if a temperature difference exists between any two points of a current-carrying conductor, heat is either evolved or absorbed depending upon the material. (This heat is not the same as Joule heat, or I 2 R heat, which is always evolved.) If heat is absorbed by such a circuit, then heat may be evolved if the direction of the current or of the temperature gradient is reversed. It can be shown that the Seebeck effect is a result of the combined Peltier and Thomson effects. Magnetic fields have been shown to influence all these effects. Many devices based on thermoelectric effects are used to measure temperature, transfer heat, or generate electricity.