Some rules help us learn about light. 

Scientists use special rules to study energy. 


Scientists use a set of rules called Maxwell's equations. 

There are four main parts to these rules. One part describes how electric charges make an electric field. The field moves away from positive charges. It moves toward negative charges.
Other rules show how the fields change. A changing magnetic field can make electricity. This helps us make power in generators. Also, a changing electric field can make a magnetic field. This connection lets waves move through the world. These rules help us build many things. We use them to make motors and radios. We also use them for wireless tools and radar.
Maxwell's equations are a set of four rules that explain how electricity and magnetism work. 

The equations work by describing how electric and magnetic fields are made. First, electric charges create an electric field. This field points away from positive charges and toward negative charges.
A scientist named James Clerk Maxwell first shared these ideas. He published an early version of them in 1861 and 1862. 
There are many specific facts about how these fields act. For example, the speed of these waves is a constant number. This speed is known as the speed of light. In 1855, Wilhelm Eduard Weber and Rudolf Kohlrausch measured this speed using a Leyden jar. 

You can see these rules in action in many everyday things. When you use a radio, you are using electromagnetic waves. When you use a motor, you are using the link between electricity and magnetism. Even the way light hits a lens in a camera follows these rules.
Maxwell's equations are a fundamental set of mathematical rules. They describe how electric and magnetic fields behave. These equations form the foundation of classical electromagnetism. They also explain classical optics and electric circuits. Together with the Lorentz force law, they provide a model for many technologies. This includes power generation, electric motors, and wireless communication. They also explain how lenses and radar work. 
The equations explain how fields are generated. Electric and magnetic fields are parts of one single electromagnetic field. This was a major realization of the theory of relativity. The equations show how charges and currents create these fields. They also show how changes in the fields create new fields. This creates a continuous link between electricity and magnetism. This connection allows electromagnetic waves to travel through empty space. 
There are four main rules within this system. The first is Gauss's law. It describes how electric fields relate to electric charges. The field points away from positive charges. It points toward negative charges. The net outflow of the field is proportional to the enclosed charge. The second rule is Gauss's law for magnetism. It states that there are no magnetic monopoles. This means you cannot have a north or south pole alone. Magnetic fields always form loops or extend to infinity.
The third rule is Faraday's law of induction. It describes how a changing magnetic field creates an electric field. This process is known as electromagnetic induction. It is the principle used in electric generators. A rotating magnet creates a changing field to generate electricity. The fourth rule is the Ampère-Maxwell law. The original law of Ampère related magnetic fields to electric currents. Maxwell added a new part to this law. He showed that changing electric fields also create magnetic fields. This addition is called displacement current. 
Scientists use different versions of these equations for different tasks. Microscopic equations are used for universal applications. They relate fields to total charge and total current. They include complicated charges at the atomic scale. Macroscopic equations are used for large-scale behavior. They use auxiliary fields to describe matter. This avoids the need to look at every single atom. There are also versions used for quantum mechanics. Some versions are even used in curved spacetime for general relativity.
James Clerk Maxwell published the first versions in 1861 and 1862. He used them to propose that light is an electromagnetic phenomenon. This unified the theories of electricity, magnetism, and light. The modern form used today is credited to Oliver Heaviside. He simplified the math into a more transparent vector calculus form. Before Maxwell, the speed of these waves was already being studied. In 1855, Wilhelm Eduard Weber and Rudolf Kohlrausch measured a speed. They used a Leyden jar to measure electrostatic and magnetic forces. Their result was very close to the speed of light. 
The significance of these equations is seen in the electromagnetic spectrum. This spectrum includes everything from radio waves to gamma rays. These waves all travel at the constant speed of light in a vacuum. Maxwell's equations show that light is just one form of radiation. Since the mid-20th century, we have known these are classical equations. They are actually a limit of a more precise theory. That theory is called quantum electrodynamics. Even so, they remain the primary way we understand the physical world.
🖼️ Images & Media (9)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.