This is problem 2 in UChicago's 2019 Math GRE prep worksheet: (link here)
Suppose $\alpha, \beta > 0$. Compute $$\int_0^\infty\dfrac{\cos(\alpha x) - \cos(\beta x)}{x}dx.$$
In the answer sheet (pg. 10) it states "rewrite integrand as integral of $\sin(xy)$, exchange order of integration." What does this mean exactly? What is $y$?
When I attempted this problem, I thought it made sense expanding the integrand out in Taylor series. Since $$\cos(\alpha x) - \cos(\beta x) = - (\alpha x)^2/2! + \cdots + (\beta x)^2/2! -\cdots$$ and $$\dfrac{\cos(\alpha x) - \cos(\beta x)}{x} = -\alpha^2x/2! + \cdots +\beta^2x/2!-\cdots.$$ But integrating this produces a messy series, so I don't think it's a viable solution for a GRE problem.