Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Exercise 7.10 · Q7: ∫01x(1−x)n dx\int_0^1x(1-x)^n\,dx

Exercise 7.10Properties of definite integrals (P4) · Section 7.10
The question

By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19.

7. ∫01x(1−x)n dx\displaystyle\int_0^1 x(1 - x)^n\,dx

Exam answer Let I=∫01x(1−x)n dx\text{Let } I = \int_0^1 x(1 - x)^n\,dx

Using ∫0af(x) dx=∫0af(a−x) dx\displaystyle\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx⁠,

I=∫01(1−x)(1−(1−x))n dx=∫01(1−x) xn dx=∫01(xn−xn+1)dx=[xn+1n+1−xn+2n+2]01=1n+1−1n+2\begin{aligned} I &= \int_0^1 (1 - x)\big(1 - (1 - x)\big)^n\,dx \\ &= \int_0^1 (1 - x)\,x^n\,dx \\ &= \int_0^1\left(x^n - x^{n+1}\right)dx \\ &= \left[\frac{x^{n+1}}{n + 1} - \frac{x^{n+2}}{n + 2}\right]_0^1 \\ &= \frac{1}{n + 1} - \frac{1}{n + 2} \end{aligned}

∴ I=1(n+1)(n+2)\therefore\ I = \dfrac{1}{(n + 1)(n + 2)} (for n≥0n \ge 0⁠).

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The power nn sits on (1−x)(1 - x)⁠, which would need a binomial expansion with n+1n + 1 terms. Property P4 with a=1a = 1 replaces xx by 1−x1 - x⁠: the factor xx becomes 1−x1 - x and (1−x)n(1 - x)^n becomes xnx^n⁠. Now the power is on xx alone, and (1−x)xn=xn−xn+1(1 - x)x^n = x^n - x^{n+1} integrates by the power rule in one line.

Given, to find, and the plan
Given
I=∫01x(1−x)n dxI = \int_0^1 x(1 - x)^n\,dx⁠, where nn is a constant. The book does not say more; we take n≥0n \ge 0 (for example a whole number), the usual reading (Step 1 says what happens for −1<n<0-1 < n < 0⁠).
To find
II as a formula in nn⁠.
Plan
Check continuity; apply P4 with a=1a = 1⁠; expand the new integrand into two powers of xx⁠; integrate with the power rule; simplify; test small values of nn⁠.

Basics you need

1Property P4 (Section 7.10)

∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx⁠. Lesson: properties of definite integrals

2Power rule

∫xm dx=xm+1m+1+C\int x^m\,dx = \frac{x^{m+1}}{m+1} + C for m≠−1m \ne -1 (standard formula (i), Section 7.2). Basics: powers of x

3Laws of indices

x⋅xn=xn+1x \cdot x^n = x^{n+1}⁠. Basics: powers of x

4Subtracting fractions

1p−1q=q−ppq\frac{1}{p} - \frac{1}{q} = \frac{q - p}{pq}⁠. Basics: splitting fractions

