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

Example 2: ∫x3−1x2 dx\int \frac{x^3 - 1}{x^2}\,dx⁠, ∫(x2/3+1) dx\int (x^{2/3} + 1)\,dx⁠, ∫(x3/2+2ex−1x) dx\int (x^{3/2} + 2e^x - \frac1x)\,dx

ExamplesProperties of indefinite integrals · Section 7.2.1
The question

Find the following integrals:

(i) ∫x3−1x2 dx\displaystyle\int \frac{x^3 - 1}{x^2}\,dx    (ii) ∫(x23+1)dx\displaystyle\int \left(x^{\frac23} + 1\right)dx    (iii) ∫(x32+2ex−1x)dx\displaystyle\int \left(x^{\frac32} + 2e^x - \frac1x\right)dx

Exam answer

(i) Let I=∫x3−1x2 dxI = \displaystyle\int\frac{x^3 - 1}{x^2}\,dx⁠.

I=∫x dx−∫x−2 dx=x22−x−1−1+C\begin{aligned} I &= \int x\,dx - \int x^{-2}\,dx \\ &= \frac{x^2}{2} - \frac{x^{-1}}{-1} + C \end{aligned}

∴ I=x22+1x+C\therefore\ I = \frac{x^2}{2} + \frac1x + C⁠.

(ii) Let I=∫(x23+1)dxI = \displaystyle\int\left(x^{\frac23} + 1\right)dx⁠.

I=∫x23 dx+∫dx=x5353+x+C\begin{aligned} I &= \int x^{\frac23}\,dx + \int dx \\ &= \frac{x^{\frac53}}{\frac53} + x + C \end{aligned}

∴ I=35 x53+x+C\therefore\ I = \frac35\,x^{\frac53} + x + C⁠.

(iii) Let I=∫(x32+2ex−1x)dxI = \displaystyle\int\left(x^{\frac32} + 2e^x - \frac1x\right)dx⁠.

I=∫x32 dx+2∫ex dx−∫dxx=x5252+2ex−log⁡∣x∣+C\begin{aligned} I &= \int x^{\frac32}\,dx + 2\int e^x\,dx \\ &\quad - \int\frac{dx}{x} \\ &= \frac{x^{\frac52}}{\frac52} + 2e^x - \log|x| + C \end{aligned}

∴ I=25 x52+2ex\therefore\ I = \dfrac25\,x^{\dfrac52} + 2e^x −log⁡∣x∣+C- \log|x| + C⁠.

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

The one idea this problem is built on

Integration is linear: the integral of a sum is the sum of the integrals, and constant factors come outside (Property V of Section 7.2.1). So the work is to rewrite each integrand as a sum of pieces that are on the list of standard formulae: powers xnx^n with n≠−1n \ne -1⁠, exe^x⁠, and 1x\frac1x⁠. Each piece is then integrated on its own, and all the separate constants are collected into a single CC⁠.

Given, to find, and the plan
Given
Three integrands: (i) x3−1x2\frac{x^3-1}{x^2}⁠, x≠0x \ne 0⁠; (ii) x2/3+1x^{2/3} + 1⁠; (iii) x3/2+2ex−1xx^{3/2} + 2e^x - \frac1x⁠, which needs x>0x > 0⁠.
To find
The indefinite integral of each.
Plan
(1) Split into standard pieces; (2) apply formula (i) ∫xndx=xn+1n+1\int x^n dx = \frac{x^{n+1}}{n+1}⁠, n≠−1n \ne -1⁠, and formulae (xi), (xii) for exe^x and 1x\frac1x⁠; (3) merge the constants; (4) differentiate the answer back.

Basics you need

1The power formula

∫xn dx=xn+1n+1+C\int x^n\,dx = \frac{x^{n+1}}{n+1} + C for every real n≠−1n \ne -1⁠: add 1 to the power, divide by the new power. It works for negative and fractional nn too. Basics: powers of x and the power rule

2Index laws

x3x2=x\frac{x^3}{x^2} = x⁠, 1x2=x−2\frac{1}{x^2} = x^{-2}⁠, and x−1=1xx^{-1} = \frac1x⁠. Rewriting a fraction as powers is what makes formula (i) usable. Basics: powers of x

3Exponential and logarithm

∫ex dx=ex+C\int e^x\,dx = e^x + C and ∫1x dx=log⁡∣x∣+C\int \frac1x\,dx = \log|x| + C⁠, x≠0x \ne 0 (Example 1(iii)). Basics: logarithms and 1/x

