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

Exercise 7.8 · Q2: ∫231x dx\int_2^3\frac{1}{x}\,dx

Exercise 7.8Fundamental theorem of calculus · Section 7.8
The question

Evaluate the definite integral

∫231x dx.\int_2^3\frac{1}{x}\,dx.
Exam answer

Let I=∫23dxxI = \displaystyle\int_2^3\frac{dx}{x}⁠.

Using ∫dxx=log⁡∣x∣+C,\displaystyle\int\frac{dx}{x} = \log|x| + C,

I=[log⁡x]23=log⁡3−log⁡2\begin{aligned} I &= \Big[\log x\Big]_2^3 \\ &= \log 3 - \log 2 \end{aligned}

∴ I=log⁡32\therefore\ I = \log\dfrac32⁠.

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

The one idea this problem is built on

The second fundamental theorem (Theorem 2, Section 7.8.3): for ff continuous on [a,b][a, b] with antiderivative FF⁠, ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)⁠. The antiderivative of 1x\frac1x is log⁡∣x∣\log|x|⁠, and on [2,3][2, 3] the number xx is positive, so the bars can be dropped. The answer log⁡3−log⁡2\log 3 - \log 2 then combines into one logarithm.

Given, to find, and the plan
Given
The integrand f(x)=1xf(x) = \frac1x on the interval [2,3][2, 3]⁠.
To find
The exact value of ∫23dxx\int_2^3\frac{dx}{x}⁠.
Plan
(1) Check ff is continuous on [2,3][2, 3]⁠. (2) Antiderivative log⁡∣x∣\log|x|⁠, checked by differentiating. (3) Compute F(3)−F(2)F(3) - F(2) and combine the logs. (4) Check the size of the answer against the graph and a numerical integration.

Basics you need

1Second fundamental theorem

∫abf(x) dx=[F(x)]ab=F(b)−F(a)\int_a^b f(x)\,dx = \big[F(x)\big]_a^b = F(b) - F(a) when ff is continuous on [a,b][a, b] and F′=fF' = f⁠. Lesson: definite integrals and the fundamental theorem

2The integral of 1x\frac1x

∫dxx=log⁡∣x∣+C\int\frac{dx}{x} = \log|x| + C for x≠0x \ne 0 (standard formula (xii), Section 7.2). In this book "log" means the natural logarithm, base e. Basics: logarithms and 1/x

3Laws of logarithms

log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b} for a,b>0a, b > 0⁠. Basics: logarithms

4Area meaning

For f≥0f \ge 0 on [a,b][a, b]⁠, ∫abf\int_a^b f is the area under the graph (Section 7.8.1). Basics: area as a sum of thin strips

