Magnetic field - wikipedia Magnetic field For other uses, see Magnetic field ( disambiguation ). 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. Part of a series of articles about Electromagnetism Electricity Magnetism Electrostatics Electric charge Static electricity Electric field Conductor Insulator Triboelectricity Electrostatic discharge Induction Coulomb 's law Gauss 's law Electric flux / potential energy Electric dipole moment Polarization density Magnetostatics Ampère 's law Magnetic field Magnetization Magnetic flux Biot -- Savart law Magnetic dipole moment Gauss 's law for magnetism Electrodynamics Lorentz force law Electromagnetic induction Faraday 's law Lenz 's law Displacement current Magnetic potential Maxwell 's equations Electromagnetic field Electromagnetic pulse Electromagnetic radiation Maxwell tensor Poynting vector Liénard -- Wiechert potential Jefimenko 's equations Eddy current London equations Mathematical descriptions of the electromagnetic field Electrical network Electric current Electric potential Voltage Resistance Ohm 's law Series circuit Parallel circuit Direct current Alternating current Electromotive force Capacitance Inductance Impedance Resonant cavities Waveguides Covariant formulation Electromagnetic tensor ( stress -- energy tensor ) Four - current Electromagnetic four - potential Scientists Ampère Coulomb Faraday Gauss Heaviside Henry Hertz Lorentz Maxwell Tesla Volta Weber Ørsted A magnetic field is a vector field that describes the magnetic influence of electrical currents and magnetized materials. In everyday life, the effects of magnetic fields are most readily encountered with nearby permanent magnets, which pull on magnetic materials ( such as iron ) and attract or repel other magnets. Magnetic fields surround and are created by magnetized material and by moving electric charges ( electric currents ) such as those used in electromagnets. Magnetic fields exert forces on nearby moving electrical charges and torques on nearby magnets. In addition, a magnetic field that varies with location exerts a force on magnetic materials. Both the strength and direction of a magnetic field varies with location. As such, it is an example of a vector field. The term ' magnetic field ' is used for two distinct but closely related fields denoted by the symbols B and H. In the International System of Units, H is measured in units of amperes per meter and B is measured in teslas or newtons per meter per ampere. H and B differ in how they account for magnetization. In a vacuum, B and H are the same aside from units ; but in a magnetized material, B / μ 0 ( displaystyle mu _ ( 0 ) ) and H differ by the magnetization M of the material at that point in the material. Magnetic fields are produced by moving electric charges and the intrinsic magnetic moments of elementary particles associated with a fundamental quantum property, their spin. 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 widely 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 studied in the discipline of 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. Contents 1 History 2 Definitions, units and measurement 2.1 The B - field 2.2 The H - field 2.3 Units 2.4 Measurement 3 Magnetic field lines 4 Magnetic field and permanent magnets 4.1 Magnetic field of permanent magnets 4.2 Magnetic pole model and the H - field 4.3 Amperian loop model and the B - field 4.4 Force between magnets 4.5 Magnetic torque on permanent magnets 5 Magnetic field and electric currents 5.1 Magnetic field due to moving charges and electric currents 5.2 Force on moving charges and current 5.2. 1 Force on a charged particle 5.2. 2 Force on current - carrying wire 5.2. 3 Direction of force 6 Relation between H and B 6.1 Magnetization 6.2 H - field and magnetic materials 6.3 Magnetism 7 Energy stored in magnetic fields 8 Electromagnetism : the relationship between magnetic and electric fields 8.1 Faraday 's Law : Electric force due to a changing B - field 8.2 Maxwell 's correction to Ampère 's Law : The magnetic field due to a changing electric field 8.3 Maxwell 's equations 8.4 Electric and magnetic fields : different aspects of the same phenomenon 8.5 Magnetic vector potential 8.6 Quantum electrodynamics 9 Important uses and examples of magnetic field 9.1 Earth 's magnetic field 9.2 Rotating magnetic fields 9.3 Hall effect 9.4 Magnetic circuits 9.5 Magnetic field shape descriptions 9.6 Magnetic dipoles 9.7 Magnetic monopole ( hypothetical ) 10 See also 10.1 General 10.2 Mathematics 10.3 Applications 11 Notes 12 References 13 Further reading 14 External links 14.1 Information 14.2 Field density 14.3 Rotating magnetic fields 14.4 Diagrams History Main article : History of electromagnetic theory One of the first drawings of a magnetic field, by René Descartes, 1644, showing the Earth attracting lodestones. It illustrated his theory that magnetism was caused by the circulation of tiny helical particles, `` threaded parts '', through threaded pores in magnets. Although magnets and magnetism were studied much earlier, the research of magnetic fields began in 1269 when French scholar Petrus Peregrinus de Maricourt mapped out the magnetic field on the surface of a spherical magnet using iron needles. Noting that the resulting field lines crossed at two points he named those points ' poles ' in analogy to Earth 's poles. He also clearly articulated the principle that magnets always have both a north and south pole, no matter how finely one slices them. Almost three centuries later, William Gilbert of Colchester replicated Petrus Peregrinus ' work and was the first to state explicitly that Earth is a magnet. Published in 1600, Gilbert 's work, De Magnete, helped to establish magnetism as a science. In 1750, John Michell stated that magnetic poles attract and repel in accordance with an inverse square law. Charles - Augustin de Coulomb experimentally verified this in 1785 and stated explicitly that the north and south poles can not be separated. Building on this force between poles, Siméon Denis Poisson ( 1781 -- 1840 ) created the first successful model of the magnetic field, which he presented in 1824. In this model, a magnetic H - field is produced by ' magnetic poles ' and magnetism is due to small pairs of north / south magnetic poles. Hans Christian Ørsted, Der Geist in der Natur, 1854 Three discoveries challenged this foundation of magnetism, though. First, in 1819, Hans Christian Ørsted discovered that an electric current generates a magnetic field encircling it. Then in 1820, André - Marie Ampère showed that parallel wires with currents attract one another if the currents are in the same direction and repel if they are in opposite directions. Finally, Jean - Baptiste Biot and Félix Savart discovered the Biot -- Savart law in 1820, which correctly predicts the magnetic field around any current - carrying wire. Extending these experiments, Ampère published his own successful model of magnetism in 1825. In it, he showed the equivalence of electrical currents to magnets and proposed that magnetism is due to perpetually flowing loops of current instead of the dipoles of magnetic charge in Poisson 's model. This has the additional benefit of explaining why magnetic charge can not be isolated. Further, Ampère derived both Ampère 's force law describing the force between two currents and Ampère 's law, which, like the Biot -- Savart law, correctly described the magnetic field generated by a steady current. Also in this work, Ampère introduced the term electrodynamics to describe the relationship between electricity and magnetism. In 1831, Michael Faraday discovered electromagnetic induction when he found that a changing magnetic field generates an encircling electric field. He described this phenomenon in what is known as Faraday 's law of induction. Later, Franz Ernst Neumann proved that, for a moving conductor in a magnetic field, induction is a consequence of Ampère 's force law. In the process, he introduced the magnetic vector potential, which was later shown to be equivalent to the underlying mechanism proposed by Faraday. In 1850, Lord Kelvin, then known as William Thomson, distinguished between two magnetic fields now denoted H and B. The former applied to Poisson 's model and the latter to Ampère 's model and induction. Further, he derived how H and B relate to each other. The reason H and B are used for the two magnetic fields has been a source of some debate among science historians. Most agree that Kelvin avoided M to prevent confusion with the SI fundamental unit of length, the Metre, abbreviated `` m ''. Others believe the choices were purely random. Between 1861 and 1865, James Clerk Maxwell developed and published Maxwell 's equations, which explained and united all of classical electricity and magnetism. The first set of these equations was published in a paper entitled On Physical Lines of Force in 1861. These equations were valid although incomplete. Maxwell completed his set of equations in his later 1865 paper A Dynamical Theory of the Electromagnetic Field and demonstrated the fact that light is an electromagnetic wave. Heinrich Hertz experimentally confirmed this fact in 1887. The twentieth century extended electrodynamics to include relativity and quantum mechanics. Albert Einstein, in his paper of 1905 that established relativity, showed that both the electric and magnetic fields are part of the same phenomena viewed from different reference frames. ( See moving magnet and conductor problem for details about the thought experiment that eventually helped Albert Einstein to develop special relativity. ) Finally, the emergent field of quantum mechanics was merged with electrodynamics to form quantum electrodynamics ( QED ). Definitions, units and measurement Comparison of B, H and M inside and outside a cylindrical bar magnet. The B - field Alternative names for B Magnetic flux density Magnetic induction Magnetic field The magnetic field can be defined in several equivalent ways based on the effects it has on its environment. Often the magnetic field is defined by the force it exerts on a moving charged particle. It is known from experiments in electrostatics that a particle of charge q in an electric field E experiences a force F = qE. However, in other situations, such as when a charged particle moves in the vicinity of a current - carrying wire, the force also depends on the velocity of that particle. Fortunately, the velocity dependent portion can be separated out such that the force on the particle satisfies the Lorentz force law, F = q ( E + v × B ). ( displaystyle mathbf ( F ) = q ( mathbf ( E ) + mathbf ( v ) \times mathbf ( B ) ). ) Here v is the particle 's velocity and × denotes the cross product. The vector B is termed the magnetic field, and it is defined as the vector field necessary to make the Lorentz force law correctly describe the motion of a charged particle. This definition allows the determination of B in the following way ( 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. Alternatively, the magnetic field can be defined in terms of the torque it produces on a magnetic dipole ( see magnetic torque on permanent magnets below ). The H - field Alternative names for H Magnetic field intensity Magnetic field strength Magnetic field Magnetizing field In addition to B, there is a quantity H, which is often called the magnetic field. In a vacuum, B and H are proportional to each other, with the multiplicative constant depending on the physical units. Inside a material they are different ( see H and B inside and outside magnetic materials ). The term `` magnetic field '' is historically reserved for H while using other terms for B. Informally, though, and formally for some recent textbooks mostly in physics, the term ' magnetic field ' is used to describe B as well as or in place of H. There are many alternative names for both ( see sidebar ). Units In SI units, B is measured in teslas ( symbol : T ) and correspondingly Φ ( magnetic flux ) is measured in webers ( symbol : Wb ) so that a flux density of 1 Wb / m is 1 tesla. The SI unit of tesla is equivalent to ( newton second ) / ( coulomb metre ). In Gaussian - cgs units, B is measured in gauss ( symbol : G ). ( The conversion is 1 T = 10000 G. ) One nanotesla is equivalent to 1 gamma ( symbol : γ ). The H - field is measured in amperes per metre ( A / m ) in SI units, and in oersteds ( Oe ) in cgs units. Measurement The precision attained for a magnetic field measurement for Gravity Probe B experiment is 5 attoteslas ( 6982500000000000000 ♠ 5 × 10 T ) ; the largest magnetic field produced in a laboratory is 2.8 kT ( VNIIEF in Sarov, Russia, 1998 ). The magnetic field of some astronomical objects such as magnetars are much higher ; magnetars range from 0.1 to 100 GT ( 10 to 10 T ). See orders of magnitude ( magnetic field ). Devices used to measure the local magnetic field are called magnetometers. Important classes of magnetometers include using induction magnetometer ( or search - coil magnetometer ) which measure only varying magnetic field, rotating coil magnetometer, 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. Magnetic field lines Main article : Field line 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. Mapping the magnetic field of an object is simple in principle. First, measure the strength and direction of the magnetic field at a large number of locations ( 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. An alternative method to map the magnetic field is to ' connect ' the arrows to form 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 something continuous, 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. Various phenomena have the effect of `` displaying '' 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 '. 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 and permanent magnets Main article : Magnet 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 Main articles : Magnetic moment and Two definitions of moment The magnetic field of permanent magnets can be quite complicated, especially near the magnet. The magnetic field of a small 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. And, 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 and the H - field 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. This is called the Gilbert model of magnetism, after William Gilbert. In this model, a magnetic H - field is produced by magnetic charges that are ' smeared ' around 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 q separated by a small distance vector d, such that m = q d. 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 Gilbert model has limitations. Magnetic poles can not 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. Amperian loop model and the B - field See also : Gauss 's law for magnetism 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 ). The north pole is to the right and the south to the left. After Ørsted discovered that electric currents produce a magnetic field 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 either extends to infinity or wraps around to form a closed curve. 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. If a B - field line enters a magnet somewhere it has to leave somewhere else ; it is not allowed to have an end point. Magnetic poles, therefore, always come in N and S pairs. More formally, since all the magnetic field lines that enter any given region must also leave that region, subtracting the ' number ' of field lines that enter the region from the number that exit gives identically zero. Mathematically this is equivalent to : ∮ S ⁡ B ⋅ d A = 0, ( displaystyle oint _ ( S ) mathbf ( B ) cdot mathrm ( 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. There is also a corresponding differential form of this equation covered in Maxwell 's equations below. Force between magnets Main article : Force between magnets The force between two small magnets is quite complicated and depends on the strength and orientation of both magnets and the distance and direction of the magnets 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 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 : F = ∇ ( m ⋅ B ), ( displaystyle mathbf ( F ) = mathbf ( \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. To understand this equation, note that 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 Main article : Magnetic torque 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. 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. See Rotating magnetic fields below. torque on 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. As is the case for the force between magnets, the magnetic pole model leads more readily to the correct equation. Here, 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 τ = μ mHsinθ, where μ is a constant called the vacuum permeability, measuring 6993400000000000000 ♠ 4π × 10 V s / ( A m ) and θ is the angle between H and m. The Amperian loop model also predicts the same magnetic torque. Here, it is the B field interacting with the Amperian current loop through a Lorentz force described below. Again, the results are the same although the models are completely different. Cross product : a × b = ab 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. Note that 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. ( 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 and 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 Main articles : Electromagnet, Biot -- Savart law, and Ampère 's law 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. 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. ) Solenoid 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 ) is described by the Biot -- Savart law : B = μ 0 I 4 π ∫ w i r e d l × 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 dl is the vector line element with direction in the same sense as the current I, μ is the magnetic constant, r is the distance between the location of dl and the location where the magnetic field is calculated, and r̂ is a unit vector in the direction of r. In the case of a sufficiently long wire, this becomes : B = μ 0 I 2 π r ( displaystyle mathbf ( B ) = ( \frac ( mu _ ( 0 ) I ) ( 2 pi r ) ) ) where r is the distance from the wire. A slightly more general way of relating the current I ( displaystyle ( I ) ) to the B - field is through Ampère 's law : ∮ ⁡ B ⋅ d l = μ 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 ) ) 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 drifts in a magnetic field with ( A ) no net force, ( B ) an electric field, E, ( C ) a charge independent force, F ( e.g. gravity ), and ( D ) in a homogeneous magnetic field, grad H. Force on a charged particle Main article : Lorentz force 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. 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 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 Main article : Laplace force 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 l, 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 l A ( displaystyle N = n ell A ), the force exerted on the conductor is f = F N = q v B n l A sin ⁡ θ = B i l 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. Direction of force See also : Right - hand rule 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 ) can not 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 Flemings 's left hand rule. 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. Magnetization Main article : Magnetization 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 ⋅ m, 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 : ∮ ⁡ M ⋅ d l = 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 I 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 q 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 See also : demagnetizing field 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 l = ∮ ⁡ ( B μ 0 − M ) ⋅ d l = 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 I represents the ' free current ' enclosed by the loop so that the line integral of H does not depend at all on the bound currents. 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 K 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. 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 independent parts : H = H 0 + H d, ( displaystyle mathbf ( H ) = mathbf ( H ) _ ( 0 ) + mathbf ( H ) _ ( mathrm ( d ) ), , ) where H is the applied magnetic field due only to the free currents and H 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. Magnetism Main article : Magnetism Most materials respond to an applied B - field by producing their own magnetization M and therefore their own B - field. 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 : Diamagnetic materials produce a magnetization that opposes the magnetic field. Paramagnetic materials produce a magnetization in the same direction as the applied magnetic field. Ferromagnetic materials and the closely related ferrimagnetic materials and antiferromagnetic materials can have a magnetization independent of an applied B - field with a complex relationship between the two fields. Superconductors ( and ferromagnetic superconductors ) are materials that are characterized by perfect conductivity below a critical temperature and magnetic field. They also are highly magnetic and can be perfect diamagnets below a lower critical magnetic field. Superconductors often have a broad range of temperatures and magnetic fields ( the so - named mixed state ) under which they exhibit a complex hysteretic dependence of M on B. 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. Energy stored in magnetic fields Main article : Magnetic energy See also : Magnetic hysteresis 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 this 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 μ. The above equation can not 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. Electromagnetism : the relationship between magnetic and electric fields Main article : Electromagnetism Faraday 's law : electric force due to a changing B - field Main articles : Faraday 's law and Magnetic flux 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. ) 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 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 : the magnetic field due to a changing electric field Main article : 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 Main article : 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 J and free charge density ρ : ∇ ⋅ 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 Main article : Relativistic electromagnetism 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. Magnetic vector potential Main article : Magnetic 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 vector potential A, and the 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 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. 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 See also : Standard Model and 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 ), 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 ( 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. Important uses and examples of magnetic field Earth 's magnetic field Main article : Earth 's magnetic field A sketch of Earth 's magnetic field representing the source of the field as a magnet. The geographic north pole is above the south pole of the magnet. 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. 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 ). 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. Earth 's magnetic field is not constant -- the strength of the field and the location of its poles vary. Moreover, the poles periodically reverse their orientation in a process called geomagnetic reversal. The most recent reversal occurred 780,000 years ago. Rotating magnetic fields Main articles : Rotating magnetic field and Alternator 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. 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 Main article : 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 Main article : Magnetic circuit 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 = V ⁄ R ) 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 l ( displaystyle F = int mathbf ( H ) cdot mathrm ( d ) ( \boldsymbol ( ell ) ) ) is the magnetomotive force applied to the circuit, and R is the reluctance of the circuit. Here the reluctance R 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. 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 ). A helical magnetic field is corkscrew - shaped, and sometimes seen in space plasmas such as the Orion Molecular Cloud. Magnetic dipoles Magnetic field lines around a '' magnetostatic dipole '' pointing to the right. Main article : Magnetic dipole See also : Spin magnetic moment and Micromagnetism 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. Rotating the loop faster ( in the same direction ) increases the current and therefore the magnetic moment, for example. It is sometimes useful to model the magnetic dipole similar to the electric dipole with two equal but opposite magnetic charges ( one south the other north ) separated by distance d. This model produces an H - field not a B - field. Such a model is deficient, though, both in that there are no magnetic charges and in that it obscures the link between electricity and magnetism. Further, as discussed above it fails to explain the inherent connection between angular momentum and magnetism. Magnetic monopole ( hypothetical ) Main article : Magnetic monopole A magnetic monopole is a hypothetical particle ( or class of particles ) that has, as its name suggests, 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. In recent research, materials known as spin ices can simulate monopoles, but do not contain actual monopoles. See also General Magnetohydrodynamics -- the study of the dynamics of electrically conducting fluids Magnetic hysteresis -- application to ferromagnetism Magnetic nanoparticles -- extremely small magnetic particles that are tens of atoms wide Magnetic reconnection -- an effect that causes solar flares and auroras Magnetic potential -- the vector and scalar potential representation of magnetism SI electromagnetism units -- common units used in electromagnetism Orders of magnitude ( magnetic field ) -- list of magnetic field sources and measurement devices from smallest magnetic fields to largest detected Upward continuation Mathematics Magnetic helicity -- extent to which a magnetic field wraps around itself Applications Dynamo theory -- a proposed mechanism for the creation of the Earth 's magnetic field Helmholtz coil -- a device for producing a region of nearly uniform magnetic field Magnetic field viewing film -- Film used to view the magnetic field of an area Maxwell coil -- a device for producing a large volume of an almost constant magnetic field Stellar magnetic field -- a discussion of the magnetic field of stars Teltron tube -- device used to display an electron beam and demonstrates effect of electric and magnetic fields on moving charges Notes Jump up ^ His Epistola Petri Peregrini de Maricourt ad Sygerum de Foucaucourt Militem de Magnete, which is often shortened to Epistola de magnete, is dated 1269 C.E. Jump up ^ From the outside, the field of a dipole of magnetic charge has exactly the same form as a current loop when both are sufficiently small. Therefore, the two models differ only for magnetism inside magnetic material. Jump up ^ The letters B and H were originally chosen by Maxwell in his Treatise on Electricity and Magnetism ( Vol. II, pp. 236 -- 237 ). For many quantities, he simply started choosing letters from the beginning of the alphabet. See Ralph Baierlein ( 2000 ). `` Answer to Question # 73. S is for entropy, Q is for charge ''. American Journal of Physics. 68 ( 8 ) : 691. Bibcode : 2000AmJPh... 68... 691B. doi : 10.1119 / 1.19524. Jump up ^ Edward Purcell, in Electricity and Magnetism, McGraw - Hill, 1963, writes, Even some modern writers who treat B as the primary field feel obliged to call it the magnetic induction because the name magnetic field was historically preempted by H. This seems clumsy and pedantic. If you go into the laboratory and ask a physicist what causes the pion trajectories in his bubble chamber to curve, he 'll probably answer `` magnetic field '', not `` magnetic induction. '' You will seldom hear a geophysicist refer to the Earth 's magnetic induction, or an astrophysicist talk about the magnetic induction of the galaxy. We propose to keep on calling B the magnetic field. As for H, although other names have been invented for it, we shall call it `` the field H '' or even `` the magnetic field H. '' In a similar vein, M Gerloch ( 1983 ). Magnetism and Ligand - field Analysis. Cambridge University Press. p. 110. ISBN 0 - 521 - 24939 - 2. says : `` So we may think of both B and H as magnetic fields, but drop the word ' magnetic ' from H so as to maintain the distinction... As Purcell points out, ' it is only the names that give trouble, not the symbols '. '' Jump up ^ This can be seen from the magnetic part of the Lorentz force law F = qvBsinθ. Jump up ^ The use of iron filings to display a field presents something of an exception to this picture ; the filings alter the magnetic field so that it is much larger along the `` lines '' of iron, due to the large permeability of iron relative to air. Jump up ^ Here ' small ' means that the observer is sufficiently far away that it can be treated as being infinitesimally small. ' Larger ' magnets need to include more complicated terms in the expression and depend on the entire geometry of the magnet not just m. Jump up ^ Magnetic field lines may also wrap around and around without closing but also without ending. Jump up ^ To see that this must be true imagine placing a compass inside a magnet. There, the north pole of the compass points toward the north pole of the magnet since magnets stacked on each other point in the same direction. Jump up ^ As discussed above, magnetic field lines are primarily a conceptual tool used to represent the mathematics behind magnetic fields. The total ' number ' of field lines is dependent on how the field lines are drawn. In practice, integral equations such as the one that follows in the main text are used instead. Jump up ^ Either B or H may be used for the magnetic field outside the magnet. Jump up ^ In practice, the Biot -- Savart law and other laws of magnetostatics are often used even when a current change in time, as long as it does not change too quickly. It is often used, for instance, for standard household currents, which oscillate sixty times per second. Jump up ^ The Biot -- Savart law contains the additional restriction ( boundary condition ) that the B - field must go to zero fast enough at infinity. It also depends on the divergence of B being zero, which is always valid. ( There are no magnetic charges. ) Jump up ^ A third term is needed for changing electric fields and polarization currents ; this displacement current term is covered in Maxwell 's equations below. Jump up ^ A complete expression for Faraday 's law of induction in terms of the electric E and magnetic fields can be written as : E = − d Φ / d t ( displaystyle \textstyle ( mathcal ( E ) ) = - d Phi / dt ) = ∮ ∂ Σ ( t ) ⁡ ( E ( r, t ) + v × B ( r, t ) ) ⋅ d l ( displaystyle \textstyle = oint _ ( partial Sigma ( t ) ) left ( mathbf ( E ) ( mathbf ( r ), \t ) + mathbf ( v \times B ) ( mathbf ( r ), \t ) \right ) cdot d ( \boldsymbol ( ell ) ) ) = − d d t ∫∫ Σ ( t ) d A ⋅ B ( r, t ), ( displaystyle \textstyle = - ( \frac ( d ) ( dt ) ) iint _ ( Sigma ( t ) ) d ( \boldsymbol ( A ) ) cdot mathbf ( B ) ( mathbf ( r ), \t ), ) where ∂ Σ ( t ) is the moving closed path bounding the moving surface Σ ( t ), and dA is an element of surface area of Σ ( t ). The first integral calculates the work done moving a charge a distance dl based upon the Lorentz force law. In the case where the bounding surface is stationary, the Kelvin -- Stokes theorem can be used to show this equation is equivalent to the Maxwell -- Faraday equation. Jump up ^ Two experiments produced candidate events that were initially interpreted as monopoles, but these are now considered inconclusive. For details and references, see magnetic monopole. References Jump up ^ Jiles, David C. ( 1998 ). Introduction to Magnetism and Magnetic Materials ( 2 ed. ). CRC. p. 3. ISBN 0412798603. Jump up ^ Feynman, Richard Phillips ; Leighton, Robert B. ; Sands, Matthew ( 1964 ). The Feynman Lectures on Physics. 2. California Institute of Technology. pp. 1.7 -- 1.8. ISBN 0465079989. Jump up ^ Whittaker 1951, p. 34 Jump up ^ Whittaker 1951, p. 56 Jump up ^ Whittaker 1951, p. 59 Jump up ^ Whittaker 1951, p. 64 Jump up ^ Blundell, Stephen J. ( 2012 ). Magnetism : A Very Short Introduction. OUP Oxford. p. 31. ISBN 9780191633720. Jump up ^ Whittaker 1951, p. 88 Jump up ^ Whittaker 1951, p. 222 Jump up ^ Whittaker 1951, p. 244 Jump up ^ Kelvin ( 1900 ). `` Kabinett physikalischer Raritäten. '' Page 200 Jump up ^ Lord Kelvin of Largs. physik.uni-augsburg.de. 26 June 1824 ^ Jump up to : E.J. Rothwell and M.J. Cloud ( 2010 ) Electromagnetics. Taylor & Francis. p. 23. ISBN 1420058266. Jump up ^ Purcell, E. ( 2011 ). Electricity and Magnetism ( 2nd ed. ). Cambridge University Press. pp. 173 -- 4. ISBN 1107013607. Jump up ^ R.P. Feynman ; R.B. Leighton ; M. Sands ( 1963 ). The Feynman Lectures on Physics, volume 2. ^ Jump up to : `` Non-SI units accepted for use with the SI, and units based on fundamental constants ( contd. ) ''. SI Brochure : The International System of Units ( SI ) ( 8th edition, 2006 ; updated in 2014 ). Bureau International des Poids et Mesures. Retrieved 19 April 2018. ^ Jump up to : Lang, Kenneth R. ( 2006 ). A Companion to Astronomy and Astrophysics. Springer. p. 176. Retrieved 19 April 2018. Jump up ^ `` International system of units ( SI ) ''. NIST reference on constants, units, and uncertainty. National Institute of Standards and Technology. Retrieved 9 May 2012. Jump up ^ `` Gravity Probe B Executive Summary '' ( PDF ). pp. 10, 21. Jump up ^ `` With record magnetic fields to the 21st Century ''. IEEE Xplore. Jump up ^ Kouveliotou, C. ; Duncan, R.C. ; Thompson, C. ( February 2003 ). `` Magnetars Archived 11 June 2007 at the Wayback Machine. ''. Scientific American ; Page 36. Jump up ^ See Eq. 11.42 in E. Richard Cohen ; David R. Lide ; George L. Trigg ( 2003 ). AIP physics desk reference ( 3 ed. ). Birkhäuser. p. 381. ISBN 0 - 387 - 98973 - 0. Jump up ^ Griffiths 1999, p. 438 Jump up ^ Pumplin, Jon ; Pratt, Scott. `` Magnetic field of a long wire ''. pa.msu.edu. MSU Department of Physics and Astronomy. Retrieved April 13, 2017. Jump up ^ Griffiths 1999, pp. 222 -- 225 Jump up ^ Deissler, R.J. ( 2008 ). `` Dipole in a magnetic field, work, and quantum spin '' ( PDF ). Physical Review E. 77 ( 3, pt 2 ) : 036609. Bibcode : 2008PhRvE... 77c6609D. doi : 10.1103 / PhysRevE. 77.036609. PMID 18517545. Jump up ^ Griffiths 1999, pp. 266 -- 268 Jump up ^ John Clarke Slater ; Nathaniel Herman Frank ( 1969 ). Electromagnetism ( first published in 1947 ed. ). Courier Dover Publications. p. 69. ISBN 0 - 486 - 62263 - 0. Jump up ^ Griffiths 1999, p. 332 ^ Jump up to : RJD Tilley ( 2004 ). Understanding Solids. Wiley. p. 368. ISBN 0 - 470 - 85275 - 5. Jump up ^ Sōshin Chikazumi ; Chad D. Graham ( 1997 ). Physics of ferromagnetism ( 2 ed. ). Oxford University Press. p. 118. ISBN 0 - 19 - 851776 - 9. Jump up ^ Amikam Aharoni ( 2000 ). Introduction to the theory of ferromagnetism ( 2 ed. ). Oxford University Press. p. 27. ISBN 0 - 19 - 850808 - 5. Jump up ^ M Brian Maple ; et al. ( 2008 ). `` Unconventional superconductivity in novel materials ''. In K.H. Bennemann ; John B. Ketterson. Superconductivity. Springer. p. 640. ISBN 3 - 540 - 73252 - 7. Jump up ^ Naoum Karchev ( 2003 ). `` Itinerant ferromagnetism and superconductivity ''. In Paul S. Lewis ; D. Di ( CON ) Castro. Superconductivity research at the leading edge. Nova Publishers. p. 169. ISBN 1 - 59033 - 861 - 8. Jump up ^ Jackson, John David ( 1975 ). Classical electrodynamics ( 2nd ed. ). New York : Wiley. ISBN 9780471431329. Jump up ^ C. Doran and A. Lasenby ( 2003 ) Geometric Algebra for Physicists, Cambridge University Press, p. 233. ISBN 0521715954. Jump up ^ E.J. Konopinski ( 1978 ). `` What the electromagnetic vector potential describes ''. Am. J. Phys. 46 ( 5 ) : 499 -- 502. Bibcode : 1978AmJPh... 46... 499K. doi : 10.1119 / 1.11298. Jump up ^ Griffiths 1999, p. 422 Jump up ^ For a good qualitative introduction see : Richard Feynman ( 2006 ). QED : the strange theory of light and matter. Princeton University Press. ISBN 0 - 691 - 12575 - 9. Jump up ^ Weiss, Nigel ( 2002 ). `` Dynamos in planets, stars and galaxies ''. Astronomy and Geophysics. 43 ( 3 ) : 3.09 -- 3.15. Bibcode : 2002A&G... 43c... 9W. doi : 10.1046 / j. 1468 - 4004.2002. 43309. x. Jump up ^ `` What is the Earth 's magnetic field ? ''. Geomagnetism Frequently Asked Questions. National Centers for Environmental Information, National Oceanic and Atmospheric Administration. Retrieved 19 April 2018. Jump up ^ Raymond A. Serway ; Chris Vuille ; Jerry S. Faughn ( 2009 ). College physics ( 8th ed. ). Belmont, CA : Brooks / Cole, Cengage Learning. p. 628. ISBN 978 - 0 - 495 - 38693 - 3. Jump up ^ Merrill, Ronald T. ; McElhinny, Michael W. ; McFadden, Phillip L. ( 1996 ). `` 2. The present geomagnetic field : analysis and description from historical observations ''. The magnetic field of the earth : paleomagnetism, the core, and the deep mantle. Academic Press. ISBN 978 - 0 - 12 - 491246 - 5. Jump up ^ Phillips, Tony ( 29 December 2003 ). `` Earth 's Inconstant Magnetic Field ''. Science@Nasa. Retrieved 27 December 2009. Jump up ^ The Solar Dynamo. Retrieved 15 September 2007. Jump up ^ I.S. Falconer and M.I. Large ( edited by I.M. Sefton ), `` Magnetism : Fields and Forces '' Lecture E6, The University of Sydney. Retrieved 3 October 2008 Jump up ^ Robert Sanders ( 12 January 2006 ) `` Astronomers find magnetic Slinky in Orion '', UC Berkeley. Jump up ^ See magnetic moment and B.D. Cullity ; C.D. Graham ( 2008 ). Introduction to Magnetic Materials ( 2 ed. ). Wiley - IEEE. p. 103. ISBN 0 - 471 - 47741 - 9. Jump up ^ `` ' Magnetricity ' Observed And Measured For First Time ''. Science Daily. 15 October 2009. Retrieved 10 June 2010. Jump up ^ M.J.P. Gingras ( 2009 ). `` Observing Monopoles in a Magnetic Analog of Ice ''. Science. 326 ( 5951 ) : 375 -- 376. arXiv : 1005.3557. doi : 10.1126 / science. 1181510. PMID 19833948. Further reading Durney, Carl H. & Johnson, Curtis C. ( 1969 ). Introduction to modern electromagnetics. McGraw - Hill. ISBN 0 - 07 - 018388 - 0. Furlani, Edward P. ( 2001 ). Permanent Magnet and Electromechanical Devices : Materials, Analysis and Applications. Academic Press Series in Electromagnetism. ISBN 0 - 12 - 269951 - 3. OCLC 162129430. Griffiths, David J. ( 1999 ). Introduction to Electrodynamics ( 3rd ed. ). Prentice Hall. p. 438. ISBN 0 - 13 - 805326 - X. OCLC 40251748. Jiles, David ( 1994 ). Introduction to Electronic Properties of Materials ( 1st ed. ). Springer. ISBN 0 - 412 - 49580 - 5. Kraftmakher, Yaakov ( 2001 ). `` Two experiments with rotating magnetic field ''. Eur. J. Phys. 22 ( 5 ) : 477 -- 482. Bibcode : 2001EJPh... 22... 477K. doi : 10.1088 / 0143 - 0807 / 22 / 5 / 302. Melle, Sonia ; Rubio, Miguel A. ; Fuller, Gerald G. ( 2000 ). `` Structure and dynamics of magnetorheological fluids in rotating magnetic fields ''. Phys. Rev. E. 61 ( 4 ) : 4111 -- 4117. Bibcode : 2000PhRvE... 61.4111 M. doi : 10.1103 / PhysRevE. 61.4111. Rao, Nannapaneni N. ( 1994 ). Elements of engineering electromagnetics ( 4th ed. ). Prentice Hall. ISBN 0 - 13 - 948746 - 8. OCLC 221993786. Mielnik, Bogdan ; FernáNdez c., David J. Fernández C. ( 1989 ). `` An electron trapped in a rotating magnetic field ''. Journal of Mathematical Physics. 30 ( 2 ) : 537 -- 549. Bibcode : 1989JMP... 30... 537M. doi : 10.1063 / 1.528419. Thalmann, Julia K. ( 2010 ). Evolution of Coronal Magnetic Fields. uni-edition. ISBN 978 - 3 - 942171 - 41 - 0. Tipler, Paul ( 2004 ). Physics for Scientists and Engineers : Electricity, Magnetism, Light, and Elementary Modern Physics ( 5th ed. ). W.H. Freeman. ISBN 0 - 7167 - 0810 - 8. OCLC 51095685. Purcell, Edward ( 2012 ). Electricity and Magnetism ( 3rd ed. ). Cambridge University Press. ISBN 9781107014022. Whittaker, E.T. ( 1951 ). A History of the Theories of Aether and Electricity. Dover Publications. p. 34. ISBN 0 - 486 - 26126 - 3. External links Information Crowell, B., `` Electromagnetism ''. Nave, R., `` Magnetic Field ''. HyperPhysics. `` Magnetism '', The Magnetic Field. theory.uwinnipeg.ca. Hoadley, Rick, `` What do magnetic fields look like ? '' 17 July 2005. Field density Oppelt, Arnulf ( 2 November 2006 ). `` magnetic field strength ''. Retrieved 4 June 2007. `` magnetic field strength converter ''. Retrieved 4 June 2007. Rotating magnetic fields `` Rotating magnetic fields ''. Integrated Publishing. `` Introduction to Generators and Motors '', rotating magnetic field. Integrated Publishing. `` Induction Motor -- Rotating Fields ''. Diagrams `` AC Motor Theory '' Figure 2 Rotating Magnetic Field. Integrated Publishing. `` Magnetic Fields '' Arc & Mitre Magnetic Field Diagrams. Magnet Expert Ltd. Magnetic states diamagnetism superdiamagnetism paramagnetism superparamagnetism ferromagnetism superferromagnetism antiferromagnetism ferrimagnetism helimagnetism metamagnetism mictomagnetism spin glass spin ice ferromagnetic superconductor GND : 4074450 - 4 NDL : 00574624 Retrieved from `` https://en.wikipedia.org/w/index.php?title=Magnetic_field&oldid=856181404 '' Categories : Magnetism Physical quantities Hidden categories : Wikipedia articles needing page number citations from April 2018 Webarchive template wayback links Use dmy dates from August 2010 Wikipedia articles with GND identifiers Wikipedia articles with NDL identifiers Talk Contents About Wikipedia Afrikaans Alemannisch አማርኛ Aragonés অসমীয়া Asturianu Azərbaycanca تۆرکجه বাংলা Башҡортса Беларуская Беларуская ( тарашкевіца ) ‎ Български Bosanski Буряад Català Čeština Cymraeg Dansk Deutsch Eesti Ελληνικά Español Esperanto Estremeñu Euskara فارسی Fiji Hindi Français Gaeilge Galego ગુજરાતી 한국어 Հայերեն हिन्दी Hrvatski Ido Bahasa Indonesia Interlingua Íslenska Italiano עברית ქართული Қазақша Kiswahili Kreyòl ayisyen Кыргызча Лезги Latina Latviešu Lietuvių Limburgs Magyar Македонски മലയാളം मराठी Bahasa Melayu Монгол မြန်မာဘာသာ Nederlands नेपाली 日本 語 Nordfriisk Norsk Norsk nynorsk Occitan Oʻzbekcha / ўзбекча ਪੰਜਾਬੀ پنجابی Polski Português Română Русиньскый Русский Scots Shqip Sicilianu සිංහල Simple English Slovenčina Slovenščina کوردی Српски / srpski Srpskohrvatski / српскохрватски Basa Sunda Suomi Svenska தமிழ் Татарча / tatarça తెలుగు ไทย Türkçe Українська اردو Tiếng Việt Winaray Wolof 吴语 ייִדיש 粵語 中文 93 more Edit links This page was last edited on 23 August 2018, at 12 : 23 ( UTC ). Text is available under the Creative Commons Attribution - ShareAlike License ; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia ® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization. About Wikipedia

Question: who discovered the direction of magnetic field lines
Answer: André-Marie Ampère