Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2020 Dec 23.
Published in final edited form as: Am J Phys. 2002 Sep 12;70(10):1029–1033. doi: 10.1119/1.1491264

Averaging of harmonic physical fields over an annular region enclosing field sources

Lin Li 1,a)
PMCID: PMC7757630  NIHMSID: NIHMS1651678  PMID: 33363291

Abstract

Fields such as temperature, current density, and static electromagnetic fields in regions with no field sources are harmonic functions that satisfy the Laplace equation. Such functions on a sphere have a well-known mean value property. A new mean value property is derived for fields that are harmonic on an annular region, with the field sources enclosed by the inner boundary. Some examples are discussed.

I. INTRODUCTION

The average of static electric and magnetic fields over a spherical region is discussed in electromagnetic (EM) textbooks,13 and recently in a paper by Hu.4 In a region with no field sources,5 the mean values of the EM fields over a spherical surface or shell are equal to the field values at the center of the sphere, r=0:

E(r)sp=E(0), (1a)
B(r)sp=B(0), (1b)

where 〈 〉sp denotes the spherical mean value, that is, the mean value of the fields over the spherical shell or surface. A simple proof of Eq. (1) was given in Ref. 4 by applying the mean value theorem of harmonic functions6 to a scalar potential and then taking the spatial gradients. A harmonic function is defined as any solution of the Laplace equation (for any boundary conditions). In fact, Eq. (1) can be obtained directly by applying the mean value theorem to EM fields because these vector fields are harmonic functions throughout the sphere as well.7,8

We will refer to harmonic functions in space as harmonic fields.9 Harmonic fields of physical interest include scalars such as temperature, illumination,10 and conservative potentials (for example, electric, magnetic, and gravitational potentials); vector fields such as current density, irrotational flow velocity,10 static EM fields and vector potentials, magnetic field gradient tensors,11 and gravitational fields. These vector fields have zero divergence and curl in the absence of sources, and hence are harmonic fields. [For an arbitrary vector A, we have ×(×A)=(∇·A)−2A. If ×A=0 and ·A=0, we have 2A=0, and hence A is a harmonic field.]

The mean value property in Eq. (1) can be generalized to a variety of harmonic fields u (which can be either a scalar or a vector in multidimensional space),

u(r)sp=u(0). (2)

Equation (2) indicates that the value of a field at a point can be obtained from its surrounding values on a spherical region centered at this point. This relation is particularly useful when the location of interest is not accessible by direct measurement. Another application of this relation is to improve the precision of a measurement by replacing the center field values by the spherical mean value, which could significantly reduce the random noise.8,12

When there are field sources inside the sphere, the Laplacian of u(r) is nonzero at the locations of the field sources. Then u will not be harmonic everywhere throughout the sphere, and the validity of Eq. (2) is questionable. However, prior work1,2,4 has demonstrated that the mean values of static EM fields over an entire sphere are equal to the field values of the dipoles inside the sphere, that is,

E(r)entire sphere =p4πϵ0R3, (3a)
B(r)entire sphere =μ0m2πR3, (3b)

where R is the radius of the sphere, ϵ0 is the electric dielectric constant in a vacuum, μ0 is the magnetic permeability of vacuum, and p and m are the net electric or magnetic dipole moment within the sphere, respectively.

In this paper we consider the average of harmonic fields over an annular region, for example, a spherical shell in three-dimensional space. The field sources exist within the shell’s inner boundary. A general mean value property will be derived for fields that are harmonic on the annular region. Without loss of generality, a scalar harmonic field will be considered. However, the discussion can be readily extended to any vector field whose components are harmonic scalar functions. Potential applications of this property will be illustrated by a few examples.

II. MEAN VALUE PROPERTIES ON AN ANNULAR REGION

