# Average and autocorrelation for a sine signal with random phase

Consider this exercise in stochastic processes:

Consider a sine signal with random phase, $X(t) = A sin(\omega_0 t + B)$, with $A$ and $\omega_0$ constants and $B$ a random phase shift with PDF (probability density function) uniform in the interval of $[-\pi,\pi]$.

How does one calculate the average and autocorrelation functions for that signal?

• What are you thoughts about that? What have you tried so far? Where have you got stuck? – Taroccoesbrocco Mar 19 '18 at 22:12
• Hi Taroccoesbrocco. Thanks for your reply. I have many question about this exercise, I have also other 3 related to same subject that I have questions about. Ideally, I'd like to chat with someone on this forum and ask a couple of question via email or phone. Do you think is there any way to get that type of help from here? Thank you. – Sergio Mar 20 '18 at 1:29

$$\mu\left[X(t)\right]=\mu\left[A\sin(\omega_0t+B)\right]=\dfrac{1}{2\pi}\int_{-\pi}^{\pi}A\sin(\omega_0t+B)dB=0\\R\left[X(t+\tau)X^{*}(t)\right]=\dfrac{1}{2\pi}\int_{-\pi}^{\pi}A^2\sin(\omega_0t+B)\sin\left(\omega_0(t+\tau)+B\right)dB\\=\dfrac{1}{4\pi}\int_{-\pi}^{\pi}A^2\cos(\omega_0\tau)dB-\dfrac{1}{4\pi}\int_{-\pi}^{\pi}A^2\cos(2\omega_0t+2B+\omega_0\tau)dB\\=\dfrac{A^2}{2}\cos(\omega_0\tau)$$