Hans Christian Ørsted: The Discovery That Connected Electricity and Magnetism

In 1820, Danish physicist Hans Christian Ørsted made an observation that changed the course of science: an electric current could move a nearby compass needle. The experiment revealed an unexpected connection between electricity and magnetism, two phenomena that scientists had previously studied as separate subjects. His discovery established that electric currents produce magnetic fields, laying the foundation for electromagnetism and helping make modern electric technology possible.

Today, the relationship between electricity and magnetism is essential to electric motors, generators, transformers, communication systems, and countless electronic devices. Yet this understanding began with a simple experiment involving a battery, a wire, and a compass.

Who was Hans Christian Ørsted?

Hans Christian Ørsted was a Danish physicist and chemist born on August 14, 1777, in Rudkøbing, Denmark. He developed an early interest in science and philosophy, eventually studying at the University of Copenhagen. He became a professor there and spent much of his career investigating the physical properties of matter and the relationships between natural phenomena.

During Ørsted’s lifetime, electricity and magnetism were already established areas of scientific research. Scientists knew how to produce electric charges, generate sparks, and observe magnetic forces. They also understood that magnets could attract or repel certain materials and that Earth itself behaved like a giant magnet, influencing compass needles.

However, these two fields appeared to operate independently. Electric phenomena involved charges and sparks, while magnetic phenomena involved magnets and magnetic forces. No widely accepted experimental evidence had demonstrated that an ordinary electric current could produce a magnetic effect.

Ørsted was interested in the possibility that different natural forces might be connected. This interest reflected a broader scientific idea of his era: apparently separate phenomena might be different expressions of underlying physical relationships.

His work eventually provided the experimental evidence needed to establish one of the most important connections in physics.

The experiment that changed physics

In 1820, Ørsted conducted an experiment that revealed the relationship between electricity and magnetism. He placed a compass near a wire connected to an electrical battery and observed what happened when electric current flowed through the wire.

Under ordinary conditions, a compass needle aligns approximately with Earth’s magnetic field. Its north-seeking end points toward magnetic north, making the compass useful for navigation.

When Ørsted connected the wire to the battery and allowed current to flow, the compass needle moved away from its usual direction. When he interrupted the current, the needle returned toward its original alignment.

This seemingly modest movement carried an extraordinary scientific implication: electricity flowing through a wire was creating a magnetic effect strong enough to influence a compass.

The observation established that electric current and magnetism were physically connected.

Ørsted also investigated how the compass responded when he changed the arrangement of the wire. He found that the magnetic effect depended on the wire’s position and orientation relative to the compass. In particular, the needle’s movement could not be explained simply by imagining that the wire behaved like an ordinary bar magnet.

The magnetic influence surrounded the current-carrying wire rather than acting only along its length.

This was a crucial clue. It suggested that electric current produced a magnetic field with a distinctive spatial pattern.

How an electric current creates a magnetic field

The central principle behind Ørsted’s discovery is that an electric current produces a magnetic field around the conductor through which it flows.

An electric current is the movement of electric charge. In a metal wire, this movement is carried primarily by electrons. As these charges move through the conductor, they produce a magnetic field in the surrounding space.

A magnetic field is an invisible region in which magnetic forces can act. It can influence magnets, certain materials, and moving electric charges.

Around a long, straight wire carrying a steady current, the magnetic field forms circular paths centered on the wire. The field becomes weaker as the distance from the wire increases and stronger as the current increases.

The direction of the magnetic field depends on the direction of the current. Scientists commonly determine this relationship using the right-hand rule.

To apply the rule, imagine grasping the wire with your right hand. Point your thumb in the direction of conventional current, which is defined as the direction positive electric charge would move. Your curled fingers indicate the direction of the magnetic field surrounding the wire.

This circular arrangement explains why Ørsted’s compass needle moved. The needle responded to the magnetic field produced by the current, which combined with Earth’s existing magnetic field to determine its new direction.

