How to use these solutions#
These are step-by-step worked solutions to the Mixed practice questions of the lesson Definite Integrals and Mixed Practice . Attempt each integral yourself first, then compare your working line by line. Two habits make definite integrals safe: when you substitute, change the limits as well; and before grinding through a hard integral, check whether one of the properties (even/odd, or replacing x x x by a + b − x a + b - x a + b − x ) does the work for you.
Question 1: Three direct definite integrals#
The problem#
Evaluate: (a) ∫ 0 2 ( x 3 + 2 x ) d x \displaystyle \int_0^2(x^3 + 2x)\,dx ∫ 0 2 ( x 3 + 2 x ) d x (b) ∫ 1 e d x x \displaystyle \int_1^e\frac{dx}{x} ∫ 1 e x d x (c) ∫ 0 π / 3 cos x d x \displaystyle \int_0^{\pi/3}\cos x\,dx ∫ 0 π /3 cos x d x
Understanding the problem#
Each integral has a standard antiderivative. You must find it and then use the limits to get a number.
The idea#
Use the fundamental theorem: if F ′ = f F' = f F ′ = f , then ∫ a b f ( x ) d x = F ( b ) − F ( a ) \displaystyle \int_a^b f(x)\,dx = F(b) - F(a) ∫ a b f ( x ) d x = F ( b ) − F ( a ) .
Step-by-step solution#
Part (a)
Step 1. Antiderivative: ∫ x 3 d x = x 4 4 \displaystyle \int x^3\,dx = \frac{x^4}{4} ∫ x 3 d x = 4 x 4 and ∫ 2 x d x = x 2 \displaystyle \int 2x\,dx = x^2 ∫ 2 x d x = x 2 .
∫ 0 2 ( x 3 + 2 x ) d x = [ x 4 4 + x 2 ] 0 2 \displaystyle \int_0^2(x^3 + 2x)\,dx = \left[\frac{x^4}{4} + x^2\right]_0^2 ∫ 0 2 ( x 3 + 2 x ) d x = [ 4 x 4 + x 2 ] 0 2
Step 2. Substitute the limits.
= ( 16 4 + 4 ) − ( 0 + 0 ) = 4 + 4 = 8 \displaystyle = \left(\frac{16}{4} + 4\right) - (0 + 0) = 4 + 4 = 8 = ( 4 16 + 4 ) − ( 0 + 0 ) = 4 + 4 = 8
Part (b)
Step 1. Antiderivative of 1 x \displaystyle \frac{1}{x} x 1 is log ∣ x ∣ \log\lvert x\rvert log ∣ x ∣ ; on [ 1 , e ] [1, e] [ 1 , e ] , x > 0 x > 0 x > 0 .
∫ 1 e d x x = [ log x ] 1 e = log e − log 1 = 1 − 0 = 1 \displaystyle \int_1^e\frac{dx}{x} = \big[\log x\big]_1^e = \log e - \log 1 = 1 - 0 = 1 ∫ 1 e x d x = [ log x ] 1 e = log e − log 1 = 1 − 0 = 1
Part (c)
Step 1. Antiderivative of cos x \cos x cos x is sin x \sin x sin x .
∫ 0 π / 3 cos x d x = [ sin x ] 0 π / 3 = sin π 3 − sin 0 = 3 2 \displaystyle \int_0^{\pi/3}\cos x\,dx = \big[\sin x\big]_0^{\pi/3} = \sin\frac{\pi}{3} - \sin 0 = \frac{\sqrt{3}}{2} ∫ 0 π /3 cos x d x = [ sin x ] 0 π /3 = sin 3 π − sin 0 = 2 3
Checking the answer#
In (a), the integrand lies between 0 0 0 and 12 12 12 on an interval of length 2 2 2 , so the answer must be between 0 0 0 and 24 24 24 ; 8 8 8 is sensible. In (c), cos x \cos x cos x is between 1 2 \displaystyle \tfrac{1}{2} 2 1 and 1 1 1 on an interval of length about 1.05 1.05 1.05 , and 3 2 ≈ 0.87 \displaystyle \tfrac{\sqrt{3}}{2} \approx 0.87 2 3 ≈ 0.87 fits.
Answer#
(a) 8 8 8 ; (b) 1 1 1 ; (c) 3 2 \displaystyle \frac{\sqrt{3}}{2} 2 3 .
Question 2: Definite integrals by substitution#
The problem#
Evaluate: (a) ∫ 0 1 x x 2 + 1 d x \displaystyle \int_0^1\frac{x}{x^2 + 1}\,dx ∫ 0 1 x 2 + 1 x d x (b) ∫ 1 2 d x x ( 1 + log x ) 2 \displaystyle \int_1^2\frac{dx}{x(1 + \log x)^2} ∫ 1 2 x ( 1 + log x ) 2 d x
Understanding the problem#
In each integral, one part is (a multiple of) the derivative of another part: x x x is half the derivative of x 2 + 1 x^2 + 1 x 2 + 1 , and 1 x \displaystyle \frac{1}{x} x 1 is the derivative of 1 + log x 1 + \log x 1 + log x . That signals a substitution.
The idea#
Substitute t t t for the inner expression, rewrite d x dx d x in terms of d t dt d t , and change the limits to t t t -values, as in Example 3. Then you never need to go back to x x x .
Step-by-step solution#
Part (a)
Step 1. Let t = x 2 + 1 t = x^2 + 1 t = x 2 + 1 . Then d t = 2 x d x dt = 2x\,dx d t = 2 x d x , so x d x = d t 2 \displaystyle x\,dx = \frac{dt}{2} x d x = 2 d t .
Step 2. Change the limits: x = 0 ⇒ t = 1 x = 0 \Rightarrow t = 1 x = 0 ⇒ t = 1 ; x = 1 ⇒ t = 2 x = 1 \Rightarrow t = 2 x = 1 ⇒ t = 2 .
Step 3. Rewrite and integrate.
∫ 0 1 x x 2 + 1 d x = 1 2 ∫ 1 2 d t t = 1 2 [ log t ] 1 2 = 1 2 ( log 2 − 0 ) = 1 2 log 2 \displaystyle \int_0^1\frac{x}{x^2 + 1}\,dx = \frac{1}{2}\int_1^2\frac{dt}{t} = \frac{1}{2}\big[\log t\big]_1^2 = \frac{1}{2}(\log 2 - 0) = \frac{1}{2}\log 2 ∫ 0 1 x 2 + 1 x d x = 2 1 ∫ 1 2 t d t = 2 1 [ log t ] 1 2 = 2 1 ( log 2 − 0 ) = 2 1 log 2
Part (b)
Step 1. Let t = 1 + log x t = 1 + \log x t = 1 + log x . Then d t = 1 x d x \displaystyle dt = \frac{1}{x}\,dx d t = x 1 d x .
Step 2. Change the limits: x = 1 ⇒ t = 1 + 0 = 1 x = 1 \Rightarrow t = 1 + 0 = 1 x = 1 ⇒ t = 1 + 0 = 1 ; x = 2 ⇒ t = 1 + log 2 x = 2 \Rightarrow t = 1 + \log 2 x = 2 ⇒ t = 1 + log 2 .
Step 3. Rewrite: d x x ( 1 + log x ) 2 = d t t 2 \displaystyle \frac{dx}{x(1 + \log x)^2} = \frac{dt}{t^2} x ( 1 + log x ) 2 d x = t 2 d t .
∫ 1 1 + log 2 t − 2 d t = [ − 1 t ] 1 1 + log 2 \displaystyle \int_1^{1 + \log 2}t^{-2}\,dt = \left[-\frac{1}{t}\right]_1^{1 + \log 2} ∫ 1 1 + l o g 2 t − 2 d t = [ − t 1 ] 1 1 + l o g 2
Step 4. Substitute the limits.
= − 1 1 + log 2 − ( − 1 1 ) = 1 − 1 1 + log 2 \displaystyle = -\frac{1}{1 + \log 2} - \left(-\frac{1}{1}\right) = 1 - \frac{1}{1 + \log 2} = − 1 + log 2 1 − ( − 1 1 ) = 1 − 1 + log 2 1
Step 5. This can also be written as a single fraction.
1 − 1 1 + log 2 = log 2 1 + log 2 \displaystyle 1 - \frac{1}{1 + \log 2} = \frac{\log 2}{1 + \log 2} 1 − 1 + log 2 1 = 1 + log 2 log 2
Checking the answer#
(a) 1 2 log 2 ≈ 0.347 \displaystyle \tfrac{1}{2}\log 2 \approx 0.347 2 1 log 2 ≈ 0.347 ; the integrand rises from 0 0 0 to 0.5 0.5 0.5 over [ 0 , 1 ] [0, 1] [ 0 , 1 ] , so an area of about 0.35 0.35 0.35 is reasonable. (b) 0.693 1.693 ≈ 0.409 \displaystyle \frac{0.693}{1.693} \approx 0.409 1.693 0.693 ≈ 0.409 ; the integrand falls from 1 1 1 to about 0.17 0.17 0.17 on [ 1 , 2 ] [1, 2] [ 1 , 2 ] , so an area of about 0.4 0.4 0.4 fits.
Answer#
(a) 1 2 log 2 \displaystyle \frac{1}{2}\log 2 2 1 log 2 ; (b) 1 − 1 1 + log 2 = log 2 1 + log 2 \displaystyle 1 - \frac{1}{1 + \log 2} = \frac{\log 2}{1 + \log 2} 1 − 1 + log 2 1 = 1 + log 2 log 2 .
Common mistake to avoid#
Substituting and then using the old x x x -limits with the new t t t -integral. Change the limits whenever you change the variable.
Question 3: A trigonometric identity and integration by parts#
The problem#
Evaluate: (a) ∫ 0 π / 2 cos 2 x d x \displaystyle \int_0^{\pi/2}\cos^2 x\,dx ∫ 0 π /2 cos 2 x d x (b) ∫ 0 1 x e x d x \displaystyle \int_0^{1}xe^x\,dx ∫ 0 1 x e x d x
Understanding the problem#
(a) cos 2 x \cos^2 x cos 2 x has no direct antiderivative in the table, so you first rewrite it. (b) is a product of x x x and e x e^x e x , which calls for integration by parts.
The idea#
(a) Use cos 2 x = 1 + cos 2 x 2 \displaystyle \cos^2 x = \frac{1 + \cos 2x}{2} cos 2 x = 2 1 + cos 2 x . (b) Use ∫ u d v = u v − ∫ v d u \displaystyle \int u\,dv = uv - \int v\,du ∫ u d v = uv − ∫ v d u with u = x u = x u = x (it becomes simpler when differentiated) and d v = e x d x dv = e^x\,dx d v = e x d x .
Step-by-step solution#
Part (a)
Step 1. Rewrite the integrand.
∫ 0 π / 2 cos 2 x d x = ∫ 0 π / 2 1 + cos 2 x 2 d x \displaystyle \int_0^{\pi/2}\cos^2 x\,dx = \int_0^{\pi/2}\frac{1 + \cos 2x}{2}\,dx ∫ 0 π /2 cos 2 x d x = ∫ 0 π /2 2 1 + cos 2 x d x
Step 2. Integrate: ∫ cos 2 x d x = sin 2 x 2 \displaystyle \int\cos 2x\,dx = \frac{\sin 2x}{2} ∫ cos 2 x d x = 2 sin 2 x .
= 1 2 [ x + sin 2 x 2 ] 0 π / 2 \displaystyle = \frac{1}{2}\left[x + \frac{\sin 2x}{2}\right]_0^{\pi/2} = 2 1 [ x + 2 sin 2 x ] 0 π /2
Step 3. Substitute: sin π = 0 \sin\pi = 0 sin π = 0 and sin 0 = 0 \sin 0 = 0 sin 0 = 0 .
= 1 2 ( π 2 + 0 ) − 0 = π 4 \displaystyle = \frac{1}{2}\left(\frac{\pi}{2} + 0\right) - 0 = \frac{\pi}{4} = 2 1 ( 2 π + 0 ) − 0 = 4 π
Part (b)
Step 1. Choose u = x u = x u = x , d v = e x d x dv = e^x\,dx d v = e x d x ; then d u = d x du = dx d u = d x , v = e x v = e^x v = e x .
Step 2. Apply integration by parts with limits.
∫ 0 1 x e x d x = [ x e x ] 0 1 − ∫ 0 1 e x d x \displaystyle \int_0^1 xe^x\,dx = \big[xe^x\big]_0^1 - \int_0^1 e^x\,dx ∫ 0 1 x e x d x = [ x e x ] 0 1 − ∫ 0 1 e x d x
Step 3. Evaluate each piece.
[ x e x ] 0 1 = e − 0 = e , ∫ 0 1 e x d x = e − 1 \displaystyle \big[xe^x\big]_0^1 = e - 0 = e, \qquad \int_0^1 e^x\,dx = e - 1 [ x e x ] 0 1 = e − 0 = e , ∫ 0 1 e x d x = e − 1
Step 4. Subtract.
∫ 0 1 x e x d x = e − ( e − 1 ) = 1 \displaystyle \int_0^1 xe^x\,dx = e - (e - 1) = 1 ∫ 0 1 x e x d x = e − ( e − 1 ) = 1
Checking the answer#
(a) By symmetry, ∫ 0 π / 2 cos 2 x d x = ∫ 0 π / 2 sin 2 x d x \displaystyle \int_0^{\pi/2}\cos^2 x\,dx = \int_0^{\pi/2}\sin^2 x\,dx ∫ 0 π /2 cos 2 x d x = ∫ 0 π /2 sin 2 x d x , and their sum is ∫ 0 π / 2 1 d x = π 2 \displaystyle \int_0^{\pi/2}1\,dx = \tfrac{\pi}{2} ∫ 0 π /2 1 d x = 2 π ; so each is π 4 \displaystyle \tfrac{\pi}{4} 4 π . (b) Differentiate e x ( x − 1 ) e^x(x - 1) e x ( x − 1 ) : you get x e x xe^x x e x , and e x ( x − 1 ) e^x(x - 1) e x ( x − 1 ) goes from − 1 -1 − 1 to 0 0 0 , a change of 1 1 1 .
Answer#
(a) π 4 \displaystyle \frac{\pi}{4} 4 π ; (b) 1 1 1 .
Question 4: The integral of an absolute value#
The problem#
Evaluate ∫ − 3 3 ∣ x − 1 ∣ d x \displaystyle \int_{-3}^{3}\lvert x - 1\rvert\,dx ∫ − 3 3 ∣ x − 1 ∣ d x .
Understanding the problem#
∣ x − 1 ∣ \lvert x - 1\rvert ∣ x − 1 ∣ equals x − 1 x - 1 x − 1 when x ≥ 1 x \ge 1 x ≥ 1 and 1 − x 1 - x 1 − x when x < 1 x < 1 x < 1 . So the formula for the integrand changes at x = 1 x = 1 x = 1 , which lies inside [ − 3 , 3 ] [-3, 3] [ − 3 , 3 ] .
The idea#
Split the interval at x = 1 x = 1 x = 1 using property 2, ∫ a b = ∫ a c + ∫ c b \displaystyle \int_a^b = \int_a^c + \int_c^b ∫ a b = ∫ a c + ∫ c b , and use the correct formula on each piece, as in Example 5.
Step-by-step solution#
Step 1. Split at x = 1 x = 1 x = 1 .
∫ − 3 3 ∣ x − 1 ∣ d x = ∫ − 3 1 ( 1 − x ) d x + ∫ 1 3 ( x − 1 ) d x \displaystyle \int_{-3}^{3}\lvert x - 1\rvert\,dx = \int_{-3}^{1}(1 - x)\,dx + \int_{1}^{3}(x - 1)\,dx ∫ − 3 3 ∣ x − 1 ∣ d x = ∫ − 3 1 ( 1 − x ) d x + ∫ 1 3 ( x − 1 ) d x
Step 2. First piece.
∫ − 3 1 ( 1 − x ) d x = [ x − x 2 2 ] − 3 1 = ( 1 − 1 2 ) − ( − 3 − 9 2 ) = 1 2 + 15 2 = 8 \displaystyle \int_{-3}^{1}(1 - x)\,dx = \left[x - \frac{x^2}{2}\right]_{-3}^{1} = \left(1 - \frac{1}{2}\right) - \left(-3 - \frac{9}{2}\right) = \frac{1}{2} + \frac{15}{2} = 8 ∫ − 3 1 ( 1 − x ) d x = [ x − 2 x 2 ] − 3 1 = ( 1 − 2 1 ) − ( − 3 − 2 9 ) = 2 1 + 2 15 = 8
Step 3. Second piece.
∫ 1 3 ( x − 1 ) d x = [ x 2 2 − x ] 1 3 = ( 9 2 − 3 ) − ( 1 2 − 1 ) = 3 2 + 1 2 = 2 \displaystyle \int_{1}^{3}(x - 1)\,dx = \left[\frac{x^2}{2} - x\right]_{1}^{3} = \left(\frac{9}{2} - 3\right) - \left(\frac{1}{2} - 1\right) = \frac{3}{2} + \frac{1}{2} = 2 ∫ 1 3 ( x − 1 ) d x = [ 2 x 2 − x ] 1 3 = ( 2 9 − 3 ) − ( 2 1 − 1 ) = 2 3 + 2 1 = 2
Step 4. Add.
8 + 2 = 10 8 + 2 = 10 8 + 2 = 10
Checking the answer#
The graph of ∣ x − 1 ∣ \lvert x - 1\rvert ∣ x − 1 ∣ on [ − 3 , 3 ] [-3, 3] [ − 3 , 3 ] is two triangles with their corner at x = 1 x = 1 x = 1 : the left one has base 4 4 4 and height 4 4 4 (area 8 8 8 ), the right one base 2 2 2 and height 2 2 2 (area 2 2 2 ). Total 10 10 10 .
Answer#
∫ − 3 3 ∣ x − 1 ∣ d x = 10 \displaystyle \int_{-3}^{3}\lvert x - 1\rvert\,dx = 10 ∫ − 3 3 ∣ x − 1 ∣ d x = 10 .
Question 5: Using odd and even functions#
The problem#
Evaluate: (a) ∫ − π / 2 π / 2 sin 7 x d x \displaystyle \int_{-\pi/2}^{\pi/2}\sin^7 x\,dx ∫ − π /2 π /2 sin 7 x d x (b) ∫ − 1 1 ( x 2 + x 3 ) d x \displaystyle \int_{-1}^{1}(x^2 + x^3)\,dx ∫ − 1 1 ( x 2 + x 3 ) d x
Understanding the problem#
Both intervals are symmetric about 0 0 0 , of the form [ − a , a ] [-a, a] [ − a , a ] . That is the signal to use property 5.
The idea#
Property 5: over [ − a , a ] [-a, a] [ − a , a ] , an odd function (f ( − x ) = − f ( x ) f(-x) = -f(x) f ( − x ) = − f ( x ) ) integrates to 0 0 0 , and an even function (f ( − x ) = f ( x ) f(-x) = f(x) f ( − x ) = f ( x ) ) gives 2 ∫ 0 a f \displaystyle 2\int_0^a f 2 ∫ 0 a f .
Step-by-step solution#
Part (a)
Step 1. Test for odd or even: sin ( − x ) = − sin x \sin(-x) = -\sin x sin ( − x ) = − sin x , so sin 7 ( − x ) = ( − sin x ) 7 = − sin 7 x \sin^7(-x) = (-\sin x)^7 = -\sin^7 x sin 7 ( − x ) = ( − sin x ) 7 = − sin 7 x . The integrand is odd .
Step 2. By property 5, the integral is 0 0 0 .
∫ − π / 2 π / 2 sin 7 x d x = 0 \displaystyle \int_{-\pi/2}^{\pi/2}\sin^7 x\,dx = 0 ∫ − π /2 π /2 sin 7 x d x = 0
Part (b)
Step 1. Split into two integrals: x 2 x^2 x 2 is even, x 3 x^3 x 3 is odd.
∫ − 1 1 ( x 2 + x 3 ) d x = ∫ − 1 1 x 2 d x + ∫ − 1 1 x 3 d x \displaystyle \int_{-1}^{1}(x^2 + x^3)\,dx = \int_{-1}^{1}x^2\,dx + \int_{-1}^{1}x^3\,dx ∫ − 1 1 ( x 2 + x 3 ) d x = ∫ − 1 1 x 2 d x + ∫ − 1 1 x 3 d x
Step 2. The odd part gives 0 0 0 ; the even part gives twice the integral from 0 0 0 to 1 1 1 .
= 2 ∫ 0 1 x 2 d x + 0 = 2 [ x 3 3 ] 0 1 = 2 3 \displaystyle = 2\int_0^1 x^2\,dx + 0 = 2\left[\frac{x^3}{3}\right]_0^1 = \frac{2}{3} = 2 ∫ 0 1 x 2 d x + 0 = 2 [ 3 x 3 ] 0 1 = 3 2
Checking the answer#
(b) directly: [ x 3 3 + x 4 4 ] − 1 1 = ( 1 3 + 1 4 ) − ( − 1 3 + 1 4 ) = 2 3 \displaystyle \left[\tfrac{x^3}{3} + \tfrac{x^4}{4}\right]_{-1}^{1} = \left(\tfrac{1}{3} + \tfrac{1}{4}\right) - \left(-\tfrac{1}{3} + \tfrac{1}{4}\right) = \tfrac{2}{3} [ 3 x 3 + 4 x 4 ] − 1 1 = ( 3 1 + 4 1 ) − ( − 3 1 + 4 1 ) = 3 2 .
Answer#
(a) 0 0 0 ; (b) 2 3 \displaystyle \frac{2}{3} 3 2 .
Question 6: The "replace x x x by π 2 − x \displaystyle \tfrac{\pi}{2} - x 2 π − x and add" method#
The problem#
Evaluate ∫ 0 π / 2 sin x sin x + cos x d x \displaystyle \int_0^{\pi/2}\frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}}\,dx ∫ 0 π /2 sin x + cos x sin x d x .
Understanding the problem#
There is no easy antiderivative. But the integrand has a nice symmetry: replacing x x x by π 2 − x \displaystyle \tfrac{\pi}{2} - x 2 π − x swaps sin x \sin x sin x and cos x \cos x cos x .
The idea#
Use property 4, ∫ 0 a f ( x ) d x = ∫ 0 a f ( a − x ) d x \displaystyle \int_0^a f(x)\,dx = \int_0^a f(a - x)\,dx ∫ 0 a f ( x ) d x = ∫ 0 a f ( a − x ) d x , with a = π 2 \displaystyle a = \tfrac{\pi}{2} a = 2 π , exactly as in Example 7. Adding the original and the new form gives an integrand equal to 1 1 1 .
Step-by-step solution#
Step 1. Call the integral I I I .
I = ∫ 0 π / 2 sin x sin x + cos x d x \displaystyle I = \int_0^{\pi/2}\frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}}\,dx I = ∫ 0 π /2 sin x + cos x sin x d x
Step 2. Replace x x x by π 2 − x \displaystyle \tfrac{\pi}{2} - x 2 π − x . Since sin ( π 2 − x ) = cos x \displaystyle \sin\left(\tfrac{\pi}{2} - x\right) = \cos x sin ( 2 π − x ) = cos x and cos ( π 2 − x ) = sin x \displaystyle \cos\left(\tfrac{\pi}{2} - x\right) = \sin x cos ( 2 π − x ) = sin x :
I = ∫ 0 π / 2 cos x cos x + sin x d x \displaystyle I = \int_0^{\pi/2}\frac{\sqrt{\cos x}}{\sqrt{\cos x} + \sqrt{\sin x}}\,dx I = ∫ 0 π /2 cos x + sin x cos x d x
Step 3. Add the two forms of I I I . The denominators are the same, so the numerators add.
2 I = ∫ 0 π / 2 sin x + cos x sin x + cos x d x = ∫ 0 π / 2 1 d x = π 2 \displaystyle 2I = \int_0^{\pi/2}\frac{\sqrt{\sin x} + \sqrt{\cos x}}{\sqrt{\sin x} + \sqrt{\cos x}}\,dx = \int_0^{\pi/2}1\,dx = \frac{\pi}{2} 2 I = ∫ 0 π /2 sin x + cos x sin x + cos x d x = ∫ 0 π /2 1 d x = 2 π
Step 4. Divide by 2 2 2 .
I = π 4 \displaystyle I = \frac{\pi}{4} I = 4 π
Checking the answer#
The integrand rises from 0 0 0 at x = 0 x = 0 x = 0 to 1 1 1 at x = π 2 \displaystyle x = \tfrac{\pi}{2} x = 2 π , and equals 1 2 \displaystyle \tfrac{1}{2} 2 1 at the midpoint. So the area should be about half the interval length, 1 2 ⋅ π 2 = π 4 \displaystyle \tfrac{1}{2}\cdot\tfrac{\pi}{2} = \tfrac{\pi}{4} 2 1 ⋅ 2 π = 4 π . It is.
Answer#
I = π 4 \displaystyle I = \frac{\pi}{4} I = 4 π .
Question 7: The same method with general limits#
The problem#
Evaluate ∫ 2 8 10 − x x + 10 − x d x \displaystyle \int_2^8\frac{\sqrt{10 - x}}{\sqrt{x} + \sqrt{10 - x}}\,dx ∫ 2 8 x + 10 − x 10 − x d x .
Understanding the problem#
The limits are 2 2 2 and 8 8 8 , so a + b = 10 a + b = 10 a + b = 10 . Replacing x x x by 10 − x 10 - x 10 − x swaps x \sqrt{x} x and 10 − x \sqrt{10 - x} 10 − x .
The idea#
Use property 3, ∫ a b f ( x ) d x = ∫ a b f ( a + b − x ) d x \displaystyle \int_a^b f(x)\,dx = \int_a^b f(a + b - x)\,dx ∫ a b f ( x ) d x = ∫ a b f ( a + b − x ) d x , then add the two forms.
Step-by-step solution#
Step 1. Call the integral I I I .
I = ∫ 2 8 10 − x x + 10 − x d x \displaystyle I = \int_2^8\frac{\sqrt{10 - x}}{\sqrt{x} + \sqrt{10 - x}}\,dx I = ∫ 2 8 x + 10 − x 10 − x d x
Step 2. Replace x x x by 2 + 8 − x = 10 − x 2 + 8 - x = 10 - x 2 + 8 − x = 10 − x . Then 10 − x \sqrt{10 - x} 10 − x becomes x \sqrt{x} x and x \sqrt{x} x becomes 10 − x \sqrt{10 - x} 10 − x .
I = ∫ 2 8 x 10 − x + x d x \displaystyle I = \int_2^8\frac{\sqrt{x}}{\sqrt{10 - x} + \sqrt{x}}\,dx I = ∫ 2 8 10 − x + x x d x
Step 3. Add the two forms.
2 I = ∫ 2 8 10 − x + x x + 10 − x d x = ∫ 2 8 1 d x = 8 − 2 = 6 \displaystyle 2I = \int_2^8\frac{\sqrt{10 - x} + \sqrt{x}}{\sqrt{x} + \sqrt{10 - x}}\,dx = \int_2^8 1\,dx = 8 - 2 = 6 2 I = ∫ 2 8 x + 10 − x 10 − x + x d x = ∫ 2 8 1 d x = 8 − 2 = 6
Step 4. Divide by 2 2 2 .
I = 3 I = 3 I = 3
Checking the answer#
At the midpoint x = 5 x = 5 x = 5 the integrand is 1 2 \displaystyle \tfrac{1}{2} 2 1 , and it is symmetric about that value; so the answer is half the length of the interval: 1 2 × 6 = 3 \displaystyle \tfrac{1}{2} \times 6 = 3 2 1 × 6 = 3 .
Answer#
I = 3 I = 3 I = 3 .
Question 8: The integral of log ( sin x ) \log(\sin x) log ( sin x ) #
The problem#
Evaluate ∫ 0 π / 2 log ( sin x ) d x \displaystyle \int_0^{\pi/2}\log(\sin x)\,dx ∫ 0 π /2 log ( sin x ) d x . The answer is − π 2 log 2 \displaystyle -\frac{\pi}{2}\log 2 − 2 π log 2 ; show the key step 2 I = ∫ 0 π / 2 log sin 2 x 2 d x \displaystyle 2I = \int_0^{\pi/2}\log\frac{\sin 2x}{2}\,dx 2 I = ∫ 0 π /2 log 2 sin 2 x d x .
Understanding the problem#
This integral has no elementary antiderivative, so it must be found by properties. You must show how the key step arises and how it leads to the answer. (The integrand becomes very negative near x = 0 x = 0 x = 0 , but the integral still has a finite value.)
The idea#
Use property 4 to get a cos \cos cos version, add the two versions and use sin x cos x = sin 2 x 2 \displaystyle \sin x\cos x = \frac{\sin 2x}{2} sin x cos x = 2 sin 2 x . Then show that ∫ 0 π / 2 log ( sin 2 x ) d x \displaystyle \int_0^{\pi/2}\log(\sin 2x)\,dx ∫ 0 π /2 log ( sin 2 x ) d x is again equal to I I I , using a substitution and property 6.
Step-by-step solution#
Step 1. Let I = ∫ 0 π / 2 log ( sin x ) d x \displaystyle I = \int_0^{\pi/2}\log(\sin x)\,dx I = ∫ 0 π /2 log ( sin x ) d x . By property 4 (replace x x x by π 2 − x \displaystyle \tfrac{\pi}{2} - x 2 π − x ):
I = ∫ 0 π / 2 log ( cos x ) d x \displaystyle I = \int_0^{\pi/2}\log(\cos x)\,dx I = ∫ 0 π /2 log ( cos x ) d x
Step 2. Add the two forms and use log A + log B = log ( A B ) \log A + \log B = \log(AB) log A + log B = log ( A B ) .
2 I = ∫ 0 π / 2 log ( sin x cos x ) d x \displaystyle 2I = \int_0^{\pi/2}\log(\sin x\cos x)\,dx 2 I = ∫ 0 π /2 log ( sin x cos x ) d x
Step 3. Use sin x cos x = sin 2 x 2 \displaystyle \sin x\cos x = \frac{\sin 2x}{2} sin x cos x = 2 sin 2 x . This is the key step asked for.
2 I = ∫ 0 π / 2 log sin 2 x 2 d x \displaystyle 2I = \int_0^{\pi/2}\log\frac{\sin 2x}{2}\,dx 2 I = ∫ 0 π /2 log 2 sin 2 x d x
Step 4. Split the logarithm: log sin 2 x 2 = log ( sin 2 x ) − log 2 \displaystyle \log\frac{\sin 2x}{2} = \log(\sin 2x) - \log 2 log 2 sin 2 x = log ( sin 2 x ) − log 2 .
2 I = ∫ 0 π / 2 log ( sin 2 x ) d x − π 2 log 2 \displaystyle 2I = \int_0^{\pi/2}\log(\sin 2x)\,dx - \frac{\pi}{2}\log 2 2 I = ∫ 0 π /2 log ( sin 2 x ) d x − 2 π log 2
Step 5. Work out J = ∫ 0 π / 2 log ( sin 2 x ) d x \displaystyle J = \int_0^{\pi/2}\log(\sin 2x)\,dx J = ∫ 0 π /2 log ( sin 2 x ) d x . Substitute t = 2 x t = 2x t = 2 x , so d x = d t 2 \displaystyle dx = \frac{dt}{2} d x = 2 d t ; the limits become 0 0 0 and π \pi π .
J = 1 2 ∫ 0 π log ( sin t ) d t \displaystyle J = \frac{1}{2}\int_0^{\pi}\log(\sin t)\,dt J = 2 1 ∫ 0 π log ( sin t ) d t
Step 6. Since sin ( π − t ) = sin t \sin(\pi - t) = \sin t sin ( π − t ) = sin t , property 6 (with 2 a = π 2a = \pi 2 a = π ) gives ∫ 0 π log ( sin t ) d t = 2 ∫ 0 π / 2 log ( sin t ) d t = 2 I \displaystyle \int_0^{\pi}\log(\sin t)\,dt = 2\int_0^{\pi/2}\log(\sin t)\,dt = 2I ∫ 0 π log ( sin t ) d t = 2 ∫ 0 π /2 log ( sin t ) d t = 2 I . So
J = 1 2 ⋅ 2 I = I \displaystyle J = \frac{1}{2}\cdot 2I = I J = 2 1 ⋅ 2 I = I
Step 7. Put this into Step 4 and solve for I I I .
2 I = I − π 2 log 2 ⟹ I = − π 2 log 2 \displaystyle 2I = I - \frac{\pi}{2}\log 2 \quad\Longrightarrow\quad I = -\frac{\pi}{2}\log 2 2 I = I − 2 π log 2 ⟹ I = − 2 π log 2
Checking the answer#
− π 2 log 2 ≈ − 1.089 \displaystyle -\tfrac{\pi}{2}\log 2 \approx -1.089 − 2 π log 2 ≈ − 1.089 . The answer must be negative, since sin x < 1 \sin x < 1 sin x < 1 makes log ( sin x ) < 0 \log(\sin x) < 0 log ( sin x ) < 0 on ( 0 , π 2 ) \displaystyle \left(0, \tfrac{\pi}{2}\right) ( 0 , 2 π ) . A numerical integration also gives about − 1.089 -1.089 − 1.089 .
Answer#
∫ 0 π / 2 log ( sin x ) d x = − π 2 log 2 \displaystyle \int_0^{\pi/2}\log(\sin x)\,dx = -\frac{\pi}{2}\log 2 ∫ 0 π /2 log ( sin x ) d x = − 2 π log 2 .
The problem#
Evaluate ∫ 0 4 d x x 2 + 9 \displaystyle \int_0^4\frac{dx}{\sqrt{x^2 + 9}} ∫ 0 4 x 2 + 9 d x .
Understanding the problem#
The integrand has the form 1 x 2 + a 2 \displaystyle \frac{1}{\sqrt{x^2 + a^2}} x 2 + a 2 1 with a = 3 a = 3 a = 3 . This is one of the standard integrals from the chapter.
The idea#
Use ∫ d x x 2 + a 2 = log ∣ x + x 2 + a 2 ∣ + C \displaystyle \int\frac{dx}{\sqrt{x^2 + a^2}} = \log\left\lvert x + \sqrt{x^2 + a^2}\right\rvert + C ∫ x 2 + a 2 d x = log x + x 2 + a 2 + C , then substitute the limits.
Step-by-step solution#
Step 1. Write the antiderivative with a = 3 a = 3 a = 3 .
∫ 0 4 d x x 2 + 9 = [ log ∣ x + x 2 + 9 ∣ ] 0 4 \displaystyle \int_0^4\frac{dx}{\sqrt{x^2 + 9}} = \Big[\log\left\lvert x + \sqrt{x^2 + 9}\right\rvert\Big]_0^4 ∫ 0 4 x 2 + 9 d x = [ log x + x 2 + 9 ] 0 4
Step 2. Upper limit: 4 + 16 + 9 = 4 + 5 = 9 4 + \sqrt{16 + 9} = 4 + 5 = 9 4 + 16 + 9 = 4 + 5 = 9 . Lower limit: 0 + 9 = 3 0 + \sqrt{9} = 3 0 + 9 = 3 .
= log 9 − log 3 = \log 9 - \log 3 = log 9 − log 3
Step 3. Combine with log A − log B = log A B \displaystyle \log A - \log B = \log\frac{A}{B} log A − log B = log B A .
= log 9 3 = log 3 \displaystyle = \log\frac{9}{3} = \log 3 = log 3 9 = log 3
Checking the answer#
log 3 ≈ 1.099 \log 3 \approx 1.099 log 3 ≈ 1.099 . The integrand falls from 1 3 \displaystyle \tfrac{1}{3} 3 1 to 1 5 \displaystyle \tfrac{1}{5} 5 1 over an interval of length 4 4 4 , so the area is between 0.8 0.8 0.8 and 1.33 1.33 1.33 . It is.
Answer#
log 3 \log 3 log 3 .
Question 10: Partial fractions in a definite integral#
The problem#
Evaluate ∫ 1 3 d x x ( x + 1 ) \displaystyle \int_1^3\frac{dx}{x(x + 1)} ∫ 1 3 x ( x + 1 ) d x .
Understanding the problem#
The integrand is a rational function whose denominator factorises into two linear factors. Split it into simpler fractions first.
The idea#
Write 1 x ( x + 1 ) = 1 x − 1 x + 1 \displaystyle \frac{1}{x(x + 1)} = \frac{1}{x} - \frac{1}{x + 1} x ( x + 1 ) 1 = x 1 − x + 1 1 (partial fractions), integrate each to a logarithm, then use the limits.
Step-by-step solution#
Step 1. Partial fractions: 1 x ( x + 1 ) = A x + B x + 1 \displaystyle \frac{1}{x(x + 1)} = \frac{A}{x} + \frac{B}{x + 1} x ( x + 1 ) 1 = x A + x + 1 B gives 1 = A ( x + 1 ) + B x 1 = A(x + 1) + Bx 1 = A ( x + 1 ) + B x . Putting x = 0 x = 0 x = 0 : A = 1 A = 1 A = 1 . Putting x = − 1 x = -1 x = − 1 : B = − 1 B = -1 B = − 1 .
1 x ( x + 1 ) = 1 x − 1 x + 1 \displaystyle \frac{1}{x(x + 1)} = \frac{1}{x} - \frac{1}{x + 1} x ( x + 1 ) 1 = x 1 − x + 1 1
Step 2. Integrate (on [ 1 , 3 ] [1, 3] [ 1 , 3 ] everything is positive).
∫ 1 3 ( 1 x − 1 x + 1 ) d x = [ log x − log ( x + 1 ) ] 1 3 = [ log x x + 1 ] 1 3 \displaystyle \int_1^3\left(\frac{1}{x} - \frac{1}{x + 1}\right)dx = \big[\log x - \log(x + 1)\big]_1^3 = \left[\log\frac{x}{x + 1}\right]_1^3 ∫ 1 3 ( x 1 − x + 1 1 ) d x = [ log x − log ( x + 1 ) ] 1 3 = [ log x + 1 x ] 1 3
Step 3. Substitute the limits.
= log 3 4 − log 1 2 \displaystyle = \log\frac{3}{4} - \log\frac{1}{2} = log 4 3 − log 2 1
Step 4. Combine: 3 / 4 1 / 2 = 3 2 \displaystyle \frac{3/4}{1/2} = \frac{3}{2} 1/2 3/4 = 2 3 .
= log 3 2 \displaystyle = \log\frac{3}{2} = log 2 3
Checking the answer#
log 1.5 ≈ 0.405 \log 1.5 \approx 0.405 log 1.5 ≈ 0.405 . The integrand falls from 0.5 0.5 0.5 at x = 1 x = 1 x = 1 to 1 12 ≈ 0.083 \displaystyle \tfrac{1}{12} \approx 0.083 12 1 ≈ 0.083 at x = 3 x = 3 x = 3 ; an area of about 0.4 0.4 0.4 over length 2 2 2 is reasonable.
Answer#
log 3 2 \displaystyle \log\frac{3}{2} log 2 3 .
Question 11: Integration by parts with an inverse function#
The problem#
Evaluate ∫ 0 1 tan − 1 x d x \displaystyle \int_0^1\tan^{-1}x\,dx ∫ 0 1 tan − 1 x d x .
Understanding the problem#
We know how to differentiate tan − 1 x \tan^{-1}x tan − 1 x but it is not in the table of integrals. The trick is to treat it as a product tan − 1 x × 1 \tan^{-1}x \times 1 tan − 1 x × 1 .
The idea#
Integrate by parts with u = tan − 1 x u = \tan^{-1}x u = tan − 1 x (its derivative 1 1 + x 2 \displaystyle \frac{1}{1 + x^2} 1 + x 2 1 is simpler) and d v = d x dv = dx d v = d x (so v = x v = x v = x ). The remaining integral is then a substitution of the type in Question 2(a).
Step-by-step solution#
Step 1. u = tan − 1 x u = \tan^{-1}x u = tan − 1 x , d u = d x 1 + x 2 \displaystyle du = \frac{dx}{1 + x^2} d u = 1 + x 2 d x ; d v = d x dv = dx d v = d x , v = x v = x v = x .
∫ 0 1 tan − 1 x d x = [ x tan − 1 x ] 0 1 − ∫ 0 1 x 1 + x 2 d x \displaystyle \int_0^1\tan^{-1}x\,dx = \big[x\tan^{-1}x\big]_0^1 - \int_0^1\frac{x}{1 + x^2}\,dx ∫ 0 1 tan − 1 x d x = [ x tan − 1 x ] 0 1 − ∫ 0 1 1 + x 2 x d x
Step 2. First term: 1 ⋅ tan − 1 1 − 0 = π 4 \displaystyle 1\cdot\tan^{-1}1 - 0 = \frac{\pi}{4} 1 ⋅ tan − 1 1 − 0 = 4 π .
Step 3. Second term: this is Question 2(a), equal to 1 2 log 2 \displaystyle \frac{1}{2}\log 2 2 1 log 2 .
Step 4. Subtract.
∫ 0 1 tan − 1 x d x = π 4 − 1 2 log 2 \displaystyle \int_0^1\tan^{-1}x\,dx = \frac{\pi}{4} - \frac{1}{2}\log 2 ∫ 0 1 tan − 1 x d x = 4 π − 2 1 log 2
Checking the answer#
π 4 − 1 2 log 2 ≈ 0.785 − 0.347 = 0.439 \displaystyle \tfrac{\pi}{4} - \tfrac{1}{2}\log 2 \approx 0.785 - 0.347 = 0.439 4 π − 2 1 log 2 ≈ 0.785 − 0.347 = 0.439 . The integrand rises from 0 0 0 to π 4 ≈ 0.785 \displaystyle \tfrac{\pi}{4} \approx 0.785 4 π ≈ 0.785 and bends downward, so the area should be a bit more than the triangle 1 2 ( 0.785 ) ≈ 0.39 \displaystyle \tfrac{1}{2}(0.785) \approx 0.39 2 1 ( 0.785 ) ≈ 0.39 . It is.
Answer#
π 4 − 1 2 log 2 \displaystyle \frac{\pi}{4} - \frac{1}{2}\log 2 4 π − 2 1 log 2 .
Question 12: The greatest integer function#
The problem#
Evaluate ∫ 0 2 [ x ] d x \displaystyle \int_0^{2}[x]\,dx ∫ 0 2 [ x ] d x , where [ x ] [x] [ x ] is the greatest integer less than or equal to x x x .
Understanding the problem#
[ x ] [x] [ x ] is a step function: [ x ] = 0 [x] = 0 [ x ] = 0 for 0 ≤ x < 1 0 \le x < 1 0 ≤ x < 1 , and [ x ] = 1 [x] = 1 [ x ] = 1 for 1 ≤ x < 2 1 \le x < 2 1 ≤ x < 2 . Its value jumps at x = 1 x = 1 x = 1 , so split there.
The idea#
Use property 2 to split [ 0 , 2 ] [0, 2] [ 0 , 2 ] at 1 1 1 , and replace [ x ] [x] [ x ] by its constant value on each piece. (A single point, such as x = 2 x = 2 x = 2 where [ x ] = 2 [x] = 2 [ x ] = 2 , does not affect the integral.)
Step-by-step solution#
Step 1. Split at x = 1 x = 1 x = 1 .
∫ 0 2 [ x ] d x = ∫ 0 1 [ x ] d x + ∫ 1 2 [ x ] d x \displaystyle \int_0^2[x]\,dx = \int_0^1[x]\,dx + \int_1^2[x]\,dx ∫ 0 2 [ x ] d x = ∫ 0 1 [ x ] d x + ∫ 1 2 [ x ] d x
Step 2. On [ 0 , 1 ) [0, 1) [ 0 , 1 ) , [ x ] = 0 [x] = 0 [ x ] = 0 .
∫ 0 1 0 d x = 0 \displaystyle \int_0^1 0\,dx = 0 ∫ 0 1 0 d x = 0
Step 3. On [ 1 , 2 ) [1, 2) [ 1 , 2 ) , [ x ] = 1 [x] = 1 [ x ] = 1 .
∫ 1 2 1 d x = 2 − 1 = 1 \displaystyle \int_1^2 1\,dx = 2 - 1 = 1 ∫ 1 2 1 d x = 2 − 1 = 1
Step 4. Add.
0 + 1 = 1 0 + 1 = 1 0 + 1 = 1
Checking the answer#
The graph of [ x ] [x] [ x ] on [ 0 , 2 ] [0, 2] [ 0 , 2 ] is a flat line at height 0 0 0 and then a flat line at height 1 1 1 of width 1 1 1 : one unit square of area 1 1 1 .
Answer#
∫ 0 2 [ x ] d x = 1 \displaystyle \int_0^2[x]\,dx = 1 ∫ 0 2 [ x ] d x = 1 .