An annular region Ω centered at the origin r=0 in n-dimensional space (n⩾2) is defined as the region enclosed by an inner boundary of constant radius, r1, and an outer boundary of constant radius, r2 (r2r1) (see Fig. 1). When r1=r2=r, Ω becomes a spherical surface, S; S reduces to a circle C when n=2. The region within the inner boundary where the field sources are enclosed is designated as Λ. The field generated by these sources, u(r), is assumed to be harmonic in Ω.

Fig. 1.

Fig. 1.

Harmonic field u(r) in an annular region Ω (dotted area, O is the center, r1<r<r2). The field sources are in the region Λ(r<r1). S is a surface at radius r.

From harmonic function theory,6 u within Ω can be expanded in a Laurent series, that is,

u(r)=k=0pk(r)+k=0qk(r)r2k+n2     (n>2), (4a)
u(r)=k=0pk(r)+q0 log r+k=1qk(r)r2k     (n=2), (4b)

where pk and qk are homogeneous harmonic polynomials of degree k. The harmonic polynomials satisfy the Laplace equation in space. They are zero at r=0, except that p0 and q0 are constant (see Appendix A). If the field u is averaged over S (n>2) or C (n=2), the mean values of all the k≠0 harmonic polynomials will be zero due to the mean value property of harmonic functions [see Eq. (A3)]. The spherical mean value of u depends only on the contribution of the constant term, and a rn−2 term for n>2 or a logarithmic term for n=2. That is (see Appendix A),

u(r)S=p0+q0rn2     (n>2), (5a)
u(r)C=p0+q0 log r     (n=2). (5b)

This result can be extended to an average over the whole region Ω by integrating Eq. (5) over the radius r from r1 to r2 (see Appendix A). The mean value of the field u on Ω still depends only on p0, q0, and the radii r1 and r2 [see Eq. A5)]. If p0 and q0 are both zero, the mean value of u is

uC,S  or  Ω=0. (6)

Equation (6) can be directly applied to static EM fields generated by multipole sources in the region Λ. As pointed out in Sec. I, these fields are harmonic in the region Ω with no sources. Therefore, E and B can be written in the form of Eq. (4). However, multipole static EM fields are known to vary inversely as rn (r>r1) with n⩾2. Therefore, the constants p0 and q0 in Eq. (4) must be zero. With the help of Eqs. (5) or (6), we have

ES  or  Ω=0, (7a)
BS  or  Ω=0, (7b)

if all the field sources are contained in the region Λ.

Equation (7) can be confirmed in a different way by examining the EM field distribution in three-dimensional space (see Appendix B). The apparent discrepancy of Eqs. (7) and (3) can be explained by the fact that the fields in Eq. (3) are averaged over the entire sphere whereas those in Eq. (7) are averaged only over an annular region, excluding the field sources. As shown below, Eq. (7) can be derived directly from Eq. (3). If both sides of Eq. (3) are multiplied by the volume of the sphere 4πR3/3, then

E(r)entire sphere 4πR33=p3ϵ0, (8a)
B(r)entire sphere 4πR33=2μ0m3. (8b)

The product of the spherical mean value and the sphere volume, shown on the left-side of Eq. (8), is equivalent to the integration of the fields over the entire sphere of radius R. Equation (8) demonstrates that the integration over an entire sphere is independent of the radius. If the two concentric spheres with radii r1 and r2 (r1<r2) enclose the same field sources, and thus the same dipole moments, then the integration over the sphere of radius r1 would be equal to the integration over the sphere of radius r2. The integration over the shell Ω (r1<r<r2) is identical to the difference of the integration over these two spheres, which gives a null value and leads to Eq. (7). (The integration over S can be considered as a limiting case of integration over the shell Ω when r1 becomes close to r2.)

III. POSSIBLE APPLICATIONS

A. Measurement of p0 and q0

The values of p0 and q0 could reflect important characteristics of the fields. They can be obtained from Eq. (5) by measuring u(r) and finding the r-dependence of 〈u(r)〉S. For example, suppose that u(r) is the electrostatic potential generated by a charge distribution in the region Λ. Q is the total net charge, and n=3. From Eq. (5a) we have

