🤩 Discover new information from across the web

Magnetic field

Vector field that describes the magnetic influence of electric charges in relative motion

Top 10 Magnetic field related articles

The shape of the magnetic field produced by a horseshoe magnet is revealed by the orientation of iron filings sprinkled on a piece of paper above the magnet.

A magnetic field is a vector field that describes the magnetic influence on moving electric charges, electric currents,[1]:ch1[2] and magnetic materials. A moving charge in a magnetic field experiences a force perpendicular to its own velocity and to the magnetic field.[1]:ch13[3] A permanent magnet's magnetic field pulls on ferromagnetic materials such as iron, and attracts or repels other magnets. In addition, a magnetic field that varies with location will exert a force on a range of non-magnetic materials by affecting the motion of their outer atomic electrons. 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, they are described as a map assigning a vector to each point of space or, more precisely—because of the way the magnetic field transforms under mirror reflection—as a field of pseudovectors.

In electromagnetics, the term "magnetic field" is used for two distinct but closely related vector fields denoted by the symbols B and H. In the International System of Units, H, magnetic field strength, is measured in the SI base units of ampere per meter (A/m).[4] B, magnetic flux density, is measured in tesla (in SI base units: kilogram per second2 per ampere),[5] which is equivalent to newton per meter per ampere. H and B differ in how they account for magnetization. In a vacuum, the two fields are related through the vacuum permeability, B / μ 0 = H {\displaystyle \mathbf {B} /\mu _{0}=\mathbf {H} } ; but in a magnetized material, the terms differ by the material's magnetization at each point.

Magnetic fields are produced by moving electric charges and the intrinsic magnetic moments of elementary particles associated with a fundamental quantum property, their spin.[6][1]:ch1 Magnetic fields and electric fields are interrelated and are both components of the electromagnetic force, one of the four fundamental forces of nature.

Magnetic fields are used throughout modern technology, particularly in electrical engineering and electromechanics. Rotating magnetic fields are used in both electric motors and generators. The interaction of magnetic fields in electric devices such as transformers is conceptualized and investigated as magnetic circuits. Magnetic forces give information about the charge carriers in a material through the Hall effect. The Earth produces its own magnetic field, which shields the Earth's ozone layer from the solar wind and is important in navigation using a compass.

Magnetic field Intro articles: 24


Comparison of B, H and M inside and outside a cylindrical bar magnet.

The force on an electric charge depends on its location, speed, and direction; two vector fields are used to describe this force.[1]:ch1 The first is the electric field, which describes the force acting on a stationary charge and gives the component of the force that is independent of motion. The magnetic field, in contrast, describes the component of the force that is proportional to both the speed and direction of charged particles.[1]:ch13 The field is defined by the Lorentz force law and is, at each instant, perpendicular to both the motion of the charge and the force it experiences.

There are two different, but closely related vector fields which are both sometimes called the "magnetic field" written B and H.[note 1] While both the best names for these fields and exact interpretation of what these fields represent has been the subject of long running debate, there is wide agreement about how the underlying physics work.[7] Historically, the term "magnetic field" was reserved for H while using other terms for B, but many recent textbooks use the term "magnetic field" to describe B as well as or in place of H.[note 2] There are many alternative names for both (see sidebar).

The B-field

Alternative names for B[8]
  • Magnetic flux density
  • Magnetic induction[9]
  • Magnetic field (ambiguous)

The magnetic field vector B at any point can be defined as the vector that, when used in the Lorentz force law, correctly predicts the force on a charged particle at that point.:[10][11]

Lorentz force law (vector form, SI units)

F = q E + q ( v × B ) {\displaystyle \mathbf {F} =q\mathbf {E} +q(\mathbf {v} \times \mathbf {B} )}

Here F is the force on the particle, q is the particle's electric charge, v, is the particle's velocity, and × denotes the cross product. The first term in this equation is from the theory of electrostatics, and says that a particle of charge q in an electric field E experiences an electric force:

F electric = q E . {\displaystyle \mathbf {F} _{\text{electric}}=q\mathbf {E} .}

The second term is the magnetic force:[11]

F magnetic = q ( v × B ) . {\displaystyle \mathbf {F} _{\text{magnetic}}=q(\mathbf {v} \times \mathbf {B} ).}

Using the definition of the cross product, the magnetic force can also be written as a scalar equation:[12]

F magnetic = q v B sin ( θ ) {\displaystyle F_{\text{magnetic}}=qvB\sin(\theta )}

where Fmagnetic, v, and B are the scalar magnitude of their respective vectors, and θ is the angle between the velocity of the particle and the magnetic field. The vector B is defined as the vector field necessary to make the Lorentz force law correctly describe the motion of a charged particle. In other words,[10]

[T]he command, "Measure the direction and magnitude of the vector B at such and such a place," calls for the following operations: Take a particle of known charge q. Measure the force on q at rest, to determine E. Then measure the force on the particle when its velocity is v; repeat with v in some other direction. Now find a B that makes the Lorentz force law fit all these results—that is the magnetic field at the place in question.

The B field can also be defined by the torque on a magnetic dipole, m.[13]

Magnetic torque (vector form, SI units)

τ = m × B {\displaystyle \mathbf {\tau } =\mathbf {m} \times \mathbf {B} }

In SI units, B is measured in teslas (symbol: T).[note 3] In Gaussian-cgs units, B is measured in gauss (symbol: G). (The conversion is 1 T = 10000 G.[14][15]) One nanotesla is equivalent to 1 gamma (symbol: γ).[15]

The H-field

Alternative names for H[8]
  • Magnetic field intensity[9]
  • Magnetic field strength
  • Magnetic field
  • Magnetizing field

The magnetic H field is defined:[16][17][1]:ch36

