Wallis Integrals Explained with Worked Examples

The Wallis integrals are .

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:

What Wallis integrals means

Using the reduction formula , the integrals are products of fractions: for even , ; for odd , .

The gamma function form covers all real .

The values lead to Wallis’s product for . The recurrence is the reduction formula for sin to the power n, the closed form is the beta function, and it is linked to the gamma function.

This page is part of Integration in Calculus. Topics that work alongside it: Reduction formula for ∫ sinⁿx on [0, π/2], Gamma function, Beta function, Fundamental theorem of calculus (part 1), Integral of sin² x and Gaussian integral.

What is it used for?

Wallis integrals are the integrals of sinⁿx and cosⁿx over [0, π/2]. They follow a simple pattern and lead to Wallis’ product for π.

How to use wallis integrals

  1. Use the reduction formula down to or .
  2. Multiply the fractions.
  3. For even , include the factor .
  4. Simplify.

Graph

Powers of sine on [0, π/2]00.20.40.60.811.21.41.600.20.40.60.811.2Powers of sine on [0, π/2]xysin² xsin⁴ xsin⁶ xGraph with x from 0 to 1.6 and y from -0.1 to 1.2. Shows the curve sin² x; the curve sin⁴ x; the curve sin⁶ x.

The areas under these curves are π/4, 3π/16 and 5π/32. Higher powers give smaller areas.

Worked examples

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

Example 1: n = 4

Find .

Worked example
Answer
3π16\dfrac{3\pi}{16}
  1. Apply the formula
  2. Calculate

Example 2: n = 3

Find .

Worked example
Answer
23\dfrac23
  1. Apply the formula
  2. Calculate

Example 3: cos⁵ x

Find .

Worked example
Answer
815\dfrac{8}{15}
  1. Use the pattern for odd powers
  2. Evaluate

Special cases

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

n = 2

π/4

0.7854.

n = 3

2/3

0.6667.

n = 4

3π/16

0.5890.

n = 5

8/15

0.5333.

Word problems

∫₀^(π/2) sinⁿx dx = ∫₀^(π/2) cosⁿx dx = √π Γ((n + 1)/2)/(2Γ(n/2 + 1)). Even n: (n − 1)!!/n!! × π/2; odd n: (n − 1)!!/n!!.

n = 2

Find ½ × π/2.

  1. π/4
  2. Check: ✓0.7854

n = 3

Find 2/3.

  1. 2/3
  2. Check: ✓0.6667

n = 4 Higher

Find (3/4)(1/2)(π/2).

  1. 3π/16
  2. Check: ✓0.589

n = 5 Higher

Find (4/5)(2/3).

  1. 8/15
  2. Check: ✓0.5333

Common mistakes

sin and cos differ

different values ✗

equal on [0, π/2] ✓

Symmetry.

π/2 for odd n

wrong ✗

odd n gives no π ✓

Rational.

Wrong chain

step 1 ✗

step 2 ✓

n → n − 2.

n = 0

0 ✗

π/2 ✓

Base.

Exam tips

  1. Even n: includes π/2.
  2. Odd n: rational.
  3. Step of 2.
  4. sin = cos integrals.
  5. Γ form for general n.

Practice questions

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

1. n = 6 to 4 d.p. Foundation

0.4909

2. n = 7 to 4 d.p. Foundation

0.4571

3. n = 8 to 4 d.p. Foundation

0.4295

4. n = 1 Higher

1

5. n = 0 to 4 d.p. Higher

1.5708

6. n = 9 to 4 d.p. Higher

0.4063

Practice generator

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

Solve: …

Key terms

Wallis integrals
∫sinⁿ over [0, π/2].
Double factorial
n!!
Reduction formula
Iₙ = ((n−1)/n)Iₙ₋₂.
Gamma function
Γ.
Symmetry
sin ↔ cos.
Wallis product
For π.

Frequently asked questions

What are Wallis integrals?

∫₀^(π/2) sinⁿx dx.

What is the value for n = 2?

π/4.

Do sine and cosine give the same value?

Yes.

How do I compute odd n?

Use the chain (n − 1)/n × (n − 3)/(n − 2) × …

Which page covers the gamma function?

gamma function.

Which page covers the beta function?

beta function.

More in Calculus and the formula sheets.