Electromagnetism is one of the four fundamental interactions of nature, along with strong interaction, weak interaction and gravitation. It is the force that causes the interaction between electrically charged particles; the areas in which this happens are called electromagnetic fields.
Electromagnetism is the force responsible for practically all the phenomena encountered in daily life (with the exception of gravity). This includes the forces we experience in "pushing" or "pulling" ordinary material objects (such as coffee cups), which come from the intermolecular forces between the individual molecules in our bodies and those in the objects. These in turn result from the forces involved in interactions between atoms, which themselves can be traced to electromagnetism acting on the electrically charged protons and electrons inside the atoms.
Electromagnetism is also the force which holds electrons and protons together in atoms, and which holds atoms together to make molecules, thus governing of the processes involved in chemistry, which arise from interactions between the electrons orbiting atoms.
The force of electromagnetism is manifested both in electric fields and magnetic fields; both are simply different aspects of electromagnetism, and hence are intrinsically related to each other. Thus, a changing electric field generates a magnetic field; coversely a changing magnetic field generates an electric field. This effect is called electromagnetic induction, and is the basis of operation for electrical generators, induction motors, and transformers. Mathematically speaking, magnetic fields and electric fields are convertible with relative motion as a four vector.
Electric fields are the cause of several common phenomena, such as electric potential (such as the voltage of a battery) and electric current (such as the flow of electricity through a flashlight). Magnetic fields are the cause of the force associated with magnets.
The electromagnetic force operates via the exchange of messenger particles called photons and virtual photons. The exchange of messenger particles between bodies acts to create the perceptual force whereby instead of just pushing or pulling particles apart, the exchange changes the character of the particles that swap them.
The theoretical implications of electromagnetism led to the development of special relativity by Albert Einstein in 1905.
Originally electricity and magnetism were thought of as two separate forces. This view changed, however, with the publication of James Clerk Maxwell's 1873 Treatise on Electricity and Magnetism in which the interactions of positive and negative charges were shown to be regulated by one force. There are four main effects resulting from these interactions, which have been clearly demonstrated by experiment:
While preparing for an evening lecture on 21 April 1820, Hans Christian Ørsted made a surprising observation. As he was setting up his materials, he noticed a compass needle deflected from magnetic north when the electric current from the battery he was using was switched on and off. This deflection convinced him that magnetic fields radiate from all sides off of a wire carrying an electric current, just as light and heat do, and that it confirmed a direct relationship between electricity and magnetism.
At the time of discovery, Ørsted did not suggest any satisfactory explanation of the phenomenon, nor did he try to represent the phenomenon in a mathematical framework. However, three months later he began more intensive investigations. Soon thereafter he published his findings, proving that an electric current produces a magnetic field as it flows through a wire. The CGS unit of magnetic induction (oersted) is named in honor of his contributions to the field of electromagnetism.
His findings resulted in intensive research throughout the scientific community in electrodynamics. They influenced French physicist André-Marie Ampère's developments of a single mathematical form to represent the magnetic forces between current-carrying conductors. Ørsted's discovery also represented a major step toward a unified concept of energy.
This unification, which was observed by Michael Faraday, extended by James Clerk Maxwell, and partially reformulated by Oliver Heaviside and Heinrich Hertz, is one of the accomplishments of 19th century Mathematical Physics. It had far-reaching consequences, one of which was the understanding of the nature of light. Light and other electromagnetic waves take the form of quantized, self-propagating oscillatory electromagnetic field disturbances called photons. Different frequencies of oscillation give rise to the different forms of electromagnetic radiation, from radio waves at the lowest frequencies, to visible light at intermediate frequencies, to gamma rays at the highest frequencies.
Ørsted was not the only person to examine the relation between electricity and magnetism. In 1802 Gian Domenico Romagnosi, an Italian legal scholar, deflected a magnetic needle by electrostatic charges. Actually, no galvanic current existed in the setup and hence no electromagnetism was present. An account of the discovery was published in 1802 in an Italian newspaper, but it was largely overlooked by the contemporary scientific community.
The electromagnetic force is one of the four fundamental forces. The other fundamental forces are: the strong nuclear force (which holds quarks together, along with its residual strong force effect that holds atomic nuclei together, to form the nucleus), the weak nuclear force (which causes certain forms of radioactive decay), and the gravitational force. All other forces (e.g. friction) are ultimately derived from these fundamental forces.
The electromagnetic force is the one responsible for practically all the phenomena one encounters in daily life, with the exception of gravity. Roughly speaking, all the forces involved in interactions between atoms can be traced to the electromagnetic force acting on the electrically charged protons and electrons inside the atoms. This includes the forces we experience in "pushing" or "pulling" ordinary material objects, which come from the intermolecular forces between the individual molecules in our bodies and those in the objects. It also includes all forms of chemical phenomena, which arise from interactions between electron orbitals.