MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.

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

Any help in this problem?

Suppose U and V are independent random variables with density f(u) and g(v) respectively. The domain of U is the interval (0, 1) and the domain of V is v > 0. After the transformation

X = V sin(2U) Y = V cos(2U)

X and Y are independent, each following the standard normal distribution N(0, 1).

(a) Find f(u) and g(v).

(b) Show how to generate a normal random variable from uniform distribution without having to do integration of normal density function.

share|cite|improve this question
Suppose you do your own homework problems? Voting to close. – David Roberts Oct 30 '12 at 5:15
up vote 0 down vote accepted

One obvious answer to (a) is: g(v) is density of Rayleigh distribution and f(u) is density of uniform distribution on [0,1].

For (b), you need only noticed that V could be generated by V = \sqrt(-ln(W)) Here W is also uniform distributed on [0,1], the same as U. Nevertheless, W is independent of U.

This is well-known "Polar method" for generating pseudo-random number of normal variables.

share|cite|improve this answer

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.