The experiment did not mean that electricity simply turned the wire into a permanent magnet. Rather, the magnetic field existed because electric charge was flowing. When the current stopped, the magnetic field associated with that current disappeared.

This distinction is fundamental to understanding electromagnetism.

Why the discovery was so important

Before Ørsted’s experiment, electricity and magnetism were generally treated as separate areas of natural science. His observation demonstrated that an electrical process could produce a magnetic effect.

This changed the direction of scientific investigation.

If electric currents could create magnetic fields, researchers could ask whether magnetic phenomena might also produce electrical effects. That question eventually led to the discovery of electromagnetic induction, in which changing magnetic fields generate electric currents.

The connection also suggested that magnetic forces could be controlled through electricity. Instead of relying only on naturally occurring magnets or permanently magnetized materials, scientists could produce magnetic effects by arranging wires and controlling electric currents.

This principle became the basis of electromagnets.

An electromagnet is a magnet produced by electric current flowing through a coil of wire. Wrapping the wire into multiple loops concentrates the magnetic field, making the resulting magnetic effect much stronger than that of a single straight wire under comparable conditions.

Adding an iron core can strengthen the electromagnet further because the iron responds strongly to the applied magnetic field.

These developments opened the way for practical devices that could convert electrical energy into mechanical motion.

How Ørsted’s discovery led to electromagnets and electric motors

One of the most important consequences of Ørsted’s discovery was the development of technologies that use electricity to produce controlled magnetic forces.

An electromagnet works by passing electric current through a coil of wire. Each loop contributes to the overall magnetic field, creating a stronger field inside and around the coil.

The magnetic strength can be adjusted by changing the amount of current, the number of wire turns, or the material placed inside the coil.

This controllability makes electromagnets useful in many applications. They can attract metal objects, operate switches, control machinery, and produce forces in electrical equipment.

Electric motors take the relationship further by using magnetic forces to generate motion.

In a basic electric motor, electric current flows through a coil positioned within a magnetic field. The magnetic interaction produces forces on opposite sides of the coil, creating a turning effect called torque.

As the coil rotates, the motor’s electrical arrangement maintains the rotation through a suitable switching mechanism or electronic control system.

The result is the conversion of electrical energy into mechanical energy.

Electric motors are found in household appliances, industrial machinery, electric vehicles, fans, pumps, and many other devices. Although modern motors can have complex designs, their operation relies on the relationship between electricity and magnetism that Ørsted’s experiment helped establish.

The next breakthrough: Michael Faraday and electromagnetic induction

Ørsted’s discovery encouraged other scientists to investigate the relationship between magnetic and electrical phenomena.

One of the most important researchers to follow this path was English scientist Michael Faraday.

In 1831, Faraday demonstrated electromagnetic induction: the production of an electromotive force, or voltage, when the magnetic field linked to a circuit changes.

This discovery revealed the complementary side of the relationship that Ørsted had uncovered.

Ørsted showed that an electric current could create a magnetic field. Faraday demonstrated that changing magnetic conditions could produce an electrical effect.

Electromagnetic induction occurs when the magnetic flux through a conducting loop changes. Magnetic flux describes how much magnetic field passes through a given surface.

The change can happen in several ways. A magnet can move toward or away from a coil, a coil can move through a magnetic field, or the strength or direction of the magnetic field can change.

If the circuit is closed, the resulting voltage can drive an electric current.

This principle made electric generators possible. A generator converts mechanical energy into electrical energy by using motion and magnetic fields to induce voltage in conductors.

Power stations use this principle to produce much of the electricity supplied to homes, businesses, and industries.

Faraday’s work therefore extended the significance of Ørsted’s discovery from the production of magnetism by electricity to the practical generation of electricity through changing magnetic fields.

James Clerk Maxwell and the unification of electricity and magnetism

The discoveries of Ørsted and Faraday provided the experimental foundation for a more complete theory of electromagnetism.

In the nineteenth century, Scottish physicist James Clerk Maxwell developed a mathematical framework that brought together the known laws of electricity and magnetism.

