Probability distributions
Beta probability density
prob.beta-pdfAlso called beta pdf, beta density, beta distribution
Density of the beta distribution on (0, 1) with shape parameters α and β.
Notation
the point, 0 < x < 1
x ∈ (0, 1)
first shape parameter
α > 0
second shape parameter
β > 0
Result: the density at x
scalar
Worked examples
Each result is solved exactly and confirmed by two independent computations.
Given
Result
≈ 1.5
Given
Result
≈ 1.6875
Given
Result
≈ 0.675237237118
Common mistakes
Swaps α and β
α belongs with x and β with 1 − x; swapping them reflects the density about 1/2.
Fix: Use xα−1 (1 − x)β−1.
Sources
NIST/SEMATECH e-Handbook, §1.3.6.6.17
NIST/SEMATECH e-Handbook of Statistical Methods. https://www.itl.nist.gov/div898/handbook/ Last updated 2022-04-27. doi:10.18434/M32189
DLMF, eq. 5.12.1
NIST Digital Library of Mathematical Functions. https://dlmf.nist.gov/ Release 1.2.8 of 2026-09-15. F. W. J. Olver, A. B. Olde Daalhuis, D. W. Lozier, B. I. Schneider, R. F. Boisvert, C. W. Clark, B. R. Miller, B. V. Saunders, H. S. Cohl, and M. A. McClain, eds.