N's Webtools
0
Home

Calculation

Beta Function

Calculate the beta function B(a,b) and log-beta function lnB(a,b).

B(a,b)
-
lnB(a,b)
-
B(a,b) = Γ(a)Γ(b) / Γ(a+b)

How to Use

Enter values for a and b, and the beta function B(a,b) and its logarithm lnB(a,b) are computed with high precision. The relation to the gamma function, B(a,b) = Γ(a)Γ(b)/Γ(a+b), is displayed for reference. The log form is essential when a and b are large enough that B(a,b) itself underflows, which is common in statistics work such as evaluating beta-distribution densities.

  • Beta function B(a,b)
  • Log beta function lnB(a,b) for large arguments
  • Gamma-function relation shown
  • High-precision computation
  • Instant results

Use cases

  • Evaluating beta-distribution densities and normalizers
  • Bayesian statistics with beta priors
  • Combinatorial identities involving beta functions
  • Verifying numerical code against exact values

Share

Related Tools