<!-- Removed for space might be able to find a better spot later
-->
In magnetism and electromagnetism, magnetic field is a physical property of space that quantifies the magnetic influence at a given location. Magnetic fields deflect moving electric charges (including electric currents), apply torques on magnets to twist them in the direction of the magnetic field, and attract or repel magnets and magnetic material such as iron. In addition, a time varying magnetic field induces electrical currents.
Magnetic fields are created by magnetic materials and by moving electric charges (including electrical current). The latter is important in creating electromagnets: devices that precisely control magnetic fields by changing the current through the electromagnet.
Magnetic fields are used throughout modern science and technology. In electrical engineering and electromechanics it is important in the design and use of electric motors, generators, transformers, electromagnets, and inductors among many other devices. In material science, magnetic forces give information about the charge carriers in a material through the Hall effect in addition to other uses. In geology and geophysics, Earth's magnetic field gives information about earth's interior while local magnetic field measurements are used in mineral exploration and other measurements. Too, Earth's magnetic field creates a magnetosphere which shields the Earth's ozone layer and the rest of the planet from the solar wind. In physics the relationship between the magnetic and electric fields forms the field of electrodynamics which is important to understand a wide range of phenomena including light (also known as electromagnetic radiation) and the properties of antenna and transmission lines.
Since both strength and direction of a magnetic field may vary with location, it is described mathematically by assigning a vector to each point of space, making it a vector field. There are two different, but closely related, vector fields which are called "magnetic field". These are written as and . While the best names for these fields is the subject of long running debate, the underlying physics is uncontested.
== Definitions == <!-- note that Hans Christian Ørsted links here -->
The international ISO 80000-6 standard defines magnetic field as "that component of an electromagnetic field which is characterized by the magnetic field strength vector and the magnetic flux density vector ." This standard also defines and as given in the sections below. While there is wide agreement on these definitions of and , there are many alternative names for both (see sidebars in the corresponding sections).
The B-field
Also known as magnetic flux density, the magnetic field causes magnetic forces, magnetic torques and electromagnetic induction. Therefore, it can be defined by any equation that describes these phenomena.
For example, the magnetic field vector at any point can be defined as the vector field that, when used in the Lorentz force law, correctly predicts the force on a moving charged particle at that point:
Here is the force on the particle, is the particle's electric charge, is the external electric field, , is the particle's velocity, and × denotes the cross product.
In other words,
For more details see Lorentz Force or the #Magnetic force on a charged particle section below.
The SI unit of is tesla (symbol: T). The Gaussian-cgs unit of is the gauss (symbol: G). (The conversion is 1 T ≘ 10000 G.
The H-field
While creates magnetic forces and torques on objects and induces currents in conducting wires, it is not always easy to calculate. For this reason, it is useful to define a magnetic field, also known as magnetic field strength, such that:
where <math>\mu_0</math> is the vacuum permeability, and is the magnetization vector which represents how magnetized a given region of material is and is defined below. In a vacuum, making them equivalent to each other. Inside a material they are different (see H and B inside and outside magnetic materials).
Defined this way, can in many circumstance be treated as if it is only due to electrical currents with corrections accounting for due to nearby magnetic material. In any case, still needs to be calculated from if forces, torques, induced currents, or energy changes need to be calculated.
The SI unit of is the ampere per metre (A/m) and the Gaussian unit is the oersted (Oe).
The -field cannot be directly measured but can be inferred from the currents that create it.
Magnetic field lines
Magnetic field can be visualized by a set of magnetic field lines, that follow the direction of the field at each point. 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.
Magnetic field lines have the following properties:
- The direction of the magnetic field is tangent to the field line at any point. A small compass points in the direction of the field line.
- The strength of the field is proportional to the closeness of the lines.
- Magnetic field lines never cross.
- Magnetic field lines form closed loops enclosing electrical currents.
- Magnetic field lines are directed from the north pole to the south pole.
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 then be "translated" to their mathematical form. For example, the number of field lines through a given surface is the surface integral of the magnetic field.
Different unit systems
This article uses almost entirely the SI unit system. But other unit systems, most importantly the Gaussian unit system (which is the most used system of cgs units for electromagnetism), are still being used in some disciplines, countries, and textbooks. It is important to note that the equations for each unit system can and often are different for different unit system. This article, unless stated otherwise, uses equations that are only valid for the SI unit system.
Force on moving charges and current
Moving electric charges including electrical currents experience a force due to magnetic fields.
Magnetic force on a charged particle
thumb|200px|upright|A charged particle moving with velocity v in a magnetic field B feels a magnetic force F whose direction is determined by the [[right hand rule.]]
A charged particle moving in a -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:
where is the force, is the electric charge of the particle, is the instantaneous velocity of the particle, and is the magnetic field (in teslas). The direction of force on the charge can be determined by the right-hand rule (see the figure).
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.
Force on current-carrying wire
When a wire carrying a steady electric current is placed in an external magnetic field, each of the moving charges in the wire experience the Lorentz force. Together, these forces produce a net macroscopic force on the wire. This force (on a macroscopic current) is often referred to as the Laplace force.
For a straight, stationary wire in a uniform magnetic field, this force is given by:
where is the current and is a vector whose magnitude is the length of the wire, and whose direction is along the wire, aligned with the direction of the current.
If the wire is not straight or the magnetic field is non-uniform, the total force can be computed by applying the formula to each infinitesimal segment of wire <math> \mathrm d \boldsymbol \ell </math>, then adding up all these forces by integration. In this case, the net force on a stationary wire carrying a steady current is
This force creates an attractive/repulsive force between 2 parallel wires as the current through each produces a magnetic field that pushes/pulls on the other. Too, a loop of current in a magnetic field will experience a torque due to the different direction of the force on different sides of the loop as describe in the next section.
Net force and torque on current loops
thumb|300px|upright|A rectangular loop of current in a magnetic field,, experiences a torque (around the dashed line).
A magnetic field acting on a current carrying loop produces both a torque and a net force (if the magnetic field is non-uniform). This effect is important for driving certain types of motors and in modeling forces and torques on atoms.
Calculating the torque on a rectangular loop is straightforward. The diagram to the right shows a rectangular loop of current in a uniform magnetic field (with a direction indicated by the green arrows). For simplicity the loop is aligned so that it is along the direction of the magnetic field. The magnetic force on opposite sides of the loop are equal and opposite producing no net force on the loop. The forces on the short sides (here shown as violet arrows), though, produce a net torque equal to the product of the force and the perpendicular distance between them. Denoting the short side length as , the magnitude of that force is = using the equation for the magnetic force on a straight wire given in the previous section. The magnitude of the net torque (along dashed axis) is therefore = . Using the fact that the area = and generalizing for all angles gives
Here the direction of the area is the normal to the area as determined by the right hand grip rule of the current loop. While derived for a rectangular loop this equation is valid for a flat loop of any shape and orientation.
As described above, there is no net force on a loop in a uniform magnetic field. However, non-uniform magnetic fields do produce a net force. This net force tends to pull the object in direction of the stronger magnetic field.
Net force and torque on a magnetic dipole
Since the net force on a loop is proportional to the current of the loop times it area, it is natural to define a quantity called the magnetic dipole moment such that
For a sufficiently small current loop, the details of the current loop such as it shape, area, orientation, and current around the loop are all hidden in and otherwise do not matter. Such loops are called magnetic dipoles. All magnetic dipoles with the same dipole moment are affected the same way.
Applying the Lorentz force to a (sufficiently small) current loop of arbitrary shape produces a torque on the magnetic dipole of:
and a force on the magnetic dipole of
where <math>\nabla</math> represents the gradient. This force tends to push the magnetic dipole into the direction of increasing .
Magnetic field due to electrical currents
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. These equations become much simpler when the moving charges form a steady state electrical current, the study of which is called magnetostatics.
Magnetic field of a long straight wire
thumb|right|[[Right hand grip rule: a current flowing in the direction of the white arrow produces a magnetic field shown by the red arrows.]]
In general, magnetic field lines form concentric circles around a current-carrying 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.)
The magnetic field of a steady current through a sufficiently long straight wire is:
where is the perpendicular distance to the wire. The direction <math>\hat{\phi}</math> of the magnetic field is tangent to a circle perpendicular to the wire according to the right hand rule.
Magnetic field of an arbitrarily shaped thin wire
thumb|right|The direction of the magnetic flux density d due to a current of a tiny element varies with location .
More specifically, the magnetic field generated by a steady current (a constant flow of electric charges, in which charge neither accumulates nor is depleted at any point) is described by the Biot–Savart law:
\frac{\mathrm{d}\boldsymbol{\ell} \times \mathbf{\hat r{r^2},\\
\mathbf{H} = \frac{I}{4\pi}\int_{\mathrm{wire\frac{\mathrm{d}\boldsymbol{\ell} \times \mathbf{\hat r{r^2},\end{align}</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
where the integral sums over the wire length where vector is the vector line element with direction in the same sense as the current , is the magnetic constant, is the distance between the location of and the location where the magnetic field is calculated, and is a unit vector in the direction of .
Magnetic field of a solenoid
150 px|thumb|left|A [[Solenoid with electric current running through it behaves like a magnet.]]
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 solenoid has a uniform magnetic field inside, and no magnetic field outside. The magnetic field only exists inside of the solenoid and is
where is the number of turns per unit length of the solenoid and the direction of is along the length of the solenoid.
A finite length solenoid produces a more complicated magnetic field that can be evaluated mathematically.
For other examples of using the Biot-Savart law to calculate the magnetic fields for other common current configurations see #Common formulæ below.
Magnetic field of a flat loop of current (magnetic dipole)
thumb|right|Calculating the magnetic field strength a distance directly above the center of a circular current loop of radius .The magnetic field of a circular current loop of radius and carrying a current can be calculated straightforwardly from the Biot-Savart law for locations a distance directly above the center of the loop:
{2\pi(a^2 +z^2)^{3/2 \, , \\
\mathbf{H} & = \frac{\mathbf{m{2\pi(R^2 +z^2)^{3/2 \,, \\
\end{align}</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
where <math>\mathbf{m} = I \mathbf{A} = I (\pi a^2 \mathbf{\hat{z)</math> is the same magnetic dipole moment used in calculating the force and torque on a loop of current in #Net force and torque on a magnetic dipole above. Calculating the on-axis magnetic fields of a square loop (and other flat geometries) yields similar equations that have the same equation at long distances as the circle: <math>\mathbf{H} = \frac{\mathbf{m{2\pi z^3}</math>.
Calculating the magnetic field at a arbitrary location (not just on-axis) from an arbitrarily shaped current loop involves advanced math. But, for sufficiently long distances, the result depends only on the magnetic moment of that loop and simplifies to:
(\mathbf{m}\cdot\mathbf{\hat{r)-\mathbf{m{r^{3\right] = \frac{\mathbf{B}_{dip{\mu_0}.</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
This equation shows that at sufficiently long distances the detailed geometry of a magnet can be replaced by a single quantity, the magnetic dipole moment . This equation, therefore makes a good model for the magnetic field of atoms and can be extended to describe magnetic material. Too, it has some utility in calculating the long distance force between magnets.
Ampere's law
A slightly more general way of relating the current <math>I</math> to the -field is through Ampère's law:
, \\
\oint \mathbf{H} \cdot \mathrm{d}\boldsymbol{\ell} & = I_{\mathrm{enc, \end{align}</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
where the line integral is over any arbitrary loop and <math>I_\text{enc}</math> is the current enclosed by that loop. The <math>I_\text{enc}</math> is slightly different for the 2 equations in that includes the difficult to calculate bound current in magnetic material while does not. Ampère's law is always valid for steady currents and can be used to easily calculate the magnetic fields of 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 between magnets
Magnets
Magnets are objects that both create their own magnetic field and respond to the magnetic field of other magnets and magnetized materials. The interaction between magnets and their interaction with magnetic field is extremely complicated. The correct description involves describing each magnet as being made of many small volumes of magnetic material each of which creates its own magnetic field and responds to the magnetic field of the other volumes. Such models are often extremely complex.
Fortunately, in many cases, it is sufficient to understand magnets as objects that have 2 equal but opposite magnetic poles: the magnetic north and south poles. Opposite poles attract with a force that increases with smaller distances while like poles repel in the same way. Such a model is called a magnetic pole model and it, in some cases described below, can be used to make good quantitative predictions.
Specifying the force between 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 of the other. For short distances (small ) the forces can be quite strong but it decreases quite rapidly () for large distances.
Force between magnets at long distances (dipole–dipole interaction)
For 2 sufficiently small magnets, such as 2 atoms far enough away from each other, the magnetic force can be represented as that of two infinitesimally small dipoles. Using vector notation, the force, of a magnetic dipole on the magnetic dipole is:
where is the distance-vector from dipole moment to dipole moment , with . The force acting on is in the opposite direction. The net force depends on the orientation of both dipole moments relative to each other and relative to the distance-vector between them and it decreases rapidly (proportional to 1/<sup>4</sup>).
Force between magnets at moderate distance (Coulomb's law for magnetism)
For moderate distances it is often to sufficient model the force between magnets as the -field of one magnet pushes and pulls on both poles of a second magnet. If this -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 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.
If both poles are small enough to be represented as single points then they can be considered to be point magnetic charges. Classically, the force between two magnetic poles is given by:
\mathbf{\hat{r</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
where and are the magnetic pole strengths of each magnet (SI unit: ampere-meter), μ is the permeability of the intervening medium, and
is the separation distance between the 2 poles. Note that for 2 magnets (each having 2 poles) the sum of 4 forces is needed: each of the 2 poles of one magnet exerts a separate force on each of the 2 poles of the second magnet.
The pole description is useful to practicing magneticians who design real-world magnets, but real magnets have a pole distribution more complex than a single north and south. Therefore, implementation of the pole idea is not simple. In some cases, one of the more complex formulas given below will be more useful.
Magnetic force at small distances (pull force)
The mechanical force between two nearby magnetized surfaces can be calculated with the following equation. The equation is valid only for cases in which the effect of fringing is negligible and the volume of the air gap is much smaller than that of the magnetized material, the force for each magnetized surface is:
where A is the surface area of the magnetic pole and is the permeability of free space. This equation is also valid for the force of a magnetic pole on iron that is either almost touching or touching the magnetic pole.
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.
Mathematically, the torque on a small magnet is proportional both to the applied magnetic field and to the magnetic moment of the magnet:
where × represents the vector cross product. This equation includes all of the qualitative information included above. There is no torque on a magnet if 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 due to magnetized material
Most materials respond to an applied magnetic field by becoming magnetized (at least temporarily) which causes them to produce their own magnetic field. Typically, the response is weak and exists only when the magnetic field is applied. There are many different types of material that respond differently to the applied magnetic field.
Types of magnetic materials
The term magnet is typically reserved for objects that produce their own persistent magnetic field even in the absence of an applied magnetic field. Only certain classes of materials can do this. Most materials, however, produce a magnetic field in response to an applied magnetic field – a phenomenon known as magnetism. There are several types of magnetism, and all materials exhibit at least one of them.
The overall magnetic behavior of a material can vary widely, depending on the structure of the material, particularly on its electron configuration. It can also vary with temperature, pressure, and magnetic field strength such that a given material may have more than one magnetic phase. Several forms of magnetic behavior have been observed in different materials, including:
- Diamagnetism produces a magnetization that opposes the magnetic field.
- Paramagnetism can produce a magnetization independent of the applied magnetic field with a complicated and often hysteretic relationship. Materials in these states can be used to make permanent magnets.
- Superconductivity (and ferromagnetic superconductors) is 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 complicated and often hysteretic relationship between how the material is magnetized and the applied magnetic field.
In the case of paramagnetism and diamagnetism, the relationship between the applied magnetic field and the magnetization is often linear. However, superconductors and ferromagnets have a more complicated relation between the applied magnetic field and magnetization produced (see magnetic hysteresis). 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.
Magnetic dipole moment
The magnetic field of magnetized material is created at the atomic level. The proper description of this effect involves quantum mechanics. Fortunately, the net effect of adding up these magnetic interactions can often be calculated using much simpler models for the magnetic field created by the constituent atoms in the magnetic material. This occurs because at large enough distance (or equivalently for small enough magnets) all the magnetic properties of any magnetic object can be described by a single (vector) quantity, the magnetic dipole moment, . (See #Magnetic field of a flat loop of current (magnetic dipole) and #Net force and torque on a magnetic dipole above). Objects that can be modeled this way, for example atoms, are called magnetic dipoles.
Magnetic dipoles, therefore, are the building blocks of magnetization. The magnetic field produced by magnetized material then is the net magnetic field of these dipoles. Too, the net force (and torque) on a magnetized material is a result of adding up the forces and torques on the individual dipoles that make up the magnetized material.
Magnetization
The magnetization vector field 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 uniformly magnetized magnet is therefore a constant, equal to the magnetic moment of the magnet divided by its volume. Since the SI unit of magnetic moment is A⋅m<sup>2</sup>, the SI unit of magnetization is ampere per meter, identical to that of the -field.
The magnetization field of a region points in the direction of the average magnetic dipole moment in that region. Magnetization field lines, therefore, begin (inside the magnetized material) near the magnetic south pole and ends (inside the magnetized material) near the magnetic north pole. (Magnetization does not exist outside magnetized material.)
In the Amperian loop model, the magnetization is due to combining many tiny magnetic dipole loops to form a resultant current called bound current. This bound current, then, is the source of the magnetic field due to the magnet. Given the definition of the magnetic dipole, the magnetization field follows a similar law to that of Ampere's law:
where the integral is a line integral over any closed loop and is the bound current enclosed by that closed loop.
Unlike the magnetic field-lines which cannot begin nor end, magnetization field lines can begin and end. Indeed they must begin and end where they intersects the boundary of the magnetized material (at magnetic poles) because the magnetization field only exists inside of a material. This is analogous to electric field-lines which begin and end at electrical charges. It is therefore possible to define a 'magnetic charge' <sub>m</sub> such that for a given region the net 'magnetic charge' is:
where the integral is a closed surface integral over the closed surface and is the "magnetic charge" (in units of magnetic flux) enclosed by . (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. It is important to note that no such magnetic charge exists; rather it is a convenient analogy that allows the use of much of the machinery developed for electrostatics with electric charge to be applied to magnetization with its fictitious magnetic charge. For example the net magnetic charge of a pole is defined as a magnetic pole strength <sub>m</sub>.
Relation between B, H, and M
thumb|Comparison of , and inside and outside a cylindrical bar magnet.
Using the above definition of it is now possible to define the magnetic field
{\mu_0} - \mathbf{M}.</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
In terms of the H-field, Ampere's law is:
{\mu_0} - \mathbf{M}\right) \cdot \mathrm{d}\boldsymbol{\ell} = I_\mathrm{tot} - I_\mathrm{b} = I_\mathrm{f},</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
where represents the 'free current' enclosed by the loop so that the line integral of does not depend at all on the bound currents.
Similarly, a surface integral of over any closed surface is independent of the free currents and picks out the "magnetic charges" within that closed surface:
which does not depend on the free currents.
The -field, therefore, can be separated into two independent parts: <math>\mathbf{H} = \mathbf{H}_0 + \mathbf{H}_\mathrm{d}</math>, where is the applied magnetic field due only to the free currents and is the demagnetizing field due only to the bound currents which can equivalently be expressed in terms of the fictitious magnetic charge <sub>m</sub>. The magnetic -field, therefore, re-factors the bound current in terms of "magnetic charges". The field lines loop only around "free current" and, unlike the magnetic field, begins and ends near magnetic poles as well.
Constitutive relation between B and H
For many materials (particularly diamagnetic and paramagnetic materials) the relationship between and is linear:
where is a material dependent parameter called the permeability. In some cases the permeability may be a second rank tensor so that may not point in the same direction as . These relations between and are examples of constitutive equations.
Boundary conditions for B and H
In many real world applications such as small magnetic object inside of an extended applied magnetic field, the constitutive relation is not sufficient even if the material is linear. This is because the -field that the material experiences is not the same as the applied. In such cases, the magnetic field can still be calculated but care must be taken to distinguish the change of the magnetic field across the boundary of the magnetic object. These relations in the most simplified form (in terms of only in a linear material and without and free current) are:
where the subscript t represents the tangential component of and n represents its normal component.
Electrodynamics
For time varying magnetic fields (and more generally changing electrical currents or accelerating electrical charges), the magnetic and electric fields become linked such that a change in one induces the other. Together, the electric and magnetic fields form an electromagnetic field. The study of how the electric and magnetic fields interact in this way is called electrodynamics and includes many phenomenon that are important in physics and electrical engineering. It underlies transformers, and the generation and transmission of electrical power through wires and through space in the form of electromagnetic radiation of which light is one form. Too, it allow magnetic fields to store and transmit energy.
Magnetic flux rule
A time varying magnetic field through a loop of wire induces a current (more properly an EMF) through that loop. This is known as electromagnetic induction and is important for many electronic devices such as inductors, transformers, and electrical generators. The equation governing this is known as the flux rule or Faraday's law of induction:
where <math>\mathcal{E}</math> 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 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.
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. The energy density of just creating the field at a given region is:
{2\mu_0} \, .</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
For non-dispersive materials, the energy used to magnetize the material is released when the magnetic field is destroyed so that the energy can be modeled as being stored in the magnetic field. If the non-dispersive material is also linear (such that where is frequency-independent), then the total energy density stored in the magnetic field and in magnetizing the material at a location is:
{2}= \frac{\mathbf{B} \cdot \mathbf{B{2\mu} = \frac{\mu\mathbf{H} \cdot \mathbf{H{2} \, .</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
The above equation cannot be used for nonlinear materials, though.
In general, the incremental amount of work per unit volume needed to cause a small change of magnetic field is:
Once the relationship between and 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.
Poynting vector
center|600px|thumb|Illustration of electromagnetic power flow inside a [[coaxial cable according to the <span style="color:green">Poynting vector S</span>, calculated using the <span style="color:red">electric field E</span> (due to the voltage V) and the <span style="color:blue">magnetic field H</span> (due to current I).]]Magnetic field, together with the electric field, transmit electrical power. The amount of electrical power (per unit area) transmitted this way is called the poynting vector, , which depends on the magnetic field as the cross product:
where is the electric field. Note that this power includes both the power transmitted by the electric and magnetic fields and the energy absorbed and emitted by magnetizing and polarizing the material. Too, this equation only works for linear non-dispersive materials. This equations is also valid in a vacuum where = .
The time average of the poynting vector is known as irradiance and is an important quantity in optics that describes how intense light is at a given point.
Maxwell's equations
It is sometimes useful to calculate the magnetic field for a given set of time varying charges and currents, without having to use the complicated equations used to directly calculate it. An example of this is calculating the magnetic field of a light wave as it reflects and refracts at a surface. In such cases Maxwell's equations are used to solve for both the magnetic and electric fields. (In electrodynamics the electric and magnetic fields are coupled.)
Maxwell's equations are a powerful set of differential equations that allows the calculation of the magnetic and electric fields for simple (and complex using computers and Finite Element Analysis) geometries. Maxwell's Equations together with the Lorentz force law form a complete description of classical electrodynamics including both electricity and magnetism.
Maxwell's equations takes advantage of the fact that all vector fields (such as the electric and magnetic fields) can be expressed in terms of 2 types of sources and an appropriate set of boundary conditions. The first type of source (an outflow source) causes the vector field to flow out (or in for a sink) to a given point. The second (or circulation) source causes the vector field to rotate around a given point (forming vortices). Both of these sources have well defined definitions and can be calculated from the vector field they create using a well-understood vector operator.
The divergence of a vector field , is defined such that applying the divergence operator to a given vector field will yield the outflow sources. The curl is defined such that yields the circulation source. An example of the power of these vector operators is: since it is an experimental fact that magnetic charges do not exist (and therefore there are no source nor sinks of ) the divergence of must be zero, = 0, which is one of Maxwell's equations.
Maxwell's equation has 2 major versions: a microscopic version which necessitates knowing all of the charges and currents (including the complex ones at the atomic level) and the macroscopic version which depends only on the know 'free' charge and 'free' currents. Here the term 'free' means any charge or current that is directly controlled by the experiment and does not include the atomic level 'bound' charges and currents in a material which happen as a response to the electric and magnetic fields present in that material.
Maxwell's macroscopic equations are written as:
{\partial t} \\
\nabla \times \mathbf{H} &= \mathbf{J}_f + \frac{\partial \mathbf{D{\partial t} \, .
\end{align}</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
In these equations, <math>\mathbf{D}</math> is the electric displacement field, <math>\mathbf{E}</math> the electric field, <math>\rho_f</math> the free electric charge density, and <math>\mathbf{J}_f</math> the free current density.
The first of Maxwell's equations is known as Gauss' Law but does not involve magnetic field so does not warrant further discussion here. The second equation is Gauss' law for magnetism which reflects the non-existence of magnetic charge and allows to be determined as the curl of a vector potential . The third equation is Faraday's law of induction. And, the fourth equation is Ampère's law with Maxwell's correction.
Advanced formulations
Magnetic vector potential
In deriving advanced equations and 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 , and the electric scalar potential , are defined such that:
The vector potential, ' given by this form may be interpreted as a generalized potential momentum per unit charge just as is interpreted as a generalized potential energy per unit charge. There are multiple choices one can make for the potential fields that satisfy the above condition. However, the choice of potentials is represented by its respective gauge condition.
Maxwell's equations when expressed in terms of the potentials can be cast into a form that explicitly agrees with special relativity. Together, and form the four-potential. Using the four potential instead of electric and magnetic fields is much simpler—and it can be easily adapted to work with quantum mechanics.
Magnetic and electric fields are different aspects of the same phenomenon
Magnetic field is inherently a relativistic phenomena. More specifically, both electric and magnetic fields are the same phenomenon as seen in different reference frames: 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. (Here different reference frames means one reference frame is moving relative to the other.) For relativistic phenomena, a lorentz transformation must be used to move (or transform) from one reference system to another.
It is a straightforward task to show how the electric and magnetic fields transform from one reference frame to another. The transformation rules, however are quite messy. One simple example is to examine how Coulomb's Law (which is a pure electric field of a charged particle in it own rest frame) transforms to a moving reference frame. A point in the moving reference frame will experience a magnetic field of:
\frac{\mathbf{v} \times \mathbf{r{c^2} = \frac{\mathbf{v} \times \mathbf{E{c^2} \, ,</math>
|cellpadding
|border
|border colour = rgb(0,115,207)
|background colour = rgb(0,115,207,10%)
where <math>q</math> is the charge of the point source, <math>\varepsilon_0</math> is the vacuum permittivity, <math>\mathbf{r}</math> is the position vector from the point source to the point in space, <math>\mathbf{v}</math> is the velocity vector of the charged particle, <math>\beta</math> is the ratio of speed of the charged particle divided by the speed of light and <math>\theta</math> is the angle between <math>\mathbf{r}</math> and <math>\mathbf{v}</math>.
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. Similarly, the energy stored in a magnetic field is mixed with the energy stored in an electric field in the electromagnetic stress–energy tensor.
Magnetic field of arbitrarily moving point charge
The solution of maxwell's equations for electric and magnetic field of a point charge is expressed in terms of retarded time or the time at which the particle in the past causes the field at the point, given that the influence travels across space at the speed of light. The retarded time for a point particle is given as solution of:
where the retarded time <math display="inline">t_r</math> is the time at which the source's contribution of the field originated, <math display="inline">r_s(t)</math> is the position vector of the particle as function of time, <math display="inline">\mathbf{r}</math> is the point in space, <math display="inline">\mathbf{t}</math> is the time at which fields are measured and <math display="inline">c</math> is the speed of light.
Any arbitrary motion of point charge causes electric and magnetic fields as follows:
\hat\mathbf x</math>
along the axis of the loop, where <math>I</math> is the uniform current flowing through the loop.
|-
|Solenoid
|frameless|class=skin-invert|235x235px
|colspan="2" | <math>B=\frac{\mu_0nI}2(\cos\theta_1+\cos\theta_2)</math>
along the axis of the solenoid carrying current <math>I</math> with <math>n</math>, uniform number of loops of currents per length of solenoid; and the direction of magnetic field as shown.
|-
|Infinite solenoid
|frameless|class=skin-invert|235x235px
| <math>\mathbf B=0</math>
outside the solenoid carrying current <math>I</math> with <math>n</math>, uniform number of loops of currents per length of solenoid.
| <math> B = \mu_0 n I</math>
inside the solenoid carrying current <math>I</math> with <math>n</math>, uniform number of loops of currents per length of solenoid, with the direction of magnetic field as shown.
|-
|Circular Toroid
|frameless|class=skin-invert|235x235px
| colspan="2" | <math> B = \frac{\mu_0NI}{2\pi R}</math>
along the bulk of the circular toroid carrying uniform current <math>I</math> through <math>N</math> number of uniformly distributed poloidal loops, with the direction of magnetic field as indicated.
|-
|Magnetic Dipole
|frameless|class=skin-invert|235x235px
| <math>\mathbf B = -\frac{\mu_0\mathbf m}{4\pi r^3},</math>
on the equatorial plane, where <math>\mathbf m</math> is the magnetic dipole moment.
| <math>\mathbf B = \frac{\mu_0\mathbf m}{2\pi {|x|}^3},</math>
on the axial plane (given that <math>x \gg R</math>), where <math>x</math> can also be negative to indicate position at the opposite direction on the axis, and <math>\mathbf m</math> is the magnetic dipole moment.
|}
Additional magnetic field values can be found through the magnetic field of a finite beam, for example, that the magnetic field of an arc of angle <math>\theta</math> and radius <math>R</math> at the center is <math>B={\mu_0\theta I\over 4\pi R}</math>, or that the magnetic field at the center of a N-sided regular polygon of side <math>a</math> is <math>B= {\mu_0NI\over\pi a} \sin{\pi\over N}\tan{\pi\over N}</math>, both outside of the plane with proper directions as inferred by right hand thumb rule.
History
thumb|upright=1.2|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.]]
Early developments
While magnets and some properties of magnetism were known to ancient societies, 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 the resulting field lines crossed at two points he named those points "poles" in analogy to Earth's poles. He also articulated the principle that magnets always have both a north and south pole, no matter how finely one slices them.
In 1600 (almost three centuries later), William Gilbert of Colchester published De Magnete. In De Magnete, Gilbert replicated Petrus Peregrinus' work and was the first to state explicitly that Earth is a magnet. Too, he argued that electricity and magnetism were separate phenomenon.
Magnetostatics
thumb|[[Hans Christian Ørsted, Der Geist in der Natur, 1854]]
In 1750, John Michell stated that magnetic poles attract and repel in accordance with an inverse square law Then 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 announced empirical results about the forces that a current-carrying long, straight wire exerted on a small magnet, determining the forces were inversely proportional to the perpendicular distance from the wire to the magnet. which became known as the Biot–Savart law, as Laplace did not publish his findings.
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
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 but 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 published papers in 1887 and 1888 experimentally confirming this fact.
Modern developments
In 1887, Tesla developed an induction motor that ran on alternating current. The motor used polyphase current, which generated a rotating magnetic field to turn the motor (a principle that Tesla claimed to have conceived in 1882). Tesla received a patent for his electric motor in May 1888. In 1885, Galileo Ferraris independently researched rotating magnetic fields and subsequently published his research in a paper to the Royal Academy of Sciences in Turin, just two months before Tesla was awarded his patent, in March 1888.
The twentieth century showed that classical electrodynamics is already consistent with special relativity, and extended classical electrodynamics to work with 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. Finally, the emergent field of quantum mechanics was merged with electrodynamics to form quantum electrodynamics (or QED). QED mathematically describes all phenomena involving electrically charged particles interacting by means of exchange of photons and represents the quantum counterpart of classical electromagnetism giving a complete account of matter and light interaction.
Links, references, and notes
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 scalar potential
- 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
- Moses Effect
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
- Magnetic pistol – a device on torpedoes or naval mines that detect the magnetic field of their target
- 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