u(r)S=p0+q0r. (9)

If we have adopt the convention that the potential at infinity is zero, p0=0, we obtain

u(r)S=q0r. (10a)

Here q0 should be equal to Q/4πϵ0, because u should become increasingly close to the potential field of a single charge Q as r increases. Thus

u(r)S=Q4πϵ0r. (10b)

Equation (10b) shows that the spherical averaging procedure smoothes out the contributions of higher-order multipole fields. Regardless of the spatial charge distribution of the field sources, the net charge Q can be obtained rigorously from the mean value of the field on the spherical surface S, which is a distance r away from the sources such that the surface encloses the entire charge distribution. Because S can be near the field sources, obtaining Q from the mean value of the fields over S is more practical than obtaining Q from the conventional measurement of the farfields. Gauss’ theorem,2

SEn^ds=Qϵ0, (11)

can also be used to find Q by measuring the vector field E on the surface S (n^ is the unit normal vector of the surface). In comparison, the mean value method has the advantage of using only a scalar quantity.

In the same way, this method can be applied to find the temperature distribution generated by heat sources in a homogeneous medium.10 The total amount of heat loss or generation can be obtained exactly from the spherical mean of the temperature on a spherical surface enclosing the sources, without knowing their spatial distribution and the strength of each source.

B. In situ quantification of external field

Thus far, all the field sources were assumed to be located within the region Λ. In general, some external field sources can exist and generate an external field ue superimposed on the internal field ui generated by the internal sources. The determination of ue is useful for applications such as the study of electromagnetic polarization in a medium. What is usually measured is the total field ut:

ut(r)=ue(r)+ui(r). (12)

If we take the spherical mean of both sides of Eq. (12), we obtain

ut(r)S  or  Ω=ue(r)S  or  Ω+ui(r)S  or  Ω. (13)

Because the sources for ue are located outside the outer boundary of Ω, it is reasonable to assume that ue is harmonic in both Ω and Λ. With the use of Eq. (2), we have

ue(r)S  or  Ω=ue(0). (14)

The field ui is usually assumed to be zero at infinity (p0=0), and hence Eq. (10a) applies to ui. If Eqs. (10a) and (14) are substituted into Eq. (13), we obtain

ut(r)s=ue(0)+q0(0)r. (15)

Here ue(0) and q0 can be obtained by fitting 〈ut(r)〉s to 1/r. If p0=q0=0, we can use Eq. (14) for 〈ue(r)〉S or Ω and Eq. (6) for 〈ui(r)〉S or Ω, and write Eq. (13) as

ue(0)=ut(r)S  or  Ω. (16)

Equations (15) and (16) indicate that the external field at a point inside an object can be obtained rigorously from the surrounding field values on spherical surfaces or shells enclosing the object. The internal field ui at r=0 can then be obtained from Eq. (12). Thus, the field contribution from external and internal sources, ue and ui, respectively, can be separately found at any field location.

The advantages of this method of external field determination can be demonstrated by considering static EM polarization.2 The external field polarizes an object proportional to its electric/magnetic susceptibility and also induces the depolarizing field. The field that is measured usually includes the contribution from the external field, the depolarizing field (the internal field), and the local polarization. The goal is to find the susceptibility from the field distribution. In some cases the external field is sufficiently homogeneous so that it can be represented by a constant. In other cases, such as in magnetic resonance imaging (MRI), the external field inhomogeneity can be comparable to the magnetization induced in diamagnetic and paramagnetic substances.13 Therefore, to accurately determine the susceptibility, it is important to know the value of the exact external field for a location inside the object.14 The usual approximation is to measure the field at the same location after taking the object away or replacing it with a reference object, assuming that the object removal or replacement has little effect on the external field distribution. However, this approach is not always practical and the assumption is not valid for strongly coupled systems (for example, ferromagnetic objects) in which significant mutual polarization couplings exist between the object and the external objects or field sources.