Definition of the H field (vector form, SI units)

H 1 μ 0 B M {\displaystyle \mathbf {H} \equiv {\frac {1}{\mu _{0}}}\mathbf {B} -\mathbf {M} }

Where μ 0 {\displaystyle \mu _{0}} is the vacuum permeability, and M is the magnetization vector. In a vacuum, B and H are proportional to each other. Inside a material they are different (see H and B inside and outside magnetic materials). The H-field is measured in amperes per metre (A/m) in SI units,[18] and in oersteds (Oe) in cgs units.[14][19]


An instrument used to measure the local magnetic field is known as a magnetometer. Important classes of magnetometers include using induction magnetometers (or search-coil magnetometers) which measure only varying magnetic fields, rotating coil magnetometers, Hall effect magnetometers, NMR magnetometers, SQUID magnetometers, and fluxgate magnetometers. The magnetic fields of distant astronomical objects are measured through their effects on local charged particles. For instance, electrons spiraling around a field line produce synchrotron radiation that is detectable in radio waves. The finest precision for a magnetic field measurement was attained by Gravity Probe B at 5 aT (5×10−18 T).[20]


The direction of magnetic field lines represented by iron filings sprinkled on paper placed above a bar magnet.
Compass needles point in the direction of the local magnetic field, towards a magnet's south pole and away from its north pole.

The field can be visualized by a set of magnetic field lines, that follow the direction of the field at each point. The lines can be constructed by measuring the strength and direction of the magnetic field at a large number of points (or at every point in space). Then, mark each location with an arrow (called a vector) pointing in the direction of the local magnetic field with its magnitude proportional to the strength of the magnetic field. Connecting these arrows then forms a set of magnetic field lines. The direction of the magnetic field at any point is parallel to the direction of nearby field lines, and the local density of field lines can be made proportional to its strength. Magnetic field lines are like streamlines in fluid flow, in that they represent a continuous distribution, and a different resolution would show more or fewer lines.

An advantage of using magnetic field lines as a representation is that many laws of magnetism (and electromagnetism) can be stated completely and concisely using simple concepts such as the "number" of field lines through a surface. These concepts can be quickly "translated" to their mathematical form. For example, the number of field lines through a given surface is the surface integral of the magnetic field.[21]

Various phenomena "display" magnetic field lines as though the field lines were physical phenomena. For example, iron filings placed in a magnetic field form lines that correspond to "field lines".[note 4] Magnetic field "lines" are also visually displayed in polar auroras, in which plasma particle dipole interactions create visible streaks of light that line up with the local direction of Earth's magnetic field.

Field lines can be used as a qualitative tool to visualize magnetic forces. In ferromagnetic substances like iron and in plasmas, magnetic forces can be understood by imagining that the field lines exert a tension, (like a rubber band) along their length, and a pressure perpendicular to their length on neighboring field lines. "Unlike" poles of magnets attract because they are linked by many field lines; "like" poles repel because their field lines do not meet, but run parallel, pushing on each other. The rigorous form of this concept is the electromagnetic stress–energy tensor.

Magnetic field Description articles: 30

Interactions with magnets

Permanent magnets are objects that produce their own persistent magnetic fields. They are made of ferromagnetic materials, such as iron and nickel, that have been magnetized, and they have both a north and a south pole.

Magnetic field of permanent magnets

The magnetic field of permanent magnets can be quite complicated, especially near the magnet. The magnetic field of a small[note 5] straight magnet is proportional to the magnet's strength (called its magnetic dipole moment m). The equations are non-trivial and also depend on the distance from the magnet and the orientation of the magnet. For simple magnets, m points in the direction of a line drawn from the south to the north pole of the magnet. Flipping a bar magnet is equivalent to rotating its m by 180 degrees.

The magnetic field of larger magnets can be obtained by modeling them as a collection of a large number of small magnets called dipoles each having their own m. The magnetic field produced by the magnet then is the net magnetic field of these dipoles; any net force on the magnet is a result of adding up the forces on the individual dipoles.

There are two competing models for the nature of these dipoles. These two models produce two different magnetic fields, H and B. Outside a material, though, the two are identical (to a multiplicative constant) so that in many cases the distinction can be ignored. This is particularly true for magnetic fields, such as those due to electric currents, that are not generated by magnetic materials.

Magnetic pole model

The magnetic pole model: two opposing poles, North (+) and South (−), separated by a distance d produce a H-field (lines).

It is sometimes useful to model the force and torques between two magnets as due to magnetic poles repelling or attracting each other in the same manner as the Coulomb force between electric charges. In this model, a magnetic H-field is produced by fictitious magnetic charges that are spread over the surface of each pole. These magnetic charges are in fact related to the magnetization field M.

The H-field, therefore, is analogous to the electric field E, which starts at a positive electric charge and ends at a negative electric charge. Near the north pole, therefore, all H-field lines point away from the north pole (whether inside the magnet or out) while near the south pole all H-field lines point toward the south pole (whether inside the magnet or out). Too, a north pole feels a force in the direction of the H-field while the force on the south pole is opposite to the H-field.

In the magnetic pole model, the elementary magnetic dipole m is formed by two opposite magnetic poles of pole strength qm separated by a small distance vector d, such that m = qmd. The magnetic pole model predicts correctly the field H both inside and outside magnetic materials, in particular the fact that H is opposite to the magnetization field M inside a permanent magnet.

Since it is based on the fictitious idea of a magnetic charge density, the pole model has limitations. Magnetic poles cannot exist apart from each other as electric charges can, but always come in north–south pairs. If a magnetized object is divided in half, a new pole appears on the surface of each piece, so each has a pair of complementary poles. The magnetic pole model does not account for magnetism that is produced by electric currents, nor the inherent connection between angular momentum and magnetism.

