In high school I learned that if I want to solve $$ \int_0^R f(x) dx $$ we can do $x = \psi (\theta)$ and $dx = \psi'(\theta) d \theta$ and the integral becomes $$ \int_0^R f(x) dx = \int_{a_1}^{a_2} f(\psi(\theta)) \psi'(\theta) d \theta, $$ say. Depending on $f$ and a suitable choice of $\psi$, this second integral can be easier to solve. Here $\psi(a_1)= 0$ and $\psi(a_2) = R$.
My question. Does the end point matter as long as it the values of $\psi$ are $0$ and $R$? In other words, can I pick any other two points $b_1$ $b_2$ such that $\psi(b_1) = 0$ and $\psi(b_2) = R$ and we have $$ \int_0^R f(x) dx = \int_{b_1}^{b_2} f(\psi(\theta)) \psi'(\theta) d \theta? $$