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

Exercise 7.2 · Q11: ∫xx+4 dx\int \frac{x}{\sqrt{x+4}}\,dx

Exercise 7.2Integration by substitution · Section 7.3.1
The question

Integrate the function:

xx+4,x>0\frac{x}{\sqrt{x+4}},\quad x > 0
Exam answer

Let I=∫xx+4 dxI = \displaystyle\int\frac{x}{\sqrt{x + 4}}\,dx⁠.

Put x+4=tx + 4 = t⁠. Then dx=dtdx = dt and x=t−4x = t - 4⁠.

I=∫t−4t dt=∫(t1/2−4t−1/2)dt=t3/23/2−4⋅t1/21/2+C=23 t3/2−8 t1/2+C=23 t1/2(t−12)+C\begin{aligned} I &= \int\frac{t - 4}{\sqrt t}\,dt \\ &= \int\left(t^{1/2} - 4t^{-1/2}\right)dt \\ &= \frac{t^{3/2}}{3/2} - 4\cdot\frac{t^{1/2}}{1/2} + C \\ &= \frac23\,t^{3/2} - 8\,t^{1/2} + C \\ &= \frac23\,t^{1/2}(t - 12) + C \end{aligned}

∴ I=23x+4 (x−8)+C\therefore\ I = \dfrac23\sqrt{x + 4}\,(x - 8) + C⁠.

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

The one idea this problem is built on

Name the inside of the root t=x+4t = x+4 and write the numerator in terms of tt too: x=t−4x = t-4⁠. Then t−4t=t1/2−4t−1/2\frac{t-4}{\sqrt t} = t^{1/2} - 4t^{-1/2}⁠, two powers that integrate at once. Taking out a common factor at the end gives the neat form 23x+4 (x−8)\frac23\sqrt{x+4}\,(x-8)⁠.

Given, to find, and the plan
Given
f(x)=xx+4f(x) = \dfrac{x}{\sqrt{x+4}} for x>0x > 0⁠. (The formula itself makes sense whenever x+4>0x + 4 > 0⁠, that is x>−4x > -4⁠; the question restricts attention to x>0x > 0⁠.)
To find
∫xx+4 dx\displaystyle\int\frac{x}{\sqrt{x+4}}\,dx⁠.
Plan
(1) Substitute t=x+4t = x+4⁠, x=t−4x = t-4⁠, dx=dtdx = dt⁠. (2) Split into powers of tt⁠. (3) Integrate. (4) Return to xx and factor. (5) Differentiate to check.

Basics you need

1Substitution, including the leftover xx

With t=x+4t = x+4⁠, every xx must be replaced: x=t−4x = t-4 and dx=dtdx = dt⁠. Basics: substitution

2Negative and fractional powers

1t=t−1/2\frac{1}{\sqrt t} = t^{-1/2} and tt=t1/2\frac{t}{\sqrt t} = t^{1/2} for t>0t > 0⁠. Basics: powers of x

3Power formula and linearity

∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + C⁠, n≠−1n \ne -1 (standard formula (i), Section 7.2); Property (V), Section 7.2.1. Basics: splitting fractions

