It is said at the last discussion (The link toward the discussion) about integration by substitution $f$ must be bijective over $[a,b]$, with this example to illustrate :
$\int_{-1}^1 x^2\mathrm{d}x$ with $u =x^2$
I have found one example which $f$ is not bijective over $[a,b]$ and the u-substitution is suitable.
$\displaystyle I=\int_{-\pi/2}^{\pi/2} \cos(x)\cos(\sin(x))dx$
So if $\varphi(x) =\sin(x)\implies \displaystyle I=\int_{\varphi(-\pi/2)}^{\varphi(-\pi/2)} \varphi'(x)\cos\left(\varphi(x)\right)dx\iff\int_{-1}^1\cos(u)du=2\sin(1)$
And my question is :
The condition on the function $cos$ is : $\cos\in \mathcal{C}^1([\varphi(a),\varphi(b)],\mathbb{R})$ Am I right ?
And for $\int_{-1}^1 x^2\mathrm{d}x$ with $u =x^2$
$\implies \displaystyle \int_{1}^1 \dfrac{\sqrt{u}}{2} du$ and I don't think $f$ can be continuous over one point!?
Am I right?