# Evaluating: $\lim_{t\to\infty}\frac1t\int_0^t\sin(\alpha x)\cos(\beta x)dx$

Here is what I did:

\begin{aligned}\lim_{t\to\infty}\frac1t\int_0^t \sin(\alpha x)\cos(\beta x)dx&=\lim_{t\to\infty}\frac1t\int_0^t\frac12(\sin(\alpha x+\beta x)+\sin(\alpha x-\beta x))dx\\&=\lim_{t\to\infty}\frac1{2t}\left(\frac{\cos((\alpha-\beta)t)}{\alpha-\beta}-\frac{\cos((\alpha+\beta)t)}{\alpha+\beta}-2\right)\end{aligned}

• What have you tried? – Riemann'sPointyNose Jul 7 '20 at 20:29
• Were you able to evaluate the integral? What happened then? – saulspatz Jul 7 '20 at 20:30
• Please include your work in the question. It will help people give better feedback/answers – QC_QAOA Jul 7 '20 at 20:33
• Your solution is indeed correct. – marty cohen Jul 7 '20 at 21:06
• I think the person who voted to close the question before editing (both the vote and the edit after were justified at that moment) to retract the close vote because there is no need for this question to be in the close queue after all since the OP included his/her own work/attempts. – Invisible Jul 7 '20 at 23:21

There is indeed a simple way. Express each sine and cosine in terms of exponentials via Euler formula. Multiply things together. The "infinite time average" of exponentials is straightforward. Make sure you pay attention to all the cases (e.g. $$\alpha=\pm \beta$$).
• @UmbQbify-Key20- it's $\cos(x)=(e^{ix} +e^{-i x})/2$ and so on. – lcv Jul 7 '20 at 22:01