Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@user130327: If you write out the beta distribution in the above form and follow the steps, you can derive it yourself. You should end up with the same answer as is found here: mathoverflow.net/questions/20399/…. If you like, I can derive it for you.