How to use these solutions#
These are step-by-step solutions to the eight Practice questions of the lesson Indefinite Integrals and Substitution . Try each integral yourself first, then compare. For every integral the key decision is which method to use: break it into standard forms, substitute, or rewrite with an identity. Each solution explains that choice before doing any working, and ends by differentiating the answer, which is the surest way to check an integral.
Question 1: Integrating with the standard table#
The problem#
Find: (a) ∫ ( 5 x 4 + 2 x − 7 ) d x \displaystyle \int(5x^4 + 2x - 7)\,dx ∫ ( 5 x 4 + 2 x − 7 ) d x ; (b) ∫ ( x + 1 x ) 2 d x \displaystyle \int\left(\sqrt{x} + \frac{1}{\sqrt{x}}\right)^2dx ∫ ( x + x 1 ) 2 d x ; (c) ∫ ( 2 sin x − 3 sec 2 x ) d x \displaystyle \int(2\sin x - 3\sec^2 x)\,dx ∫ ( 2 sin x − 3 sec 2 x ) d x .
Understanding the problem#
Each integrand is a sum of simple terms (in (b), after expanding). You need a function whose derivative is the integrand, plus the constant C C C .
The idea#
Use linearity, ∫ ( a f + b g ) d x = a ∫ f d x + b ∫ g d x \displaystyle \int (af + bg)\,dx = a\int f\,dx + b\int g\,dx ∫ ( a f + b g ) d x = a ∫ f d x + b ∫ g d x , and integrate term by term from the table of standard integrals. In (b), first expand the square so every term is a power of x x x .
Step-by-step solution#
Part (a)
Step 1. Integrate each term with ∫ x n d x = x n + 1 n + 1 \displaystyle \int x^n\,dx = \tfrac{x^{n+1}}{n + 1} ∫ x n d x = n + 1 x n + 1 .
∫ 5 x 4 d x = 5 ⋅ x 5 5 = x 5 , ∫ 2 x d x = 2 ⋅ x 2 2 = x 2 , ∫ 7 d x = 7 x \displaystyle \int 5x^4\,dx = 5\cdot\frac{x^5}{5} = x^5, \quad \int 2x\,dx = 2\cdot\frac{x^2}{2} = x^2, \quad \int 7\,dx = 7x ∫ 5 x 4 d x = 5 ⋅ 5 x 5 = x 5 , ∫ 2 x d x = 2 ⋅ 2 x 2 = x 2 , ∫ 7 d x = 7 x
Step 2. Combine and add one constant.
∫ ( 5 x 4 + 2 x − 7 ) d x = x 5 + x 2 − 7 x + C \displaystyle \int(5x^4 + 2x - 7)\,dx = x^5 + x^2 - 7x + C ∫ ( 5 x 4 + 2 x − 7 ) d x = x 5 + x 2 − 7 x + C
Part (b)
Step 1. Expand the square using ( a + b ) 2 = a 2 + 2 a b + b 2 (a + b)^2 = a^2 + 2ab + b^2 ( a + b ) 2 = a 2 + 2 ab + b 2 . Note x ⋅ 1 x = 1 \displaystyle \sqrt{x} \cdot \tfrac{1}{\sqrt{x}} = 1 x ⋅ x 1 = 1 .
( x + 1 x ) 2 = x + 2 + 1 x \displaystyle \left(\sqrt{x} + \frac{1}{\sqrt{x}}\right)^2 = x + 2 + \frac{1}{x} ( x + x 1 ) 2 = x + 2 + x 1
Step 2. Integrate each term. The last term uses ∫ 1 x d x = log ∣ x ∣ \displaystyle \int \tfrac{1}{x}\,dx = \log\lvert x \rvert ∫ x 1 d x = log ∣ x ∣ .
∫ ( x + 2 + 1 x ) d x = x 2 2 + 2 x + log ∣ x ∣ + C \displaystyle \int\left(x + 2 + \frac{1}{x}\right)dx = \frac{x^2}{2} + 2x + \log\lvert x \rvert + C ∫ ( x + 2 + x 1 ) d x = 2 x 2 + 2 x + log ∣ x ∣ + C
Part (c)
Step 1. Use ∫ sin x d x = − cos x \displaystyle \int \sin x\,dx = -\cos x ∫ sin x d x = − cos x and ∫ sec 2 x d x = tan x \displaystyle \int \sec^2 x\,dx = \tan x ∫ sec 2 x d x = tan x .
∫ ( 2 sin x − 3 sec 2 x ) d x = 2 ( − cos x ) − 3 tan x + C = − 2 cos x − 3 tan x + C \displaystyle \int(2\sin x - 3\sec^2 x)\,dx = 2(-\cos x) - 3\tan x + C = -2\cos x - 3\tan x + C ∫ ( 2 sin x − 3 sec 2 x ) d x = 2 ( − cos x ) − 3 tan x + C = − 2 cos x − 3 tan x + C
Checking the answer#
Differentiate each result. (a) 5 x 4 + 2 x − 7 5x^4 + 2x - 7 5 x 4 + 2 x − 7 . (b) x + 2 + 1 x \displaystyle x + 2 + \tfrac{1}{x} x + 2 + x 1 , which is the expanded integrand. (c) 2 sin x − 3 sec 2 x 2\sin x - 3\sec^2 x 2 sin x − 3 sec 2 x . All match.
Answer#
(a) x 5 + x 2 − 7 x + C x^5 + x^2 - 7x + C x 5 + x 2 − 7 x + C ; (b) x 2 2 + 2 x + log ∣ x ∣ + C \displaystyle \frac{x^2}{2} + 2x + \log\lvert x \rvert + C 2 x 2 + 2 x + log ∣ x ∣ + C ; (c) − 2 cos x − 3 tan x + C -2\cos x - 3\tan x + C − 2 cos x − 3 tan x + C .
Common mistake to avoid#
In (b), ∫ x − 1 d x \displaystyle \int x^{-1}\,dx ∫ x − 1 d x is not x 0 0 \displaystyle \tfrac{x^0}{0} 0 x 0 ; the power rule fails for n = − 1 n = -1 n = − 1 , and the answer is log ∣ x ∣ \log\lvert x \rvert log ∣ x ∣ .
Question 2: Finding a function from its derivative#
The problem#
Find f f f if f ′ ( x ) = 3 cos x − 2 e x f'(x) = 3\cos x - 2e^x f ′ ( x ) = 3 cos x − 2 e x and f ( 0 ) = 4 f(0) = 4 f ( 0 ) = 4 .
Understanding the problem#
You know the derivative of f f f and one value of f f f . Integrating gives f f f up to a constant; the value f ( 0 ) = 4 f(0) = 4 f ( 0 ) = 4 fixes that constant. This is like Example 3.
The idea#
Integrate f ′ ( x ) f'(x) f ′ ( x ) to get f ( x ) = ( antiderivative ) + C f(x) = (\text{antiderivative}) + C f ( x ) = ( antiderivative ) + C , then substitute x = 0 x = 0 x = 0 to find C C C .
Step-by-step solution#
Step 1. Integrate term by term, using ∫ cos x d x = sin x \displaystyle \int\cos x\,dx = \sin x ∫ cos x d x = sin x and ∫ e x d x = e x \displaystyle \int e^x\,dx = e^x ∫ e x d x = e x .
f ( x ) = ∫ ( 3 cos x − 2 e x ) d x = 3 sin x − 2 e x + C \displaystyle f(x) = \int(3\cos x - 2e^x)\,dx = 3\sin x - 2e^x + C f ( x ) = ∫ ( 3 cos x − 2 e x ) d x = 3 sin x − 2 e x + C
Step 2. Use f ( 0 ) = 4 f(0) = 4 f ( 0 ) = 4 . Remember sin 0 = 0 \sin 0 = 0 sin 0 = 0 and e 0 = 1 e^0 = 1 e 0 = 1 .
f ( 0 ) = 3 ( 0 ) − 2 ( 1 ) + C = − 2 + C = 4 f(0) = 3(0) - 2(1) + C = -2 + C = 4 f ( 0 ) = 3 ( 0 ) − 2 ( 1 ) + C = − 2 + C = 4
Step 3. Solve for C C C : C = 6 C = 6 C = 6 .
Step 4. Write the final function.
f ( x ) = 3 sin x − 2 e x + 6 f(x) = 3\sin x - 2e^x + 6 f ( x ) = 3 sin x − 2 e x + 6
Checking the answer#
f ′ ( x ) = 3 cos x − 2 e x f'(x) = 3\cos x - 2e^x f ′ ( x ) = 3 cos x − 2 e x ✓, and f ( 0 ) = 0 − 2 + 6 = 4 f(0) = 0 - 2 + 6 = 4 f ( 0 ) = 0 − 2 + 6 = 4 ✓.
Answer#
f ( x ) = 3 sin x − 2 e x + 6 f(x) = 3\sin x - 2e^x + 6 f ( x ) = 3 sin x − 2 e x + 6 .
Question 3: Substitution when a function and its derivative both appear#
The problem#
Find: (a) ∫ sin ( log x ) x d x \displaystyle \int\frac{\sin(\log x)}{x}\,dx ∫ x sin ( log x ) d x ; (b) ∫ cos x sin x d x \displaystyle \int\frac{\cos x}{\sqrt{\sin x}}\,dx ∫ sin x cos x d x ; (c) ∫ x e x 2 d x \displaystyle \int xe^{x^2}\,dx ∫ x e x 2 d x .
Understanding the problem#
None of these is in the standard table as it stands. In each, look for an "inner" function whose derivative also appears as a factor.
The idea#
The lesson's rule: if the integrand contains a function and its derivative, put t t t equal to that function. Then d t dt d t absorbs the derivative, and what is left is a standard integral in t t t .
(a) log x \log x log x is inside, and its derivative 1 x \displaystyle \tfrac{1}{x} x 1 is present.
(b) sin x \sin x sin x is inside, and its derivative cos x \cos x cos x is present.
(c) x 2 x^2 x 2 is inside, and its derivative 2 x 2x 2 x is present apart from the constant 2 2 2 .
Step-by-step solution#
Part (a)
Step 1. Put t = log x t = \log x t = log x . Then d t = 1 x d x \displaystyle dt = \tfrac{1}{x}\,dx d t = x 1 d x .
Step 2. Rewrite: sin ( log x ) x d x = sin t d t \displaystyle \tfrac{\sin(\log x)}{x}\,dx = \sin t\,dt x s i n ( l o g x ) d x = sin t d t .
∫ sin t d t = − cos t + C \displaystyle \int \sin t\,dt = -\cos t + C ∫ sin t d t = − cos t + C
Step 3. Substitute back t = log x t = \log x t = log x .
∫ sin ( log x ) x d x = − cos ( log x ) + C \displaystyle \int\frac{\sin(\log x)}{x}\,dx = -\cos(\log x) + C ∫ x sin ( log x ) d x = − cos ( log x ) + C
Part (b)
Step 1. Put t = sin x t = \sin x t = sin x . Then d t = cos x d x dt = \cos x\,dx d t = cos x d x .
Step 2. Rewrite and integrate as a power, t − 1 / 2 t^{-1/2} t − 1/2 .
∫ d t t = ∫ t − 1 / 2 d t = t 1 / 2 1 / 2 + C = 2 t + C \displaystyle \int \frac{dt}{\sqrt{t}} = \int t^{-1/2}\,dt = \frac{t^{1/2}}{1/2} + C = 2\sqrt{t} + C ∫ t d t = ∫ t − 1/2 d t = 1/2 t 1/2 + C = 2 t + C
Step 3. Substitute back.
∫ cos x sin x d x = 2 sin x + C \displaystyle \int\frac{\cos x}{\sqrt{\sin x}}\,dx = 2\sqrt{\sin x} + C ∫ sin x cos x d x = 2 sin x + C
Part (c)
Step 1. Put t = x 2 t = x^2 t = x 2 . Then d t = 2 x d x dt = 2x\,dx d t = 2 x d x , so x d x = 1 2 d t \displaystyle x\,dx = \tfrac{1}{2}dt x d x = 2 1 d t .
Step 2. Rewrite and integrate.
∫ e t ⋅ 1 2 d t = 1 2 e t + C \displaystyle \int e^{t}\cdot\frac{1}{2}\,dt = \frac{1}{2}e^{t} + C ∫ e t ⋅ 2 1 d t = 2 1 e t + C
Step 3. Substitute back.
∫ x e x 2 d x = e x 2 2 + C \displaystyle \int xe^{x^2}\,dx = \frac{e^{x^2}}{2} + C ∫ x e x 2 d x = 2 e x 2 + C
Checking the answer#
Differentiate with the chain rule. (a) sin ( log x ) ⋅ 1 x \displaystyle \sin(\log x)\cdot\tfrac{1}{x} sin ( log x ) ⋅ x 1 ✓. (b) 2 ⋅ 1 2 sin x ⋅ cos x = cos x sin x \displaystyle 2\cdot\tfrac{1}{2\sqrt{\sin x}}\cdot\cos x = \tfrac{\cos x}{\sqrt{\sin x}} 2 ⋅ 2 s i n x 1 ⋅ cos x = s i n x c o s x ✓. (c) 1 2 e x 2 ⋅ 2 x = x e x 2 \displaystyle \tfrac{1}{2}e^{x^2}\cdot 2x = xe^{x^2} 2 1 e x 2 ⋅ 2 x = x e x 2 ✓.
Answer#
(a) − cos ( log x ) + C -\cos(\log x) + C − cos ( log x ) + C ; (b) 2 sin x + C 2\sqrt{\sin x} + C 2 sin x + C ; (c) e x 2 2 + C \displaystyle \frac{e^{x^2}}{2} + C 2 e x 2 + C .
Common mistake to avoid#
Forgetting to substitute back. The final answer must be in terms of x x x , not t t t .
The problem#
Find: (a) ∫ 2 x + 3 x 2 + 3 x + 7 d x \displaystyle \int\frac{2x + 3}{x^2 + 3x + 7}\,dx ∫ x 2 + 3 x + 7 2 x + 3 d x ; (b) ∫ tan 3 x sec 2 x d x \displaystyle \int\tan^3 x\sec^2 x\,dx ∫ tan 3 x sec 2 x d x ; (c) ∫ 1 x log x d x \displaystyle \int\frac{1}{x\log x}\,dx ∫ x log x 1 d x .
Understanding the problem#
Again look for an inner function and its derivative. In (a) and (c) the derivative of the denominator sits in the numerator; in (b), sec 2 x \sec^2 x sec 2 x is the derivative of tan x \tan x tan x .
The idea#
Substitute t t t = the inner function. A very useful special case (Example 6) is
∫ f ′ ( x ) f ( x ) d x = log ∣ f ( x ) ∣ + C , \displaystyle \int\frac{f'(x)}{f(x)}\,dx = \log\lvert f(x) \rvert + C, ∫ f ( x ) f ′ ( x ) d x = log ∣ f ( x )∣ + C ,
because with t = f ( x ) t = f(x) t = f ( x ) the integral becomes ∫ d t t \displaystyle \int\tfrac{dt}{t} ∫ t d t .
Step-by-step solution#
Part (a)
Step 1. Notice d d x ( x 2 + 3 x + 7 ) = 2 x + 3 \displaystyle \tfrac{d}{dx}(x^2 + 3x + 7) = 2x + 3 d x d ( x 2 + 3 x + 7 ) = 2 x + 3 , exactly the numerator. Put t = x 2 + 3 x + 7 t = x^2 + 3x + 7 t = x 2 + 3 x + 7 , d t = ( 2 x + 3 ) d x dt = (2x + 3)\,dx d t = ( 2 x + 3 ) d x .
Step 2. Integrate.
∫ d t t = log ∣ t ∣ + C = log ∣ x 2 + 3 x + 7 ∣ + C \displaystyle \int\frac{dt}{t} = \log\lvert t \rvert + C = \log\lvert x^2 + 3x + 7 \rvert + C ∫ t d t = log ∣ t ∣ + C = log ∣ x 2 + 3 x + 7 ∣ + C
Part (b)
Step 1. Put t = tan x t = \tan x t = tan x , so d t = sec 2 x d x dt = \sec^2 x\,dx d t = sec 2 x d x .
Step 2. The integral becomes a power of t t t .
∫ t 3 d t = t 4 4 + C = tan 4 x 4 + C \displaystyle \int t^3\,dt = \frac{t^4}{4} + C = \frac{\tan^4 x}{4} + C ∫ t 3 d t = 4 t 4 + C = 4 tan 4 x + C
Part (c)
Step 1. Write the integrand as 1 / x log x \displaystyle \frac{1/x}{\log x} log x 1/ x . The numerator 1 x \displaystyle \tfrac{1}{x} x 1 is the derivative of log x \log x log x . Put t = log x t = \log x t = log x , d t = 1 x d x \displaystyle dt = \tfrac{1}{x}\,dx d t = x 1 d x .
Step 2. Integrate.
∫ d t t = log ∣ t ∣ + C = log ∣ log x ∣ + C \displaystyle \int\frac{dt}{t} = \log\lvert t \rvert + C = \log\lvert \log x \rvert + C ∫ t d t = log ∣ t ∣ + C = log ∣ log x ∣ + C
Checking the answer#
(a) 2 x + 3 x 2 + 3 x + 7 \displaystyle \tfrac{2x + 3}{x^2 + 3x + 7} x 2 + 3 x + 7 2 x + 3 ✓. (b) 4 tan 3 x sec 2 x 4 \displaystyle \tfrac{4\tan^3 x\sec^2 x}{4} 4 4 t a n 3 x s e c 2 x ✓. (c) 1 log x ⋅ 1 x \displaystyle \tfrac{1}{\log x}\cdot\tfrac{1}{x} l o g x 1 ⋅ x 1 ✓.
Answer#
(a) log ∣ x 2 + 3 x + 7 ∣ + C \log\lvert x^2 + 3x + 7 \rvert + C log ∣ x 2 + 3 x + 7 ∣ + C ; (b) tan 4 x 4 + C \displaystyle \frac{\tan^4 x}{4} + C 4 tan 4 x + C ; (c) log ∣ log x ∣ + C \log\lvert\log x\rvert + C log ∣ log x ∣ + C .
Question 5: Using trigonometric identities#
The problem#
Find: (a) ∫ cos 2 3 x d x \displaystyle \int\cos^2 3x\,dx ∫ cos 2 3 x d x ; (b) ∫ sin 4 x sin 2 x d x \displaystyle \int\sin 4x\sin 2x\,dx ∫ sin 4 x sin 2 x d x ; (c) ∫ cos 3 x d x \displaystyle \int\cos^3 x\,dx ∫ cos 3 x d x .
Understanding the problem#
Powers and products of trigonometric functions are not in the table. You must first rewrite each integrand as a sum of simple sines and cosines, or as something ready for substitution.
The idea#
(a) Lower the power with cos 2 θ = 1 + cos 2 θ 2 \displaystyle \cos^2\theta = \tfrac{1 + \cos 2\theta}{2} cos 2 θ = 2 1 + c o s 2 θ (as in Example 8).
(b) Turn the product into a sum with 2 sin A sin B = cos ( A − B ) − cos ( A + B ) 2\sin A\sin B = \cos(A - B) - \cos(A + B) 2 sin A sin B = cos ( A − B ) − cos ( A + B ) (as in Example 9).
(c) For an odd power, split off one factor and use cos 2 x = 1 − sin 2 x \cos^2 x = 1 - \sin^2 x cos 2 x = 1 − sin 2 x , then substitute t = sin x t = \sin x t = sin x (as in Example 10).
Step-by-step solution#
Part (a)
Step 1. Apply the identity with θ = 3 x \theta = 3x θ = 3 x , so 2 θ = 6 x 2\theta = 6x 2 θ = 6 x .
cos 2 3 x = 1 + cos 6 x 2 \displaystyle \cos^2 3x = \frac{1 + \cos 6x}{2} cos 2 3 x = 2 1 + cos 6 x
Step 2. Integrate. Use ∫ cos k x d x = sin k x k \displaystyle \int\cos kx\,dx = \tfrac{\sin kx}{k} ∫ cos k x d x = k s i n k x .
∫ 1 + cos 6 x 2 d x = x 2 + 1 2 ⋅ sin 6 x 6 + C = x 2 + sin 6 x 12 + C \displaystyle \int\frac{1 + \cos 6x}{2}\,dx = \frac{x}{2} + \frac{1}{2}\cdot\frac{\sin 6x}{6} + C = \frac{x}{2} + \frac{\sin 6x}{12} + C ∫ 2 1 + cos 6 x d x = 2 x + 2 1 ⋅ 6 sin 6 x + C = 2 x + 12 sin 6 x + C
Part (b)
Step 1. Use sin A sin B = 1 2 [ cos ( A − B ) − cos ( A + B ) ] \displaystyle \sin A\sin B = \tfrac{1}{2}\left[\cos(A - B) - \cos(A + B)\right] sin A sin B = 2 1 [ cos ( A − B ) − cos ( A + B ) ] with A = 4 x A = 4x A = 4 x , B = 2 x B = 2x B = 2 x .
sin 4 x sin 2 x = 1 2 ( cos 2 x − cos 6 x ) \displaystyle \sin 4x\sin 2x = \frac{1}{2}\left(\cos 2x - \cos 6x\right) sin 4 x sin 2 x = 2 1 ( cos 2 x − cos 6 x )
Step 2. Integrate each cosine.
1 2 ( sin 2 x 2 − sin 6 x 6 ) + C = sin 2 x 4 − sin 6 x 12 + C \displaystyle \frac{1}{2}\left(\frac{\sin 2x}{2} - \frac{\sin 6x}{6}\right) + C = \frac{\sin 2x}{4} - \frac{\sin 6x}{12} + C 2 1 ( 2 sin 2 x − 6 sin 6 x ) + C = 4 sin 2 x − 12 sin 6 x + C
Part (c)
Step 1. Split off one cos x \cos x cos x and rewrite the rest.
cos 3 x = cos 2 x ⋅ cos x = ( 1 − sin 2 x ) cos x \cos^3 x = \cos^2 x\cdot\cos x = (1 - \sin^2 x)\cos x cos 3 x = cos 2 x ⋅ cos x = ( 1 − sin 2 x ) cos x
Step 2. Put t = sin x t = \sin x t = sin x , d t = cos x d x dt = \cos x\,dx d t = cos x d x .
∫ ( 1 − t 2 ) d t = t − t 3 3 + C \displaystyle \int(1 - t^2)\,dt = t - \frac{t^3}{3} + C ∫ ( 1 − t 2 ) d t = t − 3 t 3 + C
Step 3. Substitute back.
∫ cos 3 x d x = sin x − sin 3 x 3 + C \displaystyle \int\cos^3 x\,dx = \sin x - \frac{\sin^3 x}{3} + C ∫ cos 3 x d x = sin x − 3 sin 3 x + C
Checking the answer#
(a) Derivative: 1 2 + cos 6 x 2 = cos 2 3 x \displaystyle \tfrac{1}{2} + \tfrac{\cos 6x}{2} = \cos^2 3x 2 1 + 2 c o s 6 x = cos 2 3 x ✓. (b) Derivative: cos 2 x − cos 6 x 2 = sin 4 x sin 2 x \displaystyle \tfrac{\cos 2x - \cos 6x}{2} = \sin 4x\sin 2x 2 c o s 2 x − c o s 6 x = sin 4 x sin 2 x ✓. (c) Derivative: cos x − sin 2 x cos x = cos x ( 1 − sin 2 x ) = cos 3 x \cos x - \sin^2 x\cos x = \cos x(1 - \sin^2 x) = \cos^3 x cos x − sin 2 x cos x = cos x ( 1 − sin 2 x ) = cos 3 x ✓.
Answer#
(a) x 2 + sin 6 x 12 + C \displaystyle \frac{x}{2} + \frac{\sin 6x}{12} + C 2 x + 12 sin 6 x + C ; (b) sin 2 x 4 − sin 6 x 12 + C \displaystyle \frac{\sin 2x}{4} - \frac{\sin 6x}{12} + C 4 sin 2 x − 12 sin 6 x + C ; (c) sin x − sin 3 x 3 + C \displaystyle \sin x - \frac{\sin^3 x}{3} + C sin x − 3 sin 3 x + C .
Common mistake to avoid#
In (a), ∫ cos 6 x d x = sin 6 x 6 \displaystyle \int\cos 6x\,dx = \tfrac{\sin 6x}{6} ∫ cos 6 x d x = 6 s i n 6 x , not sin 6 x \sin 6x sin 6 x . Dividing by the coefficient of x x x is easy to forget.
Question 6: Rationalising a trigonometric denominator#
The problem#
Find ∫ d x 1 + cos x \displaystyle \int\frac{dx}{1 + \cos x} ∫ 1 + cos x d x (multiply by 1 − cos x 1 - \cos x 1 − cos x ).
Understanding the problem#
The denominator 1 + cos x 1 + \cos x 1 + cos x is not a standard form. The hint tells you to multiply the numerator and denominator by 1 − cos x 1 - \cos x 1 − cos x , which is like multiplying by a conjugate.
The idea#
( 1 + cos x ) ( 1 − cos x ) = 1 − cos 2 x = sin 2 x (1 + \cos x)(1 - \cos x) = 1 - \cos^2 x = \sin^2 x ( 1 + cos x ) ( 1 − cos x ) = 1 − cos 2 x = sin 2 x . After that, the fraction splits into two standard integrals: csc 2 x \csc^2 x csc 2 x and csc x cot x \csc x\cot x csc x cot x .
Step-by-step solution#
Step 1. Multiply top and bottom by 1 − cos x 1 - \cos x 1 − cos x .
1 1 + cos x = 1 − cos x ( 1 + cos x ) ( 1 − cos x ) = 1 − cos x 1 − cos 2 x = 1 − cos x sin 2 x \displaystyle \frac{1}{1 + \cos x} = \frac{1 - \cos x}{(1 + \cos x)(1 - \cos x)} = \frac{1 - \cos x}{1 - \cos^2 x} = \frac{1 - \cos x}{\sin^2 x} 1 + cos x 1 = ( 1 + cos x ) ( 1 − cos x ) 1 − cos x = 1 − cos 2 x 1 − cos x = sin 2 x 1 − cos x
Step 2. Split into two fractions.
1 − cos x sin 2 x = 1 sin 2 x − cos x sin 2 x = csc 2 x − csc x cot x \displaystyle \frac{1 - \cos x}{\sin^2 x} = \frac{1}{\sin^2 x} - \frac{\cos x}{\sin^2 x} = \csc^2 x - \csc x\cot x sin 2 x 1 − cos x = sin 2 x 1 − sin 2 x cos x = csc 2 x − csc x cot x
(the second because cos x sin 2 x = 1 sin x ⋅ cos x sin x \displaystyle \tfrac{\cos x}{\sin^2 x} = \tfrac{1}{\sin x}\cdot\tfrac{\cos x}{\sin x} s i n 2 x c o s x = s i n x 1 ⋅ s i n x c o s x ).
Step 3. Integrate using ∫ csc 2 x d x = − cot x \displaystyle \int\csc^2 x\,dx = -\cot x ∫ csc 2 x d x = − cot x and ∫ csc x cot x d x = − csc x \displaystyle \int\csc x\cot x\,dx = -\csc x ∫ csc x cot x d x = − csc x .
∫ ( csc 2 x − csc x cot x ) d x = − cot x − ( − csc x ) + C = − cot x + csc x + C \displaystyle \int(\csc^2 x - \csc x\cot x)\,dx = -\cot x - (-\csc x) + C = -\cot x + \csc x + C ∫ ( csc 2 x − csc x cot x ) d x = − cot x − ( − csc x ) + C = − cot x + csc x + C
Checking the answer#
Differentiate: csc 2 x − csc x cot x = 1 − cos x sin 2 x = 1 1 + cos x \displaystyle \csc^2 x - \csc x\cot x = \tfrac{1 - \cos x}{\sin^2 x} = \tfrac{1}{1 + \cos x} csc 2 x − csc x cot x = s i n 2 x 1 − c o s x = 1 + c o s x 1 ✓. (Using half-angle formulas, csc x − cot x = tan x 2 \displaystyle \csc x - \cot x = \tan\tfrac{x}{2} csc x − cot x = tan 2 x , another correct form of the same answer.)
Answer#
∫ d x 1 + cos x = csc x − cot x + C \displaystyle \int\frac{dx}{1 + \cos x} = \csc x - \cot x + C ∫ 1 + cos x d x = csc x − cot x + C .
Question 7: Substituting an inverse trigonometric function#
The problem#
Find ∫ sin − 1 x 1 − x 2 d x \displaystyle \int\frac{\sin^{-1}x}{\sqrt{1 - x^2}}\,dx ∫ 1 − x 2 sin − 1 x d x .
Understanding the problem#
The integrand is sin − 1 x \sin^{-1}x sin − 1 x multiplied by 1 1 − x 2 \displaystyle \tfrac{1}{\sqrt{1 - x^2}} 1 − x 2 1 . From the standard table, 1 1 − x 2 \displaystyle \tfrac{1}{\sqrt{1 - x^2}} 1 − x 2 1 is the derivative of sin − 1 x \sin^{-1}x sin − 1 x .
The idea#
A function (sin − 1 x \sin^{-1}x sin − 1 x ) and its derivative are both present, so substitute t = sin − 1 x t = \sin^{-1}x t = sin − 1 x , just as in Example 5.
Step-by-step solution#
Step 1. Put t = sin − 1 x t = \sin^{-1}x t = sin − 1 x . Then d t = 1 1 − x 2 d x \displaystyle dt = \frac{1}{\sqrt{1 - x^2}}\,dx d t = 1 − x 2 1 d x .
Step 2. The integral becomes
∫ t d t = t 2 2 + C \displaystyle \int t\,dt = \frac{t^2}{2} + C ∫ t d t = 2 t 2 + C
Step 3. Substitute back.
∫ sin − 1 x 1 − x 2 d x = ( sin − 1 x ) 2 2 + C \displaystyle \int\frac{\sin^{-1}x}{\sqrt{1 - x^2}}\,dx = \frac{(\sin^{-1}x)^2}{2} + C ∫ 1 − x 2 sin − 1 x d x = 2 ( sin − 1 x ) 2 + C
Checking the answer#
Differentiate: 2 sin − 1 x 2 ⋅ 1 1 − x 2 \displaystyle \tfrac{2\sin^{-1}x}{2}\cdot\tfrac{1}{\sqrt{1 - x^2}} 2 2 s i n − 1 x ⋅ 1 − x 2 1 ✓.
Answer#
( sin − 1 x ) 2 2 + C \displaystyle \frac{(\sin^{-1}x)^2}{2} + C 2 ( sin − 1 x ) 2 + C .
Question 8: Substitution with a constant factor to adjust#
The problem#
Find ∫ sin 2 x cos 2 x d x \displaystyle \int\sqrt{\sin 2x}\,\cos 2x\,dx ∫ sin 2 x cos 2 x d x .
Understanding the problem#
sin 2 x \sin 2x sin 2 x sits inside the square root, and cos 2 x \cos 2x cos 2 x is present. The derivative of sin 2 x \sin 2x sin 2 x is 2 cos 2 x 2\cos 2x 2 cos 2 x , so the derivative is present apart from a factor of 2 2 2 .
The idea#
Put t = sin 2 x t = \sin 2x t = sin 2 x and adjust for the missing constant 2 2 2 . Then integrate a power of t t t .
Step-by-step solution#
Step 1. Put t = sin 2 x t = \sin 2x t = sin 2 x . By the chain rule, d t = 2 cos 2 x d x dt = 2\cos 2x\,dx d t = 2 cos 2 x d x , so cos 2 x d x = 1 2 d t \displaystyle \cos 2x\,dx = \tfrac{1}{2}dt cos 2 x d x = 2 1 d t .
Step 2. Rewrite the integral.
∫ t ⋅ 1 2 d t = 1 2 ∫ t 1 / 2 d t \displaystyle \int\sqrt{t}\cdot\frac{1}{2}\,dt = \frac{1}{2}\int t^{1/2}\,dt ∫ t ⋅ 2 1 d t = 2 1 ∫ t 1/2 d t
Step 3. Integrate the power.
1 2 ⋅ t 3 / 2 3 / 2 + C = 1 2 ⋅ 2 3 t 3 / 2 + C = t 3 / 2 3 + C \displaystyle \frac{1}{2}\cdot\frac{t^{3/2}}{3/2} + C = \frac{1}{2}\cdot\frac{2}{3}t^{3/2} + C = \frac{t^{3/2}}{3} + C 2 1 ⋅ 3/2 t 3/2 + C = 2 1 ⋅ 3 2 t 3/2 + C = 3 t 3/2 + C
Step 4. Substitute back.
∫ sin 2 x cos 2 x d x = ( sin 2 x ) 3 / 2 3 + C \displaystyle \int\sqrt{\sin 2x}\,\cos 2x\,dx = \frac{(\sin 2x)^{3/2}}{3} + C ∫ sin 2 x cos 2 x d x = 3 ( sin 2 x ) 3/2 + C
Checking the answer#
Differentiate: 1 3 ⋅ 3 2 ( sin 2 x ) 1 / 2 ⋅ 2 cos 2 x = sin 2 x cos 2 x \displaystyle \tfrac{1}{3}\cdot\tfrac{3}{2}(\sin 2x)^{1/2}\cdot 2\cos 2x = \sqrt{\sin 2x}\,\cos 2x 3 1 ⋅ 2 3 ( sin 2 x ) 1/2 ⋅ 2 cos 2 x = sin 2 x cos 2 x ✓.
Answer#
( sin 2 x ) 3 / 2 3 + C \displaystyle \frac{(\sin 2x)^{3/2}}{3} + C 3 ( sin 2 x ) 3/2 + C .
Common mistake to avoid#
Writing d t = cos 2 x d x dt = \cos 2x\,dx d t = cos 2 x d x and losing the factor 2 2 2 from the chain rule; that gives an answer twice too big.