$\theta\sim U(-\pi,\pi)$.
When $\theta$ follows uniform distribution, what is the expected value of the producot of cosine and sine, i.e.
$$E[\sin\theta \cos\theta] = \ ?$$
2026-03-27 16:17:33.1774628253
On
Expectation of product of cosine and sine
17.9k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
4
There are 4 best solutions below
0
On
Hint $$E[\cos\theta \sin\theta] = \frac1{2\pi} \int_{-\pi}^\pi \sin\theta \cos\theta \mathrm d\theta$$
Note that $\sin\theta\cos\theta = \frac12 \sin(2\theta)$ is an odd function. What do you know about symmetric integrals of odd functions?
Since the probability density function of $\mathcal{U}\big([-\pi,\pi]\big)$ is $\displaystyle x \, \mapsto \, \frac{1}{2\pi} \mathbf{1}_{[-\pi,\pi]}(x)$, by definition, if $\theta \sim \mathcal{U}\big( [-\pi,\pi] \big)$, we have :
$$ \begin{align*} \mathrm{E}\big[ \cos(\theta)\sin(\theta) \big] &= {} \int \cos(x)\sin(x) \frac{1}{2\pi} \mathbf{1}_{[-\pi,\pi]}(x) \, dx \\[2mm] &= \frac{1}{2\pi} \int_{-\pi}^{\pi} \cos(x)\sin(x) \, dx \\[2mm] &= \frac{1}{2\pi} \int_{-\pi}^{\pi} \frac{1}{2} \sin(2x) \, dx \\[2mm] &= \frac{1}{4\pi} \Big[ -\frac{1}{2} \cos(2x) \Big]_{-\pi}^{\pi} \\[2mm] &= 0. \end{align*} $$