Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Given two random variables X = cos(θ) and Y = sin(θ), where θ is uniformly distributed over [0,π], they are not independent. How can I prove this non-independence rigorously?

share|cite|improve this question
$x^2+y^2=1$,thus they are not independent – Golbez Oct 19 '12 at 13:06
up vote 2 down vote accepted

You can deduce the value of $Y$ from that of $X$, $y=\sqrt{1-x^2}$. Thus you have full knowledge of $y$ given $x$, whereas independence implies that knowing $x$ gives you no knowledge at all about $y$.

share|cite|improve this answer
Isn't it the other way around? Given that the value of $X$ is $x \in [-1,+1]$, $Y$ has unique value $\sqrt{1-x^2} \geq 0$ while given that the value of $Y$ is $y \in [0,1]$, we still have some uncertainty about the value of $X$ which can be $\pm \sqrt{1-y^2}$? Of course, the conditional distribution of $X$ given $Y$ does depend on the value of $Y$, and this suffices to assert that $X$ and $Y$ are dependent. – Dilip Sarwate Oct 19 '12 at 15:08
@Dilip: You're right; fixed. – joriki Oct 19 '12 at 15:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.