Maxwell’s equations describe how electric and magnetic fields behave, how electric charges and currents produce fields, and how changing fields are related to one another.

One particularly important result was the realization that changing electric and magnetic fields can sustain each other as they travel through space.

This led Maxwell to predict electromagnetic waves and identify light as one form of electromagnetic radiation.

Electromagnetic radiation includes visible light, radio waves, microwaves, infrared radiation, ultraviolet radiation, X-rays, and gamma rays. These forms differ mainly in frequency and wavelength, but they share the same underlying electromagnetic nature.

The unification of electricity, magnetism, and light was a major achievement in physics.

It showed that the discovery made with Ørsted’s compass was part of a much broader picture: electricity and magnetism are not independent forces but interconnected aspects of a single electromagnetic interaction.

Where we see Ørsted’s discovery in everyday life

The principles revealed by Ørsted’s experiment are present throughout modern technology. Many familiar devices depend on the ability of electric currents and magnetic fields to interact.

Electric motors use magnetic forces to create rotation. They operate refrigerators, washing machines, air conditioners, power tools, and electric cars.

Generators use electromagnetic induction to convert mechanical movement into electrical energy. Wind turbines, hydroelectric facilities, and many conventional power stations rely on this process.

Transformers use changing magnetic fields to transfer electrical energy between coils. They allow alternating-current electricity to be transmitted and distributed at useful voltage levels. Power companies use transformers to raise voltage for long-distance transmission and lower it for distribution to consumers.

Speakers and headphones also rely on electromagnetic principles. In many designs, an electric current passes through a coil positioned near a permanent magnet. The resulting magnetic forces move a diaphragm, producing sound waves.

Electromagnetic relays and solenoids use current-controlled magnetic fields to move mechanical components. These devices help operate switches, valves, locks, and control systems.

Even technologies such as magnetic resonance imaging depend on the broader science of electromagnetism, although their operation involves sophisticated interactions among magnetic fields, radio-frequency signals, and atomic nuclei.

These applications differ greatly in design and complexity, but they share a common scientific foundation: electric currents and magnetic fields are closely related.

What Ørsted’s discovery did not establish

Understanding the historical importance of Ørsted’s experiment also requires recognizing what it did and did not demonstrate.

He did not discover electricity itself, nor did he invent the compass, battery, or electric motor. Scientists had studied electrical and magnetic phenomena for generations before his work.

His contribution was demonstrating experimentally that an electric current produces a magnetic effect.

He also did not develop the complete mathematical theory of electromagnetism. That theoretical understanding emerged through the work of several scientists, including André-Marie Ampère, Michael Faraday, and James Clerk Maxwell.

Ampère investigated the forces between current-carrying conductors and helped establish the mathematical description of magnetic effects produced by electric currents. Faraday developed the experimental understanding of electromagnetic induction. Maxwell brought many of these findings together into a unified theoretical framework.

The history of electromagnetism was therefore a cumulative scientific achievement rather than the work of one individual.

Nevertheless, Ørsted’s observation was a decisive turning point because it provided direct experimental evidence that electricity and magnetism were connected.

The lasting scientific legacy of Hans Christian Ørsted

Hans Christian Ørsted’s discovery transformed the study of electricity and magnetism from two seemingly separate subjects into interconnected areas of physics.

The movement of a compass needle near a current-carrying wire demonstrated a principle that scientists could investigate, measure, and eventually apply in practical technology.

His experiment helped inspire research that led to electromagnets, electric motors, generators, and the mathematical theory of electromagnetic fields. It also contributed to the scientific understanding that ultimately connected electricity, magnetism, and light.

The deeper lesson of Ørsted’s discovery is that nature’s different phenomena are often connected in ways that are not immediately obvious. A simple experiment, carefully observed and interpreted, can reveal a relationship with consequences far beyond the original laboratory.

Today, whenever an electric motor turns, a generator produces power, or an electromagnetic device responds to an electric current, the physical principle revealed by Ørsted in 1820 remains at work.

Looking For Something Else?