4Linearity (Property V)

∫[k1f1+k2f2] dx\int [k_1 f_1 + k_2 f_2]\,dx equals k1∫f1 dx+k2∫f2 dxk_1\int f_1\,dx + k_2\int f_2\,dx⁠. Basics: integration undoes differentiation

Part (i): ∫x3−1x2 dx\int \frac{x^3 - 1}{x^2}\,dx

  1. Split the fraction into powers of xx

    For x≠0x \ne 0⁠, divide each term of the numerator by x2x^2⁠:

    x3−1x2=x3x2−1x2=x−x−2.\frac{x^3 - 1}{x^2} = \frac{x^3}{x^2} - \frac{1}{x^2} = x - x^{-2}.
    There is no formula for a quotient, but there is one for each power of xx⁠. A fraction with a single term in the denominator can always be split term by term, because a−bc=ac−bc\frac{a - b}{c} = \frac ac - \frac bc⁠. The condition x≠0x \ne 0 is needed for the integrand to exist at all.
  2. Integrate term by term

    By Property V, ∫(x−x−2) dx=∫x dx−∫x−2 dx\int (x - x^{-2})\,dx = \int x\,dx - \int x^{-2}\,dx⁠. Use formula (i) with n=1n = 1 and n=−2n = -2 (neither is −1-1⁠):

    ∫x dx=x1+11+1+C1=x22+C1,∫x−2 dx=x−2+1−2+1+C2=−1x+C2.\begin{aligned} \int x\,dx &= \frac{x^{1+1}}{1+1} + C_1 = \frac{x^2}{2} + C_1, \\ \int x^{-2}\,dx &= \frac{x^{-2+1}}{-2+1} + C_2 = -\frac1x + C_2. \end{aligned}
    For n=−2n = -2⁠: the new power is −2+1=−1-2 + 1 = -1⁠, and we divide by −1-1⁠, giving x−1−1=−1x\frac{x^{-1}}{-1} = -\frac1x⁠. Each integral brings its own constant; the book writes them as C1C_1 and C2C_2 to make the point that they are independent.
    Standard formula (i), Section 7.2; Property V, Section 7.2.1. Basics: the power rule
  3. Subtract and merge the constants

    ∫x3−1x2 dx=(x22+C1)−(−1x+C2)=x22+1x+(C1−C2).\begin{aligned} \int \frac{x^3 - 1}{x^2}\,dx &= \left(\frac{x^2}{2} + C_1\right) - \left(-\frac1x + C_2\right) \\ &= \frac{x^2}{2} + \frac1x + (C_1 - C_2). \end{aligned}

    C1−C2C_1 - C_2 is just another arbitrary constant; call it CC⁠. So

    ∫x3−1x2 dx=x22+1x+C,x≠0.\int \frac{x^3 - 1}{x^2}\,dx = \frac{x^2}{2} + \frac1x + C, \qquad x \ne 0.
    Subtracting −1x-\frac1x gives +1x+\frac1x⁠: watch this sign. Since C1C_1 and C2C_2 can each be any real number, so can C1−C2C_1 - C_2⁠, and nothing is lost by writing a single CC⁠. From here on the book writes only one constant in the final answer.
    Note after Example 2(i) in the book. Lesson: integration as anti-differentiation
  4. Check: differentiate the answer

    ddx(x22+1x)=x−1x2=x3−1x2. ✓\begin{aligned} \frac{d}{dx}\left(\frac{x^2}{2} + \frac1x\right) &= x - \frac{1}{x^2} \\ &= \frac{x^3 - 1}{x^2}. \ \checkmark \end{aligned}
    ddxx−1=−x−2\frac{d}{dx}x^{-1} = -x^{-2}⁠. Putting the two terms over the common denominator x2x^2 returns the original integrand, valid for every x≠0x \ne 0⁠.

Part (ii): ∫(x2/3+1) dx\int (x^{2/3} + 1)\,dx

  1. Split and integrate each term

    ∫(x23+1)dx=∫x23 dx+∫dx.\int \left(x^{\frac23} + 1\right)dx = \int x^{\frac23}\,dx + \int dx.

    Formula (i) with n=23n = \frac23⁠: the new power is 23+1=53\frac23 + 1 = \frac53⁠, so

    ∫x23 dx=x5353=35 x53,\int x^{\frac23}\,dx = \frac{x^{\frac53}}{\frac53} = \frac35\,x^{\frac53},

    and ∫dx=x\int dx = x (the special case n=0n = 0⁠).

    Dividing by the fraction 53\frac53 is the same as multiplying by its reciprocal 35\frac35⁠. The "1" in the integrand is x0x^0⁠, and ∫x0 dx=x11=x\int x^0\,dx = \frac{x^1}{1} = x⁠.
    Standard formula (i) and ∫dx=x+C\int dx = x + C⁠, Section 7.2. Basics: the power rule
  2. Write the answer with one constant

    ∫(x23+1)dx=35 x53+x+C.\int \left(x^{\frac23} + 1\right)dx = \frac35\,x^{\frac53} + x + C.

    Reading x2/3x^{2/3} as (x3)2\left(\sqrt[3]{x}\right)^2⁠, the integrand is defined for every real xx⁠, and the answer holds for every real xx⁠.

    Cube roots exist for negative numbers, so x2/3x^{2/3} and x5/3x^{5/3} make sense for all xx⁠. The check in the next step works at negative xx as well (it is tested at x=−8x = -8 below).
  3. Check: differentiate the answer

    ddx(35 x53+x)=35⋅53 x23+1=x23+1. ✓\frac{d}{dx}\left(\frac35\,x^{\frac53} + x\right) = \frac35\cdot\frac53\,x^{\frac23} + 1 = x^{\frac23} + 1. \ \checkmark

    For example at x=−8x = -8⁠: −83=−2\sqrt[3]{-8} = -2⁠, so the integrand is (−2)2+1=5(-2)^2 + 1 = 5⁠, and the derivative formula gives the same 55⁠.

    The power rule ddxx5/3=53x2/3\frac{d}{dx}x^{5/3} = \frac53 x^{2/3} brings down the factor 53\frac53⁠, which cancels the 35\frac35 exactly. This cancellation is why we divided by the new power.

Part (iii): ∫(x3/2+2ex−1x) dx\int (x^{3/2} + 2e^x - \frac1x)\,dx

  1. Where the integrand exists

    x3/2=(x)3x^{3/2} = \left(\sqrt{x}\right)^3 needs x≥0x \ge 0⁠, and 1x\frac1x needs x≠0x \ne 0⁠. So we work on x>0x > 0⁠.

    An answer is only meaningful where the integrand is defined. Here the square root rules out negative xx⁠, and the 1x\frac1x rules out 0.
    Domains of powers and of 1x\frac1x⁠. Basics: powers of x
  2. Split into three standard integrals

    ∫(x32+2ex−1x)dx=∫x32dx+2∫ex dx−∫dxx.\begin{aligned} &\int \left(x^{\frac32} + 2e^x - \frac1x\right)dx \\ &= \int x^{\frac32}dx + 2\int e^x\,dx - \int \frac{dx}{x}. \end{aligned}
    Property V lets us split the sum and take the constant 2 outside its integral. Each of the three pieces is now on the list of standard formulae.
  3. Apply formulae (i), (xi) and (xii)

    ∫x32dx=x32+132+1=25 x52,2∫ex dx=2ex,∫dxx=log⁡∣x∣.\begin{aligned} \int x^{\frac32}dx &= \frac{x^{\frac32 + 1}}{\frac32 + 1} = \frac25\,x^{\frac52}, \\ 2\int e^x\,dx &= 2e^x, \\ \int \frac{dx}{x} &= \log|x|. \end{aligned}

    Therefore

    ∫(x32+2ex−1x)dx=25 x52+2ex−log⁡∣x∣+C.\begin{aligned} &\int \left(x^{\frac32} + 2e^x - \frac1x\right)dx \\ &= \frac25\,x^{\frac52} + 2e^x - \log|x| + C. \end{aligned}
    32+1=52\frac32 + 1 = \frac52⁠, and dividing by 52\frac52 means multiplying by 25\frac25⁠. exe^x is its own derivative, so it is its own anti derivative. The 1x\frac1x term is the exception n=−1n = -1 of the power formula and gives a logarithm. Since x>0x > 0 here, log⁡∣x∣=log⁡x\log|x| = \log x⁠; the book keeps the modulus to match formula (xii).
    Standard formulae (i), (xi), (xii), Section 7.2. Basics: logarithms and 1/x
  4. Check: differentiate the answer

    ddx(25 x52+2ex−log⁡∣x∣)=25⋅52 x32+2ex−1x=x32+2ex−1x. ✓\begin{aligned} &\frac{d}{dx}\left(\frac25\,x^{\frac52} + 2e^x - \log|x|\right) \\ &= \frac25\cdot\frac52\,x^{\frac32} + 2e^x - \frac1x \\ &= x^{\frac32} + 2e^x - \frac1x. \ \checkmark \end{aligned}
    Each term differentiates back to the term it came from, which is exactly what term-by-term integration promised.
