$\int_{- \infty}^{\infty} \frac{f(x)}{1+\exp{g(x)}}dx=\int_{0}^{\infty} f(x) dx$ for $f(x)=f(-x),~g(x)=-g(-x)$ - are there other formulas like that? If $f(x)$ any even function, integrable on $(0,\infty)$ and $g(x)$ any odd function, then we have:

$$\int_{- \infty}^{\infty} \frac{f(x)}{1+e^{g(x)}}dx=\int_{0}^{\infty} f(x) dx \tag{1}$$

The proof is elementary:
$$I(a)=\int_{- \infty}^{\infty} \frac{f(x)}{a+e^{g(x)}}dx$$
$$I(1/a)=\int_{- \infty}^{\infty} \frac{f(x)}{1/a+e^{g(x)}}dx=a \int_{- \infty}^{\infty} \frac{e^{-g(x)}f(x)}{e^{-g(x)}+a}dx= \\ = a \int_{- \infty}^{\infty} f(x)dx-a^2\int_{- \infty}^{\infty} \frac{f(x)}{a+e^{g(x)}}dx$$
$$\frac{1}{a} I(1/a)+aI(a)=\int_{- \infty}^{\infty} f(x)dx$$
$$I(1)=\int_{0}^{\infty} f(x)dx$$

With this formula we can write some crazy looking integrals to scare people, like:
$$\int_{- \infty}^{\infty} \frac{e^{-x^2}}{1+e^{\sin (\sinh x)+x^3-\arctan x}}dx=\frac{\sqrt{\pi}}{2}$$
To be fair, it might also be useful for some quatum statistics applications (i.e. Fermi-Dirac distribution).


I want to know, what other formulas like $(1)$ exist? Maybe with the exponential function, or some other functions

I also know of Glasser's Theorem, but I wonder if some more interesting cases exist.
To be more specific, I mean the non-trivial formulas of the following kind:
$$\int_{a}^b g(x) f(x) dx=k \int_{A}^B f(x) dx$$
With $k$ being some constant, independent on $f(x)$, $f(x)$ is a general function (with some restricitions), $g(x)$ is some interesting function. $A,B$ might be different from $a,b$, but also should not depend on $f(x)$.

$\newcommand{\angles}[1]{\left\langle\,{#1}\,\right\rangle}
 \newcommand{\braces}[1]{\left\lbrace\,{#1}\,\right\rbrace}
 \newcommand{\bracks}[1]{\left\lbrack\,{#1}\,\right\rbrack}
 \newcommand{\dd}{\mathrm{d}}
 \newcommand{\ds}[1]{\displaystyle{#1}}
 \newcommand{\expo}[1]{\,\mathrm{e}^{#1}\,}
 \newcommand{\half}{{1 \over 2}}
 \newcommand{\ic}{\mathrm{i}}
 \newcommand{\iff}{\Longleftrightarrow}
 \newcommand{\imp}{\Longrightarrow}
 \newcommand{\Li}[1]{\,\mathrm{Li}_{#1}}
 \newcommand{\ol}[1]{\overline{#1}}
 \newcommand{\pars}[1]{\left(\,{#1}\,\right)}
 \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}}
 \newcommand{\ul}[1]{\underline{#1}}
 \newcommand{\root}[2][]{\,\sqrt[#1]{\,{#2}\,}\,}
 \newcommand{\totald}[3][]{\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}}}
 \newcommand{\verts}[1]{\left\vert\,{#1}\,\right\vert}$
In Statistical Physics we use a lot the relation:
\begin{align}
{1 \over \expo{x} + 1} & =
\ds{\left\lbrace\begin{array}{lcl}
\ds{\Theta\pars{-x} + {\,\mathrm{sgn}\pars{x} \over \expo{\verts{x}} + 1}}
& \mbox{if} & \ds{x \not= 0}
\\[2mm]
\ds{\half} & \mbox{if} & \ds{x = 0}
\end{array}\right.}
\end{align}
$\ds{\Theta}$ and $\ds{\,\mathrm{sgn}}$ are the Heaviside Step Function and the Sign Function, respectively. For example,
\begin{align}
\int_{-\infty}^{\infty}{\,\mathrm{F}\pars{x} \over \expo{x} + 1}\,\dd x & =
\int_{-\infty}^{0}\mathrm{F}\pars{x}\,\dd x +
\int_{-\infty}^{\infty}{\,\mathrm{sgn}\pars{x}\,\mathrm{F}\pars{x} \over \expo{\verts{x}} + 1}\,\dd x
\\[5mm] & = 
\int_{-\infty}^{0}\mathrm{F}\pars{x}\,\dd x +
\int_{0}^{\infty}{\,\mathrm{F}\pars{x} - \,\mathrm{F}\pars{-x} \over
\expo{x} + 1}\,\dd x
\end{align}

I can imagine your statement is a general form of the present one. There are similar relations for $\ds{1 \over \expo{x} - 1}$ too.

