Every random variable, discrete or continuous, has a cumulative distribution function (CDF):
It's non-decreasing, right-continuous, , and . Because the CDF is universal, it's the cleanest way to compare or describe distributions.
For continuous variables, the probability density function (PDF) is the derivative of the CDF:
The PDF doesn't give probability at a single point — is a density, not a probability. It can exceed (e.g. a Uniform on has on its support).
For discrete variables, the PMF and CDF are linked by
CDFs are easier to plot and compare, and they handle mixed distributions cleanly. PDFs and PMFs are easier for computing expectations and conditional distributions. Most calculations bounce between the two representations as needed.