Beta Function Explained with Worked Examples

The beta function is .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

  • the gamma function
  • Wallis integrals
  • factorials

What Beta function means

It is an integral over that gives a neat closed form using gamma functions. For whole numbers it reduces to factorials: .

It appears in probability, in the beta distribution, and for evaluating trigonometric integrals.

It is symmetric: .

This page is part of Integration in Calculus. Topics that work alongside it: Gamma function, Wallis integrals, Integration by parts, Leibniz integral rule (differentiation under the integral sign), Fundamental theorem of calculus (part 1) and Arc length of a parametric curve.

What is it used for?

The beta function B(m, n) is an integral over [0, 1] that can be written using gamma functions: B(m, n) = Γ(m)Γ(n)/Γ(m + n).

How to use beta function

  1. Identify and from the powers of and .
  2. Write .
  3. Convert to factorials if the arguments are whole numbers.
  4. Evaluate.

Graph

Area under y = x(1 − x)² from 0 to 100.20.40.60.8100.050.10.150.2Area under y = x(1 − x)² from 0 to 1xyGraph with x from -0.1 to 1.1 and y from -0.02 to 0.2. Shows the curve y = x*(1-x)^2; a shaded region.

The shaded area is B(2, 3) = 1/12 ≈ 0.083.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: a polynomial integral

Evaluate .

Worked example
Answer
112\dfrac{1}{12}
  1. Identify m and n
  2. Use the formula
  3. Calculate

Example 2: B(2, 3)

Evaluate using the beta function.

Worked example
Answer
112\dfrac{1}{12}
  1. Match B(m, n) with m = 2, n = 3
  2. Use B(m, n) = Γ(m)Γ(n)/Γ(m + n)

Example 3: B(3, 2) checked directly

Evaluate in two ways.

Worked example
Answer
112\dfrac{1}{12}
  1. Using the beta function
  2. Directly

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

B(2, 3)

Γ(2)Γ(3)/Γ(5) = 1·2/24

0.0833.

B(3, 4)

2!3!/6!

0.0167.

B(½, ½)

π

3.1416.

∫₀¹ x(1 − x)² dx

B(2, 3)

0.0833.

Word problems

B(m, n) = ∫₀¹ x^(m−1)(1 − x)^(n−1) dx = Γ(m)Γ(n)/Γ(m + n). For integers B(m, n) = (m − 1)!(n − 1)!/(m + n − 1)!.

B(2, 3)

Use (m − 1)!(n − 1)!/(m + n − 1)!.

  1. 1!·2!/4!
  2. Check: ✓0.0833

B(3, 4)

Same rule.

  1. 2!·3!/5!
  2. Check: ✓0.1

B(½, ½) Higher

Γ(½)²/Γ(1).

  1. (√π)²
  2. Check: ✓3.1416

Direct integral Higher

∫₀¹ x(1 − x)² dx = ½ − ⅔ + ¼.

  1. expand
  2. Check: equals B(2, 3) ✓0.0833

Common mistakes

B(m, n) = (m + n)!

wrong ✗

B = (m−1)!(n−1)!/(m+n−1)! ✓

Check the shifts.

Γ(m) = m!

off by one ✗

Γ(m) = (m − 1)! ✓

Shift.

Not symmetric

B(m, n) ≠ B(n, m) ✗

B(m, n) = B(n, m) ✓

Symmetric.

Limits

0 to ∞ ✗

0 to 1 ✓

Defined on [0, 1].

Exam tips

  1. B(m, n) = Γ(m)Γ(n)/Γ(m + n).
  2. Integers: factorial form.
  3. Symmetric.
  4. 0 to 1.
  5. B(½, ½) = π.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. B(1, 1) Foundation

1

2. B(2, 2) Foundation

0.1667

3. B(4, 2) Foundation

0.05

4. B(3, 3) Higher

0.0333

5. B(5, 1) Higher

0.2

6. B(2, 5) Higher

0.0333

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Beta function
B(m, n).
Euler integral
∫x^(m−1)(1 − x)^(n−1).
Gamma function
Γ.
Symmetry
B(m, n) = B(n, m).
Factorial form
Integers.
Beta distribution
Uses 1/B.

Frequently asked questions

What is the beta function?

B(m, n) = ∫₀¹ x^(m−1)(1 − x)^(n−1)dx.

How is it linked to Γ?

B(m, n) = Γ(m)Γ(n)/Γ(m + n).

What is B(2, 3)?

1/12.

Is it symmetric?

Yes.

Which page covers the gamma function?

gamma function.

Which page covers the Gaussian integral?

Gaussian integral.

More in Calculus and the formula sheets.