HomeArticlesPhysics & Mechanics

The Powerful Connection Between Electricity and Magnetism

Electromagnetism describes the fundamental interaction between electrically charged particles. It’s responsible for a vast range of phenomena, from the operation of electric motors to the transmission of electrical energy through wires. Understanding this concept is crucial in many areas of physics and engineering.

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

Magnetic Fields Generated by Current

Electric current flowing through a wire creates a magnetic field around it. This is a fundamental principle of electromagnetism. The strength of this magnetic field is directly proportional to the magnitude of the current.

The direction of the magnetic field can be determined using the right-hand rule: point your fingers in the direction of the current, and your thumb will point in the direction of the magnetic field.

B = μI

Force on a Current-Carrying Wire in a Magnetic Field

When a current-carrying wire is placed within a magnetic field, it experiences a force. This force is perpendicular to both the direction of the current and the magnetic field.

The magnitude of this force is given by the Lorentz Force Law: F = BILsinθ, where B is the magnetic field strength, I is the current, L is the length of the wire, and θ is the angle between the wire and the magnetic field.

F = BILsinθ
live demo · related simulation● LIVE

Electromagnets: Creating Magnetic Fields on Demand

An electromagnet is created by wrapping a current-carrying wire around a ferromagnetic core (like iron). This concentrates the magnetic field, dramatically increasing its strength.

By controlling the flow of current through the wire, you can turn the electromagnet on and off, creating a controllable source of magnetism. This principle is used in countless devices.

Applications of Electromagnetism

Electromagnetic principles are essential to many technologies we use daily, including electric motors, generators, transformers, and magnetic resonance imaging (MRI) machines.

The ability to manipulate magnetic fields through electrical currents opens up possibilities for advanced materials science and engineering.

Frequently asked questions

What is a ferromagnetic material?

Ferromagnetic materials, like iron, are easily magnetized—meaning they can be strongly influenced by magnetic fields.

Why does increasing the current strengthen the magnetic field?

Increasing the current increases the number of moving charges within the wire, generating a stronger magnetic field due to Ampere's Law.

Can electromagnets be permanently magnetized?

No, electromagnets rely on an electric current to create their magnetic field. Once the current is switched off, the magnetism disappears.

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)