Solution

  1. The integrand is continuous on [0,1][0, 1]

    For 0≤x≤10 \le x \le 1⁠, 1−x≥01 - x \ge 0⁠, so (1−x)n(1 - x)^n is defined and continuous for every n≥0n \ge 0 (when nn is a whole number, x(1−x)nx(1 - x)^n is simply a polynomial). Label

    I=∫01x(1−x)n dx(1)I = \int_0^1 x(1 - x)^n\,dx \qquad (1)
    P4 and Theorem 2 are used for functions continuous on the closed interval. If nn were negative, (1−x)n(1 - x)^n would blow up at x=1x = 1⁠; for −1<n<0-1 < n < 0 the integral still converges (as an improper integral) and the final formula still holds, but that is beyond what the question intends.
    A power unu^n with n≥0n \ge 0 is continuous for u≥0u \ge 0⁠. Basics: powers of x
  2. Apply P4 with a=1a = 1

    Here f(x)=x(1−x)nf(x) = x(1 - x)^n⁠. Replace every xx by 1−x1 - x⁠:

    f(1−x)=(1−x)(1−(1−x))n=(1−x) xn.\begin{aligned}f(1 - x) &= (1 - x)\big(1 - (1 - x)\big)^n \\ &= (1 - x)\,x^n .\end{aligned}

    So, by P4,

    I=∫01(1−x) xn dx(2)I = \int_0^1 (1 - x)\,x^n\,dx \qquad (2)
    P4 holds for every continuous function on [0,a][0, a] (Step 1). It is useful here because 1−(1−x)=x1 - (1 - x) = x⁠: the awkward power moves from (1−x)(1 - x) onto xx⁠, where the power rule can deal with it directly.
    P4, Section 7.10. The inner bracket: 1−(1−x)=1−1+x=x1 - (1 - x) = 1 - 1 + x = x⁠. Lesson: properties of definite integrals
  3. Expand into powers of xx

    (1−x) xn=xn−x⋅xn=xn−xn+1.(1 - x)\,x^n = x^n - x \cdot x^n = x^n - x^{n+1} .

    So

    I=∫01(xn−xn+1)dx.I = \int_0^1\left(x^n - x^{n+1}\right)dx .
    The power rule handles one power of xx at a time, so we write the integrand as a difference of two single powers.
    x⋅xn=x1+nx \cdot x^n = x^{1 + n} (add the indices). Basics: powers of x
  4. Integrate with the power rule

    I=[xn+1n+1−xn+2n+2]01=(1n+1−1n+2)−(0−0).\begin{aligned}I &= \left[\frac{x^{n+1}}{n+1} - \frac{x^{n+2}}{n+2}\right]_0^1 \\ &= \left(\frac{1}{n+1} - \frac{1}{n+2}\right) - (0 - 0) .\end{aligned}
    The power rule needs the index not equal to −1-1⁠: here the indices are nn and n+1n + 1⁠, and with n≥0n \ge 0 neither is −1-1⁠. At the upper limit, 11 to any power is 1. At the lower limit, 0n+1=00^{n+1} = 0 and 0n+2=00^{n+2} = 0 because n+1>0n + 1 > 0⁠.
    ∫xm dx=xm+1m+1+C\int x^m\,dx = \frac{x^{m+1}}{m+1} + C⁠, m≠−1m \ne -1 (standard formula (i), Section 7.2); Theorem 2, Section 7.8.3. Lesson: the fundamental theorem
  5. Simplify

    I=(n+2)−(n+1)(n+1)(n+2)=1(n+1)(n+2).\begin{aligned}I &= \frac{(n + 2) - (n + 1)}{(n + 1)(n + 2)} \\ &= \frac{1}{(n + 1)(n + 2)} .\end{aligned}
    Put both fractions over the common denominator (n+1)(n+2)(n + 1)(n + 2)⁠; the numerators differ by exactly 1. The answer is positive, as it should be: the integrand is ≥0\ge 0 on [0,1][0, 1]⁠.
    1p−1q=q−ppq\frac{1}{p} - \frac{1}{q} = \frac{q - p}{pq} with p=n+1p = n + 1⁠, q=n+2q = n + 2⁠. Basics: splitting fractions
  6. Test small values of nn⁠, and the picture

    n=0n = 0⁠: ∫01x dx=12\int_0^1 x\,dx = \frac12⁠, and the formula gives 11⋅2=12\frac{1}{1 \cdot 2} = \frac12⁠.

    n=1n = 1⁠: ∫01(x−x2) dx=12−13=16\int_0^1 (x - x^2)\,dx = \frac12 - \frac13 = \frac16⁠, and the formula gives 12⋅3=16\frac{1}{2 \cdot 3} = \frac16⁠.

    n=3n = 3 the long way: x(1−x)3=x−3x2+3x3−x4x(1 - x)^3 = x - 3x^2 + 3x^3 - x^4⁠, so

    ∫01x(1−x)3 dx=12−1+34−15=120,\int_0^1 x(1 - x)^3\,dx = \tfrac12 - 1 + \tfrac34 - \tfrac15 = \tfrac{1}{20},

    and the formula gives 14⋅5=120=0.05\frac{1}{4 \cdot 5} = \frac{1}{20} = 0.05⁠.

    x y 1/2 1 0.05 0.1 x = 1/2 y = x(1 − x)³ dashed: y = (1 − x)x³ area I
    For n=3n = 3⁠: the blue curve y=x(1−x)3y = x(1 - x)^3 and the dashed gold curve y=(1−x)x3y = (1 - x)x^3 are mirror images in the line x=12x = \frac12⁠, so they enclose the same area, 120\frac{1}{20}⁠. P4 replaces the blue curve by the gold one, which is easier to integrate.
    Small cases computed without P4 must agree with the general formula; they do. The n=3n = 3 case shows the work P4 saves: the binomial expansion of (1−x)n(1 - x)^n has n+1n + 1 terms, while form (2) always has just two.
    P4 as a picture: replacing xx by a−xa - x reflects the graph in x=a2x = \frac{a}{2}⁠. Basics: symmetry and mirror images
