# An equation about PDFs and differentials in the book of pbrt-v3

Why does the equation at the bottom of the following page hold?

http://www.pbr-book.org/3ed-2018/Monte_Carlo_Integration/Transforming_between_Distributions.html

$$p(\theta,\phi)d\theta d\phi=p(\omega)d\omega$$

Is this a conclusion of probability and measure theory?

• Right above it you have $d\omega = \sin\theta \,d\theta\,d\phi$. Substitute and see what you get. May 25, 2020 at 13:20
• I think the story should be like this: Premises: $d\omega=sin\theta\ d\theta\ d\phi$ and $p(\theta,\phi)d\theta\ d\phi=p(\omega)d\omega$; Conclusion: $p(\theta, \phi)=sin\theta\ p(\omega)$. May 25, 2020 at 16:33
• That's it really. And yes, the above is from probability and measure theory. You can define your pdf with respect to some measure and then find its expression with respect to a different measure. May 25, 2020 at 17:04
• But I couldn't find a formal statement in math books. Could you give a reference? Thanks! May 25, 2020 at 17:15
• You need a statement about what? That $d\omega = \sin\theta \,d\theta\,d\phi$? That's by definition of solid angle. But if you want to get where the sine comes from, you could just compute the coordinate transformation from cartesian to spherical coordinates and then set $r=1$ ($r^2\sin\theta$ pops from the Jacobian of the transformation). May 25, 2020 at 20:19