# Proving $-\frac{1}{a}<\int_a^b \sin(x^2) dx<\frac{1}{a}$

I have encountered a question:

Prove $$-\frac{1}{a}<\int_a^b \sin(x^2) dx<\frac{1}{a}$$

There are plenty of solutions to $$\int_0^{\infty} \sin(x^2) dx$$ online, but there seems to be no solution to the boundary of $$\int_a^b \sin(x^2) dx$$.

Could anyone help me with this please? I tried to calculate the integral directly, but I cannot cancel out b and get a boundary only with $$a$$.

Applying inequality to the integrand $$\sin(x^2) does not work either.

• Do you want $0<a<b$? – Angina Seng Jun 11 '19 at 1:56
• @Jack Post that as an answer? – David Jun 11 '19 at 2:07
• @Jack, the last inequality is not true. Taking absolute value is not going to work, you are not using the cancellation that arises from the oscillation of $\sin$. – Julian Mejia Jun 11 '19 at 2:32
• Yup.thanks for pointing out, it assumes $0<a<b$. – Xiaowei Tang Jun 11 '19 at 2:51
• @Jack that gives an estimate of the integrand not the integral. If you want to bound the integral then you should also multiply the length of the interval where you are integrating. – Julian Mejia Jun 11 '19 at 2:52

By change of variables $$u=x^2$$, we have $$\displaystyle{\int_{a}^{b}\sin(x^2)\,{\rm d}x=\frac{1}{2}\int_{a^2}^{b^2}\frac{\sin(u)}{\sqrt{u}}\,{\rm d}u}$$.
Now, by integration by parts we have $$\int_{a^2}^{b^2}\frac{\sin(u)}{\sqrt{u}}\,{\rm d}u=-\int_{a^2}^{b^2}\frac{1}{\sqrt{u}}{\rm d}(\cos u)=\frac{\cos(a^2)}{a}-\frac{\cos(b^2)}{b}-\frac{1}{2}\int_{a^2}^{b^2}\frac{\cos u}{u^{3/2}}{\rm d}u$$
Now, note that $$\left|\frac{\cos(a^2)}{a}\right|\leq \frac{1}{a},$$ $$\left|\frac{\cos(b^2)}{b}\right|\leq \frac{1}{b}$$ and $$\frac{1}{2}\left|\int_{a^2}^{b^2}\frac{\cos u}{u^{3/2}}{\rm d}u\right|< \frac{1}{2}\int_{a^2}^{b^2}\frac{1}{u^{3/2}}{\rm d}u=\frac{1}{a}-\frac{1}{b}.$$
Hence, $$\displaystyle{\left|\int_{a^2}^{b^2}\frac{\sin(u)}{\sqrt{u}}{\rm d}u\right|<\frac{1}{a}+\frac{1}{b}+\left(\frac{1}{a}-\frac{1}{b}\right)=\frac{2}{a}}$$. We conclude $$\left|\int_{a}^{b}\sin(x^2)\,{\rm d}x\right|=\frac{1}{2}\left|\int_{a^2}^{b^2}\frac{\sin(u)}{\sqrt{u}}{\rm d}u\right|<\frac{1}{a}$$
• @Jack I am assuming what the OP mentioned $0<a<b$( so $0<a^2<b^2$). For short, the equality could only happen if $|\cos u|=1$ a.e. in $[a^2,b^2]$ but that cannot happen. – Julian Mejia Jun 11 '19 at 13:52