Equation (16) directly applies to static EM fields, and the external field can be determined by the spherical mean value of the measured field on a spherical surface or shell in the surrounding medium. This method is useful and convenient because it is an in situ approach. The object does not have to be removed or replaced by a reference object. The method does require much field distribution information at locations on the spherical shell or surface. The field distribution can be mapped with modern imaging techniques such as MRI. With the in situ external field determination, a rigorous methodology has been successfully developed that can quantify the magnetic susceptibility for arbitrarily shaped objects in inhomogeneous fields.14 In principle, a similar methodology can be applied to the measurement of electric susceptibility.

C. Precision improvement

As shown in previous work,8,12 we can significantly reduce the measurement noise by applying the mean value method to physical quantities such as temperature and magnetic fields that satisfy the Laplace equation. The method is to replace field the value at every point by its spherical mean value—the mean value of the field u over a spherical region Ω centered at this point. The noise in the data is reduced by a factor of the square root of the total number of the data points used in averaging. For a 3-D image data, when averaging over an entire sphere of a radius of 100 points, the noise reduction is about 2000 times! For example, the precision of conventional MRI field mapping is about 10−8 Tesla (T). In comparison, the mapping precision has been increased to 10−11–10−12 T using the spherical mean value method over a sphere whose radius is about 20 points.8 The difference between the spherical mean value method and conventional simple averaging lies in the fact that the mean value property on a spherical region is an inherent characteristic of harmonic fields. The spherical mean value method is a theoretically rigorous approach rather than an approximation, as is usually the case for simple averaging.

Similar improvements can be achieved using the mean value property on an annular region. The constant q0 in Eq. (10) and the external field in Eq. (16) can be determined by averaging a number of field points, which would substantially reduce the random noise present in the raw field measurements. It is expected that the quantities determined in this way have a noise level much lower than that of the raw field measurements.

IV. CONCLUSION

A new general mean value property has been derived for harmonic fields in an annular region. Although static electromagnetic fields have been discussed as typical examples, this property could be applied to other physical fields as well. Provided that physical quantities such as temperature, current density, flow, and the gravitational force are harmonic fields, the mean value properties of harmonic fields are expected to have many applications. Suggested problems for students are given in Appendix C.

ACKNOWLEDGMENTS

This research was supported by a NIH Grant (No. RR02305). I am grateful for advice from Professor John S. Leigh, and the general support from other colleagues and staff members in MMRRCC.

APPENDIX A: THE MEAN VALUE OF HARMONIC FUNCTIONS ON AN ANNULAR REGION

As described in Eq. (4), harmonic functions can be expanded into a Laurent series consisting of various orders of homogeneous harmonic polynomials. To illustrate the property of these polynomials, we will consider the homogeneous polynomials pm in three-dimensional space (n=3). In general,

pm(r)=i+j+k=mcijkxiyjzk, (A1)

where x, y, and z are the coordinates of r along three orthogonal directions, cijk are constant coefficients, and i, j, k, m are non-negative integers. More specifically,

p0=const,p1=c100x+c010y+c001z,p2=c200x2+c020y2+c002z2+c110xy+c011yz+c101xz,. (A2)

The coefficients cijk must satisfy certain relations to make pm harmonic. For example, if ∇2p2=2c200+2c020+2c002=0, then c200+c020+c002=0. It is obvious that for all m≠0, pm(0)=0, that is, the homogeneous polynomials except p0 are zero at the origin (r=0). Based on the mean value property of harmonic functions,6

