Evaluation of the Biot-Savart integral in electrostatic problems with non-uniform Dirichlet boundary conditions
Robert Salazar, Camilo Bayona, J. S. Sol\'is Chaves

TL;DR
This paper introduces an analytical method to solve electrostatic problems with non-uniform Dirichlet boundary conditions, leveraging a Biot-Savart-like integral to compute electric fields for specific geometries.
Contribution
It presents a novel analytical approach combining circulation and angular potential variations to solve Laplace's equation with non-uniform boundary conditions.
Findings
Exact solutions for circular contours with periodic potentials
Validation of analytical results with numerical and FEM methods
Extension of Biot-Savart law to electrostatics with non-uniform boundaries
Abstract
We present an analytical strategy to solve the electric field generated by a planar region enclosed by a contour which is kept with a fixed but non-uniform electric potential. The approach can be used in certain situations where the electric potential on the space requires to solve the Laplace equation with non-uniform Dirichlet boundary conditions. We show that the electric field is due to a contribution depending on the circulation on the contour in a Biot-Savart way plus another one taking into account the angular variations of the potential in valid for any closed loop . The approach is used to find exact expansions solutions of the electric field for circular contours with fully periodic potentials. Analytical results are validated with numerical computations and the Finite Element Method. Keywords: Biot-Savart law, electrostatic problems,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsElectromagnetic Scattering and Analysis · Electromagnetic Simulation and Numerical Methods · Numerical methods in engineering
Evaluation of the Biot-Savart integral in electrostatic problems with non-uniform Dirichlet boundary conditions
Robert Salazar
Universidad ECCI - Bogotá, Colombia
Departamento de Física, Universidad de los Andes - Bogotá, Colombia
Camilo Bayona
Universidad ECCI - Bogotá, Colombia
Centro de Ingeniería Avanzada Investigación y Desarrollo, CIAID- Bogotá, Colombia
J. S. Solís Chaves
Universidad ECCI - Bogotá, Colombia
Abstract
We present an analytical strategy to solve the electric field generated by a planar region which is kept with a fixed but non-uniform electric potential. The approach can be used in certain situations where the electric potential on the space requires to solve the Laplace equation with non-uniform Dirichlet boundary conditions. We show that the electric field is due to a contribution depending on the circulation on the contour in a Biot-savart way plus another one taking into account the angular variations of the potential in valid for any closed loop . The approach is used to find exact expansions solutions of the electric field for circular contours with fully periodic potentials. Analytical results are validated with numerical computations and the Finite Element Method.
Keywords: Biot-Savart law, electrostatic problems, exactly solvable models.
1 Introduction
The computation of the electric field generated by a stationary charge density distribution is a standard problem of physics and engineering. Conceptually, the problem is simple, however its exact solution can be difficult depending on how the charge density is distributed in space. In principle, it is possible to find analytic solutions to the problem when the charge density is uniform [1, 2, 3, 4, 5]. A particular situation occurs when a fixed but non uniform potential is distributed on a boundary surface of the domain. These type of Dirichlet problems implies a charge density on the surface, and the electric potential due to this density charge can be obtained by solving a Laplace’s equation. At best, the systems is integrable, as it occurs with some axially symmetric problems on the sphere [6, 7] and the disk [8]. In those cases, standard strategies of separation of variables can be used to find the electric potential. However, the computation of the electric potential for more complicated geometries often requires numerical approximations as the only possible approach.
In this document we shall describe a technique to compute the electric field of planar region with a non-uniform electric potential with the rest of the plane grounded, as it is shown in Fig. 1. Using a cylindrical reference system, we define to be any position inside the domain . A non-uniform electric potential is defined inside the planar region which is located at and enclosed by the curve . Although, this type of classical problems can be solved by using numerical methods [9, 10, 11, 12], the determination of analytic solutions for the electric field of this system is still a challenging problem. Nevertheless, there are significant simplifications when is held as a non-zero constant. In that case, the system exhibits a connection with magnetostatics and the Biot-Savart law [13]. The main objective of this work is to determine if this connection between electrostatics and magnetostatics still exist for arbitrary scalar potentials , and to use it to simplify the analytic problem.
This document will be organized as follows: In Section 2 we shall derive an expression to compute the electric field by using a connection between this electrostatic problem and magnetostatics. In that section we shall demonstrate that this expression is
[TABLE]
where the line integral at the right side of the previous expression is analogous to the problem of computing the magnetic field along a loop , but in a counter-intuitive situation where the loop carries a non-uniform electric current. The second term in the right of Eq. takes into account the electric field contributions due to variations of in the region enclosed by . The exact evaluation of Eq. for arbitrary contours can be difficult to evaluate, except for circular loops. Hence, in Section 3 we demonstrate the application of exact analytic expansions to solve Eq. in the case of circular contours with any arbitrary but periodic potential functions. The next section is devoted to the comparison of the analytic results with the numerical ones obtained by brute-force numerical integration. We also present in Section 4 some comparisons with the numerical solution given by the Finite Element Method. Finally, some conclusions are stated in Section 5.
2 Electric field via Biot-Savart
In general, a steady electric field has associated an electric potential such that . This, in combination with the Gauss’s law, results in the Poisson’s equation
[TABLE]
where is the volume charge density [6, 14, 7]. We suppose that for , such that the Laplace equation
[TABLE]
subjected to the following boundary conditions
[TABLE]
has to be solved in the domain. The electric potential can be obtained from the solution of the Poisson’s equation using Green’s functions [6]. The solution is written as
[TABLE]
where the first term at the right hand vanishes since for . As usual, we may demand that
[TABLE]
by choosing the Green’s function for the half-space and considering the potential as a punctual charge at , with , plus the potential of an image charge placed in a symmetric position in the lower-half plane, at . This Green’s function results in
[TABLE]
Hence, the problem is reduced to evaluate the following integral
[TABLE]
where is the outward normal of on the -plane, and
[TABLE]
such that the electric potential in the cylindrical coordinate system can be calculated from
[TABLE]
In general, the previous expression of the electric potential for a given variable potential is not easy to solve exactly and a numerical integration is needed. However, if the function would be constant, say , then, from Eq. (2), the electric potential can be written as
[TABLE]
Authors of Ref.[13] noted that the physiscal quantity is proportional to the scalar potential [15, 16] of a steady magnetic field generated by electric current along a closed arbitrary loop . In that problem,
[TABLE]
Similarly,
[TABLE]
and therefore, the electric field can be computed by evaluating a Biot-Savart integral. Formally, Eq. (4) is only valid when is kept as constant and homogeneous in the region . The challenge is to generalize this result for any potential with an arbitrary angular dependence. To this aim, let us consider the problem where is not uniform but varies discretely as follows
[TABLE]
where defines consecutive sectors of uniform electric potential , where
[TABLE]
as it is shown in Fig. 2. The boundary of each sector is the following loop
[TABLE]
Let us introduce an angular function that returns the curve’s radius and helps to define the position of the external curve in polar coordinates
[TABLE]
Therefore, the complete closed curve can be defined as
[TABLE]
The path is a straight line from the point to the origin and is its reversed trajectory. Since the potential of each sector is constant and homogeneous, we may use the superposition principle in Eq. (4) to compute the electric field in the domain as follows,
[TABLE]
where is the electric potential due to the -th sector of . It is possible to split the integral term of the previous equation, resulting in
[TABLE]
Thus, the electric field expression takes the form
[TABLE]
The first term on the right of Eq. (5) is a circulation on the whole loop since . On the other hand, the sum of the straight lines’ integrals can be written in a most convenient form by noting that
[TABLE]
Therefore,
[TABLE]
and using the periodicity conditions
[TABLE]
then the electric field can be written as
[TABLE]
Here we have defined the vector field
[TABLE]
in Cartesian coordinates with . This term is a vector with dimensions of inverse length, and it can be interpreted as a reduced magnetic field generated by a unitary current on a straight finite line from a point on located at (in polar coordinates) to the origin. The integral in Eq. (8) can be evaluated straightforwardly since
[TABLE]
with
[TABLE]
the angle between and , and the angle between and . Defining and , then , and therefore,
[TABLE]
Since,
[TABLE]
then, results in
[TABLE]
At this point we found an analytic expression for the electric field. Let us now suppose some potential field distribution in the planar region which fulfils, among other properties, the periodicity conditions. Indeed, some staircase-like piece-wise distribution of the type
[TABLE]
would tend to a smooth and continuous potential as (see Fig. (3)) If is defined as a fully periodic function in , that can be expanded in Taylor series as follows
[TABLE]
Note that not every distribution fulfill this condition. For instance, a smooth linear function can be approximated by selecting as an staircase function satisfying periodicity conditions Eq. (6). However, we could not use this linear function since there would be a discontinuity at some angle, no matter how large becomes . In that situation, is a Dirac delta function, and the Taylor series expansion would diverge. Assuming that is a suitable distribution, then the expression for a distribution becomes
[TABLE]
which can be replaced to its continuous form
[TABLE]
Since , we can perform a partial integration on the second term, resulting in the electric field expression given by
[TABLE]
with
[TABLE]
The line integral in the right hand of Eq. (10) can be interpreted as it would be a non-uniform current (with dimensions of electric field per unit of length) circulating along and generating electric field in a Biot-Savart like way. The second term measures the contributions due to a current coming form center to the boundary and weighed on with . As it is expected, the term vanishes when is constant. More explicitly, the vector is
[TABLE]
with
[TABLE]
where , as usual. Writing the unitary vector of the Cartesian coordinates in terms of the spherical ones and simplifying
[TABLE]
therefore , which implies that the radial component of the electric field is only the contribution of the Biot-Savart term since cannot affect this component.
3 Circular region with an arbitrary staircase-like function
In this section we shall find an exact expansion of the electric field generated by a circular region of radius with a staircase-like function . According to Eq. (7) the electric field is
[TABLE]
where
[TABLE]
is the Biot-Savart contribution whose components for are
[TABLE]
[TABLE]
and
[TABLE]
The magnitude of is
[TABLE]
Since the potential on is a staircase-like function then
[TABLE]
Analogous expressions can be written for the other two components of the electric field by using
[TABLE]
It is convenient to write the inverse of as follows
[TABLE]
with defined as
[TABLE]
in order to use the expansion
[TABLE]
to write
[TABLE]
for any positive integer (including zero), , the floor function and
[TABLE]
We may use the previous expansions to evaluate the integrals of Biot-Savart contribution. For instance, the following integral
[TABLE]
is required to compute and where should be set as 0 or 1. Then using the series expansion in Eq. (14) we find
[TABLE]
Now
[TABLE]
since and then
[TABLE]
Similarly
[TABLE]
where we have used the periodicity conditions of Eq. (6), hence
[TABLE]
Note that if the potential would be uniform , then the previous integral (divided by ) would take the form
[TABLE]
therefore
[TABLE]
where we have defined
[TABLE]
Another integral required to compute is
[TABLE]
We may employ the same strategy used in Eq. (15) to evaluate Eq. (18) by setting , using
[TABLE]
if , otherwise
[TABLE]
The result is the following
[TABLE]
where we used the periodicity condition given by Eq. (6) and is defined as follows
[TABLE]
The radial component of the Biot-Savart contribution takes the form
[TABLE]
Note that the integral term
[TABLE]
is the radial component of a electric field generated by a circular region with fixed potential inside it and zero at the rest of the -plane. Similarly,
[TABLE]
where
[TABLE]
and
[TABLE]
with because the circular region at constant potential is axially symmetric. We may use the fact that is closely related with magnetic field of a circular loop carrying a uniform current by a proportional constant equal to where is the magnetic permeability. In general, the magnetic field can be obtained via the vector potential, in our case we may also associate a vector potential such that where
[TABLE]
with
[TABLE]
and , the complete elliptic integrals of the first and second kind respectively [6, 17]. The bar under letter E is used to avoid confusions between the electric field and the elliptic integral.
The application of the rotational on the vector potential can be demanding algebraically but it is a standard problem that was already solved [18, 19]. An alternative is to use the series expansions of Eq. (16) to evaluate and by setting or . The components of for are
[TABLE]
and
[TABLE]
where we have defined
[TABLE]
The Biot-Savart contribution can be written as follows
[TABLE]
where is a vector with length units given by
[TABLE]
in spherical coordinates. We can replace the Biot-Savart contribution in Eq. (12) to write the total electric field in this compact way
[TABLE]
where and . Finally, if is assumed as a continuous and fully periodic function, then we may write
[TABLE]
Since is periodic with respect then
[TABLE]
with
[TABLE]
and
[TABLE]
In practice formula Eq. (20) requires to compute the complete elliptic integral implicit in . To this aim we may use their series representations [20]
[TABLE]
with the double factorial, or use a programming package where those functions are implemented. In general, the evaluation of Eq. (20) does not offer a challenge technical problem since this analytic expression can be coded into a high-level language program. In particular, we have written a short notebook in Wolfram Mathematica 9.0 [21] in order to explore Eq. (20) for an arbitrary potential . We have chosen as follows
[TABLE]
with , however other selection of is also valid if it fulfills with . On Fig. 4 we show some surfaces corresponding to the electric field components for , relatively near to the -plane where . Plots in Fig. 4 were obtained with a staircase like potential of sectors shown in Fig. 3-(left). Such potential introduces introduces discontinuities which can affect drastically the electric field near the -plane, as we can observe on Fig. 4. In general, these sudden changes on the electric field components with respect the -coordinate and near the -plane must disappear in the limit if is selected as a continuous smooth function. We may start to observe this behaviour by choosing a value of relatively large (see Fig. 5) where . Finally, some plots of the vector field are shown in Fig. 6.
4 Numerical comparison
In this document we described an analytic technique to compute the electric field due to a planar region hold at some potential .
However, there are also numerical alternatives to solve this problem. One of them is to evaluate numerically the double integral in Eq. (3) and apply a numerical central differentiation on this integral to compute an approximated gradient [22, 23], this is
[TABLE]
[TABLE]
and
[TABLE]
To this aim, we used the function NIntegrate of Wolfram Mathematica 9.0 [21] to evaluate and their shifted values with small. Even when this strategy is easy to implement, there are some sources of error that must be taken into account. The first one emerges from the numerical integration since the integrand in Eq. (3) may become highly oscillatory depending on the potential function and the point of evaluation. Another source of error comes from the numerical differentiation. Typically, the error of central derivatives is proportional to , however in numerical computations cannot be set arbitrarily small because the numerator of the finite derivative can be cancelled [24]. This error depends on the machine precision.
On Fig. 7, we show a computation of the electric field by using numeric integration and a partial differentiation. The potential function was chosen as a staircase-like function with and Gaussian as it is shown in Fig. 3-(center). We also show on Fig. 7 the analytic values of the electric field according to Eq. (20) at for few values of in . Numerical and analytic computations of the electric field components are in agreement. In general, the evaluation of the analytic expression requires a truncation of the infinite sum at the right of Eq. (20). Such infinite sum comes from the Taylor series of Eq. (13) which converges for for any complex number . However, if the series is truncated at the first terms, then we have to increase as approaches to one in order to obtain descent results with a small error. This error dependence of the truncated series with is inherited on the computation of the computation of the electric field Eq. (20). Since then we require more series terms when we try to evaluate the electric field on the -plane (this is at ) and near since approaches to one if . This dependence can be observed on Fig. (8) where we show the behaviour of the analytic solution as function of at and . We require at least terms for . On the other hand, terms are enough to compute at . For this reason, we were able to use terms on the series computations shown in Fig. 7 without having a large difference between the truncated series and the values via numeric integration and numeric differentiation even when is small. In order to find the error estimates on the electric field components, we calculated the following relative error norm
[TABLE]
for the -th component of the electric field in spherical coordinates. Here where and are the components of computed with Eq. (20) and numerically respectively. The set was defined as rectangular cuboid of volume where , and . The value of was set as , the total points in the rectangular lattice of indices was 8000. A plot of the relative error norm as a function of number of terms in Eq. (20) is shown in Fig. 9.
4.1 FEM
Consider the spatial domain , with boundary and the unit normal to the boundary. The weak form of the Laplace equation for the potential field inside is readily obtained by integrating it by parts and using a test function , with being a suitable function space that satisfies the Dirichlet boundary conditions (i.e. the potential distribution over the planar region):
[TABLE]
In order to formulate the Galerkin approximation of the Laplace’s problem, let us first denote by the finite element partition of the domain , with index ranging from 1 to the number of elements in the finite mesh. The diameter of the element partition is denoted by . We define the finite test function spaces as made of continuous piecewise polynomial functions in space. The Galerkin approximation of the weak Laplace’s problem considers replacing by the finite subspaces , where the subscript refers the discrete finite element space. The problem to be solved now is to find such that
[TABLE]
We obtained the results displayed in Fig. 11 for linear tetrahedron type of finite elements. Specifically, we used an unstructured mesh composed by to discretize the prismatic domain , with local refinement near the planar circular region of radius that is centered on one of the boundaries. On Fig. 10 we show the Relative error norm between the Eq. (20) and the numerical results of FEM. Solutions approach each other as is increased. Even when the current problem can be solved numerically, we stress the fact that truncated analytic series from Eq. (20) can be computationally less expensive than traditional numerical approaches if is not near to . This is just the behaviour of analytic solution shown in Fig. 8 where the truncated series tends faster to the exact result as is decreased from .
Conclusion
In this work we presented an approach to compute the electric field due to planar regions kept at a fixed but non-uniform potential . We used some connections of this problem with magnetostatics to simplify the electrostatic problem. As we shown in Eq. (10), the electric field can be found by evaluation of two one-dimensional integrals depending on , where one of them is analogous to the well-known Biot-Savart law of magnetostatics. Using this approach, it is possible to find an exact series solution (see Eq. (20)) of the problem when a circular region is considered.
Acknowledgments
This work was supported by Vicerrectoría de investigación, Universidad ECCI. Robert Salazar also thanks Fundación Colfuturo and Departamento de Ciencias Básicas, Universidad ECCI.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] G. Hummer, “Electrostatic potential of a homogeneously charged square and cube in two and three dimensions,” Journal of electrostatics , vol. 36, no. 3, pp. 285–291, 1996. doi: 10.1016/0304-3886(95)00052-6 · doi ↗
- 2[2] J. Lekner, “Analytical expression for the electric field enhancement between two closely-spaced conducting spheres,” Journal of Electrostatics , vol. 68, no. 4, pp. 299–304, 2010. doi: 10.1016/j.elstat.2010.03.001 · doi ↗
- 3[3] O. Ciftja, “Calculation of the coulomb electrostatic potential created by a uniformly charged square on its plane: exact mathematical formulas,” Journal of Electrostatics , vol. 71, no. 2, pp. 102–108, 2013. doi: 10.1016/j.elstat.2012.12.003 · doi ↗
- 4[4] P. A. Polyakov, N. E. Rusakova, and Y. V. Samukhina, “New solutions for charge distribution on conductor surface,” Journal of Electrostatics , vol. 77, pp. 147–152, 2015. doi: 10.1016/j.elstat.2015.08.003 · doi ↗
- 5[5] K. Mc Creery and H. Greenside, “The electric field of a uniformly charged cubic shell,” American Journal of Physics , vol. 86, no. 1, pp. 36–44, 2018. doi: 10.1119/1.5009446 · doi ↗
- 6[6] J. D. Jackson, “Classical electrodynamics,” 1999.
- 7[7] D. J. Griffiths, “Introduction to electrodynamics,” 2005.
- 8[8] W. Atkinson, J. H. Young, and I. Brezovich, “An analytic solution for the potential due to a circular parallel plate capacitor,” Journal of Physics A: Mathematical and General , vol. 16, no. 12, p. 2837, 1983. doi: 10.1088/0305-4470/16/12/029 · doi ↗
