
A magnetic field is a
vector field that describes the magnetic influence on moving
electric charges,
electric currents,
and magnetic materials. A moving charge in a magnetic field experiences a force perpendicular to its own velocity and to the magnetic field.
A
permanent magnet
A magnet is a material or object that produces a magnetic field. This magnetic field is invisible but is responsible for the most notable property of a magnet: a force that pulls on other ferromagnetic materials, such as iron, steel, nic ...
's magnetic field pulls on
ferromagnetic materials such as
iron
Iron () is a chemical element with symbol Fe (from la, ferrum) and atomic number 26. It is a metal that belongs to the first transition series and group 8 of the periodic table. It is, by mass, the most common element on Earth, right in ...
, and attracts or repels other magnets. In addition, a nonuniform magnetic field exerts minuscule forces on "nonmagnetic" materials by three other magnetic effects:
paramagnetism,
diamagnetism, and
antiferromagnetism, although these forces are usually so small they can only be detected by laboratory equipment. Magnetic fields surround magnetized materials, and are created by electric currents such as those used in
electromagnets, and by
electric fields varying in time. Since both strength and direction of a magnetic field may vary with location, it is described mathematically by a
function assigning a
vector to each point of space, called a
vector field.
In
electromagnetics
In physics, electromagnetism is an interaction that occurs between particles with electric charge. It is the second-strongest of the four fundamental interactions, after the strong force, and it is the dominant force in the interactions ...
, the term "magnetic field" is used for two dis