# Magnetic tension

In physics, magnetic tension is a restoring force with units of force density that acts to straighten bent magnetic field lines. In SI units, the force density $\mathbf {f} _{T}$ exerted perpendicular to a magnetic field $\mathbf {B}$ can be expressed as
    $\mathbf {f} _{T}={\frac {\left(\mathbf {B} \cdot \nabla \right)\mathbf {B} }{\mu _{0}}}$
where $\mu _{0}$ is the vacuum permeability.
Magnetic tension forces also rely on vector current densities and their interaction with the magnetic field. Plotting magnetic tension along adjacent field lines can give a picture as to their divergence and convergence with respect to each other as well as current densities.
Magnetic tension is analogous to the restoring force of rubber bands.

## Mathematical statement

In ideal magnetohydrodynamics (MHD) the magnetic tension force in an electrically conducting fluid with a bulk plasma velocity field $\mathbf {v}$, current density $\mathbf {J}$, mass density $\rho$, magnetic field $\mathbf {B}$, and plasma pressure $p$ can be derived from the Cauchy momentum equation:
    $\rho \left({\frac {\partial }{\partial t}}+\mathbf {v} \cdot \nabla \right)\mathbf {v} =\mathbf {J} \times \mathbf {B} -\nabla p,$
where the first term on the right hand side represents the Lorentz force and the second term represents pressure gradient forces. The Lorentz force can be expanded using Ampère's law, $\mu _{0}\mathbf {J} =\nabla \times \mathbf {B}$, and the vector identity
    ${\tfrac {1}{2}}\nabla (\mathbf {B} \cdot \mathbf {B} )=(\mathbf {B} \cdot \nabla )\mathbf {B} +\mathbf {B} \times (\nabla \times \mathbf {B} )$
to give
    $\mathbf {J} \times \mathbf {B} ={(\mathbf {B} \cdot \nabla )\mathbf {B} \over \mu _{0}}-\nabla \left({\frac {B^{2}}{2\mu _{0}}}\right),$
where the first term on the right hand side is the magnetic tension and the second term is the magnetic pressure force.
The force due to changes in the magnitude of $\mathbf {B}$ and its direction can be separated by writing $\mathbf {B} =B\mathbf {b}$ with $B=|\mathbf {B} |$ and $\mathbf {b}$ a unit vector:
    ${(\mathbf {B} \cdot \nabla )\mathbf {B} \over \mu _{0}}={\frac {B^{2}}{\mu _{0}}}(\mathbf {b} \cdot \nabla )\mathbf {b} ={\frac {B^{2}}{\mu _{0}}}{\boldsymbol {\kappa }}$
where the spatial constancy of the magnitude has been assumed $\nabla B=0$ and
    ${\boldsymbol {\kappa }}=(\mathbf {b} \cdot \nabla )\mathbf {b}$
has magnitude equal to the curvature, or the reciprocal of the radius of curvature, and is directed from a point on a magnetic field line to the center of curvature. Therefore, as the curvature of the magnetic field line increases, so too does the magnetic tension force resisting this curvature.
Magnetic tension and pressure are both implicitly included in the Maxwell stress tensor. Terms representing these two forces are present along the main diagonal where they act on differential area elements normal to the corresponding axis.

## Plasma physics

Magnetic tension is particularly important in plasma physics and MHD, where it controls dynamics of some systems and the shape of magnetic structures. For example, in a homogeneous magnetic field and an absence of gravity, magnetic tension is the sole driver of linear Alfvén waves.