WhatsApp us
University Maths25 Nov 2026

Beta and Gamma Functions in Engineering Maths: Formulas and Worked Examples

Beta and gamma functions for B.Tech engineering maths: the definitions, the key properties and the beta-gamma relation, with six original worked integrals, the trigonometric form, and the slips that cost marks.

Beta and Gamma Functions in Engineering Maths: Formulas and Worked Examples

The gamma function is Γ(n) = ∫₀^∞ x^(n−1) e^(−x) dx for n > 0, and the beta function is B(m, n) = ∫₀¹ x^(m−1)(1 − x)^(n−1) dx for m, n > 0. They are linked by B(m, n) = Γ(m)Γ(n)/Γ(m + n), and together they turn a whole family of hard-looking definite integrals into a few lines of algebra. In engineering maths papers the questions are mostly "reduce this integral to beta or gamma form, then evaluate".

This guide sets out the formulas you need, then works six original integrals that cover the standard question types, from direct gamma integrals to the trigonometric form of beta and the reflection formula.

The formulas on one page

ResultStatementUse it when
Gamma definitionΓ(n) = ∫₀^∞ x^(n−1) e^(−x) dx, n > 0integrand is a power times e^(−x) on (0, ∞)
RecurrenceΓ(n + 1) = n Γ(n)stepping Γ up or down by 1
FactorialΓ(n + 1) = n! for n = 0, 1, 2, …integer arguments
Half valueΓ(1/2) = √πhalf-integer arguments
Scaled gamma∫₀^∞ x^(n−1) e^(−ax) dx = Γ(n)/aⁿ, a > 0e^(−ax) with a ≠ 1
Beta definitionB(m, n) = ∫₀¹ x^(m−1)(1 − x)^(n−1) dxpowers of x and (1 − x) on (0, 1)
SymmetryB(m, n) = B(n, m)either order
Beta-gamma relationB(m, n) = Γ(m)Γ(n)/Γ(m + n)evaluating any beta value
Trigonometric form∫₀^(π/2) sin^p θ cos^q θ dθ = ½ B((p + 1)/2, (q + 1)/2)powers of sin and cos on (0, π/2)
Infinite form∫₀^∞ x^(m−1)/(1 + x)^(m+n) dx = B(m, n)x to a power over (1 + x) to a power
ReflectionΓ(n)Γ(1 − n) = π/sin(nπ), 0 < n < 1products like Γ(1/4)Γ(3/4)

The recurrence comes from one integration by parts on the definition; our integration by parts guide shows the technique if that step feels shaky. Students who want a structured run through the whole integral calculus unit can see how sessions with Ajay Vatsyayan work on our online engineering maths tutoring page.

Example 1: gamma values at half-integers and negative arguments

Find Γ(7/2) and Γ(−3/2).

Γ(7/2). Step down with the recurrence until you reach Γ(1/2):

Γ(7/2) = (5/2) Γ(5/2) = (5/2)(3/2) Γ(3/2) = (5/2)(3/2)(1/2) Γ(1/2) = (15/8)√π

Γ(−3/2). The integral does not converge for negative n, but Γ extends using Γ(n) = Γ(n + 1)/n:

Γ(−1/2) = Γ(1/2)/(−1/2) = −2√π

Γ(−3/2) = Γ(−1/2)/(−3/2) = (−2√π)(−2/3) = (4/3)√π

Γ is undefined at 0, −1, −2, …, so an answer like Γ(−2) means the question has been misread.

Example 2: a direct gamma integral

Evaluate ∫₀^∞ x⁴ e^(−3x) dx.

Use the scaled form with n − 1 = 4 (so n = 5) and a = 3:

∫₀^∞ x⁴ e^(−3x) dx = Γ(5)/3⁵ = 4!/243 = 24/243 = 8/81

If you prefer to derive it, put t = 3x, so x = t/3 and dx = dt/3. The integral becomes (1/3⁵)∫₀^∞ t⁴ e^(−t) dt = Γ(5)/243.

Example 3: a substitution to reach gamma form

Evaluate ∫₀^∞ x⁶ e^(−2x²) dx.

Step 1: choose t to make the exponent plain. Let t = 2x². Then x = (t/2)^(1/2) and dx = dt/(2√2 √t). The limits stay 0 to ∞.

Step 2: rewrite every factor. x⁶ = (t/2)³ = t³/8.

∫₀^∞ x⁶ e^(−2x²) dx = ∫₀^∞ (t³/8) e^(−t) × t^(−1/2)/(2√2) dt = (1/(16√2)) ∫₀^∞ t^(5/2) e^(−t) dt

Step 3: identify the gamma. t^(5/2) = t^(n−1) with n = 7/2.

= Γ(7/2)/(16√2) = (15√π/8)/(16√2) = 15√π/(128√2) = 15√(2π)/256 ≈ 0.1468

Most errors in this type come from dx. Differentiate your substitution and write dx in terms of t on its own line before substituting.