The pole model usually treats magnetic charge as a mathematical abstraction, rather than a physical property of particles. However, a magnetic monopole is a hypothetical particle (or class of particles) that physically has only one magnetic pole (either a north pole or a south pole). In other words, it would possess a "magnetic charge" analogous to an electric charge. Magnetic field lines would start or end on magnetic monopoles, so if they exist, they would give exceptions to the rule that magnetic field lines neither start nor end.

Modern interest in this concept stems from particle theories, notably Grand Unified Theories and superstring theories, that predict either the existence, or the possibility, of magnetic monopoles. These theories and others have inspired extensive efforts to search for monopoles. Despite these efforts, no magnetic monopole has been observed to date.[note 6] In recent research, materials known as spin ices can simulate monopoles, but do not contain actual monopoles.[22][23]

Amperian loop model

The Amperian loop model
A current loop (ring) that goes into the page at the x and comes out at the dot produces a B-field (lines). As the radius of the current loop shrinks, the fields produced become identical to an abstract "magnetostatic dipole" (represented by an arrow pointing to the right).

After Ørsted demonstrated that electric currents can influence a magnetized object and Ampere discovered that electric currents attracted and repelled each other similar to magnets, it was natural to hypothesize that all magnetic fields are due to electric current loops. In this model developed by Ampere, the elementary magnetic dipole that makes up all magnets is a sufficiently small Amperian loop of current I. The dipole moment of this loop is m = IA where A is the area of the loop.

These magnetic dipoles produce a magnetic B-field. One important property of the B-field produced this way is that magnetic B-field lines neither start nor end (mathematically, B is a solenoidal vector field); a field line may only extend to infinity, or wrap around to form a closed curve, or follow a never-ending (possibly chaotic) path.[24] To date, no exception to this rule has been found. (See magnetic monopole below.) Magnetic field lines exit a magnet near its north pole and enter near its south pole, but inside the magnet B-field lines continue through the magnet from the south pole back to the north.[note 7] If a B-field line enters a magnet somewhere it has to leave somewhere else; it is not allowed to have an end point.

More formally, since all the magnetic field lines that enter any given region must also leave that region, subtracting the "number"[note 8] of field lines that enter the region from the number that exit gives identically zero. Mathematically this is equivalent to Gauss's law for magnetism:

S {\displaystyle {\scriptstyle S}} B d A = 0 , {\displaystyle \mathbf {B} \cdot {\rm {d}}\mathbf {A} =0,}

where the integral is a surface integral over the closed surface S (a closed surface is one that completely surrounds a region with no holes to let any field lines escape). Since dA points outward, the dot product in the integral is positive for B-field pointing out and negative for B-field pointing in.

The magnetic field of a magnetic dipole is depicted in the figure. From outside, the ideal magnetic dipole is identical to that of an ideal electric dipole of the same strength. Unlike the electric dipole, a magnetic dipole is properly modeled as a current loop having a current I and an area a. Such a current loop has a magnetic moment of:

m = I a , {\displaystyle m=Ia,\,}

where the direction of m is perpendicular to the area of the loop and depends on the direction of the current using the right-hand rule. An ideal magnetic dipole is modeled as a real magnetic dipole whose area a has been reduced to zero and its current I increased to infinity such that the product m = Ia is finite. This model clarifies the connection between angular momentum and magnetic moment, which is the basis of the Einstein–de Haas effect rotation by magnetization and its inverse, the Barnett effect or magnetization by rotation.[25] Rotating the loop faster (in the same direction) increases the current and therefore the magnetic moment, for example.

Force between magnets

Specifying the force between two small magnets is quite complicated because it depends on the strength and orientation of both magnets and their distance and direction relative to each other. The force is particularly sensitive to rotations of the magnets due to magnetic torque. The force on each magnet depends on its magnetic moment and the magnetic field[note 9] of the other.

To understand the force between magnets, it is useful to examine the magnetic pole model given above. In this model, the H-field of one magnet pushes and pulls on both poles of a second magnet. If this H-field is the same at both poles of the second magnet then there is no net force on that magnet since the force is opposite for opposite poles. If, however, the magnetic field of the first magnet is nonuniform (such as the H near one of its poles), each pole of the second magnet sees a different field and is subject to a different force. This difference in the two forces moves the magnet in the direction of increasing magnetic field and may also cause a net torque.

This is a specific example of a general rule that magnets are attracted (or repulsed depending on the orientation of the magnet) into regions of higher magnetic field. Any non-uniform magnetic field, whether caused by permanent magnets or electric currents, exerts a force on a small magnet in this way.

The details of the Amperian loop model are different and more complicated but yield the same result: that magnetic dipoles are attracted/repelled into regions of higher magnetic field. Mathematically, the force on a small magnet having a magnetic moment m due to a magnetic field B is:[26]

F = ( m B ) , {\displaystyle \mathbf {F} ={\boldsymbol {\nabla }}\left(\mathbf {m} \cdot \mathbf {B} \right),}

where the gradient is the change of the quantity m · B per unit distance and the direction is that of maximum increase of m · B. The dot product m · B = mBcos(θ), where m and B represent the magnitude of the m and B vectors and θ is the angle between them. If m is in the same direction as B then the dot product is positive and the gradient points "uphill" pulling the magnet into regions of higher B-field (more strictly larger m · B). This equation is strictly only valid for magnets of zero size, but is often a good approximation for not too large magnets. The magnetic force on larger magnets is determined by dividing them into smaller regions each having their own m then summing up the forces on each of these very small regions.

Magnetic torque on permanent magnets

