The calculation of the exact magnetic field at any point in space is mathematically complex and involves the study of
Bessel functions. Things are simpler along the axis of the coil-pair, and it is convenient to think about the
Taylor series expansion of the field strength as a function of x, the distance from the central point of the coil-pair along the axis. By symmetry, the odd-order terms in the expansion are zero. By arranging the coils so that the origin x=0 is an
inflection point for the field strength due to each coil separately, one can guarantee that the order x^2 term is also zero, and hence the leading non-constant term is of order x^4. The inflection point for a simple coil is located along the coil axis at a distance R/2 from its centre. Thus the locations for the two coils are x=\pm R/2. The calculation detailed below gives the exact value of the magnetic field at the center point. If the radius is
R, the number of turns in each coil is
n and the current through the coils is
I, then the magnetic field B at the midpoint between the coils will be given by : B = {\left ( \frac{4}{5} \right )}^{3/2} \frac{\mu_0 n I}{R}, where \mu_0 is the
permeability of free space {{nobr|(4\pi \times 10^{-7} \text{ T}\cdot\text{m/A})}}.
Derivation Start with the formula for the on-axis field due to a single wire loop which is itself derived from the
Biot–Savart law: : B_1(x) = \frac{\mu_0 I R^2}{2(R^2+x^2)^{3/2}}=\xi(x) \frac{\mu_0 I}{2R}. Here :\mu_0\; = the
permeability constant = 4\pi \times 10^{-7} \text{ T}\cdot\text{m/A} = 1.257 \times 10^{-6} \text{ T}\cdot\text{m/A}, :I\; = coil current, in
amperes, :R\; = coil radius, in meters, :x\; = coil distance, on axis, to point, in meters, :\xi(x)=[1+(x/R)^2]^{-3/2}\;is the distance dependent, dimensionless coefficient. The Helmholtz coils consists of
n turns of wire, so the equivalent current in a one-turn coil is
n times the current
I in the
n-turn coil. Substituting
nI for
I in the above formula gives the field for an
n-turn coil: : B_n(x) = \xi(x)\frac{\mu_0 n I}{2R}. Now provided that the coils are separated a distance R apart, we may already express the magnetic field right in-between the coils as B_n(R/2)+B_n(-R/2), which produces the desired result. However, to justify why the coils ought to be separated by R, we need to do more work. We may, in general, set the coils a distance a apart, producing a field of magnitude B_n(a/2)+B_n(-a/2) at the center. However, this way of representing the solution carries no information about whether the field genuinely is nearly homogeneous between the coils. To understand the behavior of the field around the center point, we may define the function B(x)=B_n(a/2+x)+B_n(-a/2+x) to shift around the point of interest by x. If the magnetic field were truly homogeneous, all the derivatives of B with respect to x would vanish for all inputs x. There is no a for which this is precisely true, however, for the center point corresponding to x=0 we can show that a=R/2 is optimal in the sense of annihilating the first, second and third order derivatives. The zeros of the derivatives of B are not affected by constant factors so it suffices to consider the derivatives of \xi(a/2+x)+\xi(-a/2+x). To do this, we write the Taylor series, giving us \frac{2}{\left( 1+\frac{a^2}{R^2} \right)^{3/2}}+\frac{1}{2}\left( \frac{30a^2}{\left(1+\frac{a^2}{R^2}\right)^{7/2} R^4} -\frac{6}{\left(1+\frac{a^2}{R^2}\right)^{5/2} R^2}\right) x^2+\mathcal{O}(x^4). Since the coefficients of the Taylor series correspond to all the derivatives of the function, we notice that the first and the third derivatives of B are always zero at the center where x=0 (due to the symmetry of the setup, true independently of the specific value of a) and for some special values of a the second order term may also vanish, corresponding to the derivative of the magnetic field B staying approximately zero around x=0, thus giving an approximately homogeneous field. The second order coefficient simplifies to \frac{24a^2-6R^2}{(1+\frac{a^2}{R^2})^{7/2}R^4}, thus giving a=R/2 as the desired parameter a. Therefore the coils ought to be a distance R apart, leading to an approximately homogeneous magnetic field inside the Helmholtz coil. == Time-varying magnetic field ==