Example 4: beta on (0, 1) and in its infinite form

(a) Evaluate ∫₀¹ x³(1 − x)⁵ dx.

Match x^(m−1)(1 − x)^(n−1): m − 1 = 3 and n − 1 = 5, so m = 4 and n = 6.

B(4, 6) = Γ(4)Γ(6)/Γ(10) = (3!)(5!)/9! = (6 × 120)/362880 = 1/504

(b) Evaluate ∫₀^∞ x³/(1 + x)⁷ dx.

Match x^(m−1)/(1 + x)^(m+n): m − 1 = 3 gives m = 4, and m + n = 7 gives n = 3.

B(4, 3) = (3!)(2!)/6! = 12/720 = 1/60

The infinite form is the one students forget exists. If you see a power of x over a power of (1 + x) on (0, ∞), try it before anything else.

Example 5: the trigonometric form

Evaluate ∫₀^(π/2) sin⁵θ cos⁴θ dθ.

Step 1: read off the beta arguments. With p = 5 and q = 4:

m = (p + 1)/2 = 3, n = (q + 1)/2 = 5/2

Step 2: apply the formula, including the half.

∫₀^(π/2) sin⁵θ cos⁴θ dθ = ½ B(3, 5/2) = ½ × Γ(3)Γ(5/2)/Γ(11/2)

Step 3: evaluate the gammas. Γ(3) = 2, Γ(5/2) = (3/4)√π, Γ(11/2) = (9/2)(7/2)(5/2)(3/2)(1/2)√π = (945/32)√π.

= ½ × 2 × (3/4)√π × 32/(945√π) = 24/945 = 8/315

You can check this with Wallis' formula: (4 × 2)(3 × 1)/(9 × 7 × 5 × 3 × 1) = 24/945 = 8/315. The two methods agreeing is a strong check.

Example 6: the reflection formula

Show that ∫₀^∞ dx/(1 + x⁴) = π/(2√2).

Step 1: substitute to reach the infinite beta form. Let t = x⁴, so x = t^(1/4) and dx = (1/4) t^(−3/4) dt.

∫₀^∞ dx/(1 + x⁴) = (1/4) ∫₀^∞ t^(−3/4)/(1 + t) dt

Step 2: identify m and n. t^(m−1) = t^(−3/4) gives m = 1/4, and m + n = 1 gives n = 3/4.

= (1/4) B(1/4, 3/4) = (1/4) Γ(1/4)Γ(3/4)/Γ(1)

Step 3: reflection. Γ(1/4)Γ(3/4) = π/sin(π/4) = π√2.

= (1/4) π√2 = π/(2√2) ≈ 1.1107

The same integral can be done with residues, which is a good cross-check if your course also covers our Cauchy residue theorem worked examples.

Why Γ(1/2) = √π (a short derivation)

Examiners sometimes ask you to prove this rather than quote it.

Put x = u² in the definition: Γ(1/2) = ∫₀^∞ x^(−1/2) e^(−x) dx = ∫₀^∞ (1/u) e^(−u²) × 2u du = 2∫₀^∞ e^(−u²) du.

Now use the beta-gamma relation with m = n = 1/2: B(1/2, 1/2) = Γ(1/2)²/Γ(1) = Γ(1/2)². The trigonometric form gives B(1/2, 1/2) = 2∫₀^(π/2) dθ = π. So Γ(1/2)² = π, and since Γ(1/2) > 0, Γ(1/2) = √π.

As a by-product, ∫₀^∞ e^(−u²) du = √π/2, the integral behind the normal distribution.

Spotting the right form

  1. Power of x times e^(−ax) on (0, ∞): scaled gamma, Example 2.
  2. e^(−a xᵏ) with k ≠ 1: substitute t = a xᵏ first, Example 3.
  3. x and (1 − x) on (0, 1): beta directly. For (a − x) on (0, a), substitute x = at first.
  4. Power of x over (1 + x) to a power on (0, ∞): infinite beta form, Example 4(b).
  5. sin and cos powers on (0, π/2): trigonometric form with the ½, Example 5.
  6. (ln(1/x))ⁿ on (0, 1): put x = e^(−t) to reach Γ(n + 1).
  7. Arguments adding to 1: reflection formula, Example 6.

Where students lose marks

  • Writing Γ(n) = n! It is Γ(n) = (n − 1)!, so Γ(5) = 24, not 120.
  • Dropping the ½ in the trigonometric form. Without it Example 5 would give 16/315.
  • Reading m and n straight from the powers. In beta, the power is m − 1, not m; in the trig form, m = (p + 1)/2.
  • Getting dx wrong after substitution. Write dx in terms of t on its own line.
  • Using a negative or zero argument in the integral definition. The integral needs n > 0; negative non-integers need the recurrence.
  • Forgetting aⁿ in the scaled gamma. ∫₀^∞ x⁴ e^(−3x) dx is Γ(5)/3⁵, not Γ(5).

