betaFeedback

WorksPhysics and Astronomy

Optimal concentration and gradient sensing by perfect monitors

Abstract

Cells often estimate chemical concentrations from only a few diffusing molecules, whose stochastic motion limits sensing precision. We consider a perfect monitoring instrument that records the instantaneous molecular density throughout a finite region without perturbing the concentration field or distinguishing molecular identities. The standard Berg-Purcell estimator weights all positions uniformly. Here we derive the optimal spatial weighting within a large class of unbiased estimators for both concentration and gradient sensing. Variance minimization maps to an electrostatic problem. Surprisingly, although the instrument monitors the entire volume, the optimal estimator assigns all weight to its boundary, reducing the uncertainty in both concentration and gradient sensing. We extend the results to arbitrary geometries and spatial dimensions.

Bacterial cells can climb concentration gradients in environments so dilute that they encounter only a few molecules at a time. Motivated by this observation, Berg and Purcell showed in 1977 that the precision of cellular concentration sensing is fundamentally limited by the diffusive arrival and stochastic counting of molecules [1]. Their work has motivated decades of research on the physical limits of cellular sensing [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26].

Berg and Purcell considered molecules with mean concentration c0c_0, each diffusing with diffusion coefficient DD. They defined a “perfect monitoring instrument” as a permeable sphere of radius aa that can observe the molecules within its volume without disturbing them. They asked for the minimum uncertainty with which such an instrument could estimate c0c_0 over a measurement time TT. The standard estimator uniformly averages the instantaneous number of molecules within the volume. Concretely, let

ρ(r,t)=∑iδ(r−ri(t))(1)\rho(\mathbf{r},t) = \sum_i \delta\left(\mathbf{r}-\mathbf{r}_i(t)\right) \tag*{(1)}

denote the empirical density of the molecules, where the position ri(t)\mathbf{r}_i(t) of each molecule performs Brownian motion. In terms of ρ(r,t)\rho(\mathbf{r},t), the standard Berg-Purcell estimator is

c^BP≡1T∫0T1V∫Ωρ(r,t) d3r dt,(2)\widehat{c}_{\mathrm{BP}} \equiv\frac{1}{T}\int_0^T \frac{1}{\mathcal{V}}\int_{\Omega}\rho(\mathbf{r},t)\,\mathrm{d}^3r\,\mathrm{d}t, \tag*{(2)}

where V\mathcal{V} is the volume of the observation region Ω\Omega (see Figure 1(a)). For long measurement times, T≫a2/DT \gg a^2/D, Berg and Purcell found

Schematic illustration of concentration sensing

Figure 1. Schematic illustration of concentration sensing: (a) The classic Berg-Purcell instrument monitors a region Ω\Omega of space (in this case a sphere of radius aa) and time averages the number of molecules within its volume (blue dots) as they diffuse in and out with a diffusion coefficient DD. (b) Weight optimization maps to the electrostatic problem of charges on a conducting sphere, whose solution is a uniform charge distribution on the surface. (c) The optimal instrument time-averages the weighted count of molecules with weights given by the uniform surface charge density, thereby only counting the molecules within an infinitesimal shell near the boundary (blue dot) and ignoring molecules within its volume (orange dots).

Var⁡(c^BP)=3c05πDaT.(3)\operatorname{Var}\left(\widehat{c}_{\mathrm{BP}}\right)=\frac{3c_0}{5\pi DaT}. \tag*{(3)}

This estimator has commonly been interpreted as giving the best precision attainable by any physical measurement instrument that monitors molecules within its volume for a fixed time without disturbing the concentration field or distinguishing individual molecules [1, 4, 6, 8, 10]. Given that this estimator discards the positional information of the molecules, it is natural to ask if an instrument subject to these conditions can do better.

Here we define a family of position-weighted estimators for the concentration

c^[w]≡1T∫0T∫Ωw(r)ρ(r,t) d3r dt,(4)\widehat{c}[\mathbf{w}] \equiv\frac{1}{T}\int_0^T\int_{\Omega}w(\mathbf{r})\rho(\mathbf{r},t)\,\mathrm{d}^3r\,\mathrm{d}t, \tag*{(4)}

subject to the constraint

∫Ωw(r) d3r=1,(5)\int_{\Omega}w(\mathbf{r})\,\mathrm{d}^3r=1, \tag*{(5)}

and minimize their variance with respect to the weight distribution. We will show that optimizing the weight distribution is mathematically equivalent to letting the charge distribution in a conducting sphere relax to its minimal potential energy state with all the weight concentrated on the surface. In other words, a perfect instrument should ignore the molecules within its volume and only count the ones infinitesimally close to the surface.

We then extend these results to gradient sensing. Consider an instrument attempting to estimate the gradient vector g\mathbf{g} in a concentration profile of the form

c(r)=⟨ρ(r,t)⟩=c0+g⋅r,witha∣g∣≪c0.(6)c(\mathbf{r})=\langle\rho(\mathbf{r},t)\rangle=c_0+\mathbf{g}\cdot\mathbf{r},\qquad\text{with}\quad a|\mathbf{g}|\ll c_0. \tag*{(6)}

We define a family of estimators for g\mathbf{g} as

g^[w]≡1T∫0T∫Ωw(r)ρ(r,t) d3r dt,(7)\widehat{\mathbf{g}}[\mathbf{w}] \equiv\frac{1}{T}\int_0^T\int_{\Omega}\mathbf{w}(\mathbf{r})\rho(\mathbf{r},t)\,\mathrm{d}^3r\,\mathrm{d}t, \tag*{(7)}

and show that, with suitable constraints on the vector-valued weight distribution w(r)\mathbf{w}(\mathbf{r}), this is an unbiased estimator of the gradient g\mathbf{g}. Optimizing the variance of each component of g^\widehat{\mathbf{g}} over w(r)\mathbf{w}(\mathbf{r}) maps to the electrostatic problem of finding the charge distribution in a net-neutral conducting sphere in an external electric field in that direction, constrained to a fixed dipole moment. Again, the optimal configuration ignores the molecules in the bulk and considers only those infinitesimally close to the surface, thereby improving the previously proposed limit on gradient sensing of a perfect monitor [4], which corresponds to the case of w(r)∝r\mathbf{w}(\mathbf{r}) \propto\mathbf{r}.

We then generalize these results to dd dimensions and nonspherical instruments. We show that shape dependence enters the precision calculation only through the capacitance and the polarizability tensor in concentration and gradient sensing, respectively; that spheres are the worst instruments of a given volume for either concentration or gradient sensing; and that optimization improves sensing more in higher dimensions. In d≤2d \le2, recurrent diffusion (repeated return of particles) maps to a divergence of the corresponding electrostatic potential, increasing concentration-sensing noise, while this divergent contribution cancels for gradient sensing. Additionally, we show that the optimal monitor has exactly twice the variance of Berg and Purcell’s perfect absorber, independently of the instrument’s shape, and that the larger, shape-dependent gap traditionally quoted between the two instruments overestimates the cost of remeasuring returning particles. We now derive these results, starting with concentration sensing in a spherical instrument.

Concentration Sensing.— To find the optimal concentration estimator, we first find the variance of Eq. (4) and then solve the variational problem for constrained optimization. For the estimator c^[w]\widehat{c}[\mathbf{w}] to be unbiased, its expected value should be equal to c0c_0,