Solution

  1. Check continuity on [2,3][2, 3]

    f(x)=1xf(x) = \frac1x is defined and continuous at every x≠0x \ne 0⁠. The only bad point, x=0x = 0⁠, is not in [2,3][2, 3]⁠. So ff is continuous on the whole closed interval [2,3][2, 3]⁠.

    A quotient of continuous functions is continuous wherever its denominator is not 0. If the interval had contained 0 (say ∫−11dxx\int_{-1}^{1}\frac{dx}{x}⁠), Theorem 2 could not be used at all (Remark (iv) after Theorem 2).
    Theorem 2, Section 7.8.3. Lesson: the fundamental theorem
  2. Find an antiderivative

    By standard formula (xii),

    ∫dxx=log⁡∣x∣+C.\int\frac{dx}{x} = \log|x| + C.

    For xx in [2,3][2, 3]⁠, x>0x > 0⁠, so ∣x∣=x|x| = x⁠. Take

    F(x)=log⁡x(x>0).F(x) = \log x \quad (x > 0).
    The absolute value is there so that the formula also works for negative xx⁠. On our interval every xx is positive, so log⁡∣x∣\log|x| and log⁡x\log x are the same function there.
    Standard formula (xii), Section 7.2. Basics: logarithms and 1/x
  3. Check: differentiate FF back

    F′(x)=ddxlog⁡x=1x=f(x)(x>0).F'(x) = \frac{d}{dx}\log x = \frac1x = f(x) \quad (x > 0).
    The derivative of the natural logarithm is 1x\frac1x (Chapter 5). So FF really is an antiderivative of ff on [2,3][2, 3]⁠.
    ddxlog⁡x=1x\frac{d}{dx}\log x = \frac1x for x>0x > 0⁠. Basics: integration undoes differentiation
  4. Evaluate F(3)−F(2)F(3) - F(2)

    ∫23dxx=[log⁡x]23=log⁡3−log⁡2=log⁡32≈0.4054651.\begin{aligned}\int_2^3\frac{dx}{x} &= \big[\log x\big]_2^3 = \log 3 - \log 2 \\ &= \log\frac32 \approx 0.4054651.\end{aligned}
    Upper limit 3 first, then subtract the value at the lower limit 2. The law log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b} turns the difference into the single logarithm in the book's answer.
    log⁡3≈1.0986123\log 3 \approx 1.0986123 and log⁡2≈0.6931472\log 2 \approx 0.6931472⁠; their difference is 0.40546510.4054651⁠. Basics: logarithms
  5. Does the size make sense?

    On [2,3][2, 3] the curve y=1xy = \frac1x falls from 12\frac12 to 13\frac13⁠. So the region under it, on a base of width 1, has area between 13×1\frac13\times 1 and 12×1\frac12\times 1⁠:

    0.333…<0.405<0.5.0.333\ldots < 0.405 < 0.5.
    1 2 3 4 0.5 1 x y y = 1/x log(3/2) ≈ 0.405 (3, 1/3) (2, 1/2)
    The shaded region under y=1xy = \frac1x from 2 to 3 has area log⁡32≈0.405\log\frac32 \approx 0.405⁠. The curve's height falls from 12\frac12 to 13\frac13 across a base of width 1, so the area must lie between 13\frac13 and 12\frac12⁠.
    A short "between the smallest and the largest rectangle" estimate catches mistakes such as log⁡3+log⁡2=log⁡6≈1.79\log 3 + \log 2 = \log 6 \approx 1.79⁠, which is far too big.
    Definite integral as area, Section 7.8.1. Basics: area as a sum of thin strips
Result ∫231x dx=log⁡32≈0.4054651.\int_2^3\frac{1}{x}\,dx = \log\frac32 \approx 0.4054651.

(Textbook answer: log⁡32\log\frac32⁠, the same.)

Check it with numbers

Numerical integration of 1x\frac1x from 2 to 3 (thin strips, no antiderivative used) gives 0.40546510.4054651⁠, and log⁡1.5≈0.4054651\log 1.5 \approx 0.4054651⁠: they agree.

Common mistakes
  1. Using the power rule with n=−1n = -1⁠. x00\frac{x^{0}}{0} is meaningless; n=−1n = -1 is exactly the case the power rule excludes, and log⁡∣x∣\log|x| replaces it.
  2. Writing log⁡3−log⁡2=log⁡1\log 3 - \log 2 = \log 1⁠. Logs of a difference do not work like that: log⁡3−log⁡2=log⁡32\log 3 - \log 2 = \log\frac32⁠.
  3. Ignoring where 1x\frac1x is defined. On an interval containing 0 the fundamental theorem cannot be used.
What to take away
  1. ∫abdxx=log⁡ba\int_a^b\frac{dx}{x} = \log\frac{b}{a} whenever 0<a<b0 < a < b⁠.
  2. Check that the interval avoids every point where the integrand is undefined before using Theorem 2.
  3. Bounding the area between two rectangles is a quick sanity check.

Every fact used, and where it comes from

FactUsed inSource
∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a) for continuous ffSteps 1, 4Theorem 2, Section 7.8.3 (Lesson)
∫dxx=log⁡∣x∣+C\int\frac{dx}{x} = \log|x| + CStep 2Standard formula (xii), Section 7.2 (Basics)
ddxlog⁡x=1x\frac{d}{dx}\log x = \frac1xStep 3Chapter 5, Section 5.4
log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b}Step 4Laws of logarithms (Basics)
Definite integral as areaStep 5Section 7.8.1 (Basics)
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 →