Practice set

  1. Find Γ(9/2).
  2. Evaluate ∫₀^∞ x⁵ e^(−2x) dx.
  3. Evaluate ∫₀¹ x⁴(1 − x)³ dx.
  4. Evaluate ∫₀^(π/2) sin⁶θ dθ using beta.
  5. Evaluate ∫₀¹ (ln(1/x))³ dx.
  6. Evaluate ∫₀^∞ x²/(1 + x)⁶ dx.

Answers. (1) 105√π/16. (2) Γ(6)/2⁶ = 120/64 = 15/8. (3) B(5, 4) = 1/280. (4) ½B(7/2, 1/2) = 5π/32. (5) Γ(4) = 6. (6) B(3, 3) = 1/30.

Where beta and gamma turn up next

Gamma appears in the Laplace transform result L{tⁿ} = Γ(n + 1)/s^(n+1), which extends the table in our Laplace transforms exam guide to non-integer powers. The value Γ(1/2) = √π is proved with a polar double integral, covered in the double and triple integrals guide. In statistics, the gamma and beta distributions and the normal integral all rest on these functions; the binomial, Poisson and normal distributions guide is the place to start. Gamma also defines Bessel functions in the special functions unit that follows in many syllabi.

How Maths Bodhi helps

We drill the "reduce, identify, evaluate" routine on your own past papers and review your written attempts line by line. The university maths tutoring hub lists the other courses we support.

Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.

Written and checked by the Maths Bodhi team (November 2026).

Frequently asked questions

What is the relation between beta and gamma functions?
B(m, n) = Γ(m)Γ(n)/Γ(m + n) for m, n > 0.
What is the value of Γ(1/2)?
Γ(1/2) = √π, which follows from the integral of e^(−x²) over the real line.
Is Γ(n) equal to n factorial?
No; Γ(n) = (n − 1)! for positive integers, so Γ(n + 1) = n!.
How do you convert a sine-cosine integral into a beta function?
∫₀^(π/2) sin^p θ cos^q θ dθ = ½ B((p + 1)/2, (q + 1)/2).
Is the gamma function defined for negative numbers?
Yes for negative non-integers, using Γ(n) = Γ(n + 1)/n; it is undefined at 0, −1, −2, ….
What is Γ(1)?
Γ(1) = 1, since ∫₀^∞ e^(−x) dx = 1, which also gives 0! = 1.
beta functiongamma functionengineering mathematicsimproper integralsB.Tech maths

Related guides

Keep exploring this maths topic

University Maths25 Nov 2026

Cauchy Residue Theorem: Formula and Worked Examples for Engineering Maths

The Cauchy residue theorem explained through six original worked examples: simple and higher-order poles, a Laurent series residue, rational and trigonometric real integrals, and a Jordan's lemma integral, plus the slips that cost marks.

Cauchy residue theoremcomplex analysiscontour integrationengineering mathematics

By Maths Bodhi Team

Read guide

University Maths2 Nov 2026

How to Clear an Engineering Maths Back Paper (M1, M2 or M3)

A realistic plan for B.Tech students re-taking Engineering Mathematics M1, M2 or M3: confirm your scheme, map past papers, revise unit by unit, and master the high-yield question types through seven worked examples and a practice set with answers.

engineering maths back paperM1 back paperM2 back paperM3 back paper

By Maths Bodhi Team

Read guide

University Maths2 Nov 2026

Laplace Transforms in Engineering Maths: An Exam Guide with Worked Examples

The Laplace transform questions that come up most in B.Tech and first-year engineering maths, the formula table to learn, six worked examples from direct transforms to unit-step initial value problems, the slips that cost marks, and a practice set with answers.

Laplace transformengineering mathematicsM2M3

By Maths Bodhi Team

Read guide

University Maths18 Nov 2026

Fourier Series in Engineering Maths: Coefficients, Square Wave and Half-Range Series

How to find Fourier series coefficients step by step, with five original worked examples (square wave, general period, half-range, harmonic analysis from a table) and the slips that cost marks in B.Tech exams.

Fourier seriesengineering mathematicshalf-range seriesharmonic analysis

By Maths Bodhi Team

Read guide

University Maths25 Nov 2026

Simpson's Rule and the Trapezoidal Rule: Formulas, Error Bounds and Worked Examples

Simpson's 1/3 rule, Simpson's 3/8 rule and the trapezoidal rule worked on the same integrals, with the error formulas, how to choose the number of intervals, a data-table question and practice with checked answers.

Simpson's ruletrapezoidal rulenumerical integrationnumerical methods

By Maths Bodhi Team

Read guide

University Maths25 Nov 2026

Runge-Kutta Method (4th Order): Formula, Worked Examples and Euler vs RK4

The fourth-order Runge-Kutta formula explained with full k₁ to k₄ working, an Euler vs RK4 error table against the exact solution, a nonlinear example, a second-order ODE as a system, and practice with checked answers.

Runge-Kutta methodRK4numerical methodsEuler method

By Maths Bodhi Team

Read guide