⟨c^[w]⟩=1T∫0T∫Ωw(r)⟨ρ(r,t)⟩ d3r dt=c0∫Ωw(r) d3r=c0(8)\begin{aligned} \left\langle\widehat{c}[\mathbf{w}] \right\rangle= \frac{1}{T}\int_0^T\int_{\Omega}\mathbf{w}(\mathbf{r})\langle\rho(\mathbf{r},t)\rangle\,\mathrm{d}^3r\,\mathrm{d}t \\ &= c_0\int_{\Omega}\mathbf{w}(\mathbf{r})\,\mathrm{d}^3r = c_0 \tag*{(8)} \end{aligned}

resulting in the constraint given in Eq. (5). To compute its variance, let us first define

ρT‾(r)≡1T∫0Tρ(r,t) dt.(9)\overline{\rho_T}(\mathbf{r}) \equiv\frac{1}{T}\int_0^T \rho(\mathbf{r},t)\,\mathrm{d}t. \tag*{(9)}

The covariance of ρT‾(r)\overline{\rho_T}(\mathbf{r}) is given by (see Appendix A)

CT(r,r′)≡⟨δρT‾(r)δρT‾(r′)⟩=2c0T∫0T(1−τT)G(r−r′,τ) dτ(10)\begin{aligned} C_T(\mathbf{r},\mathbf{r}') \equiv\left\langle\delta\overline{\rho_T}(\mathbf{r})\delta\overline{\rho_T}(\mathbf{r}')\right\rangle\\ &= \frac{2c_0}{T}\int_0^T\left(1-\frac{\tau}{T}\right)G(\mathbf{r}-\mathbf{r}',\tau)\,\mathrm{d}\tau \tag*{(10)} \end{aligned}
≃2c0T∫0∞G(r−r′,τ) dτ=c02πDT∣r−r′∣,(11)\simeq\frac{2c_0}{T}\int_0^\infty G(\mathbf{r}-\mathbf{r}',\tau)\,\mathrm{d}\tau= \frac{c_0}{2\pi D T\lvert\mathbf{r}-\mathbf{r}'\rvert}, \tag*{(11)}

where G(r,τ)≡e−∣r∣2/4Dτ/(4πDτ)3/2G(\mathbf{r},\tau)\equiv e^{-\lvert\mathbf{r}\rvert^2/4D\tau}/(4\pi D\tau)^{3/2} is the diffusion propagator. The approximation from Eq. (10) to Eq. (11) assumes T≫a2/DT\gg a^2/D. The central idea is that the correlation function of the time-averaged density fluctuations is proportional to the time integral of the diffusion propagator, which is precisely the Green’s function of the Laplacian. This is the origin of the electrostatic mapping, which will extend to other dimensions and other geometries. Taking the variance of Eq. (4) and substituting the covariance from Eq. (11), we find

Var⁡(c^[w])=c02πDT∫Ωd3r∫Ωd3r′ w(r)w(r′)∣r−r′∣.(12)\operatorname{Var}\left(\widehat{c}[\mathbf{w}]\right) = \frac{c_0}{2\pi D T}\int_{\Omega}\mathrm{d}^3r\int_{\Omega}\mathrm{d}^3r'\,\frac{\mathbf{w}(\mathbf{r})\mathbf{w}(\mathbf{r}')}{\lvert\mathbf{r}-\mathbf{r}'\rvert}. \tag*{(12)}

Therefore, the optimization of variance is identical to minimizing the Coulomb self-energy of the charge density w(r)\mathbf{w}(\mathbf{r}) under the constraint of charge conservation Eq. (5). This energy is minimized by the equilibrium charge distribution on a conductor, which lies entirely on its surface. The optimal concentration estimator therefore places all sensing weight at the boundary (see Figure 1).

For a sphere, the minimizing weight is the uniform surface charge density

w∗=arg min⁡w∫Ωd3r∫Ωd3r′ w(r)w(r′)∣r−r′∣=δ(r−a)4πa2,(13)\mathbf{w}_* = \underset{\mathbf{w}}{\operatorname{arg\,min}}\int_{\Omega}\mathrm{d}^3r\int_{\Omega}\mathrm{d}^3r'\,\frac{\mathbf{w}(\mathbf{r})\mathbf{w}(\mathbf{r}')}{\lvert\mathbf{r}-\mathbf{r}'\rvert} = \frac{\delta(r-a)}{4\pi a^2}, \tag*{(13)}

with variance (see Appendix B)

Var⁡(c^∗)=c02πDaT.(14)\operatorname{Var}(\widehat{c}_*) = \frac{c_0}{2\pi D a T}. \tag*{(14)}

The ideal surface expression is the limit of counting molecules in a permeable shell of thickness ϵ\epsilon and dividing by its volume. Its instantaneous shot noise diverges as 1/ϵ1/\epsilon, but its integrated correlation time vanishes as aϵ/Da\epsilon/D, leaving the finite result in Eq. (14). Compared with Eq. (3), Var⁡(c^∗)/Var⁡(c^BP)=5/6\operatorname{Var}(\hat{c}_*)/\operatorname{Var}(\hat{c}_{\mathrm{BP}})=5/6. This is in agreement with the recent permeable-shell calculation of Ref. [27].

Gradient Sensing.— In 2008, Endres and Wingreen extended the Berg and Purcell results and defined a “perfect monitoring instrument” for estimating a weak concentration gradient g\mathbf{g} of the linear concentration profile given in Eq. (6) [4]. In a given snapshot, the mean position of molecules in the instrument is expected to point in the direction of the gradient. Therefore, the Endres-Wingreen estimator g^EW\hat{\mathbf{g}}_{\mathrm{EW}} is defined to be proportional to the time average of the mean position of the molecules inside the region Ω\Omega (see Figure 2(a))

Image not extracted

Figure 2. Schematic illustration of gradient sensing: (a) The Endres-Wingreen estimator g^EW\hat{\mathbf{g}}_{\mathrm{EW}} points toward the average position of molecules within its volume (blue dots). (b) The optimization problem maps each component of the estimator to the charge distribution of a net-neutral conducting sphere in an external electric field, with each component wiw_i of the weight vector field w(r)\mathbf{w}(\mathbf{r}) becoming the charge density in the corresponding electric field. (c) The optimal estimator points toward the average position of molecules within an infinitesimal shell near the boundary (blue dot) where the charge distributions are localized, ignoring the bulk molecules (orange dots).

g^EW=154πa51T∫0Tdt∫Ωd3r rρ(r,t),(15)\hat{\mathbf{g}}_{\mathrm{EW}}=\frac{15}{4\pi a^5}\frac{1}{T}\int_0^T\mathrm{d}t\int_{\Omega}\mathrm{d}^3r\,\mathbf{r}\rho(\mathbf{r},t), \tag*{(15)}

where the prefactor 15/4πa515/4\pi a^5 is derived by setting ⟨g^EW⟩=g\langle\hat{\mathbf{g}}_{\mathrm{EW}}\rangle=\mathbf{g}. The covariance of this estimator is given by

Cov⁡(g^EW)=5c07πDa3TI,(16)\operatorname{Cov}(\hat{\mathbf{g}}_{\mathrm{EW}})=\frac{5c_0}{7\pi Da^3T}\mathbf{I}, \tag*{(16)}

where I\mathbf{I} is the identity matrix [4]. The Endres-Wingreen estimator is a special case of the family of estimators in Eq. (7) with the weight function proportional to the position vector w(r)∝r\mathbf{w}(\mathbf{r})\propto\mathbf{r}. This estimator was originally derived by an ordinary least-squares fit of the time-averaged density to the linear profile. This procedure would minimize the variance if the density fluctuations were spatially uncorrelated; Eq. (11) shows they are not.

Now let us consider the generalized family g^[w]\hat{\mathbf{g}}[\mathbf{w}] defined in Eq. (7). For g^[w]\hat{\mathbf{g}}[\mathbf{w}] to be unbiased we need

⟨g^[w]⟩=1T∫0Tdt∫Ωw(r)⟨ρ(r,t)⟩d3r=1T∫0Tdt∫Ωw(r)(c0+g⋅r)d3r=g,(17)\begin{aligned} \langle\hat{\mathbf{g}}[\mathbf{w}]\rangle=\frac{1}{T}\int_0^T\mathrm{d}t\int_{\Omega}\mathbf{w}(\mathbf{r})\langle\rho(\mathbf{r},t)\rangle\mathrm{d}^3r \\ &=\frac{1}{T}\int_0^T\mathrm{d}t\int_{\Omega}\mathbf{w}(\mathbf{r})(c_0+\mathbf{g}\cdot\mathbf{r})\mathrm{d}^3r=\mathbf{g}, \tag*{(17)} \end{aligned}

which results in two constraints on w(r)\mathbf{w}(\mathbf{r}),

∫Ωw(r)d3r=0,∫Ωwi(r)rjd3r=δij.(18)\int_{\Omega}\mathbf{w}(\mathbf{r})\mathrm{d}^3r=0,\qquad\int_{\Omega}w_i(\mathbf{r})r_j\mathrm{d}^3r=\delta_{ij}. \tag*{(18)}

Taking the covariance of Eq. (7) using Eq. (11), we have

Cov⁡(g^[w])=c02πDT∫Ωd3r∫Ωd3r′ w(r)wT(r′)∣r−r′∣.(19)\operatorname{Cov}(\hat{\mathbf{g}}[\mathbf{w}])=\frac{c_0}{2\pi DT}\int_{\Omega}\mathrm{d}^3r\int_{\Omega}\mathrm{d}^3r'\,\frac{\mathbf{w}(\mathbf{r})\mathbf{w}^{T}(\mathbf{r}')}{\lvert\mathbf{r}-\mathbf{r}'\rvert}. \tag*{(19)}

Minimizing the variance of each component gig_i of the gradient maps to the problem of minimizing electrostatic self-energy of the charge distribution wi(r)w_i(\mathbf{r}), but now subject to the constraints in Eq. (18). The first constraint enforces that our conducting sphere is charge neutral, while the second fixes its dipole moment along the ii direction. Physically, this means that for each component ii, the optimal wi(r)w_i(\mathbf{r}) is exactly the induced charge distribution on a conducting sphere placed in a constant external electric field oriented along the ii-axis. While each solution wi(r)w_i(\mathbf{r}) is a dipolar charge distribution aligned with its respective axis, the full vector weight distribution w(r)\mathbf{w}(\mathbf{r}), constructed by combining all three orthogonal components, is a radially symmetric vector field

w∗(r)=34πa3δ(r−a)r^.(20)\mathbf{w}_*(\mathbf{r})=\frac{3}{4\pi a^3}\delta(r-a)\hat{\mathbf{r}}. \tag*{(20)}

This is an induced surface charge indicating that an optimal instrument only averages the positions of the molecules within an infinitesimal shell near the surface (see Figure 2). The corresponding covariance of the optimal estimator is given by (see Appendix § 2)

Cov⁡(g^∗)=c02πDa3TI.(21)\operatorname{Cov}(\hat{\mathbf{g}}_*)=\frac{c_0}{2\pi Da^3T}\mathbf{I}. \tag*{(21)}

Comparing Eq. (16) and Eq. (21), the optimal surface estimator of the gradient improves the covariance relative to the Endres-Wingreen estimator by a factor 7/10.

  • Nonspherical Geometries.*— The electrostatic analogy extends to measurement instruments of arbitrary shapes. Consider a solid conductor with a simply connected smooth shape Ω\Omega. For the concentration sensing case, the optimal solution minimizing the variance of the estimator Eq. (4) subject to charge conservation Eq. (5) gives a weight distribution w∗(r)w_*(\mathbf{r}) equal to the equilibrium surface charge density of the conductor Ω\Omega with unit charge,

w∗(r)=σ(r)δ∂Ω(r),(22)w_*(\mathbf{r})=\sigma(\mathbf{r})\delta_{\partial\Omega}(\mathbf{r}), \tag*{(22)}

where δ∂Ω(r)\delta_{\partial\Omega}(\mathbf{r}) is the surface δ\delta-function defined such that ∫Ωf(r)δ∂Ω(r)d3r=∮∂Ωf(s)dS\int_{\Omega}f(\mathbf{r})\delta_{\partial\Omega}(\mathbf{r})\mathrm{d}^3r=\oint_{\partial\Omega}f(s)\mathrm{d}S. The same equilibrium charge distribution was recently shown to maximize the total uptake flux of absorbing receptors on an arbitrarily shaped cell surface [23]. Here this distribution arises from minimizing variance instead of maximizing flux and for a nonperturbing estimator as opposed to an absorber.

To find the surface charge density σ(r)\sigma(\mathbf{r}), consider the solution to Laplace’s equation

∇2u=0,u=1 on ∂Ω,lim⁡∣r∣→∞u(r)=0,(23)\nabla^2u=0,\qquad u=1\ \text{on }\partial\Omega,\qquad\lim_{\lvert\mathbf{r}\rvert\to\infty}u(\mathbf{r})=0, \tag*{(23)}

outside of Ω\Omega. Then the surface charge density is given by

σ(r)=−1CΩ∂u(r)∂n,(24)\sigma(\mathbf{r})=-\frac{1}{C_{\Omega}}\frac{\partial u(\mathbf{r})}{\partial n}, \tag*{(24)}

where ∂u(r)/∂n\partial u(\mathbf{r})/\partial n is the derivative of uu in the direction of the normal vector to the surface, and the capacitance CΩC_{\Omega} is defined as

CΩ=−∮∂Ω∂u∂n dS.(25)C_{\Omega}=-\oint_{\partial\Omega}\frac{\partial u}{\partial n}\,\mathrm{d}S. \tag*{(25)}

For reference, the capacitance of a sphere of radius aa is equal to CΩ=4πaC_{\Omega}=4\pi a. The variance of the optimal estimator is then given by (see Appendix § 2)

Var⁡(c^∗)=2c0DTCΩ.(26)\operatorname{Var}(\hat{c}_{*})=\frac{2c_{0}}{DT C_{\Omega}}. \tag*{(26)}

Plugging CΩ=4πaC_{\Omega}=4\pi a for a sphere recovers Eq. (14). For comparison, a rotationally symmetric ellipsoid with long semi-axis aa, two shorter semi-axes bb, and eccentricity e≡1−b2/a2e\equiv\sqrt{1-b^{2}/a^{2}} has the capacitance Cellipsoid=4πae/arctanh⁡eC_{\mathrm{ellipsoid}}=4\pi a e/\operatorname{arctanh}e. Among shapes of fixed volume, the sphere has the smallest capacitance [28], and therefore is the worst instrument for concentration sensing in the long-time limit. There is no best shape, since CΩC_{\Omega} grows without bound as an ellipsoid of fixed volume is elongated.

Equation (26) also permits a direct comparison with the second idealized instrument considered by Berg and Purcell [1] and Endres and Wingreen [4]: a perfect absorber that removes each molecule upon first contact. A nonperturbing monitor may record the same molecule many times as it diffuses into and out of the observation region, since it cannot distinguish a returning molecule from a new one. By contrast, an absorber eliminates this additional source of uncertainty by removing the molecule after its first encounter. A perfectly absorbing body of shape Ω\Omega captures molecules at the mean rate DCΩc0D C_{\Omega} c_{0}, giving Var⁡(c^abs)=c0/DTCΩ\operatorname{Var}(\hat{c}_{\mathrm{abs}})=c_{0}/D T C_{\Omega}. Comparing this expression with Eq. (26) gives

Var⁡(c^∗)=2Var⁡(c^abs).(27)\operatorname{Var}(\hat{c}_{*})=2\operatorname{Var}(\hat{c}_{\mathrm{abs}}). \tag*{(27)}

Therefore, the actual cost of not perturbing the concentration field is exactly a factor of two in variance, independent of the instrument’s shape. The larger, shape-dependent cost obtained by comparing the absorber with the original Berg-Purcell estimator overestimates this effect.

For gradient sensing, placing a neutral conductor in an external electric field E\mathbf{E} induces a dipole moment p=αΩE\mathbf{p}=\alpha_{\Omega}\mathbf{E}, where αΩ\alpha_{\Omega} is the polarizability tensor. For reference, the polarizability of a sphere of radius aa is αsphere=4πa3I\alpha_{\mathrm{sphere}}=4\pi a^{3}\mathbf{I}. Now we need to solve the electrostatic problem subject to the two constraints in Eq. (18). The first is charge neutrality, while the second, for each component wi\mathbf{w}_{i}, fixes the dipole moment along direction ii. We first solve the electrostatic problem with a constant external electric field at infinity in each direction to find the polarizability tensor αΩ\alpha_{\Omega}, then we use αΩ\alpha_{\Omega} to find the external electric field E(i)=αΩ−1ei\mathbf{E}^{(i)}=\alpha_{\Omega}^{-1}\mathbf{e}_{i} that induces the dipole moment p=ei\mathbf{p}=\mathbf{e}_{i} in direction ii, and solve the electrostatic problem again with the new external field to find the surface charge density and therefore the optimal wi\mathbf{w}_{i}. The covariance of the optimal estimator is given by (see Appendix § 2)

Cov⁡(g^∗)=2c0DTαΩ−1.(28)\operatorname{Cov}(\hat{\mathbf{g}}_{*})=\frac{2c_{0}}{DT}\alpha_{\Omega}^{-1}. \tag*{(28)}

The trace of αΩ−1\alpha_{\Omega}^{-1} is the same for all ellipsoids of the same volume; elongating a sphere increases the gradient sensing precision in that direction, but reduces it in other directions, keeping the total mean square error (MSE) constant. Nonellipsoidal shapes have smaller total MSE and outperform spheres and ellipsoids of the same volume, since MSE∝tr⁡(αΩ−1)≤1/∣Ω∣\mathrm{MSE}\propto\operatorname{tr}(\alpha_{\Omega}^{-1})\leq1/|\Omega| (see Appendix C) with equality if and only if Ω\Omega is an ellipsoid [29].

Generalization to dd-Dimensions.— In d=1,2d=1,2 dimensions, a particle that leaves the instrument will return to the instrument over and over again with probability one, whereas in d>2d>2 it has a nonzero probability of escaping forever. We will see that this distinction determines whether the long-time approximation we used to go from Eq. (10) to Eq. (11) is valid. For d>2d>2, Eq. (11) becomes

CT(d)(R)≃2c0T∫0∞e−R2/4Dτ(4πDτ)d/2 dτ=c0 Γ(d2−1)2πd/2DTRd−2.(29)C_{T}^{(d)}(R)\simeq\frac{2c_{0}}{T}\int_{0}^{\infty}\frac{e^{-R^{2}/4D\tau}}{(4\pi D\tau)^{d/2}}\,d\tau=\frac{c_{0}\,\Gamma\left(\frac{d}{2}-1\right)}{2\pi^{d/2}D T R^{d-2}}. \tag*{(29)}

where R≡∣r−r′∣R\equiv|\mathbf{r}-\mathbf{r}'|. The 1/Rd−21/R^{d-2} form of the correlations is also the Green’s function of Poisson’s equation in dd dimensions. The preceding electrostatic argument therefore carries over directly. For a dd-dimensional ball of radius aa,

Var⁡(c^∗)=Γ(d2−1)2πd/2c0DTad−2,d>2.(30)\operatorname{Var}(\hat{c}_*) = \frac{\Gamma\left(\frac{d}{2}-1\right)}{2\pi^{d/2}}\frac{c_0}{DTa^{d-2}}, \qquad d>2. \tag*{(30)}

Comparing to the Berg-Purcell estimator, we have

Var⁡(c^∗)Var⁡(c^BP)=d+22d,(31)\frac{\operatorname{Var}(\hat{c}_*)}{\operatorname{Var}(\hat{c}_{\mathrm{BP}})} = \frac{d+2}{2d}, \tag*{(31)}

which reduces to 5/6 in three dimensions. The optimization process is more beneficial in higher dimensions.

In d≤2d \le2, Eq. (10) cannot be approximated by Eq. (11), since the integral in Eq. (11) does not converge. While for d>2d>2, the integral of the diffusion propagator ∫0TG(R,τ) dτ\int_0^T G(R,\tau)\,\mathrm{d}\tau converges to a constant as T→∞T \to\infty, it increases with TT as ln⁡(T)\ln(T) in d=2d=2 and as T\sqrt{T} in d=1d=1 dimension. The divergence is the recurrence anticipated earlier: ∫0TG(R,τ) dτ\int_0^T G(R,\tau)\,\mathrm{d}\tau is the mean time spent, up to TT, at distance RR from the starting point, which grows without bound when the walk is recurrent and saturates when the particle can escape. This divergence maps to the divergence of the Coulomb potential at large distances in d≤2d \le2 and can therefore be isolated by shifting the reference potential (see Appendix D), giving

Var⁡(c^∗)∼{c0/DT,d=1,c0ln⁡(DT/a2)/(DT),d=2.(32)\operatorname{Var}(\hat{c}_*) \sim\begin{cases} c_0/\sqrt{DT}, & d=1,\\ c_0\ln(DT/a^2)/(DT), & d=2. \end{cases} \tag*{(32)}

The recurrent contribution is independent of position and is therefore shared by all normalized concentration weights. Boundary localization remains optimal, but in d≤2d \le2 it changes only the subleading part of the variance.

Gradient sensing does not inherit the low-dimensional problem, and the recurrent effects cancel out under the charge-neutrality condition ∫wi(r) ddr=0\int w_i(\mathbf{r})\,\mathrm{d}^d r = 0. The optimal dipole surface estimator retains T−1T^{-1} scaling in every dimension with covariance (see Appendix D)

Cov⁡(g^∗)=Γ(d/2)πd/2c0DTadId,(33)\operatorname{Cov}(\hat{\mathbf{g}}_*) = \frac{\Gamma(d/2)}{\pi^{d/2}}\frac{c_0}{DTa^d}I_d, \tag*{(33)}

where IdI_d is the d×dd \times d identity matrix. Compared to the linear estimator, we have

Cov⁡(g^∗)=d+42(d+2)Cov⁡(g^EW).(34)\operatorname{Cov}(\hat{\mathbf{g}}_*) = \frac{d+4}{2(d+2)}\operatorname{Cov}(\hat{\mathbf{g}}_{\mathrm{EW}}). \tag*{(34)}

As with concentration sensing, the optimization has a larger effect in higher dimensions.

Conclusion.— We have shown that the standard Berg and Purcell estimator does not make optimal use of the spatial information available to a perfect monitoring instrument. Surprisingly, although the instrument observes molecules throughout its volume, the optimal estimator assigns all weight to its boundary, where molecules contribute less temporally redundant information than in the bulk. This result follows from an electrostatic mapping: concentration and gradient sensing correspond, respectively, to monopole and dipole variational problems, with the optimal precision for arbitrary geometries determined by capacitance and polarizability. The extension to different dimensions reveals that recurrence affects concentration sensing but cancels out in gradient sensing. Taken together, our results show that limits attributed to diffusive molecular noise can also depend on how an instrument combines the spatial information contained in its observations.

Although questions of concentration and gradient sensing were originally motivated by biology, the results presented here concern only the physical limits of measurement instruments under the stated constraints, and not how sensing is implemented in any particular biological or engineered system.

Acknowledgments.— I thank Andrew Mugler for helpful discussions and thoughtful feedback on the manuscript.

Time-averaged density covariance

Consider a sufficiently large volume of space in which boundary effects can be neglected, and the concentration profile is maintained (c(r)=c0c(\mathbf{r})=c_0 for concentration sensing and c(r)=c0+g⋅rc(\mathbf{r})=c_0+\mathbf{g}\cdot\mathbf{r} for gradient sensing). For t<t′t<t', the density correlator is

⟨δρ(r,t)δρ(r′,t′)⟩=⟨ρ(r,t)ρ(r′,t′)⟩−c(r)c(r′)=∑i,j⟨δ(r−ri(t))δ(r′−rj(t′))⟩−c(r)c(r′)=∑i≠j⟨δ(r−ri(t))⟩⟨δ(r′−rj(t′))⟩+∑i⟨δ(r−ri(t))δ(r′−ri(t′))⟩−c(r)c(r′)=∑i⟨δ(r−ri(t))⟨δ(r′−ri(t′))∣ri(t)⟩⟩=c(r)G(r−r′,t′−t).(35)\begin{aligned} \langle\delta\rho(\mathbf{r},t)\delta\rho(\mathbf{r}',t')\rangle &=\langle\rho(\mathbf{r},t)\rho(\mathbf{r}',t')\rangle-c(\mathbf{r})c(\mathbf{r}')\\ &=\sum_{i,j}\langle\delta(\mathbf{r}-\mathbf{r}_i(t))\delta(\mathbf{r}'-\mathbf{r}_j(t'))\rangle-c(\mathbf{r})c(\mathbf{r}')\\ &=\sum_{i\ne j}\langle\delta(\mathbf{r}-\mathbf{r}_i(t))\rangle\langle\delta(\mathbf{r}'-\mathbf{r}_j(t'))\rangle\\ &\quad+\sum_i\langle\delta(\mathbf{r}-\mathbf{r}_i(t))\delta(\mathbf{r}'-\mathbf{r}_i(t'))\rangle-c(\mathbf{r})c(\mathbf{r}')\\ &=\sum_i\langle\delta(\mathbf{r}-\mathbf{r}_i(t))\langle\delta(\mathbf{r}'-\mathbf{r}_i(t'))\mid\mathbf{r}_i(t)\rangle\rangle\\ &=c(\mathbf{r})G(\mathbf{r}-\mathbf{r}',t'-t). \tag*{(35)} \end{aligned}

where G(r,τ)=exp⁡(−∣r∣2/4Dτ)/(4πDτ)d/2G(\mathbf{r},\tau)=\exp(-|\mathbf{r}|^2/4D\tau)/(4\pi D\tau)^{d/2} is the diffusion propagator.

The covariance of the time average is

CT(r,r′)=⟨δρT(r)δρT(r′)⟩=c(r)+c(r′)2T2∫0T∫0TG(r−r′,∣t−t′∣) dt dt′=c(r)+c(r′)T2∫0T(T−τ)G(r−r′,τ) dτ.(36)\begin{aligned} C_T(\mathbf{r},\mathbf{r}') &=\langle\delta\rho_T(\mathbf{r})\delta\rho_T(\mathbf{r}')\rangle\\ &=\frac{c(\mathbf{r})+c(\mathbf{r}')}{2T^2}\int_0^T\int_0^T G(\mathbf{r}-\mathbf{r}',|t-t'|)\,dt\,dt'\\ &=\frac{c(\mathbf{r})+c(\mathbf{r}')}{T^2}\int_0^T(T-\tau)G(\mathbf{r}-\mathbf{r}',\tau)\,d\tau. \tag*{(36)} \end{aligned}

For concentration sensing c(r)≡⟨ρ(r)⟩=c0c(\mathbf{r})\equiv\langle\rho(\mathbf{r})\rangle=c_0 and Eq. (36) reduces to Eq. (10). For gradient sensing c(r)≃c0c(\mathbf{r})\simeq c_0 inside the detector due to the shallow gradient assumption a∣g∣≪c0a|\mathbf{g}|\ll c_0, recovering the same equation.

Variational solution and general geometry in d>2d>2

We would like to minimize the variance of the form

Var⁡(c^[w])=∫Ω∫Ωw(r)w(r′)CT(r,r′) ddr ddr′.(37)\operatorname{Var}(\hat{c}[\mathbf{w}])=\int_{\Omega}\int_{\Omega}w(\mathbf{r})w(\mathbf{r}')C_T(\mathbf{r},\mathbf{r}')\,d^d r\,d^d r'. \tag*{(37)}

In dimensions d>2d>2,

CT(r,r′)≃2c0T∫0∞G(r−r′,τ) dτ=2c0DTG(r−r′).(38)C_T(\mathbf{r},\mathbf{r}')\simeq\frac{2c_0}{T}\int_0^\infty G(\mathbf{r}-\mathbf{r}',\tau)\,d\tau=\frac{2c_0}{DT}G(\mathbf{r}-\mathbf{r}'). \tag*{(38)}

where G(r)≡D∫0∞G(r,τ) dτG(\mathbf{r})\equiv D\int_0^\infty G(\mathbf{r},\tau)\,d\tau is the dd-dimensional Coulomb potential satisfying −∇2G=δ(r)-\nabla^2G=\delta(\mathbf{r}). Let us define the energy functional

E[w]≡12∫Ωddr∫Ωddr′ w(r)w(r′)G(r−r′).(39)\mathcal{E}[\mathbf{w}]\equiv\frac{1}{2}\int_{\Omega}d^d r\int_{\Omega}d^d r'\,w(\mathbf{r})w(\mathbf{r}')G(\mathbf{r}-\mathbf{r}'). \tag*{(39)}

For concentration sensing, we would like to minimize the energy (the variance Var⁡(c^[w])=4c0E[w]/DT\operatorname{Var}(\hat{c}[\mathbf{w}])=4c_0\mathcal{E}[\mathbf{w}]/DT) subject to charge conservation. We introduce a Lagrange multiplier λ\lambda and the Lagrangian

Lc[w]≡E[w]−λ[∫Ωw(r) ddr−1].(40)\mathcal{L}_c[\mathbf{w}]\equiv\mathcal{E}[\mathbf{w}]-\lambda\left[\int_{\Omega}w(\mathbf{r})\,d^d r-1\right]. \tag*{(40)}

Let us define the electric potential

Φw(r)=∫Ωw(r′)G(r−r′) ddr′.(41)\Phi_w(\mathbf{r})=\int_{\Omega}w(\mathbf{r}')G(\mathbf{r}-\mathbf{r}')\,d^d r'. \tag*{(41)}

In terms of Φw\Phi_w, the variation of the Lagrangian is

δLc=∫Ωδw(r)[Φw(r)−λ] ddr=0  ⟹  Φw∗(r)=λ.(42)\delta\mathcal{L}_c=\int_{\Omega}\delta w(\mathbf{r})[\Phi_w(\mathbf{r})-\lambda]\,d^d r=0\implies\Phi_{w_*}(\mathbf{r})=\lambda. \tag*{(42)}

The optimal charge distribution yields a constant potential inside Ω\Omega. Taking a Laplacian, ∇2Φw∗(r)=−w∗(r)\nabla^2\Phi_{w_*}(\mathbf{r})=-w_*(\mathbf{r}), shows zero charge density in the interior of Ω\Omega; it is the equilibrium charge distribution on ∂Ω\partial\Omega.

Let Q=∫Ωw(r) ddrQ=\int_{\Omega}w(\mathbf{r})\,d^d r be the total charge and V=λV=\lambda the constant potential of the equilibrium charge distribution. The capacitance of a conductor with shape Ω\Omega is defined as CΩ≡Q/VC_{\Omega}\equiv Q/V. Because the potential is constant on the surface,

E[w∗]=12∫Ωw∗(r)Φw∗(r)⏟V ddr=12VQ=Q22CΩ.(43)\mathcal{E}[w_*]=\frac{1}{2}\int_{\Omega}w_*(\mathbf{r})\underbrace{\Phi_{w_*}(\mathbf{r})}_{V}\,d^d r=\frac{1}{2}VQ=\frac{Q^2}{2C_{\Omega}}. \tag*{(43)}

For concentration sensing Q=1Q=1, and therefore

E[w∗]=12CΩ  ⟹  Var⁡(c^∗)=2c0DTCΩ.(44)\mathcal{E}[w_*]=\frac{1}{2C_{\Omega}}\implies\operatorname{Var}(\hat{c}_*)=\frac{2c_0}{DTC_{\Omega}}. \tag*{(44)}

This recovers Eq. (26) and its special case Eq. (14) for the sphere in d=3d=3 with CΩ=4πaC_{\Omega}=4\pi a.

For gradient sensing, the claim is that there exists an admissible vector-valued weight w∗(r)\mathbf{w}_*(\mathbf{r}) such that it minimizes Var⁡(u⋅g^[w])\operatorname{Var}(\mathbf{u}\cdot\hat{\mathbf{g}}[\mathbf{w}]) for every unit vector u\mathbf{u}. Defining the scalar weight wu(r)=u⋅w(r)w_{\mathbf{u}}(\mathbf{r})=\mathbf{u}\cdot\mathbf{w}(\mathbf{r}), we have

Var⁡(u⋅g^[w])=uTCov⁡(g^[w])u=2c0DT∫Ωddr∫Ωddr′ wu(r)wu(r′)G(r−r′)=4c0DTE[wu].(45)\begin{aligned} \operatorname{Var}(\mathbf{u}\cdot\hat{\mathbf{g}}[\mathbf{w}])=\mathbf{u}^{\mathsf{T}}\operatorname{Cov}(\hat{\mathbf{g}}[\mathbf{w}])\mathbf{u} \\ &=\frac{2c_0}{DT}\int_{\Omega}d^d r\int_{\Omega}d^d r'\,w_{\mathbf{u}}(\mathbf{r})w_{\mathbf{u}}(\mathbf{r}')G(\mathbf{r}-\mathbf{r}')=\frac{4c_0}{DT}\mathcal{E}[w_{\mathbf{u}}]. \tag*{(45)} \end{aligned}

The unbiasedness constraints in Eq. (18) imply

∫Ωwu(r) ddr=0,p≡∫Ωrwu(r) ddr=u.(46)\int_{\Omega}w_{\mathbf{u}}(\mathbf{r})\,d^d r=0,\qquad\mathbf{p}\equiv\int_{\Omega}\mathbf{r}w_{\mathbf{u}}(\mathbf{r})\,d^d r=\mathbf{u}. \tag*{(46)}

We therefore minimize E[wu]\mathcal{E}[w_{\mathbf{u}}] subject to zero total charge and fixed dipole moment using the Lagrangian

Lu[wu]≡E[wu]−λ∫Ωwu(r) ddr−E⋅[∫Ωrwu(r) ddr−u].\mathcal{L}_{\mathbf{u}}[w_{\mathbf{u}}]\equiv\mathcal{E}[w_{\mathbf{u}}]-\lambda\int_{\Omega}w_{\mathbf{u}}(\mathbf{r})\,d^d r-\mathbf{E}\cdot\left[\int_{\Omega}\mathbf{r}w_{\mathbf{u}}(\mathbf{r})\,d^d r-\mathbf{u}\right].

Its variation gives

δLu=∫Ωδwu(r)[Φwu(r)−λ−E⋅r] ddr=0  ⟹  Φwu(r)=λ+E⋅r.(47)\begin{aligned} \delta\mathcal{L}_{\mathbf{u}}=\int_{\Omega}\delta w_{\mathbf{u}}(\mathbf{r})[\Phi_{w_{\mathbf{u}}}(\mathbf{r})-\lambda-\mathbf{E}\cdot\mathbf{r}]\,d^d r=0 \\ &\implies\Phi_{w_{\mathbf{u}}}(\mathbf{r})=\lambda+\mathbf{E}\cdot\mathbf{r}. \tag*{(47)} \end{aligned}

The total potential generated by wu∗w_{\mathbf{u}}^* together with the external potential −E⋅r-\mathbf{E}\cdot\mathbf{r} is therefore constant inside Ω\Omega. Thus, wu∗w_{\mathbf{u}}^* is the charge induced on a neutral conductor in a uniform external electric field E\mathbf{E}, constrained to have dipole moment p=u\mathbf{p}=\mathbf{u}. By definition of the polarizability tensor, p=αΩE\mathbf{p}=\alpha_{\Omega}\mathbf{E}, and therefore E=αΩ−1u\mathbf{E}=\alpha_{\Omega}^{-1}\mathbf{u}. The minimum energy is

E[wu∗]=12∫Ωwu∗(r)Φw∗(r) ddr=12[λ∫Ωwu∗(r) ddr+E⋅p]=12uTαΩ−1u.(48)\begin{aligned} \mathcal{E}[\mathbf{w}_{\mathbf{u}}^{*}]=\frac{1}{2}\int_{\Omega}\mathbf{w}_{\mathbf{u}}^{*}(\mathbf{r})\Phi_{\mathbf{w}^{*}}(\mathbf{r})\,\mathrm{d}^{d}r \\ &=\frac{1}{2}\left[\lambda\int_{\Omega}\mathbf{w}_{\mathbf{u}}^{*}(\mathbf{r})\,\mathrm{d}^{d}r+\mathbf{E}\cdot\mathbf{p}\right]=\frac{1}{2}\mathbf{u}^{\mathrm{T}}\alpha_{\Omega}^{-1}\mathbf{u}. \tag*{(48)} \end{aligned}

Consequently, every admissible w\mathbf{w} satisfies

uTCov⁡(g^[w])u≥2c0DTuTαΩ−1u.(49)\mathbf{u}^{\mathrm{T}}\operatorname{Cov}(\widehat{\mathbf{g}}[\mathbf{w}])\mathbf{u}\geq\frac{2c_{0}}{DT}\mathbf{u}^{\mathrm{T}}\alpha_{\Omega}^{-1}\mathbf{u}. \tag*{(49)}

It remains to show that a single vector-valued weight attains this bound for every u\mathbf{u}. Let σE(r)\sigma_{\mathbf{E}}(\mathbf{r}) denote the charge induced on a neutral conductor by an external field E\mathbf{E}, and define

(w∗)i(r)=σαΩ−1ei(r)δ∂Ω(r).(50)(\mathbf{w}_{*})_{i}(\mathbf{r})=\sigma_{\alpha_{\Omega}^{-1}\mathbf{e}_{i}}(\mathbf{r})\delta_{\partial\Omega}(\mathbf{r}). \tag*{(50)}

We claim that this w∗\mathbf{w}_{*} is the optimal vector-valued weight. The induced surface charge depends linearly on the external field. Therefore, for any u=∑iuiei\mathbf{u}=\sum_{i}u_{i}\mathbf{e}_{i},

u⋅w∗(r)=∑iuiσαΩ−1ei(r)=σαΩ−1u(r).(51)\mathbf{u}\cdot\mathbf{w}_{*}(\mathbf{r})=\sum_{i}u_{i}\sigma_{\alpha_{\Omega}^{-1}\mathbf{e}_{i}}(\mathbf{r})=\sigma_{\alpha_{\Omega}^{-1}\mathbf{u}}(\mathbf{r}). \tag*{(51)}

The scalar weight u⋅w∗\mathbf{u}\cdot\mathbf{w}_{*} is the charge induced by the field αΩ−1u\alpha_{\Omega}^{-1}\mathbf{u}, which has dipole moment p=αΩαΩ−1u=u\mathbf{p}=\alpha_{\Omega}\alpha_{\Omega}^{-1}\mathbf{u}=\mathbf{u}. It is therefore the minimizing weight for estimating u⋅g\mathbf{u}\cdot\mathbf{g}, and equality holds in Eq. (49) for every u\mathbf{u}:

uTCov⁡(g^∗)u=2c0DTuTαΩ−1u.(52)\mathbf{u}^{\mathrm{T}}\operatorname{Cov}(\widehat{\mathbf{g}}_{*})\mathbf{u}=\frac{2c_{0}}{DT}\mathbf{u}^{\mathrm{T}}\alpha_{\Omega}^{-1}\mathbf{u}. \tag*{(52)}

Equality of these quadratic forms for every u\mathbf{u} gives

Cov⁡(g^∗)=2c0DTαΩ−1,(53)\operatorname{Cov}(\widehat{\mathbf{g}}_{*})=\frac{2c_{0}}{DT}\alpha_{\Omega}^{-1}, \tag*{(53)}

which recovers Eq. (28) and its special case Eq. (21) for the sphere in d=3d=3 with αΩ=4πa3I\alpha_{\Omega}=4\pi a^{3}\mathbf{I}.

Bound on Trace of Inverse Polarizability

Consider the weight function wn(r)=1∣Ω∣n(r)δ∂Ω(r)\mathbf{w}_{n}(\mathbf{r})=\frac{1}{|\Omega|}\mathbf{n}(\mathbf{r})\delta_{\partial\Omega}(\mathbf{r}), where ∣Ω∣|\Omega| is the volume of Ω\Omega and n\mathbf{n} is the unit normal vector. It satisfies both conditions in Eq. (18) and is therefore an admissible weight. The optimal weight w∗(r)\mathbf{w}_{*}(\mathbf{r}) would by definition outperform wn(r)\mathbf{w}_{n}(\mathbf{r}) whose covariance is given by Eq. (19),

Cov⁡(g^∗)=2c0DTαΩ−1⪯Cov⁡(g^[wn])=2c0DTB(54)\operatorname{Cov}(\widehat{\mathbf{g}}_{*})=\frac{2c_{0}}{DT}\alpha_{\Omega}^{-1}\preceq\operatorname{Cov}(\widehat{\mathbf{g}}[\mathbf{w}_{n}])=\frac{2c_{0}}{DT}\mathbf{B} \tag*{(54)}

or αΩ−1⪯B\alpha_{\Omega}^{-1}\preceq\mathbf{B}, where B\mathbf{B} is defined as

B=1∣Ω∣2∫∂ΩdSr∫∂ΩdSr′n(r)nT(r′)G(r−r′),(55)\mathbf{B}=\frac{1}{|\Omega|^{2}}\int_{\partial\Omega}\mathrm{d}S_{\mathbf{r}}\int_{\partial\Omega}\mathrm{d}S_{\mathbf{r}'}\mathbf{n}(\mathbf{r})\mathbf{n}^{\mathrm{T}}(\mathbf{r}')G(\mathbf{r}-\mathbf{r}'), \tag*{(55)}

with trace

tr⁡B≡1∣Ω∣2∫∂ΩdSr∫∂ΩdSr′n(r)⋅n(r′)G(r−r′)=−1∣Ω∣2∫Ωddr∫Ωddr′∇r2G(r−r′)=1∣Ω∣.(56)\begin{aligned} \operatorname{tr}\mathbf{B}\equiv\frac{1}{|\Omega|^{2}}\int_{\partial\Omega}\mathrm{d}S_{\mathbf{r}}\int_{\partial\Omega}\mathrm{d}S_{\mathbf{r}'}\mathbf{n}(\mathbf{r})\cdot\mathbf{n}(\mathbf{r}')G(\mathbf{r}-\mathbf{r}') \\ &=-\frac{1}{|\Omega|^{2}}\int_{\Omega}\mathrm{d}^{d}r\int_{\Omega}\mathrm{d}^{d}r'\nabla_{\mathbf{r}}^{2}G(\mathbf{r}-\mathbf{r}')=\frac{1}{|\Omega|}. \tag*{(56)} \end{aligned}

Therefore, tr⁡αΩ−1≤1/∣Ω∣\operatorname{tr}\alpha_{\Omega}^{-1}\leq1/|\Omega|. One can show by explicit calculations that for ellipsoids, wn\mathbf{w}_{n} is indeed the optimal weight, and therefore the bound is saturated for ellipsoids.

Low Dimensions, d≤2d\leq2

For d≤2d\leq2, the approximation from Eq. (10) to Eq. (11) does not hold, since the time integral of the diffusion propagator ∫0TG(R,τ) dτ\int_{0}^{T}G(\mathbf{R},\tau)\,\mathrm{d}\tau does not converge as T→∞T\to\infty. We can still obtain a long-time limit that preserves the electrostatic analogy by using the fact that the integral ∫0T[G(R,τ)−G(R0,τ)] dτ\int_{0}^{T}[G(\mathbf{R},\tau)-G(\mathbf{R}_{0},\tau)]\,\mathrm{d}\tau converges as T→∞T\to\infty for some reference distance R0\mathbf{R}_{0}. This is done by adding and subtracting the term G(R0,τ)G(\mathbf{R}_{0},\tau) under the integral in Eq. (10) and then taking the long-time limit, obtaining

CT(R)≃CT(R0)+2c0T∫0∞[G(R,τ)−G(R0,τ)] dτ=CT(R0)+2c0DTG(R).(57)C_{T}(R)\simeq C_{T}(R_{0})+\frac{2c_{0}}{T}\int_{0}^{\infty}[G(R,\tau)-G(R_{0},\tau)]\,\mathrm{d}\tau =C_{T}(R_{0})+\frac{2c_{0}}{DT}G(R). \tag*{(57)}

where the new G(R)≡D∫0∞[G(R,τ)−G(R0,τ)] dτG(R)\equiv D\int_{0}^{\infty}[G(R,\tau)-G(R_{0},\tau)]\,\mathrm{d}\tau still satisfies −∇2G=δ(r)-\nabla^{2}G=\delta(\mathbf{r}). This procedure is equivalent to shifting the zero-potential separation in the electrostatic analogy. For d=1d=1, G(R)G(R) is linear in RR, and we can pick R0=0R_{0}=0, resulting in G(R)=−R/2G(R)=-R/2. For d=2d=2, G(R)G(R) depends logarithmically, so R0R_{0} has to be nonzero and finite (a natural choice for a circle of radius aa would be R0=aR_{0}=a, resulting in G(R)=ln⁡(a/R)/2πG(R)=\ln(a/R)/2\pi. For higher dimensions, we would pick R0=∞R_{0}=\infty, which would remove the constant term.

Using Eq. (37), we can write the variance as

Var⁡(c^[w])=CT(R0)Q2+4c0DTE[w]+o(T−1)(58)\operatorname{Var}(\widehat{c}[\mathbf{w}])=C_{T}(R_{0})Q^{2}+\frac{4c_{0}}{DT}\mathcal{E}[\mathbf{w}]+o(T^{-1}) \tag*{(58)}

The optimization is not affected by the constant recurrence cost CT(R0)C_{T}(R_{0}); the solution follows the same surface charge optimization and provides a constant potential VV on Ω\Omega. The optimal energy is then E∗=VQ/2=V/2\mathcal{E}_{*}=VQ/2=V/2, and

Var⁡(c^∗)=CT(R0)+2c0VDT+o(T−1).(59)\operatorname{Var}(\widehat{c}_{*})=C_{T}(R_{0})+\frac{2c_{0}V}{DT}+o(T^{-1}). \tag*{(59)}

This result holds in general dimension and for arbitrary shape Ω\Omega, special cases of which are given in Eq. (32) for spheres in d=1,2d=1,2.

The gradient sensing problem is simpler. As we saw in Eq. (45), the variance of each component of g^\widehat{\mathbf{g}} has exactly the same form as the variance of c^\widehat{c} (now in Eq. (58)), but subject to a different set of constraints. Since the gradient case is charge neutral, the constant term in Eq. (58) drops out. The optimal covariance is still given by Cov⁡(g^)=2c0/DT αΩ−1\operatorname{Cov}(\widehat{\mathbf{g}})=2c_{0}/DT\,\alpha_{\Omega}^{-1} for any shape in any dimension. The special case of spheres in general dimension dd is given in Eq. (33).

References

  1. [1]H. C. Berg and E. M. Purcell, Biophys. J. 20, 193 (1977).
  2. [2]W. Bialek and S. Setayeshgar, Proc. Natl. Acad. Sci. 102, 10040 (2005).
  3. [3]T. Gregor, D. W. Tank, E. F. Wieschaus, and W. Bialek, Cell 130, 153 (2007).
  4. [4]R. G. Endres and N. S. Wingreen, Proc. Natl. Acad. Sci. 105, 15749 (2008).
  5. [5]W. Bialek and S. Setayeshgar, Phys. Rev. Lett. 100, 258101 (2008).
  6. [6]R. G. Endres and N. S. Wingreen, Phys. Rev. Lett. 103, 158101 (2009).
  7. [7]B. Hu, W. Chen, W.-J. Rappel, and H. Levine, Phys. Rev. Lett. 105, 048104 (2010).
  8. [8]T. Mora and N. S. Wingreen, Phys. Rev. Lett. 104, 248101 (2010).
  9. [9]M. Skoge, Y. Meir, and N. S. Wingreen, Phys. Rev. Lett. 107, 178101 (2011).
  10. [10]C. C. Govern and P. R. ten Wolde, Phys. Rev. Lett. 109, 218103 (2012).
  11. [11]P. Mehta and D. J. Schwab, Proc. Natl. Acad. Sci. 109, 17978 (2012).
  12. [12]M. Skoge, S. Naqvi, Y. Meir, and N. S. Wingreen, Phys. Rev. Lett. 110, 248102 (2013).
  13. [13]K. Kaizu, W. De Ronde, J. Paijmans, K. Takahashi, F. Tostevin, and P. R. Ten Wolde, Biophys. J. 106, 976 (2014).
  14. [14]T. Mora, Phys. Rev. Lett. 115, 038102 (2015).
  15. [15]D. Ellison, A. Mugler, M. D. Brennan, S. H. Lee, R. J. Huebner, E. R. Shamir, L. A. Woo, J. Kim, P. Amar, I. Nemenman, et al., Proc. Natl. Acad. Sci. 113, E679 (2016).
  16. [16]S. Fancher and A. Mugler, Phys. Rev. Lett. 118, 078101 (2017).
  17. [17]J. Varennes, S. Fancher, B. Han, and A. Mugler, Phys. Rev. Lett. 119, 188101 (2017).
  18. [18]T. Mora and I. Nemenman, Phys. Rev. Lett. 123, 198101 (2019).
  19. [19]S. Fancher, M. Vennettili, N. Hilgert, and A. Mugler, Phys. Rev. Lett. 124, 168101 (2020).
  20. [20]M. Vennettili, S. Saha, U. Roy, and A. Mugler, Phys. Rev. Lett. 127, 098102 (2021).
  21. [21]H. H. Mattingly, K. Kamino, B. B. Machta, and T. Emonet, Nat. Phys. 17, 1426 (2021).
  22. [22]R. LeFebre, J. A. Landsittel, D. E. Stone, and A. Mugler, Phys. Rev. Lett. 133, 138402 (2024).
  23. [23]D. Wu, S. Mao, and J. Lin, Phys. Rev. Lett. 135, 208401 (2025).
  24. [24]A. Alonso, R. G. Endres, and J. B. Kirkegaard, Phys. Rev. Lett. 134, 158401 (2025).
  25. [25]H. H. Mattingly, K. Kamino, J. Ong, R. Kottou, T. Emonet, and B. B. Machta, Nat. Phys. , 1 (2026).
  26. [26]A. Mugler and M. Rose, arXiv preprint arXiv:2606.17239 (2026).arxiv.org/abs/2606.17239
  27. [27]D. R. McCusker and D. K. Lubensky, Phys. Rev. E 111, 034404 (2025).
  28. [28]G. Pólya and G. Szegő, Isoperimetric Inequalities in Mathematical Physics, Annals of Mathematics Studies No. 27 (Princeton University Press, Princeton, NJ, 1951) sec. 1.13.
  29. [29]M. J. Colbrook and S. Sadeghi, arXiv preprint arXiv:2608.20466 (2026).arxiv.org/abs/2608.20466

Paper details

vlnc:W_qfdtfrah
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents