= Centred interval maximizes mass for an even unimodal density
{title2=$\max_d\int_{d-a}^{d+a}p(t)\,dt=\int_{-a}^a p(t)\,dt$}
Let $p$ be a <probability density function> on $\mathbb R$ with an <even function> representative satisfying $p(-t)=p(t)$, and suppose $p$ is nonincreasing for $t\geq0$. For every half-width $a\geq0$ and center $d\in\mathbb R$,
$$
M(d):=\int_{d-a}^{d+a}p(t)\,dt\leq\int_{-a}^{a}p(t)\,dt=M(0).
$$
Thus a centered interval maximizes captured probability among all intervals of the same width. Symmetry alone is insufficient: mass concentrated in two distant peaks can favor an interval around one peak. The single-central-maximum condition supplied by <unimodality> is essential.
Here is a direct proof, including densities with jumps. If $F$ is the <cumulative distribution function>, then $M(d)=F(d+a)-F(d-a)$. Integrability of the density gives <absolute continuity> of $F$, and hence of $M$ on every bounded interval. Its derivative exists almost everywhere and satisfies
$$
M'(d)=p(d+a)-p(d-a).
$$
For $d\geq0$, one has $|d+a|\geq|d-a|$. Evenness and radial monotonicity therefore give $p(d+a)\leq p(d-a)$, so $M'(d)\leq0$ almost everywhere. Absolute continuity implies that $M$ is nonincreasing on $[0,\infty)$. Symmetry gives $M(-d)=M(d)$, proving the claim for negative centers too. When $a=0$, all integrals vanish.
An original example uses the <triangular distribution> density $p(t)=1-|t|$ for $|t|\leq1$ and zero elsewhere. At half-width $a=1/2$,
$$
M(0)=\frac34,\qquad M(1/4)=\frac{11}{16}=0.6875.
$$
Moving the window a quarter-unit away from the center loses probability even though its length stays1.
The maximizer need not be unique. For a <uniform distribution> on $[-2,2]$ and $a=1/2$, every center $d\in[-3/2,3/2]$ captures probability1/4. A flat density gives a plateau of equally good intervals. The non-strict form of unimodality, described through interval-shaped superlevel sets, is therefore the appropriate general hypothesis.<Convex Optimization by Stephen Boyd and Lieven Vandenberghe>[§3.4.1, superlevel-set definition of quasiconcavity; interval proof above independently derived]{ref}
The lemma applies to a <detection time gate> when the normalized signal profile is an even unimodal density and the objective is captured signal area. Background noise, asymmetric response or timing uncertainty can change the best gate for another objective; maximizing captured area alone does not optimize every measurement criterion.
Back to article page