Home▸Articles▸Physics & Mechanics

Understanding Magnetic Fields and Currents

Electromagnetism describes the fundamental relationship between electricity and magnetism. This interaction allows us to create devices like motors and generators, harnessing magnetic forces for practical applications.

mysimulator teamUpdated June 2026≈ 5 min read▶ Open the simulation

Magnetic Fields from Currents

Moving electric charges create magnetic fields. This is a core principle, demonstrated initially by André-Marie Ampère in the early 19th century.

A current flowing through a wire generates a magnetic field around it. The strength of this field is proportional to the current and inversely proportional to the distance from the wire. This relationship is described by Ampère's Law.

B = μ₀I/r

Faraday’s Law: Induced Currents

Michael Faraday discovered that a changing magnetic field induces an electric current in a nearby conductor. This is known as Faraday's Law.

The magnitude of the induced voltage depends on the rate of change of the magnetic flux through the circuit. A faster change means a larger voltage.

ε = -dΦ/dt
live demo · related simulation● LIVE

Electromagnetic Induction Mechanism

When the magnetic field around a wire changes (e.g., by moving a magnet), it exerts a force on the charged particles within the wire, causing current to flow.

This force is proportional to the magnetic field strength and the rate of change of the flux. The direction of the induced current ensures that the magnetic field created by the current opposes the initial change in flux (Lenz’s Law).

Applications & Examples

Electromagnetic principles are fundamental to many technologies, including electric motors, generators, transformers, and magnetic resonance imaging (MRI).

Motors convert electrical energy into mechanical energy by using the interaction between current-carrying coils and permanent magnets. Generators do the reverse – converting mechanical energy back into electricity.

Frequently asked questions

What is magnetic flux?

Magnetic flux is a measure of the total magnetic field passing through a given area. It's calculated as the product of the magnetic field strength and the area.

Why does a changing magnetic field induce current?

According to Faraday’s Law, any change in magnetic flux creates an electromotive force (EMF), which drives current through the circuit.

What is Lenz's Law?

Lenz’s Law states that the induced current will flow in a direction that opposes the change in magnetic flux that produced it.

Try it live

Everything above runs in your browser — open SPH Fluid and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open SPH Fluid simulation

What did you find?

Add reproduction steps (optional)