(v)∫0π/2(cotx)+(tanx)(cotx)dx or ∫0π/2(sinx+cosx)cosxdx
(vi)∫0π/2secx+cosecxsecxdx
(vii)∫0π/2sin7x+cos7xsin7xdx
(viii)∫0π/2sin5x+cos5xcos5xdx
(ix)∫0ax+a2−x2dx
(x)∫0∞(1+x)(1+x2)xdx
(xi)∫0π/2sin3x+cos3xsin3xdx
(xii)∫0ax+a−xxdx
(xiii)∫0π/21+sinxcosxsinx−cosxdx
(xiv)∫0π/2sin2xlogtanxdx
(xv)∫01log(x1−1)dx
(xvi)∫0π/2(2logcosx−logsin2x)dx
(xvii)∫−π/43π/41+tanxtanxdx
(xviii)∫02π1+esinx1dx
Solution:
Key idea: Most parts use the property ∫0af(x)dx=∫0af(a−x)dx, or its general form ∫abf(x)dx=∫abf(a+b−x)dx. On [0,2π], replacing x by 2π−x swaps sinx with cosx and tanx with cotx. We call the given integral I, write its new form, and add the two: the integrand of the sum is usually 1 (or 0), which is easy to integrate.
Step 1 — Part (i): write the integrand with sines and cosines.
On (0,2π) both sinx and cosx are positive. We write tanx as cosxsinx and multiply the top and bottom by cosx.
I=∫0π/2sinx+cosxcosxdx(1)
Step 2 — Part (i): apply the property and add.
Replacing x by 2π−x swaps sinx and cosx.
I=∫0π/2sinx+cosxsinxdx(2)
Adding (1) and (2), the numerators add up to the common denominator.
2I=∫0π/21dx=2π
So the value of part (i) is 4π.
Step 3 — Part (ii): rewrite and use part (i).
In the same way, 1+cotx1 equals sinx+cosxsinx. This is form (2) of part (i), and replacing x by 2π−x turns it into form (1). Adding the two forms again gives 2I=2π, so the value of part (ii) is 4π.
Step 4 — Part (iii): show that both forms are the same integral.
Multiplying the top and bottom of 1+tanx1 by cosx gives the second form.
I=∫0π/2sinx+cosxcosxdx(1)
Step 5 — Part (iii): apply the property and add.
Replacing x by 2π−x swaps sinx and cosx.
I=∫0π/2sinx+cosxsinxdx(2)
Adding (1) and (2), the numerators add up to the denominator, so 2I is 2π and the value of part (iii) is 4π.
Step 6 — Part (iv): rewrite and use part (i).
Multiplying the top and bottom by cosx gives 1+tanxtanx=sinx+cosxsinx. This is form (2) of part (i), so adding it to its swapped form gives 2I=2π. The value of part (iv) is 4π.
Step 7 — Part (v): simplify the first form.
We multiply the top and bottom by sinxcosx. Then cotxsinxcosx becomes cosx, and tanxsinxcosx becomes sinx.
cotx+tanxcotx=sinx+cosxcosx
This is form (1) of part (iii), so its value is 4π.
Step 8 — Part (v): the second form.
The second form ∫0π/2sinx+cosxcosxdx is form (1) of part (i), so its value is also 4π. (The two forms are different integrands, but both have the value 4π.)
Step 9 — Part (vi): simplify the integrand.
We multiply the top and bottom by sinxcosx. Then secxsinxcosx becomes sinx, and cosecxsinxcosx becomes cosx.
secx+cosecxsecx=sinx+cosxsinx
This is form (2) of part (i), so the value of part (vi) is 4π.
Step 10 — Part (vii): apply the property.
Let I be the given integral, form (1). Replacing x by 2π−x swaps sin7x and cos7x.
I=∫0π/2sin7x+cos7xsin7xdx(1)
I=∫0π/2cos7x+sin7xcos7xdx(2)
Step 11 — Part (vii): add.
The numerators of (1) and (2) add up to the common denominator.
2I=∫0π/21dx=2π
So the value of part (vii) is 4π.
Step 12 — Part (viii): apply the property and add.
In exactly the same way, replacing x by 2π−x turns sin5x+cos5xcos5x into cos5x+sin5xsin5x. Adding the two forms gives an integrand of 1, so 2I is 2π and the value of part (viii) is 4π.
Step 13 — Part (ix): substitute x=asinθ.
We take a>0. Then dx=acosθdθ and a2−x2=acosθ. The limits 0 and a become 0 and 2π, and the factor a cancels.
This is form (2) of part (iii), so the value of part (x) is 4π.
Step 17 — Part (xi): apply the property and add.
Replacing x by 2π−x turns sin3x+cos3xsin3x into cos3x+sin3xcos3x. The two numerators add up to the common denominator, so 2I is 2π and the value of part (xi) is 4π.
Step 18 — Part (xii): apply the property with upper limit a.
Let I be the given integral, form (1). Replacing x by a−x swaps x and a−x.
I=∫0ax+a−xxdx(1)
I=∫0aa−x+xa−xdx(2)
Step 19 — Part (xii): add.
The numerators add up to the common denominator.
2I=∫0a1dx=a
So the value of part (xii) is 2a (for a>0).
Step 20 — Part (xiii): apply the property.
Let I be the given integral. Replacing x by 2π−x swaps sinx and cosx; the denominator 1+sinxcosx does not change, but the numerator changes sign.
I=∫0π/21+cosxsinxcosx−sinxdx=−I
Step 21 — Part (xiii): solve.
Since I=−I, we get 2I=0, so the value of part (xiii) is 0.
Step 22 — Part (xiv): apply the property.
Let I=∫0π/2sin2xlogtanxdx. Replacing x by 2π−x keeps sin2x unchanged, since sin(π−2x)=sin2x, and turns tanx into cotx. Also logcotx=−logtanx.
I=∫0π/2sin2xlogcotxdx=−∫0π/2sin2xlogtanxdx=−I
So 2I=0 and the value of part (xiv) is 0. (Near the ends logtanx is unbounded, but sin2x→0 fast enough that the integral exists.)
Step 23 — Part (xv): rewrite and apply the property with a=1.
We write log(x1−1)=logx1−x. Replacing x by 1−x turns x1−x into its reciprocal 1−xx, whose logarithm is the negative.
I=∫01log1−xxdx=−∫01logx1−xdx=−I
So 2I=0 and the value of part (xv) is 0. (The integrand is unbounded at both ends, but each logarithm logx and log(1−x) has a finite integral on [0,1], so the integral exists.)
Step 24 — Part (xvi): simplify the integrand.
Since sin2x=2sinxcosx, we have logsin2x=log2+logsinx+logcosx.
2logcosx−logsin2x=logcosx−logsinx−log2
Step 25 — Part (xvi): integrate term by term.
By the property with a=2π, ∫0π/2logcosxdx equals ∫0π/2logsinxdx, so these two terms cancel. Only the constant −log2 is left.
Step 26 — Part (xvii): apply the general property.
Here the two limits −4π and 43π add up to 2π.
So we replace x by 2π−x, which turns tanx into cotx; and 1+cotxcotx simplifies to tanx+11.
I=∫−π/43π/41+tanxtanxdx(1)
I=∫−π/43π/41+tanx1dx(2)
Step 27 — Part (xvii): add.
The numerators of (1) and (2) add up to the common denominator.
2I=∫−π/43π/41dx=43π+4π=π
So the value found for part (xvii) is 2π.
Note: In part (xvii), tanx<0 for −4π<x<0 and for 2π<x<43π, and tanx is not defined at x=2π. So tanx is not real on parts of the interval, and the working above applies the property formally, as the book intends. A properly defined version is ∫π/6π/31+tanxtanxdx, where the same method gives half the length of the interval.
Step 28 — Part (xviii): apply the general property.
Here the limits add up to 2π, so we replace x by 2π−x. Since sin(2π−x)=−sinx, we get e−sinx; multiplying the top and bottom by esinx clears it.
I=∫02π1+esinxdx(1)
I=∫02π1+e−sinxdx=∫02πesinx+1esinxdx(2)
Step 29 — Part (xviii): add.
The numerators of (1) and (2) add up to the common denominator 1+esinx.
2I=∫02π1dx=2π
So the value of part (xviii) is π.
Therefore, (i)–(xi) each equal 4π (with a>0 in (ix)); (xii) 2a; (xiii) 0; (xiv) 0; (xv) 0; (xvi) −2πlog2; (xvii) 2π (worked formally, see the note); (xviii) π.