If two like poles of two separate magnets are brought near each other, and one of the magnets is allowed to turn, it promptly rotates to align itself with the first. In this example, the magnetic field of the stationary magnet creates a magnetic torque on the magnet that is free to rotate. This magnetic torque τ tends to align a magnet's poles with the magnetic field lines. A compass, therefore, turns to align itself with Earth's magnetic field.

Torque on a dipole
In the pole model of a dipole, an H field (to right) causes equal but opposite forces on a N pole (+q) and a S pole (q) creating a torque.
Equivalently, a B field induces the same torque on a current loop with the same magnetic dipole moment.

In terms of the pole model, two equal and opposite magnetic charges experiencing the same H also experience equal and opposite forces. Since these equal and opposite forces are in different locations, this produces a torque proportional to the distance (perpendicular to the force) between them. With the definition of m as the pole strength times the distance between the poles, this leads to τ = μ0 m H sin θ, where μ0 is a constant called the vacuum permeability, measuring ×10−7 V·s/(A·m) and θ is the angle between H and m.

Cross product: |a × b| = a b sin θ.

Mathematically, the torque τ on a small magnet is proportional both to the applied magnetic field and to the magnetic moment m of the magnet:

τ = m × B = μ 0 m × H , {\displaystyle {\boldsymbol {\tau }}=\mathbf {m} \times \mathbf {B} =\mu _{0}\mathbf {m} \times \mathbf {H} ,\,}

where × represents the vector cross product. This equation includes all of the qualitative information included above. There is no torque on a magnet if m is in the same direction as the magnetic field, since the cross product is zero for two vectors that are in the same direction. Further, all other orientations feel a torque that twists them toward the direction of magnetic field.

Magnetic field Interactions with magnets articles: 28

Interactions with electric currents

Currents of electric charges both generate a magnetic field and feel a force due to magnetic B-fields.

Magnetic field due to moving charges and electric currents

Right hand grip rule: a current flowing in the direction of the white arrow produces a magnetic field shown by the red arrows.

All moving charged particles produce magnetic fields. Moving point charges, such as electrons, produce complicated but well known magnetic fields that depend on the charge, velocity, and acceleration of the particles.[27]

Magnetic field lines form in concentric circles around a cylindrical current-carrying conductor, such as a length of wire. The direction of such a magnetic field can be determined by using the "right-hand grip rule" (see figure at right). The strength of the magnetic field decreases with distance from the wire. (For an infinite length wire the strength is inversely proportional to the distance.)

Bending a current-carrying wire into a loop concentrates the magnetic field inside the loop while weakening it outside. Bending a wire into multiple closely spaced loops to form a coil or "solenoid" enhances this effect. A device so formed around an iron core may act as an electromagnet, generating a strong, well-controlled magnetic field. An infinitely long cylindrical electromagnet has a uniform magnetic field inside, and no magnetic field outside. A finite length electromagnet produces a magnetic field that looks similar to that produced by a uniform permanent magnet, with its strength and polarity determined by the current flowing through the coil.

The magnetic field generated by a steady current I (a constant flow of electric charges, in which charge neither accumulates nor is depleted at any point)[note 10] is described by the Biot–Savart law:[29]

B = μ 0 I 4 π w i r e d × r ^ r 2 , {\displaystyle \mathbf {B} ={\frac {\mu _{0}I}{4\pi }}\int _{\mathrm {wire} }{\frac {\mathrm {d} {\boldsymbol {\ell }}\times \mathbf {\hat {r}} }{r^{2}}},}

where the integral sums over the wire length where vector d is the vector line element with direction in the same sense as the current I, μ0 is the magnetic constant, r is the distance between the location of d and the location where the magnetic field is calculated, and is a unit vector in the direction of r. For example, in the case of a sufficiently long, straight wire, this becomes:

| B | = μ 0 2 π r I {\displaystyle |\mathbf {B} |={\frac {\mu _{0}}{2\pi r}}I}

where r = |r|. The direction is tangent to a circle perpendicular to the wire according to the right hand rule.[30]

A slightly more general[31][note 11] way of relating the current I {\displaystyle {I}} to the B-field is through Ampère's law:

B d = μ 0 I e n c , {\displaystyle \oint \mathbf {B} \cdot \mathrm {d} {\boldsymbol {\ell }}=\mu _{0}I_{\mathrm {enc} },}

where the line integral is over any arbitrary loop and I {\displaystyle {I}} enc is the current enclosed by that loop. Ampère's law is always valid for steady currents and can be used to calculate the B-field for certain highly symmetric situations such as an infinite wire or an infinite solenoid.

In a modified form that accounts for time varying electric fields, Ampère's law is one of four Maxwell's equations that describe electricity and magnetism.

Force on moving charges and current

Charged particle drift in a magnetic field with (A) no other net force, (B) additional electric field E, (C) a force F, such as gravity, independent of its charge, and (D) in an inhomogeneous magnetic field.

Force on a charged particle

A charged particle moving in a B-field experiences a sideways force that is proportional to the strength of the magnetic field, the component of the velocity that is perpendicular to the magnetic field and the charge of the particle. This force is known as the Lorentz force, and is given by

F = q E + q v × B , {\displaystyle \mathbf {F} =q\mathbf {E} +q\mathbf {v} \times \mathbf {B} ,}

where F is the force, q is the electric charge of the particle, v is the instantaneous velocity of the particle, and B is the magnetic field (in teslas).

The Lorentz force is always perpendicular to both the velocity of the particle and the magnetic field that created it. When a charged particle moves in a static magnetic field, it traces a helical path in which the helix axis is parallel to the magnetic field, and in which the speed of the particle remains constant. Because the magnetic force is always perpendicular to the motion, the magnetic field can do no work on an isolated charge.[32][33] It can only do work indirectly, via the electric field generated by a changing magnetic field. It is often claimed that the magnetic force can do work to a non-elementary magnetic dipole, or to charged particles whose motion is constrained by other forces, but this is incorrect[34] because the work in those cases is performed by the electric forces of the charges deflected by the magnetic field.

Force on current-carrying wire

The force on a current carrying wire is similar to that of a moving charge as expected since a current carrying wire is a collection of moving charges. A current-carrying wire feels a force in the presence of a magnetic field. The Lorentz force on a macroscopic current is often referred to as the Laplace force. Consider a conductor of length , cross section A, and charge q due to electric current i. If this conductor is placed in a magnetic field of magnitude B that makes an angle θ with the velocity of charges in the conductor, the force exerted on a single charge q is

F = q v B sin θ , {\displaystyle F=qvB\sin \theta ,}

so, for N charges where

N = n A {\displaystyle N=n\ell A} ,

the force exerted on the conductor is

f = F N = q v B n A sin θ = B i sin θ {\displaystyle f=FN=qvBn\ell A\sin \theta =Bi\ell \sin \theta } ,

where i = nqvA.

The right-hand rule: Pointing the thumb of the right hand in the direction of the conventional current, and the fingers in the direction of B, the force on the current points out of the palm. The force is reversed for a negative charge.
The influence of a strong magnetic field on the electron Kepler orbit in the Coulomb field of the atomic nucleus in Hydrogen atom (placed in the center) exposing the trajectory-deflecting nature of the field. Because of the action of the strong Lorentz force the elliptical orbit is deformed into double 8-shape orbit, the symmetry axis of which additionally rotates slowly around the positively charged nucleus.

Direction of force

The direction of force on a charge or a current can be determined by a mnemonic known as the right-hand rule (see the figure). Using the right hand, pointing the thumb in the direction of the current, and the fingers in the direction of the magnetic field, the resulting force on the charge points outwards from the palm. The force on a negatively charged particle is in the opposite direction. If both the speed and the charge are reversed then the direction of the force remains the same. For that reason a magnetic field measurement (by itself) cannot distinguish whether there is a positive charge moving to the right or a negative charge moving to the left. (Both of these cases produce the same current.) On the other hand, a magnetic field combined with an electric field can distinguish between these, see Hall effect below.

An alternative mnemonic to the right hand rule is Fleming's left-hand rule.

Magnetic field Interactions with electric currents articles: 24

Relation between H and B

The formulas derived for the magnetic field above are correct when dealing with the entire current. A magnetic material placed inside a magnetic field, though, generates its own bound current, which can be a challenge to calculate. (This bound current is due to the sum of atomic sized current loops and the spin of the subatomic particles such as electrons that make up the material.) The H-field as defined above helps factor out this bound current; but to see how, it helps to introduce the concept of magnetization first.


The magnetization vector field M represents how strongly a region of material is magnetized. It is defined as the net magnetic dipole moment per unit volume of that region. The magnetization of a uniform magnet is therefore a material constant, equal to the magnetic moment m of the magnet divided by its volume. Since the SI unit of magnetic moment is A⋅m2, the SI unit of magnetization M is ampere per meter, identical to that of the H-field.

The magnetization M field of a region points in the direction of the average magnetic dipole moment in that region. Magnetization field lines, therefore, begin near the magnetic south pole and ends near the magnetic north pole. (Magnetization does not exist outside the magnet.)

In the Amperian loop model, the magnetization is due to combining many tiny Amperian loops to form a resultant current called bound current. This bound current, then, is the source of the magnetic B field due to the magnet. (See Magnetic dipoles below and magnetic poles vs. atomic currents for more information.) Given the definition of the magnetic dipole, the magnetization field follows a similar law to that of Ampere's law:[35]

M d = I b , {\displaystyle \oint \mathbf {M} \cdot \mathrm {d} {\boldsymbol {\ell }}=I_{\mathrm {b} },}

where the integral is a line integral over any closed loop and Ib is the bound current enclosed by that closed loop.

In the magnetic pole model, magnetization begins at and ends at magnetic poles. If a given region, therefore, has a net positive "magnetic pole strength" (corresponding to a north pole) then it has more magnetization field lines entering it than leaving it. Mathematically this is equivalent to:

S μ 0 M d A = q M {\displaystyle \oint _{S}\mu _{0}\mathbf {M} \cdot \mathrm {d} \mathbf {A} =-q_{\mathrm {M} }} ,

where the integral is a closed surface integral over the closed surface S and qM is the "magnetic charge" (in units of magnetic flux) enclosed by S. (A closed surface completely surrounds a region with no holes to let any field lines escape.) The negative sign occurs because the magnetization field moves from south to north.

H-field and magnetic materials

In SI units, the H-field is related to the B-field by

H     B μ 0 M . {\displaystyle \mathbf {H} \ \equiv \ {\frac {\mathbf {B} }{\mu _{0}}}-\mathbf {M} .}

In terms of the H-field, Ampere's law is

H d = ( B μ 0 M ) d = I t o t I b = I f , {\displaystyle \oint \mathbf {H} \cdot \mathrm {d} {\boldsymbol {\ell }}=\oint \left({\frac {\mathbf {B} }{\mu _{0}}}-\mathbf {M} \right)\cdot \mathrm {d} {\boldsymbol {\ell }}=I_{\mathrm {tot} }-I_{\mathrm {b} }=I_{\mathrm {f} },}

where If represents the 'free current' enclosed by the loop so that the line integral of H does not depend at all on the bound currents.[36]

For the differential equivalent of this equation see Maxwell's equations. Ampere's law leads to the boundary condition