Result

∫01x(1−x)n dx=1(n+1)(n+2)\int_0^1 x(1 - x)^n\,dx = \frac{1}{(n + 1)(n + 2)} for every n≥0n \ge 0 (Textbook answer: 1(n+1)(n+2)\frac{1}{(n+1)(n+2)}⁠. Ours is the same.)

Check it with numbers

Numerical integration gives, for n=2n = 2⁠, 0.0833333, and 13⋅4=112≈0.0833333\frac{1}{3 \cdot 4} = \frac{1}{12} \approx 0.0833333⁠; for n=3n = 3⁠, 0.0500000, and 120=0.05\frac{1}{20} = 0.05⁠; for n=2.5n = 2.5 (a non-whole power), 0.0634921, and 13.5×4.5=115.75≈0.0634921\frac{1}{3.5 \times 4.5} = \frac{1}{15.75} \approx 0.0634921⁠.

Common mistakes
  1. Replacing only one of the two xx's. P4 changes every xx⁠: both the factor xx and the xx inside (1−x)n(1 - x)^n⁠.
  2. Writing 1−(1−x)=1−x1 - (1 - x) = 1 - x⁠. The bracket opens to 1−1+x=x1 - 1 + x = x⁠.
  3. Forgetting that x⋅xn=xn+1x \cdot x^n = x^{n+1}, and so integrating xn+1x^{n+1} to xn+1n+1\frac{x^{n+1}}{n+1} instead of xn+2n+2\frac{x^{n+2}}{n+2}⁠.
What to take away
  1. On [0,1][0, 1]⁠, P4 swaps xx and 1−x1 - x⁠: use it to move a power from (1−x)(1 - x) onto xx⁠.
  2. ∫01x(1−x)n dx=1n+1−1n+2\int_0^1 x(1 - x)^n\,dx = \frac{1}{n+1} - \frac{1}{n+2}⁠: a two-term answer instead of an (n+1)(n + 1)-term expansion.
  3. Test a general formula at small values of the parameter.

Every fact used, and where it comes from

FactUsed inSource
unu^n continuous for u≥0u \ge 0⁠, n≥0n \ge 0Step 1Powers (Basics)
P4: ∫0af(x) dx=∫0af(a−x) dx\int_0^a f(x)\,dx = \int_0^a f(a - x)\,dxStep 2Section 7.10 (Lesson)
x⋅xn=xn+1x \cdot x^n = x^{n+1}Step 3Laws of indices (Basics)
∫xm dx=xm+1m+1+C\int x^m\,dx = \frac{x^{m+1}}{m+1} + C⁠, m≠−1m \ne -1Steps 4 and 6Standard formula (i), Section 7.2
∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)Steps 4 and 6Theorem 2, Section 7.8.3 (Lesson)
1p−1q=q−ppq\frac1p - \frac1q = \frac{q - p}{pq}Step 5Fractions (Basics)
(1−x)3=1−3x+3x2−x3(1 - x)^3 = 1 - 3x + 3x^2 - x^3Step 6Binomial expansion
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →