Mathematical Analysis
    15 min read
    August 2026

    A Reciprocity Formula for Integrals of Symmetric Functions

    A functional reciprocity formula that simplifies definite integrals over symmetric intervals, generalizing a classic competition-math trick.

    1. The Theorem

    Let's fix the hypotheses once and for all. Let f(x) be an even function, integrable on [0, α]. Let g(x) be a function such that

    g(−x)=1g(x),g(-x) = \frac{1}{g(x)},

    with g(x) ≠ 0 and g(x) ≠ -1 for every x ∈ [-α, α]. We call this condition the functional reciprocity of g.

    Theorem 1

    Under the hypotheses above, the following identity holds:

    ∫−ααf(x)1+g(x) dx=∫0αf(x) dx.\int_{-\alpha}^{\alpha} \frac{f(x)}{1+g(x)}\,dx = \int_0^\alpha f(x)\,dx.

    In other words, the integral over the whole symmetric interval [-α, α] of the composite integrand f(x)/(1+g(x)) coincides with the integral of f alone over half the interval — regardless of the specific shape of g, as long as it satisfies functional reciprocity. The case Φ(x) = f(x)/(1+ex) mentioned in the introduction is simply the instance g(x) = ex, which satisfies g(-x) = e-x = 1/g(x).

    Observation 1

    The condition g(-x) = 1/g(x) implies that ln(g(x)) is an odd function. Indeed, letting h(x) = ln(g(x)),

    h(−x)=ln⁡(g(−x))=ln⁡ ⁣(1g(x))=−ln⁡(g(x))=−h(x).h(-x) = \ln(g(-x)) = \ln\!\left(\frac{1}{g(x)}\right) = -\ln(g(x)) = -h(x).

    Consequently, any function g(x) of the form eh(x), with h(x) odd, automatically satisfies the theorem's hypotheses. This is the most convenient way to build new examples: pick any odd function h(x) — such as x, x3, sin x, or a product like x·cos x — and set g(x) = eh(x).

    Delicate case 1 (Why the hypothesis g(x) ≠ -1 is needed)

    The hypothesis g(x) ≠ -1 on [-α, α] is not a technicality: without it the denominator 1+g(x) can vanish, and the integrand stops being defined. A concrete example: let g(x) = -ex. One checks directly that g still satisfies functional reciprocity,

    g(−x)=−e−x=1−ex=1g(x),g(-x) = -e^{-x} = \frac{1}{-e^x} = \frac{1}{g(x)},

    (this is the instance g(x) = -eh(x) with h(x) = x odd, a sign variant of the family from Observation 1). But g(0) = -1, so 1+g(0) = 0. Since g is smooth and 1+g(x) = 1-ex ~ -x as x → 0 (a simple zero), for any even f with f(0) ≠ 0 the integrand behaves like -f(0)/x near 0: a simple pole.

    The improper integral ∫−ααf(x)1+g(x) dx\displaystyle \int_{-\alpha}^{\alpha} \frac{f(x)}{1+g(x)}\,dx does not converge in the ordinary sense: the two pieces, from -α to -δ and from δ to α, diverge separately (to +∞ and −∞ respectively) as δ → 0, even though their sum tends to a finite value — the classic distinction between an improper integral and a Cauchy principal value. It's exactly this kind of singularity, typical when a smooth g touches -1, that the hypothesis g(x) ≠ -1 rules out. (A slower vanishing of 1+g, with order less than 1 as for 1/√x — which stays integrable despite diverging — would leave the integral convergent; but it would require a non-smooth g at that point, outside the class of elementary functions considered here.)

    Comments

    Loading comments...

    Won't be published: only used for contact and moderation.

    0/3000 characters

    Anti-spam check in progress…

    © 2026 keenonmaths.org. Empowering mathematical minds worldwide.

    Educational articles are distributed under a Creative Commons BY-NC-ND 4.0 license.