( H 1 H 2 ) = K f × n ^ , {\displaystyle \left(\mathbf {H_{1}^{\parallel }} -\mathbf {H_{2}^{\parallel }} \right)=\mathbf {K} _{\mathrm {f} }\times {\hat {\mathbf {n} }},}

where Kf is the surface free current density and the unit normal n ^ {\displaystyle {\hat {\mathbf {n} }}} points in the direction from medium 2 to medium 1.[37]

Similarly, a surface integral of H over any closed surface is independent of the free currents and picks out the "magnetic charges" within that closed surface:

S μ 0 H d A = S ( B μ 0 M ) d A = 0 ( q M ) = q M , {\displaystyle \oint _{S}\mu _{0}\mathbf {H} \cdot \mathrm {d} \mathbf {A} =\oint _{S}(\mathbf {B} -\mu _{0}\mathbf {M} )\cdot \mathrm {d} \mathbf {A} =0-(-q_{\mathrm {M} })=q_{\mathrm {M} },}

which does not depend on the free currents.

The H-field, therefore, can be separated into two[note 12] independent parts:

H = H 0 + H d , {\displaystyle \mathbf {H} =\mathbf {H} _{0}+\mathbf {H} _{\mathrm {d} },\,}

where H0 is the applied magnetic field due only to the free currents and Hd is the demagnetizing field due only to the bound currents.

The magnetic H-field, therefore, re-factors the bound current in terms of "magnetic charges". The H field lines loop only around "free current" and, unlike the magnetic B field, begins and ends near magnetic poles as well.


Most materials respond to an applied B-field by producing their own magnetization M and therefore their own B-fields. Typically, the response is weak and exists only when the magnetic field is applied. The term magnetism describes how materials respond on the microscopic level to an applied magnetic field and is used to categorize the magnetic phase of a material. Materials are divided into groups based upon their magnetic behavior:

In the case of paramagnetism and diamagnetism, the magnetization M is often proportional to the applied magnetic field such that:

B = μ H , {\displaystyle \mathbf {B} =\mu \mathbf {H} ,}

where μ is a material dependent parameter called the permeability. In some cases the permeability may be a second rank tensor so that H may not point in the same direction as B. These relations between B and H are examples of constitutive equations. However, superconductors and ferromagnets have a more complex B-to-H relation; see magnetic hysteresis.

Magnetic field Relation between H and B articles: 13

Stored energy

Energy is needed to generate a magnetic field both to work against the electric field that a changing magnetic field creates and to change the magnetization of any material within the magnetic field. For non-dispersive materials, this same energy is released when the magnetic field is destroyed so that the energy can be modeled as being stored in the magnetic field.

For linear, non-dispersive, materials (such that B = μH where μ is frequency-independent), the energy density is:

u = B H 2 = B B 2 μ = μ H H 2 . {\displaystyle u={\frac {\mathbf {B} \cdot \mathbf {H} }{2}}={\frac {\mathbf {B} \cdot \mathbf {B} }{2\mu }}={\frac {\mu \mathbf {H} \cdot \mathbf {H} }{2}}.}

If there are no magnetic materials around then μ can be replaced by μ0. The above equation cannot be used for nonlinear materials, though; a more general expression given below must be used.

In general, the incremental amount of work per unit volume δW needed to cause a small change of magnetic field δB is:

δ W = H δ B . {\displaystyle \delta W=\mathbf {H} \cdot \delta \mathbf {B} .}

Once the relationship between H and B is known this equation is used to determine the work needed to reach a given magnetic state. For hysteretic materials such as ferromagnets and superconductors, the work needed also depends on how the magnetic field is created. For linear non-dispersive materials, though, the general equation leads directly to the simpler energy density equation given above.

Magnetic field Stored energy articles: 2

Relationship with electric fields

Faraday's Law

A changing magnetic field, such as a magnet moving through a conducting coil, generates an electric field (and therefore tends to drive a current in such a coil). This is known as Faraday's law and forms the basis of many electrical generators and electric motors. Mathematically, Faraday's law is:

E = d Φ d t , {\displaystyle {\mathcal {E}}=-{\frac {\mathrm {d} \Phi }{\mathrm {d} t}},}

where E {\displaystyle \scriptstyle {\mathcal {E}}} is the electromotive force (or EMF, the voltage generated around a closed loop) and Φ is the magnetic flux—the product of the area times the magnetic field normal to that area. (This definition of magnetic flux is why B is often referred to as magnetic flux density.)[43]:210 The negative sign represents the fact that any current generated by a changing magnetic field in a coil produces a magnetic field that opposes the change in the magnetic field that induced it. This phenomenon is known as Lenz's law. This integral formulation of Faraday's law can be converted[note 13] into a differential form, which applies under slightly different conditions. This form is covered as one of Maxwell's equations below.

Maxwell's correction to Ampère's Law

Similar to the way that a changing magnetic field generates an electric field, a changing electric field generates a magnetic field. This fact is known as Maxwell's correction to Ampère's law and is applied as an additive term to Ampere's law as given above. This additional term is proportional to the time rate of change of the electric flux and is similar to Faraday's law above but with a different and positive constant out front. (The electric flux through an area is proportional to the area times the perpendicular part of the electric field.)

The full law including the correction term is known as the Maxwell–Ampère equation. It is not commonly given in integral form because the effect is so small that it can typically be ignored in most cases where the integral form is used.

The Maxwell term is critically important in the creation and propagation of electromagnetic waves. Maxwell's correction to Ampère's Law together with Faraday's law of induction describes how mutually changing electric and magnetic fields interact to sustain each other and thus to form electromagnetic waves, such as light: a changing electric field generates a changing magnetic field, which generates a changing electric field again. These, though, are usually described using the differential form of this equation given below.