Result

(i) ∫x3−1x2 dx=x22+1x+C\displaystyle\int \frac{x^3 - 1}{x^2}\,dx = \frac{x^2}{2} + \frac1x + C⁠, x≠0x \ne 0⁠.

(ii) ∫(x23+1)dx=35 x53+x+C\displaystyle\int \left(x^{\frac23} + 1\right)dx = \frac35\,x^{\frac53} + x + C⁠.

(iii) ∫(x32+2ex−1x)dx\displaystyle\int \left(x^{\frac32} + 2e^x - \frac1x\right)dx =25 x52+2ex−log⁡∣x∣+C= \frac25\,x^{\frac52} + 2e^x - \log|x| + C⁠, x>0x > 0⁠.

These agree with the textbook's solution.

Check it with numbers

For any anti derivative FF⁠, the area-type sum ∫abf(x) dx\int_a^b f(x)\,dx equals F(b)−F(a)F(b) - F(a) (Section 7.8). The middle column is computed by a computer adding very many thin strips, without using our answers:

PartIntervalSum of thin stripsF(b)−F(a)F(b) - F(a)
(i)[1,2][1, 2]11(2+12)−(12+1)=1(2 + \frac12) - (\frac12 + 1) = 1
(ii)[1,8][1, 8]25.625.6(19.2+8)−(0.6+1)=25.6(19.2 + 8) - (0.6 + 1) = 25.6
(iii)[1,4][1, 4]114.7734420114.7734420114.7734420114.7734420

In (ii), 35⋅85/3=35⋅32=19.2\frac35\cdot 8^{5/3} = \frac35\cdot 32 = 19.2⁠. In (iii), F(4)−F(1)F(4) - F(1) =25(32−1)+2(e4−e)−log⁡4= \frac25(32 - 1) + 2(e^4 - e) - \log 4⁠.

Common mistakes
  1. Integrating a quotient as "integral over integral". ∫x3−1x2dx\int\frac{x^3 - 1}{x^2}dx is not ∫(x3−1)dx∫x2dx\frac{\int (x^3 - 1)dx}{\int x^2 dx}⁠. Split the fraction first.
  2. Sign slip with x−2x^{-2}⁠. ∫x−2dx=−1x\int x^{-2}dx = -\frac1x⁠, so subtracting it gives +1x+\frac1x⁠.
  3. Multiplying by the new power instead of dividing. ∫x2/3dx\int x^{2/3}dx is 35x5/3\frac35 x^{5/3}⁠, not 53x5/3\frac53 x^{5/3}⁠.
  4. Using formula (i) for 1x\frac1x⁠. n=−1n = -1 is excluded; the answer is log⁡∣x∣\log|x|⁠.
What to take away
  1. Rewrite first (split fractions, turn roots into fractional powers), integrate second.
  2. Power rule for integrals: raise the power by 1 and divide by the new power, for every n≠−1n \ne -1⁠.
  3. Several constants of integration always combine into one arbitrary CC⁠.

Every fact used, and where it comes from

FactUsed inSource
∫xndx=xn+1n+1+C\int x^n dx = \frac{x^{n+1}}{n+1} + C⁠, n≠−1n \ne -1⁠; ∫dx=x+C\int dx = x + CAll partsStandard formula (i), Section 7.2
∫ex dx=ex+C\int e^x\,dx = e^x + CPart (iii), Step 3Standard formula (xi), Section 7.2
∫1x dx=log⁡∣x∣+C\int\frac1x\,dx = \log|x| + CPart (iii), Step 3Standard formula (xii), Section 7.2; Example 1(iii)
Integral of a sum, constant multiplesAll partsProperties (III) to (V), Section 7.2.1 (Lesson: integration as anti-differentiation)
One constant CC for the final answerPart (i), Step 3Note after Example 2(i)
Index laws x3x2=x\frac{x^3}{x^2} = x⁠, 1x2=x−2\frac{1}{x^2} = x^{-2}Part (i), Step 1Laws of exponents (Basics: powers of x)
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 →