pm(r)S  or  C=pm(0)={0, for  m0,p0, for  m=0. (A3)

This result applies to any harmonic homogeneous polynomial in a n-dimensional space (n⩾2).

To prove Eq. (5), the spherical mean value is taken for each term on both sides of Eq. (4). With the use of Eq. (A3) for n>2, we obtain

u(r)S=k=0pk(r)S+k=0qk(r)r2k+n2S=p0+k=0qk(r)Sr2k+n2=p0+q0rn2, (A4a)

and for n=2,

u(r)C=k=0pk(r)C+q0(r)log rC+k=1qk(r)r2kC=p0+log rq0(r)C+k=1qk(r)Cr2k=p0+q0 log r, (A4b)

where the denominators can be taken out of the brackets because they are constant on the surface S or the circle C. The mean value of the field u over S or C depends only on p0, q0, and the radius r. This result can be extended to an annular region Ω by the integration of the right-sides of Eq. (A4) over the radius r over the interval [r1,r2]. For n>2,

u(r)V=1Vr1r2(p0+q0rn2)βrn1dr=p0+q0βVr1r2r dr=p0+q0β2V(r22r12), (A5a)

where V is the volume of Ω, V=r1r2βrn1dr; β is a constant dependent on n (β=4 π for n=3). For n=2,

u(r)Ω=1Ar1r2[p0+q0 log (r)]2πr dr=p0+2q0(r22r12)r1r2r log (r)dr=p0+q0(log r2+log r2log r1(r22r12)12), (A5b)

where A is the area of Ω. In conclusion, the mean value of the field u over the annular region depends only on p0, q0, and the radii r1 and r2.

APPENDIX B: SPHERICAL MEAN VALUE OF ELECTROSTATIC AND MAGNETOSTATIC FIELDS ON AN ANNULAR REGION

The region Λ is enclosed by the inner boundary (r=r1) of an annular region Ω(r2>r>r1). The z component of the electrostatic field generated by an electric charge distribution in Λ, Ez, satisfies the Laplace equation in the region Ω. This is a direct result of the EM wave equations for static fields in a space with no field sources. Laplace’s equation can be written in spherical coordinates as

1r2r(r2Ezr)+1r2sinθθ(sinθEzθ)+1r2sinθ2Ezϕ2=0     (r>r1). (B1)

If we use the conventional treatment of electrostatic scalar potentials,2 the solution of Eq. (B1) takes the form

Ez(r,θ)=l=0m=ll(Almrl+Blmrl+1)Ylm(cosθ). (B2)

Here Alm and Blm are constants, and Ylm are the spherical harmonics satisfying

Ylm(cosθ)sinθdθdϕ=0,      if      (l,m)(0,0). (B3)

It is well known that when r>r1, the multipole fields generated by the charge distribution in Λ must vary as 1/r2 or higher inverse orders of the distance. Because Alm are the coefficients for terms rl (l>0), and B00 is the coefficient for the r−1 term, all the Alm and B00 must be zero. The spherical mean value of Ez over the surface S is

EzS=14πr2Ez(r,θ)ds=14πr2l=1(Blmrl+1)Ylm(cosθ)r2sinθdθ dϕ=14πl=1[(Blmrl+1)Ylm(cosθ)sinθ dθ dϕ]=0, (B4)

where Eq. (B3) was used in the last step. Similar identities hold for the x and y components of the electric fields, and thus

ES=0. (B5)

Alternatively Eq. (B5) can be obtained without using the general solution of Eq. (B1). If one applies the spherical surface average to both sides of Eq. (B1), the left second and third terms are obviously zero. Thus we obtain

1r2r(r2EzSr)=0, (B6)

and the solution is

EzS=p0+q0r. (B7)

We can see that Eq. (B7) indicates an alternative way of deriving Eq. (5) without using the Laurent series expansion, Eq. (4). Obviously p0 and q0 in Eq. (B7) are zero because the electric field Ez generated by the field sources within Λ behaves only as 1/r2 or higher order when r>r1. In this way Eqs. (B4) and (B5) can be derived. Similarly, the magnetic field B generated by multipole field sources in Λ also behaves as 1/r2 or higher order, and thus

BS=0. (B8)

APPENDIX C: SUGGESTED PROBLEMS

We can test the ideas in this paper by using a computer to generate a localized electric charge distribution in three-dimensional space, and to calculate the electric field and scalar potential on spherical surfaces. The field sources can be single charges, dipoles, higher order multipoles, or any combination of them. Below are some suggested problems. Similar problems can be designed in two-dimensional space.

  1. Show that the mean value of the electric field on a spherical surface S enclosing all the sources is zero [Eq. (7a)]. Vary the location of these sources within the sphere, and see if the mean value on S stays same.

  2. Validate Eq. (10b) by plotting the mean value of the scalar potential field over S against the radius of S. Use either Eq. (10b) or Eq. (11) to determine the total net charge, and compare the result with the value preassigned by the computer.

  3. Add random noise to the field data and see how it may deviate the results in Problems (1) and (2). Show that the spherical mean value can significantly reduce the deviations as the radius of S becomes larger.

  4. Choose an annular region enclosing the field sources, that is, a spherical shell Ω with inner radius r1 and outer radius r2. Validate a special case of Eq. (A5a) (p0=0, q0=Q/4πϵ0) by calculating the mean value of the scalar potential over Ω with r1 or r2 varying.

References

  • 1.Griffiths DJ, Introduction to Electrodynamics (Prentice–Hall, Englewood Cliffs, NJ, 1999), pp. 156–157 and 253. [Google Scholar]
  • 2.Jackson JD, Classical Electrodynamics (Wiley, New York, 1999), pp. 145–222. [Google Scholar]
  • 3.Purcell EM, Electricity and Magnetism (McGraw-Hill, New York, 1963), p. 61. [Google Scholar]
  • 4.Hu BY-K, “Averages of static and magnetic fields over a spherical region: A derivation based on the mean-value theorem,” Am. J. Phys 68, 1058–1060 (2000). [Google Scholar]
  • 5.The sources here include both active (free) and passive sources. For example, a free electric charge is an active source, and the polarization charges induced by it at the discontinuity interfaces of media are passive sources. This condition is equivalent to requiring a region with homogeneous susceptibility and no free charges.
  • 6.Axler S, Bourdon P, and Ramey W, Harmonic Function Theory, Graduate Texts in Mathematics (Springer-Verlag, New York, 1992), Vol. 137, pp. 1–6 and 184–195. [Google Scholar]
  • 7.Sanchez-Velasco E, “A simple derivation of a result in electrostatics,” SIAM Rev. 40, 915–917 (1998). [Google Scholar]
  • 8.Li L and Leigh JS, “High precision mapping of magnetic field utilizing the harmonic function mean value property,” J. Magn. Reson 148, 442–448 (2001). [DOI] [PubMed] [Google Scholar]
  • 9.Li L, “The general application of the spherical mean value method for image noise reduction,” Proceedings of the 28th Annual Northeast Bioengineering Conference (IEEE, New York, 2002), pp. 185–186. [Google Scholar]
  • 10.Feynman RP, Leighton RB, and Sands M, The Feynman Lectures on Physics (Addison-Wesley, Reading, MA, 1964), Vol. 2, Chap. 12. [Google Scholar]
  • 11.Nelson JB, “Calculation of the magnetic gradient tensor from total field gradient measurements and its application to geophysical interpretation,” Geophysics 53, 957–966 (1988). [Google Scholar]
  • 12.Li L, Shapiro EM, and Leigh JS, “Significant precision improvement for temperature mapping,” Magn. Reson. Med 46, 678–682 (2001). [DOI] [PubMed] [Google Scholar]
  • 13.Stark DD and Bradley WG Jr., Magnetic Resonance Imaging (Mosby Year Book, Boston, MA, 1992), Vol. 1. [Google Scholar]
  • 14.Li L, “Magnetic susceptibility quantification for arbitrarily shaped objects in inhomogeneous fields,” Magn. Reson. Med 46, 907–916 (2001). [DOI] [PubMed] [Google Scholar]

RESOURCES