I'm trying to calculate $$\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}}\sin t \cos^3 t\,dt$$ using integration by substitution $$\int_{\varphi([a;b])} f(x)dx=\int_{[a;b]} f\left(\varphi(t)\right)|\varphi'(t)|dt$$
First Method
Let $\varphi(t)=\cos t$ which is continuously differentiable and $\displaystyle\varphi\left(\left[\frac{-\pi}{2};\frac{\pi}{2}\right]\right)=[0;1]$ so $$\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}}\sin t \cos^3 t\,dt=\int_0^1x^3dx=\frac{1}{4}$$
Second Method
Let $\varphi(t)=\cos t$ which is continuously differentiable and $\displaystyle\varphi\left(\left[\frac{-\pi}{2};\frac{\pi}{2}\right]\right)=[0;1]$ so $$\int_{\frac{-\pi}{2}}^{\frac{\pi}{2}}\sin t \cos^3 t\,dt=\int_{\frac{-\pi}{2}}^{0}\sin t \cos^3 t\,dt+\int_0^{\frac{\pi}{2}}\sin t \cos^3 t\,dt=\\ -\int_{\frac{-\pi}{2}}^0 f\left(\varphi(t)\right)|\varphi'(t)|dt+\int_0^{\frac{\pi}{2}} f\left(\varphi(t)\right)|\varphi'(t)|dt=-\int_0^1x^3dx+\int_0^1 x^3dx=0$$
The answer is obviously $0$ as the integrand is an odd function. As mentioned in another question, $\varphi$ isn't required to be monotone or injective. However, most high school teachers I know and most school textbooks warn students that you should not use integration by substitution if $\varphi$ is not monotone.
Do you think I should go with their methods or use the second method (with absolute values) even though it may confuse many students as they usually do it like the first method.
is not required to be monotone. The absolute value formula i taken from wikipedia. – user5402 Aug 12 '15 at 18:47