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

Miscellaneous · Q28: ∫01dx1+x−x\int_0^1\frac{dx}{\sqrt{1+x}-\sqrt{x}}

Miscellaneous ExerciseDefinite integrals, rationalising · Miscellaneous Exercise
The question

Evaluate the definite integral

∫01dx1+x−x\int_0^1 \frac{dx}{\sqrt{1+x} - \sqrt{x}}
Exam answer

Let I=∫01dx1+x−xI = \displaystyle\int_0^1\frac{dx}{\sqrt{1 + x} - \sqrt x}⁠.

Multiplying numerator and denominator by 1+x+x\sqrt{1 + x} + \sqrt x⁠,

I=∫011+x+x(1+x)−x dx=∫01(1+x+x)dx=23[(1+x)3/2+x3/2]01=23[(23/2+1)−(1+0)]=23⋅22\begin{aligned} I &= \int_0^1\frac{\sqrt{1 + x} + \sqrt x}{(1 + x) - x}\,dx \\ &= \int_0^1\left(\sqrt{1 + x} + \sqrt x\right)dx \\ &= \frac23\Big[(1 + x)^{3/2} + x^{3/2}\Big]_0^1 \\ &= \frac23\left[\left(2^{3/2} + 1\right) - (1 + 0)\right] \\ &= \frac23\cdot 2\sqrt2 \end{aligned}

∴ I=423\therefore\ I = \dfrac{4\sqrt2}{3}⁠.

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

The one idea this problem is built on

A difference of two square roots in a denominator is removed by multiplying by its conjugate, the sum of the same roots. Here the result is spectacular: (1+x−x)(1+x+x)=(1+x)−x=1(\sqrt{1+x} - \sqrt{x})(\sqrt{1+x} + \sqrt{x}) = (1+x) - x = 1⁠. So the awkward fraction is simply 1+x+x\sqrt{1+x} + \sqrt{x}⁠, two powers that the power rule integrates at once.

Given, to find, and the plan
Given
I=∫01dx1+x−xI = \displaystyle\int_0^1 \frac{dx}{\sqrt{1+x} - \sqrt{x}}⁠.
To find
The exact value of II⁠, and a decimal.
Plan
(1) Check the integrand is defined and continuous on [0,1][0, 1]⁠. (2) Rationalise the denominator. (3) Find an antiderivative with the power rule. (4) Check it by differentiating. (5) Apply Theorem 2 and simplify.

Basics you need

1Difference of squares

(p−q)(p+q)=p2−q2(p - q)(p + q) = p^2 - q^2⁠. With p=1+xp = \sqrt{1+x}⁠, q=xq = \sqrt{x} this is (1+x)−x=1(1+x) - x = 1⁠. Basics: splitting fractions

2The power rule for integrals

∫xn dx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C for n≠−1n \ne -1 (standard formula (i), Section 7.2). With n=12n = \frac12⁠: ∫x dx=23x3/2+C\int\sqrt{x}\,dx = \frac23 x^{3/2} + C⁠. Basics: powers of x and the power rule

3A shift inside a power

∫(1+x)n dx=(1+x)n+1n+1+C\int (1+x)^n\,dx = \frac{(1+x)^{n+1}}{n+1} + C⁠: put u=1+xu = 1 + x⁠, du=dxdu = dx⁠. Basics: substitution

4Second fundamental theorem

If ff is continuous on [a,b][a, b] and F′=fF' = f⁠, then ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a) (Theorem 2, Section 7.8.3). Lesson: definite integrals

Solution

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

    Both roots are defined for x≥0x \ge 0⁠. Since 1+x>x≥01 + x > x \ge 0 and the square root is increasing,

    1+x>xfor every x≥0,\sqrt{1+x} > \sqrt{x} \quad\text{for every } x \ge 0 ,

    so the denominator 1+x−x\sqrt{1+x} - \sqrt{x} is always positive and never zero. Hence the integrand is continuous on [0,1][0, 1] (at x=0x = 0 from the right, which is all a closed interval needs).

    Theorem 2 needs continuity on the closed interval. A difference in a denominator could vanish, so we must rule that out before doing anything else. Here it cannot: a larger number has a larger square root.
    If 0≤q<p0 \le q < p then q<p\sqrt{q} < \sqrt{p}⁠. Lesson: definite integrals and the fundamental theorem
  2. Rationalise: multiply by the conjugate

    Multiply the numerator and the denominator by 1+x+x\sqrt{1+x} + \sqrt{x}⁠, which is positive:

    11+x−x=1+x+x(1+x)2−(x)2=1+x+x(1+x)−x=1+x+x.\begin{aligned} \frac{1}{\sqrt{1+x} - \sqrt{x}} &= \frac{\sqrt{1+x} + \sqrt{x}}{(\sqrt{1+x})^2 - (\sqrt{x})^2} \\ &= \frac{\sqrt{1+x} + \sqrt{x}}{(1+x) - x} \\ &= \sqrt{1+x} + \sqrt{x} . \end{aligned}
    Multiplying top and bottom by the same non-zero number leaves a fraction unchanged. We pick the conjugate because the difference of squares makes both square roots disappear from the denominator. Here even the xx disappears, leaving 1. That is why the method fits this question so well: no fraction is left at all.
    (p−q)(p+q)=p2−q2(p - q)(p + q) = p^2 - q^2⁠, and (a)2=a(\sqrt{a})^2 = a for a≥0a \ge 0⁠. Basics: splitting fractions
  3. Find an antiderivative with the power rule

    ∫(1+x+x) dx=∫(1+x)1/2 dx+∫x1/2 dx=23(1+x)3/2+23x3/2+C.\begin{aligned} &\int\big(\sqrt{1+x} + \sqrt{x}\big)\,dx \\ &= \int (1+x)^{1/2}\,dx + \int x^{1/2}\,dx \\ &= \tfrac23(1+x)^{3/2} + \tfrac23 x^{3/2} + C . \end{aligned}

    Call F(x)=23(1+x)3/2+23x3/2F(x) = \frac23(1+x)^{3/2} + \frac23 x^{3/2}⁠.

    The integral of a sum is the sum of the integrals (Section 7.2.1). Each term is a power with n=12n = \frac12⁠: raise the power by 1 to 32\frac32 and divide by the new power 32\frac32⁠, that is, multiply by 23\frac23⁠. For (1+x)1/2(1+x)^{1/2} the substitution u=1+xu = 1 + x has du=dxdu = dx⁠, so the shift changes nothing in the rule.
    Standard formula (i), Section 7.2, with n=12n = \frac12⁠. Basics: powers of x and the power rule
  4. Check: differentiate FF back

    F′(x)=23⋅32(1+x)1/2+23⋅32x1/2=1+x+x.\begin{aligned} F'(x) &= \tfrac23\cdot\tfrac32(1+x)^{1/2} + \tfrac23\cdot\tfrac32 x^{1/2} \\ &= \sqrt{1+x} + \sqrt{x} . \end{aligned}

    This is the rationalised integrand, which equals the original one by Step 2 ✓. It holds for every x≥0x \ge 0⁠.

    Differentiating the answer back confirms both the power rule and the factor 23\frac23⁠. The chain rule factor from 1+x1 + x is ddx(1+x)=1\frac{d}{dx}(1+x) = 1⁠.
  5. Apply Theorem 2 and simplify

    F(1)F(1) =23⋅23/2+23⋅1= \frac23\cdot 2^{3/2} + \frac23\cdot 1 =23⋅22+23= \frac23\cdot 2\sqrt2 + \frac23 =42+23= \frac{4\sqrt2 + 2}{3}⁠.

    F(0)=23⋅13/2+23⋅0=23F(0) = \frac23\cdot 1^{3/2} + \frac23\cdot 0 = \frac23⁠.

    I=F(1)−F(0)=42+23−23=423.\begin{aligned} I &= F(1) - F(0) \\ &= \frac{4\sqrt2 + 2}{3} - \frac23 = \frac{4\sqrt2}{3} . \end{aligned}

    As a decimal, I≈1.885618I \approx 1.885618⁠.

    23/2=2⋅21/2=222^{3/2} = 2\cdot 2^{1/2} = 2\sqrt2⁠. The two 23\frac23 terms cancel: one comes from (1+x)3/2(1+x)^{3/2} at x=0x = 0⁠, the other from x3/2x^{3/2} at x=1x = 1⁠. Size check: by Step 2 the integrand rises from 1+0=11 + 0 = 1 at x=0x = 0 to 2+1≈2.414\sqrt2 + 1 \approx 2.414 at x=1x = 1⁠, so the integral over an interval of length 1 must lie between 1 and 2.414. It does.
    Theorem 2, Section 7.8.3. Lesson: definite integrals
Result

∫01dx1+x−x=423≈1.885618\begin{aligned} \int_0^1 \frac{dx}{\sqrt{1+x} - \sqrt{x}} &= \frac{4\sqrt2}{3} \\ &\approx 1.885618 \end{aligned} (Textbook answer: 423\frac{4\sqrt2}{3}⁠.)

Check it with numbers

Numerical integration (adaptive quadrature) of the original integrand over [0,1][0, 1] gives 1.8856180832, and 423\frac{4\sqrt2}{3} ≈4×1.41421356243\approx \frac{4 \times 1.4142135624}{3} =1.8856180832= 1.8856180832 ✓.

Rationalising at x=0.25x = 0.25⁠: 11.25−0.5\frac{1}{\sqrt{1.25} - 0.5} ≈10.6180340\approx \frac{1}{0.6180340} ≈1.6180340\approx 1.6180340⁠, and 1.25+0.25\sqrt{1.25} + \sqrt{0.25} ≈1.1180340+0.5\approx 1.1180340 + 0.5 =1.6180340= 1.6180340 ✓.

Common mistakes
  1. Splitting the fraction as 11+x−1x\frac{1}{\sqrt{1+x}} - \frac{1}{\sqrt{x}}⁠. A fraction cannot be split over a difference in its denominator.
  2. Multiplying only the denominator by the conjugate. Top and bottom must both be multiplied, or the value changes.
  3. Dropping F(0)F(0) because x3/2=0x^{3/2} = 0 there. The other term, 23(1+x)3/2\frac23(1+x)^{3/2}⁠, is 23\frac23 at x=0x = 0⁠, not 0.
What to take away
  1. A denominator A−B\sqrt{A} - \sqrt{B} becomes A−BA - B after multiplying by A+B\sqrt{A} + \sqrt{B}⁠. When A−BA - B is a constant, the fraction disappears.
  2. Always evaluate every term of FF at both limits; a term that vanishes at one limit may not vanish at the other.

Every fact used, and where it comes from

FactUsed inSource
A definite integral needs ff continuous on [a,b][a, b]Step 1Theorem 2 and Remark (iv), Section 7.8.3
(p−q)(p+q)=p2−q2(p - q)(p + q) = p^2 - q^2Step 2Algebraic identities (earlier classes)
∫(f+g)=∫f+∫g\int(f + g) = \int f + \int gStep 3Property (III), Section 7.2.1
∫xn dx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C⁠, n≠−1n \ne -1Step 3Standard formula (i), Section 7.2
F(b)−F(a)F(b) - F(a)Step 5Theorem 2, Section 7.8.3 (Lesson: definite integrals)
All decimalsStep 5, CheckRecomputed (mpmath quadrature, 30 digits) in the site's verification script
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 →