How is the Integral of $\int_a^bf(x)~dx=\int_a^bf(a+b-x)~dx$

Here is a pictorial argument.

$\displaystyle \int_a^b f(x) dx$ is the area under the curve $y=f(x)$ in the interval $(a,b)$ when you integrate from left to right. enter image description here $\displaystyle \int_a^b f(a+b-x) dx$ is the area under the curve $y=f(x)$ in the interval $(a,b)$ when you integrate from right to left. enter image description here Hence, both are equal.


Change of variables: $a+b-x=t$, $dx = -dt$, and $$ \int_a^b f(a+b-x)\, dx = -\int_b^a f(t)\, dt = \int_a^b f(t)\, dt. $$


it is just substitution, if we let $u = a+b-x$, we have $du = -dx$ and hence (note that $u = b$ when $x= a$ and vice versa) \begin{align*} \int_a^b f(x)\,dx &= \int_a^b f(u)\, du\\ &= \int_b^a f(a+b-x)\bigl(-dx\bigr)\\ &= -\int_b^a f(a+b-x)\,dx\\ &= \int_a^b f(a+b-x)\, dx \end{align*}