Maxwell's equations

Like all vector fields, a magnetic field has two important mathematical properties that relates it to its sources. (For B the sources are currents and changing electric fields.) These two properties, along with the two corresponding properties of the electric field, make up Maxwell's Equations. Maxwell's Equations together with the Lorentz force law form a complete description of classical electrodynamics including both electricity and magnetism.

The first property is the divergence of a vector field A, · A, which represents how A "flows" outward from a given point. As discussed above, a B-field line never starts or ends at a point but instead forms a complete loop. This is mathematically equivalent to saying that the divergence of B is zero. (Such vector fields are called solenoidal vector fields.) This property is called Gauss's law for magnetism and is equivalent to the statement that there are no isolated magnetic poles or magnetic monopoles. The electric field on the other hand begins and ends at electric charges so that its divergence is non-zero and proportional to the charge density (See Gauss's law).

The second mathematical property is called the curl, such that × A represents how A curls or "circulates" around a given point. The result of the curl is called a "circulation source". The equations for the curl of B and of E are called the Ampère–Maxwell equation and Faraday's law respectively. They represent the differential forms of the integral equations given above.

The complete set of Maxwell's equations then are:

B = 0 , E = ρ ε 0 , × B = μ 0 J + μ 0 ε 0 E t , × E = B t , {\displaystyle {\begin{aligned}\nabla \cdot \mathbf {B} &=0,\\\nabla \cdot \mathbf {E} &={\frac {\rho }{\varepsilon _{0}}},\\\nabla \times \mathbf {B} &=\mu _{0}\mathbf {J} +\mu _{0}\varepsilon _{0}{\frac {\partial \mathbf {E} }{\partial t}},\\\nabla \times \mathbf {E} &=-{\frac {\partial \mathbf {B} }{\partial t}},\end{aligned}}}

where J = complete microscopic current density and ρ is the charge density.

As discussed above, materials respond to an applied electric E field and an applied magnetic B field by producing their own internal "bound" charge and current distributions that contribute to E and B but are difficult to calculate. To circumvent this problem, H and D fields are used to re-factor Maxwell's equations in terms of the free current density Jf and free charge density ρf:

B = 0 , D = ρ f , × H = J f + D t , × E = B t . {\displaystyle {\begin{aligned}\nabla \cdot \mathbf {B} &=0,\\\nabla \cdot \mathbf {D} &=\rho _{\mathrm {f} },\\\nabla \times \mathbf {H} &=\mathbf {J} _{\mathrm {f} }+{\frac {\partial \mathbf {D} }{\partial t}},\\\nabla \times \mathbf {E} &=-{\frac {\partial \mathbf {B} }{\partial t}}.\end{aligned}}}

These equations are not any more general than the original equations (if the "bound" charges and currents in the material are known). They also must be supplemented by the relationship between B and H as well as that between E and D. On the other hand, for simple relationships between these quantities this form of Maxwell's equations can circumvent the need to calculate the bound charges and currents.

Electric and magnetic fields: different aspects of the same phenomenon

According to the special theory of relativity, the partition of the electromagnetic force into separate electric and magnetic components is not fundamental, but varies with the observational frame of reference: An electric force perceived by one observer may be perceived by another (in a different frame of reference) as a magnetic force, or a mixture of electric and magnetic forces.

Formally, special relativity combines the electric and magnetic fields into a rank-2 tensor, called the electromagnetic tensor. Changing reference frames mixes these components. This is analogous to the way that special relativity mixes space and time into spacetime, and mass, momentum, and energy into four-momentum.[44]

Magnetic vector potential

In advanced topics such as quantum mechanics and relativity it is often easier to work with a potential formulation of electrodynamics rather than in terms of the electric and magnetic fields. In this representation, the magnetic vector potential A, and the electric scalar potential φ, are defined such that:

B = × A , E = φ A t . {\displaystyle {\begin{aligned}\mathbf {B} &=\nabla \times \mathbf {A} ,\\\mathbf {E} &=-\nabla \varphi -{\frac {\partial \mathbf {A} }{\partial t}}.\end{aligned}}}

The vector potential A may be interpreted as a generalized potential momentum per unit charge[45] just as φ is interpreted as a generalized potential energy per unit charge.

Maxwell's equations when expressed in terms of the potentials can be cast into a form that agrees with special relativity with little effort.[46] In relativity A together with φ forms the four-potential, analogous to the four-momentum that combines the momentum and energy of a particle. Using the four potential instead of the electromagnetic tensor has the advantage of being much simpler—and it can be easily modified to work with quantum mechanics.

Quantum electrodynamics

In modern physics, the electromagnetic field is understood to be not a classical field, but rather a quantum field; it is represented not as a vector of three numbers at each point, but as a vector of three quantum operators at each point. The most accurate modern description of the electromagnetic interaction (and much else) is quantum electrodynamics (QED),[47] which is incorporated into a more complete theory known as the Standard Model of particle physics.

In QED, the magnitude of the electromagnetic interactions between charged particles (and their antiparticles) is computed using perturbation theory. These rather complex formulas produce a remarkable pictorial representation as Feynman diagrams in which virtual photons are exchanged.

Predictions of QED agree with experiments to an extremely high degree of accuracy: currently about 10−12 (and limited by experimental errors); for details see precision tests of QED. This makes QED one of the most accurate physical theories constructed thus far.

All equations in this article are in the classical approximation, which is less accurate than the quantum description mentioned here. However, under most everyday circumstances, the difference between the two theories is negligible.

Magnetic field Relationship with electric fields articles: 37

Uses and examples

Earth's magnetic field

A sketch of Earth's magnetic field representing the source of the field as a magnet. The south pole of the magnetic field is near the geographic north pole of the Earth.