Solution

  1. Substitute t=x+4t = x+4

    t=x+4,x=t−4,dx=dt.\begin{aligned} t &= x + 4, \\ x &= t - 4, \\ dx &= dt. \end{aligned}

    Therefore

    ∫xx+4 dx=∫t−4t dt.\int\frac{x}{\sqrt{x+4}}\,dx = \int\frac{t-4}{\sqrt t}\,dt.
    The root is the awkward part, so we name its inside. The numerator xx is not the derivative of x+4x+4 (that is 11⁠), so instead we express it through tt⁠. For x>0x > 0⁠, t>4t > 4⁠, so t\sqrt t is defined and non-zero.
    Substitution, Section 7.3.1. Lesson: integration by substitution
  2. Split into powers of tt

    t−4t=tt1/2−4t1/2=t1/2−4t−1/2.\frac{t-4}{\sqrt t} = \frac{t}{t^{1/2}} - \frac{4}{t^{1/2}} = t^{1/2} - 4t^{-1/2}.
    A fraction whose denominator is a single term splits over the terms of its numerator. Each piece is then a single power of tt⁠.
    a−bc=ac−bc\frac{a-b}{c} = \frac ac - \frac bc⁠; tmtk=tm−k\frac{t^m}{t^k} = t^{m-k}⁠. Basics: splitting fractions
  3. Integrate term by term

    ∫(t1/2−4t−1/2)dt=t3/23/2−4⋅t1/21/2+C=23 t3/2−8 t1/2+C.\begin{aligned} \int\left(t^{1/2} - 4t^{-1/2}\right)dt &= \frac{t^{3/2}}{3/2} - 4\cdot\frac{t^{1/2}}{1/2} + C \\ &= \frac23\,t^{3/2} - 8\,t^{1/2} + C. \end{aligned}
    Power formula with n=12n = \frac12 (new power 32\frac32⁠) and with n=−12n = -\frac12 (new power 12\frac12⁠); neither is −1-1⁠, so the formula applies. Dividing by 12\frac12 doubles: 4⋅2=84\cdot 2 = 8⁠.
    Standard formula (i), Section 7.2; Property (V), Section 7.2.1.
  4. Return to xx and factor

    Take out the common factor 23t1/2\frac23 t^{1/2}⁠, using t3/2=t⋅t1/2t^{3/2} = t\cdot t^{1/2} and 8=23⋅128 = \frac23\cdot 12⁠:

    23 t3/2−8 t1/2=23 t1/2 (t−12)=23x+4 (x+4−12)=23x+4 (x−8).\begin{aligned} \frac23\,t^{3/2} - 8\,t^{1/2} &= \frac23\,t^{1/2}\,(t - 12) \\ &= \frac23\sqrt{x+4}\,(x + 4 - 12) \\ &= \frac23\sqrt{x+4}\,(x - 8). \end{aligned}
    Factoring is not required, but it gives the compact form printed in the answer key and makes the derivative check easier to read.
  5. Check: differentiate the answer

    Let F(x)=23x+4 (x−8)F(x) = \frac23\sqrt{x+4}\,(x-8)⁠. Product rule with u=x+4u = \sqrt{x+4} (u′=12x+4u' = \frac{1}{2\sqrt{x+4}}⁠) and v=x−8v = x - 8 (v′=1v' = 1⁠):

    F′(x)=23[x−82x+4+x+4]=23⋅(x−8)+2(x+4)2x+4=23⋅3x2x+4=xx+4.\begin{aligned} F'(x) &= \frac23\left[\frac{x-8}{2\sqrt{x+4}} + \sqrt{x+4}\right] \\ &= \frac23\cdot\frac{(x-8) + 2(x+4)}{2\sqrt{x+4}} \\ &= \frac23\cdot\frac{3x}{2\sqrt{x+4}} \\ &= \frac{x}{\sqrt{x+4}}. \end{aligned}

    We are back at the integrand.

    In the second line both terms are put over the common denominator 2x+42\sqrt{x+4} (multiply x+4\sqrt{x+4} by 2x+42x+4\frac{2\sqrt{x+4}}{2\sqrt{x+4}}⁠). The numerator collapses to 3x3x⁠, and 23⋅32=1\frac23\cdot\frac32 = 1⁠.
    Product rule and chain rule, Chapter 5 (Section 5.3 and Theorem 4). Basics: integration undoes differentiation
Result

For x>0x > 0 (in fact for every x>−4x > -4⁠),

∫xx+4 dx=23x+4 (x−8)+C.\int\frac{x}{\sqrt{x+4}}\,dx = \frac23\sqrt{x+4}\,(x - 8) + C.

(Textbook answer: 23x+4 (x−8)+C\frac23\sqrt{x+4}\,(x-8) + C⁠.) Unfactored, the same answer is 23(x+4)3/2−8x+4+C\frac23(x+4)^{3/2} - 8\sqrt{x+4} + C⁠.

Check it with numbers

At x=5x = 5 the integrand is 59=53≈1.666667\frac{5}{\sqrt9} = \frac53 \approx 1.666667⁠. With h=0.0001h = 0.0001⁠:

F(5.0001)≈−5.9998333321,F(4.9999)≈−6.0001666655,F(5.0001)−F(4.9999)0.0002≈1.666667.\begin{aligned} F(5.0001) &\approx -5.9998333321, \\ F(4.9999) &\approx -6.0001666655, \\ \frac{F(5.0001)-F(4.9999)}{0.0002} &\approx 1.666667. \end{aligned}

The slope of FF equals the integrand. (The answer itself is negative near x=5x = 5⁠; that is fine, since only its slope has to match.)

Common mistakes
  1. Treating xx as the derivative of x+4x+4⁠. The derivative of x+4x+4 is 11⁠, so x dxx\,dx is not dtdt⁠. Replace xx by t−4t-4⁠.
  2. Sign error with the negative power. ∫t−1/2 dt=2t1/2\int t^{-1/2}\,dt = 2t^{1/2}⁠, not −2t−3/2-2t^{-3/2} (that would be differentiating).
  3. Factoring wrongly. 23t3/2−8t1/2=23t1/2(t−12)\frac23 t^{3/2} - 8t^{1/2} = \frac23 t^{1/2}(t - 12)⁠; check by expanding.
What to take away
  1. With a linear inside, write every xx through tt and split into powers.
  2. Factoring the final answer often matches the textbook's form; expand to confirm the two forms are equal.

Every fact used, and where it comes from

FactUsed inSource
Substitution t=x+4t = x+4Step 1Section 7.3.1 (Lesson: substitution)
a−bc=ac−bc\frac{a-b}{c} = \frac ac - \frac bc⁠; laws of exponentsSteps 2, 4Algebra (Basics)
∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + C⁠, n≠−1n \ne -1Step 3Standard formula (i), Section 7.2
Integral of a sum and of a constant multipleStep 3Property (V), Section 7.2.1
Product rule; chain ruleStep 5Chapter 5, Section 5.3 and Theorem 4
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 →