Exercise 7.8Fundamental theorem of calculus · Section 7.8
The question
Evaluate the definite integral
∫6π4πcosecxdx.
Exam answer
Let I=∫6π4πcosecxdx.
Using ∫cosecxdx=log∣cosecx−cotx∣+C,
I=[log∣cosecx−cotx∣]6π4π=log(2−1)−log(2−3)
∴I=log(2−32−1).
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): ∫abf(x)dx=F(b)−F(a). The antiderivative of cosecx is log∣cosecx−cotx∣, result (iv) of Section 7.3.1. Putting in the exact values of cosec and cot at 4π and 6π gives two logarithms, which combine into one.
Given, to find, and the plan
Given
f(x)=cosecx=sinx1 on [6π,4π].
To find
The exact value of the integral.
Plan
(1) Continuity: sinx=0. (2) Antiderivative (derived as in the book), checked by differentiating. (3) Exact values at the limits and F(4π)−F(6π). (4) Cross-check with cosecx−cotx=tan2x and with the graph.
cosecx=sinx1 is continuous wherever sinx=0. On [6π,4π],sinx increases from 21 to 21, so sinx≥21>0. The integrand is continuous on the whole interval.
cosecx breaks down only at multiples of π (where sinx=0); none lies in [6π,4π]. So Theorem 2 applies (Remark (iv) after Theorem 2).
The multiplier is chosen so that the numerator becomes (minus) the derivative of the denominator; then the integral is a logarithm. The final form is result (iv) of Section 7.3.1: ∫cosecxdx=log∣cosecx−cotx∣+C.
At x=6π:cosec6π=1/21=2 and cot6π=1/23/2=3, so
F(6π)=log(2−3).
Both 2−1≈0.414 and 2−3≈0.268 are positive, so the bars are not needed. Both logarithms are negative (their arguments are less than 1); that is fine, only their difference matters.
In decimals: log(2−1)≈−0.8813736 and log(2−3)≈−1.3169579, so the integral is
−0.8813736−(−1.3169579)≈0.4355843.
loga−logb=logba gives the book's form. Multiplying top and bottom by 2+3 (and using (2−3)(2+3)=1) gives an equivalent form: 2−32−1 equals (2−1)(2+3)≈1.5458661, and log1.5458661≈0.4355843.
So F(x)=logtan2x, and the two values above are tan8π=2−1 and tan12π=2−3, as expected.
Size: cosecx falls from 2 to 2 over a base of width 4π−6π=12π, so
2⋅12π≈0.370<0.436<2⋅12π≈0.524.The shaded region under y=cosecx from 6π to 4π has area log2−32−1≈0.436. The curve falls from 2 to 2 there; its lowest point, 1, is at 2π.
Two independent facts (the well-known values of tan8π and tan12π, and the rectangle bounds) agree with the answer.
Numerical integration of sinx1 from 6π≈0.5235988 to 4π≈0.7853982 (thin strips, no antiderivative used) gives 0.4355843, matching log1.5458661≈0.4355843.
Common mistakes
Writing ∫cosecxdx=−cotx. That is ∫cosec2xdx. The integral of cosecx itself is a logarithm.
Swapping the order.log∣cosecx−cotx∣ is right; log∣cotx−cosecx∣ is the same thing because of the bars, but log(cotx−cosecx) without bars is undefined here.
Upper minus lower reversed. The answer must be positive, because cosecx>0 on the interval. Getting log2−12−3<0 means the subtraction was reversed.
What to take away
∫cosecxdx is log∣cosecx−cotx∣+C, which equals logtan2x+C.
Check that sinx=0 on the whole interval before using Theorem 2.
Logarithms of numbers less than 1 are negative; the difference can still be positive.
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 →