The Earth's magnetic field is produced by convection of a liquid iron alloy in the outer core. In a dynamo process, the movements drive a feedback process in which electric currents create electric and magnetic fields that in turn act on the currents.[48]

The field at the surface of the Earth is approximately the same as if a giant bar magnet were positioned at the center of the Earth and tilted at an angle of about 11° off the rotational axis of the Earth (see the figure).[49] The north pole of a magnetic compass needle points roughly north, toward the North Magnetic Pole. However, because a magnetic pole is attracted to its opposite, the North Magnetic Pole is actually the south pole of the geomagnetic field. This confusion in terminology arises because the pole of a magnet is defined by the geographical direction it points.[50]

Earth's magnetic field is not constant—the strength of the field and the location of its poles vary.[51] Moreover, the poles periodically reverse their orientation in a process called geomagnetic reversal. The most recent reversal occurred 780,000 years ago.[52]

Rotating magnetic fields

The rotating magnetic field is a key principle in the operation of alternating-current motors. A permanent magnet in such a field rotates so as to maintain its alignment with the external field. This effect was conceptualized by Nikola Tesla, and later utilized in his and others' early AC (alternating current) electric motors.

Magnetic torque is used to drive electric motors. In one simple motor design, a magnet is fixed to a freely rotating shaft and subjected to a magnetic field from an array of electromagnets. By continuously switching the electric current through each of the electromagnets, thereby flipping the polarity of their magnetic fields, like poles are kept next to the rotor; the resultant torque is transferred to the shaft.

A rotating magnetic field can be constructed using two orthogonal coils with 90 degrees phase difference in their AC currents. However, in practice such a system would be supplied through a three-wire arrangement with unequal currents.

This inequality would cause serious problems in standardization of the conductor size and so, to overcome it, three-phase systems are used where the three currents are equal in magnitude and have 120 degrees phase difference. Three similar coils having mutual geometrical angles of 120 degrees create the rotating magnetic field in this case. The ability of the three-phase system to create a rotating field, utilized in electric motors, is one of the main reasons why three-phase systems dominate the world's electrical power supply systems.

Synchronous motors use DC-voltage-fed rotor windings, which lets the excitation of the machine be controlled—and induction motors use short-circuited rotors (instead of a magnet) following the rotating magnetic field of a multicoiled stator. The short-circuited turns of the rotor develop eddy currents in the rotating field of the stator, and these currents in turn move the rotor by the Lorentz force.

In 1882, Nikola Tesla identified the concept of the rotating magnetic field. In 1885, Galileo Ferraris independently researched the concept. In 1888, Tesla gained U.S. Patent 381,968 for his work. Also in 1888, Ferraris published his research in a paper to the Royal Academy of Sciences in Turin.

Hall effect

The charge carriers of a current-carrying conductor placed in a transverse magnetic field experience a sideways Lorentz force; this results in a charge separation in a direction perpendicular to the current and to the magnetic field. The resultant voltage in that direction is proportional to the applied magnetic field. This is known as the Hall effect.

The Hall effect is often used to measure the magnitude of a magnetic field. It is used as well to find the sign of the dominant charge carriers in materials such as semiconductors (negative electrons or positive holes).

Magnetic circuits

An important use of H is in magnetic circuits where B = μH inside a linear material. Here, μ is the magnetic permeability of the material. This result is similar in form to Ohm's law J = σE, where J is the current density, σ is the conductance and E is the electric field. Extending this analogy, the counterpart to the macroscopic Ohm's law (I = VR) is:

Φ = F R m , {\displaystyle \Phi ={\frac {F}{R}}_{\mathrm {m} },}

where Φ = B d A {\displaystyle \Phi =\int \mathbf {B} \cdot \mathrm {d} \mathbf {A} } is the magnetic flux in the circuit, F = H d {\displaystyle F=\int \mathbf {H} \cdot \mathrm {d} {\boldsymbol {\ell }}} is the magnetomotive force applied to the circuit, and Rm is the reluctance of the circuit. Here the reluctance Rm is a quantity similar in nature to resistance for the flux.

Using this analogy it is straightforward to calculate the magnetic flux of complicated magnetic field geometries, by using all the available techniques of circuit theory.

Magnetic field shape descriptions

Schematic quadrupole magnet ("four-pole") magnetic field. There are four steel pole tips, two opposing magnetic north poles and two opposing magnetic south poles.
  • An azimuthal magnetic field is one that runs east–west.
  • A meridional magnetic field is one that runs north–south. In the solar dynamo model of the Sun, differential rotation of the solar plasma causes the meridional magnetic field to stretch into an azimuthal magnetic field, a process called the omega-effect. The reverse process is called the alpha-effect.[53]
  • A dipole magnetic field is one seen around a bar magnet or around a charged elementary particle with nonzero spin.
  • A quadrupole magnetic field is one seen, for example, between the poles of four bar magnets. The field strength grows linearly with the radial distance from its longitudinal axis.
  • A solenoidal magnetic field is similar to a dipole magnetic field, except that a solid bar magnet is replaced by a hollow electromagnetic coil magnet.
  • A toroidal magnetic field occurs in a doughnut-shaped coil, the electric current spiraling around the tube-like surface, and is found, for example, in a tokamak.
  • A poloidal magnetic field is generated by a current flowing in a ring, and is found, for example, in a tokamak.
  • A radial magnetic field is one in which field lines are directed from the center outwards, similar to the spokes in a bicycle wheel. An example can be found in a loudspeaker transducers (driver).[54]
  • A helical magnetic field is corkscrew-shaped, and sometimes seen in space plasmas such as the Orion Molecular Cloud.[55]

Magnetic field Uses and examples articles: 31