Techniques for Evaluating Trigonometric Integrals
Techniques for Evaluating Trigonometric Integrals
Problem Set
▶ Problem
⊛ Solution
Start with Z
1
I= dx.
sin(x − a) cos(x − b)
Multiply and divide by cos(a − b):
Z
1 cos(a − b)
I= dx.
cos(a − b) sin(x − a) cos(x − b)
Using the identity
cos(a − b) = cos(x − b) cos(x − a) + sin(x − b) sin(x − a),
IG : integra land Techniques of Integration
Hence,
1
I= ln | sin(x − a)| − ln | cos(x − b)| + C.
cos(a − b)
⋆ Key Insight
⟲ Practice Exercises
✓ Final Answer
Z
1
dx
sin(x − a) cos(x − b)
1
= [ln | sin(x − a)| − ln | cos(x − b)|] + C
cos(a − b)
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Consider Z
cos 5x + cos 4x
I= dx.
1 − 2 cos 3x
Start by rewriting the denominator using
1 − 2 cos 3x = −2(cos 3x − 12 ).
Recall the identity
A+B A−B
cos A − cos B = −2 sin sin ,
2 2
which motivates rewriting cos 3x − 21 as a difference of cosines:
π 3x + π/3 3x − π/3
cos 3x − cos = −2 sin sin .
3 2 2
Equivalently, and more directly for this problem, observe that
1 − 2 cos 3x = sin 3x − sin 6x,
IG : integra land Techniques of Integration
cos x2
Z
I=− 3x dx.
sin 2
Use sin 3x x x
2 = 2 sin 2 cos 2 to simplify:
cos x2
Z Z
1 x
I=− dx = − csc dx.
2 sin x2 cos x2 2 2
Rewrite csc x2 in terms of cosine:
Z Z
1 x
− csc dx = − (cos 2x + cos x) dx.
2 2
Integrating termwise,
sin 2x
I=− + sin x + C.
2
IG : integra land Techniques of Integration
⋆ Key Insight
⟲ Practice Exercises
Try evaluating:
Z
cos 3x + cos 2x
(a) dx
1 − 2 cos x
Z
cos 7x + cos 5x
(b) dx
1 − 2 cos 4x
Z
sin 4x + sin 2x
(c) dx
1 − 2 cos 3x
IG : integra land Techniques of Integration
✓ Final Answer
Z
cos 5x + cos 4x sin 2x
dx = − + sin x + C
1 − 2 cos 3x 2
▶ Problem
⊛ Solution
Let
x2 + x + 1
Z
I= √ dx.
x2 + 2x + 3
The key observation is that the denominator involves the
quadratic x2 + 2x + 3, whose derivative is 2x + 2. Hence we try to
rewrite the numerator so that this expression naturally appears.
Write
x2 + x + 1 = (x2 + 2x + 3) − (x + 2).
IG : integra land Techniques of Integration
Thus,
x2 + 2x + 3
Z Z
x+2
I= √ dx − √ dx.
2
x + 2x + 3 2
x + 2x + 3
Split the integral:
I = I1 − I2 ,
where
Z √ Z
x+2
I1 = x2 + 2x + 3 dx, I2 = √ dx.
2
x + 2x + 3
Evaluation of I1:
Complete the square:
x2 + 2x + 3 = (x + 1)2 + 2.
Let z = x + 1, so that dx = dz. Then
Z √
I1 = z 2 + 2 dz.
Combining results:
1 √ √
I = I1 − I2 = (x + 1) x + 2x + 3 − x2 + 2x + 3 + C.
2
2
Factor the square root:
1 √
I = (x − 1) x2 + 2x + 3 + C.
2
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
x2 + 3x + 5
Z
(a) √ dx
x2 + 4x + 6
x2 + 1
Z
(b) √ dx
x2 + 2x + 2
Z √
(c) x2 + 6x + 10 dx
✓ Final Answer
x2 + x + 1 √
Z
1
√ dx = (x − 1) x2 + 2x + 3 + C
x2 + 2x + 3 2
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Let
y =x−β ⇒ dx = dy.
Then
sin(x + α) = sin(y + α + β), cos(x − β) = cos y.
Hence the integral becomes
Z
dy
I= p .
sin(y + α + β) cos3 y
Set
θ = α + β.
IG : integra land Techniques of Integration
Then Z
dy
I= p .
3
cos y sin(y + θ)
Use the identity
sin(y + θ) = sin y cos θ + cos y sin θ.
Substituting,
Z
dy
I= q .
cos3 y sin y cos θ + cos y sin θ
Therefore,
2z
I= + C = 2 sec θ z + C.
cos θ
Restoring z,
p
I = 2 sec θ cos θ tan y + sin θ + C.
Replace y = x − β and θ = α + β:
p
I = 2 sec(α + β) cos(α + β) tan(x − β) + sin(α + β) + C.
Finally, rewrite in a symmetric trigonometric form:
s
sin(x + α)
I = 2 sec(α + β) + C.
cos(x − β)
⋆ Key Insight
ferentiate to verify.
IG : integra land Techniques of Integration
⟲ Practice Exercises
✓ Final Answer
Z s
dx sin(x + α)
= 2 sec(α + β) +C
cos(x − β)
p
sin(x + α) cos3(x − β)
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
⋆ Key Insight
⟲ Practice Exercises
✓ Final Answer
Z
1 5x
(det A) dx = 5 +C
ln3 5
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Consider
1
Z
3m 2m m 2m m
I= x +x +x 2x + 3x + 6 m dx.
⋆ Key Insight
factor can be reshaped into the derivative of the base. Here, the
polynomial in front is deliberately crafted to make the substitution
exact.
⟲ Practice Exercises
Evaluate:
Z
(a) (x2m + xm)(x3m + 2)1/m dx
Z
(b) xm−1(xm + 1)(x2m + 3xm)1/m dx
Z
(c) (x4m + x2m)(3x3m + 1)1/m dx
IG : integra land Techniques of Integration
✓ Final Answer
1
Z
3m 2m m 2m m
x +x +x 2x + 3x + 6 m dx
1 3m 2m
m+1
m m
= 2x + 3x + 6x +C
6(m + 1)
▶ Problem
⊛ Solution
Let Z r
cos x − cos3 x
I= dx.
1 − cos3 x
Factor the numerator:
cos x − cos3 x = cos x(1 − cos2 x) = cos x sin2 x.
IG : integra land Techniques of Integration
Thus,
Z r
cos x sin2 x
I= dx.
1 − cos3 x
Rewrite the square root:
Z √
sin x cos x
I= √ dx.
3
1 − cos x
Now observe that the denominator suggests the substitution
t = cos3/2 x.
Differentiate:
3 1/2
dt = cos x(− sin x) dx.
2
Hence,
√ 2
sin x cos x dx = − dt.
3
Substitute into the integral:
Z
2 dt
I=− √ .
3 1 − t2
This is a standard inverse–trigonometric integral:
Z
dt
√ = sin−1 t.
1 − t2
Therefore,
2
I = − sin−1 t + C.
3
Restoring t = cos3/2 x,
2 −1 3/2
I = − sin cos x + C.
3
IG : integra land Techniques of Integration
⋆ Key Insight
⟲ Practice Exercises
✓ Final Answer
Z r
cos x − cos3 x 2 −1 3/2
dx = − sin cos x +C
1 − cos3 x 3
▶ Problem
⊛ Solution
Let Z
dx
I= .
cos x + csc x
1
Rewrite csc x = :
sin x
Z Z
dx sin x dx
I= = .
cos x + sin1 x sin x cos x + 1
IG : integra land Techniques of Integration
Hence, √
1 3+s
I = √ ln √ − tan−1 t + C.
2 3 3−s
Restoring s and t,
√
1 3 + sin x − cos x
I = √ ln √ − tan−1(sin x + cos x) + C.
2 3 3 − sin x + cos x
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z
dx
(a)
sin x + sec x
IG : integra land Techniques of Integration
Z
sin x dx
(b)
1 + sin x cos x
Z
dx
(c)
cos x + sin x
✓ Final Answer
Z √
dx 1 3 + sin x − cos x
= √ ln √
cos x + csc x 2 3 3 − sin x + cos x
− tan−1(sin x + cos x) + C
▶ Problem
⊛ Solution
Consider Z
dx
I= √ .
(a + x ) b − ax2
2
Thus,
√ √ √ 2
a a2 +b t a +b
I= · tan−1 + C.
a2 + b a a
Simplifying,
√ 2
1 t a + b
I=p tan−1 + C.
2
a(a + b) a
x
Finally, restore t = tan θ and tan θ = √ :
b − ax 2
√ 2
1 x a + b
I=p tan−1 √ + C.
2
a(a + b) a b − ax 2
⋆ Key Insight
√
The presence of b − ax2 almost always signals a sine substitu-
tion. After that step, the integral collapses into a rational function
of tan θ, which is why a second substitution finishes the problem
cleanly.
⟲ Practice Exercises
Evaluate:
Z
dx
(a) √
(1 + x ) 1 − x2
2
Z
dx
(b) √
(a + x2) c − x2
Z
x dx
(c) √
(a + x ) b − ax2
2
✓ Final Answer
Z √ 2
dx 1 x a + b
√ =p tan−1 √ +C
2
(a + x ) b − ax 2 2
a(a + b) a b − ax 2
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Define
f (x) = x cos x − sin x, g(x) = x sin x + cos x.
Differentiate:
f ′(x) = −x sin x, g ′(x) = x cos x.
Observe that
f ′(x)g(x) + f (x)g ′(x) = −x2 sin2 x + x2 cos2 x = −x2.
Hence,
x2 f ′(x)g(x) + f (x)g ′(x) d
=− = − ln f (x)g(x) .
f (x)g(x) f (x)g(x) dx
Therefore,
Z
d
I=− ln f (x)g(x) dx = − ln f (x)g(x) + C.
dx
Thus,
g(x) x sin x + cos x
I = ln + C = ln + C.
f (x) x cos x − sin x
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z
x
(a) dx
(x cos x − sin x)
x2
Z
(b) dx
(x sin x − cos x)(x cos x + sin x)
Z
x
(c) dx
(x sin x + cos x)
✓ Final Answer
x2
Z
x sin x + cos x
dx = ln +C
(x cos x − sin x)(x sin x + cos x) x cos x − sin x
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Let Z
sin x + sin 2x
I= √ dx.
cos x + cos 2x
First rewrite sin 2x:
sin 2x = 2 sin x cos x.
Thus the numerator becomes
sin x + sin 2x = sin x(1 + 2 cos x).
Next rewrite the denominator using cos 2x = 2 cos2 x − 1:
cos x + cos 2x = cos x + 2 cos2 x − 1 = 2 cos2 x + cos x − 1.
Hence, Z
sin x(1 + 2 cos x)
I= √ dx.
2 cos2 x + cos x − 1
IG : integra land Techniques of Integration
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z
sin x
(a) √ dx
cos x + cos 2x
Z
sin x + sin 3x
(b) √ dx
cos x + cos 3x
Z
sin 2x
(c) √ dx
1 + cos 2x
IG : integra land Techniques of Integration
✓ Final Answer
√
Z
sin x + sin 2x
√ dx = − cos x + cos 2x + C
cos x + cos 2x
▶ Problem
⊛ Solution
Start with Z √ √
cot x − tan x
I= dx.
1 + 3 sin 2x
Rewrite the numerator:
√ √ 1 − tan x
cot x − tan x = √ .
tan x
Also rewrite the denominator using sin 2x = 2 sin x cos x:
1 + 3 sin 2x = 1 + 6 sin x cos x.
IG : integra land Techniques of Integration
Thus, Z
(1 − tan x) dx
I= √ .
tan x (1 + 6 sin x cos x)
Now express everything in terms of tan x:
tan x 1
sin x = √ , cos x = √ ,
1+ tan2 x 1+ tan2 x
so that
6 tan x
1 + 6 sin x cos x = 1 + .
1 + tan2 x
Multiplying numerator and denominator by (1 + tan2 x),
(1 − tan x)(1 + tan2 x) dx
Z
I= √ 2
.
tan x (tan x + 6 tan x + 1)
Now introduce the substitution
dt
t = tan x ⇒ dx = .
1 + t2
Substituting, Z
(1 − t) dt
I= √ .
t (t2 + 6t + 1)
Next, set
t = u2 ⇒ dt = 2u du.
Then
(1 − u2) 2u du 1 − u2
Z Z
I= =2 du.
u(u4 + 6u2 + 1) u4 + 6u2 + 1
Rewrite the denominator:
u4 + 6u2 + 1 = (u2 + 3)2 − 8.
Now observe that
2 2
1 − u = − u + 3 + 4.
IG : integra land Techniques of Integration
Thus,
− u2 + 3 + 4 u2 + 3
Z Z
I=2 du = −2 du
(u2 + 3)2 − 8 (u2 + 3)2 − 8
Z
du
+8 .
(u2 + 3)2 − 8
The dominant contribution reduces to an inverse–tangent after
the substitution
y = u2 + 3.
Carrying out the standard evaluation,
2
u +1
I = − tan−1 + C.
2u
√
Finally, restore u = t and t = tan x:
tan x + 1
I = − tan−1 √ + C.
2 tan x
Writing the answer symmetrically,
√ √
tan x + cot x
I = − tan−1 + C.
2
⋆ Key Insight
√ √
Whenever expressions like tan x and cot x appear together,
rewriting everything in terms of tan x is almost always the correct
first step. The substitution t = tan x followed by t = u2 is a
powerful two–step reduction that converts radicals into rational
functions.
IG : integra land Techniques of Integration
⟲ Practice Exercises
Evaluate:
Z √ √
tan x + cot x
(a) dx
1 + sin 2x
Z √
tan x − 1
(b) dx
1 + sin 2x
Z
dx
(c) √
tan x(1 + sin 2x)
✓ Final Answer
Z √ √ √ √
cot x − tan x tan x + cot x
dx = − tan−1 +C
1 + 3 sin 2x 2
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Let
x4 − 1
Z
I= √ dx.
2 4
x x +x +1 2
Now notice: 2
1 1
x2 + 1 + 2 = x + − 1.
x x
This suggests the substitution
2
1
t= x+ − 1.
x
IG : integra land Techniques of Integration
Differentiate:
1 1
dt = 2 x + 1 − 2 dx.
x x
But also observe that
2
1 1 1 x −1
x+ 1− 2 = x+
x x x x2
(x2 + 1)(x2 − 1) x4 − 1
= = .
x3 x3
Thus, 4
x −1
dt = 2 dx.
x3
Hence,
4
x −1 1
dx = dt.
x3 2
Now return to the integral. Since
r
1 √
2
x + 1 + 2 = t + 1,
x
we have
Z x4 −1 Z Z
x3 1 1 1 dt
I= q dx = √ · dt = √ .
x2 + 1 + x12 t+1 2 2 t+1
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
x4 − 1
Z
(a) √ dx
x2 x4 + 1
x2 − 1
Z
(b) q dx
1
x x 2 + 1 + x2
x6 − 1
Z
(c) √ dx
3 6
x x +x +1 3
✓ Final Answer
r
4
Z
x −1 1
√ dx = x2 + 1 + 2 + C
x2 x4 + x 2 + 1 x
√
x4 + x 2 + 1
= + C (x > 0)
x
▶ Problem
⊛ Solution
Let Z
1 − x sin x
I= dx.
1 − x3e3 cos x
Define
t = xecos x.
Differentiate t:
cos x
= ecos xdx+x ecos x(− sin x)dx = ecos x(1−x sin x)dx.
dt = d xe
Thus,
(1 − x sin x)dx = e− cos xdt.
Now rewrite the denominator in terms of t:
x3e3 cos x = (xecos x)3 = t3.
Hence,
e− cos xdt
Z
I= .
1 − t3
But from t = xecos x we have e− cos x = xt , and so
Z
x dt
I= · .
t 1 − t3
To express x in terms of t cleanly, notice we can instead start by
multiplying numerator and denominator by ecos x:
Z cos x
d(xecos x)
Z
e (1 − x sin x)
I= dx = .
ecos x(1 − x3e3 cos x) t(1 − t3)
Indeed,
d(xecos x) = ecos x(1−x sin x)dx, ecos x(1−x3e3 cos x) = t(1−t3).
IG : integra land Techniques of Integration
Therefore, Z
dt
I= .
t(1 − t3)
Now factor:
1 − t3 = (1 − t)(1 + t + t2),
so
1 1
= .
t(1 − t3) t(1 − t)(1 + t + t2)
Use partial fractions in the form
1 A B Ct + D
= + + .
t(1 − t)(1 + t + t2) t 1 − t 1 + t + t2
Multiply through by t(1 − t)(1 + t + t2):
1 = A(1 − t)(1 + t + t2) + Bt(1 + t + t2) + (Ct + D)t(1 − t).
Comparing coefficients (or solving systematically) gives
1 2 1
A = 1, B= , C=− , D=− .
3 3 3
Thus,
− 23 t − 31
Z
1 1/3
I= + + dt.
t 1 − t 1 + t + t2
Integrate term by term:
Z Z
dt dt
= ln |t|, = − ln |1 − t|.
t 1−t
For the last term, use that
d
(1 + t + t2) = 1 + 2t.
dt
Write the numerator as a linear combination of (1 + 2t) and a
constant:
2 1 1
− t − = − (1 + 2t) + 0.
3 3 3
IG : integra land Techniques of Integration
Hence,
− 23 t − 13
Z Z
1 1 + 2t 1 2
dt = − dt = − ln 1 + t + t .
1 + t + t2 3 1 + t + t2 3
Putting everything together,
1 1
I = ln |t| − ln |1 − t| − ln 1 + t + t2 + C.
3 3
Finally, restore t = xecos x:
cos x 1 cos x 1 cos x 2 2 cos x
I = ln xe − ln 1 − xe − ln 1 + xe +x e + C.
3 3
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z
1 − x sin x
(a) dx
1 − (xecos x)2
Z cos x
e (1 − x sin x)
(b) dx
1 − (xecos x)3
Z
dt
(c) (n ∈)
t(1 − tn)
✓ Final Answer
Z
1 − x sin x cos x 1 cos x
dx = ln |xe | − ln |1 − xe |
1 − x3e3 cos x 3
1 cos x 2 2 cos x
− ln 1 + xe +x e +C
3
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
We start with Z
2
I= sin 4x etan x dx.
So
sin 4x = 4 sin x cos x(cos2 x − sin2 x).
Now factor cos x terms by writing sin x = tan x cos x:
sin 4x = 4(tan x cos x) cos x(cos2 x − sin2 x)
= 4 tan x cos2 x(cos2 x − sin2 x).
But
cos2 x − sin2 x = cos2 x(1 − tan2 x),
so
sin 4x = 4 tan x cos4 x(1 − tan2 x).
Therefore,
Z
2
I=4 tan x cos4 x(1 − tan2 x) etan x dx.
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z
2
(a) sin 2x etan x dx
Z
(b) sin 4x etan x dx
✓ Final Answer
Z
2 2x
sin 4x etan x dx = −2 cos4 x etan +C
▶ Problem
⊛ Solution
We start with Z
1 − cos x
I= dx.
cos x(1 + cos x)
Let y = cos x momentarily to simplify the algebraic manipulation:
1 − cos x 1−y
= .
cos x(1 + cos x) y(1 + y)
Now decompose:
1−y A B
= + .
y(1 + y) y 1+y
IG : integra land Techniques of Integration
⋆ Key Insight
1 − cos x
The expression looks complicated, but it is just a
cos x(1 + cos x)
rational function in cos x. Once decomposed,Reverything becomes
1
R
standard: sec x dx gives a logarithm, and 1+cos x dx collapses
via the half-angle identity.
move).
⟲ Practice Exercises
Evaluate:
Z
1 − sin x
(a) dx
sin x(1 + sin x)
Z
1 − cos x
(b) dx
1 + cos x
Z
dx
(c)
1 + cos x
✓ Final Answer
Z
1 − cos x x
dx = ln | sec x + tan x| − 2 tan + C
cos x(1 + cos x) 2
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Let
t = 1 + x2 ⇒ dt = 2x dx.
Rewrite the integrand by separating x2009 = x2008 ·x = (x2)1004 ·x:
x2009 (x2)1004 x
Z Z
dx = dx.
(1 + x2)1006 (1 + x2)1006
Using x2 = t − 1 and 2x dx = dt:
(t − 1)1004 dt 1 (t − 1)1004
Z Z
I= · = dt.
t1006 2 2 t1006
Now factor t1004 out of (t − 1)1004 by writing
1004
1004 1004
(t − 1) t−1 1 1 1
= · = 1 − .
t1006 t t2 t t2
Thus, 1004
Z
1 1 dt
I= 1− .
2 t t2
Step 2: Second substitution y = 1 − 1t .
Let
1
y =1− .
t
Then
1 d 1 1
dy = 2 dt (since − = 2 ).
t dt t t
So the integral becomes
1 y 1005
Z
1 1004 1 1005
I= y dy = · +C = y + C.
2 2 1005 2010
Now undo y:
1 t−1
y =1− = .
t t
So 1005
1 t−1
I= + C.
2010 t
IG : integra land Techniques of Integration
⋆ Key Insight
m
x2
The expression 1+x2
is a huge hint: it suggests the ratio
t−1 1
=1− with t = 1 + x2.
t t
The exponent 1006 is not random: it produces exactly t−2dt, mak-
ing the second substitution effortless.
⟲ Practice Exercises
Find m + n if
Z 2k+1
2 m
x 1 x
(a) dx = +C
(1 + x2)k+2 n 1 + x2
x999
Z 2 p
x
(b) dx in the form c 1+x2
+C
(1 + x2)500
✓ Final Answer
m + n = 3015
▶ Problem
⊛ Solution
A key fact:
Z Z
A C
dx = A ln |x|, dx = C ln |x + 1|.
x x+1
So for the antiderivative to be rational, we must have
A = 0 and C = 0.
Multiply both sides by x2(x + 1)2:
ax2 + (a − 3)x + 1 = Ax(x + 1)2 + B(x + 1)2 + Cx2(x + 1) + Dx2.
Since we require A = C = 0, this reduces to
ax2 + (a − 3)x + 1 = B(x + 1)2 + Dx2.
Expand:
B(x+1)2 +Dx2 = B(x2 +2x+1)+Dx2 = (B +D)x2 +2Bx+B.
Match coefficients with ax2 + (a − 3)x + 1:
B = 1,
2B = a − 3,
B + D = a.
⋆ Key Insight
⟲ Practice Exercises
✓ Final Answer
f (10) = 521
▶ Problem
⊛ Solution
Let
√
x = tan2 θ.
√
Since 0 < x < 1, we have 0 < x < 1, hence 0 < tan θ < 1 and
we may take π
θ ∈ 0, .
4
IG : integra land Techniques of Integration
Then
x = tan4 θ, dx = 4 tan3 θ sec2 θ dθ.
Next simplify the inner radicals:
p √ p
1 + x = 1 + tan2 θ = sec θ.
So the expression under the square root becomes
p √
1 + x − 1 sec θ − 1
p √ = .
1+ x+1 sec θ + 1
Now set
u = tan θ ⇒ du = sec2 θ dθ.
IG : integra land Techniques of Integration
Then Z
4 4
I=4 u4 du = u5 + C = tan5 θ + C.
5 5
Finally, recover tan θ from x = tan4 θ:
tan θ = x1/4.
Hence
4
I = x5/4 + C.
5
sec θ − 1
Proof of the identity = tan2 2θ :
sec θ + 1
1
Write sec θ = :
cos θ
1
sec θ − 1 cos θ − 1 1 − cos θ
= 1 = .
sec θ + 1 cos θ +1 1 + cos θ
⋆ Key Insight
−1
The outer form tan 2 tan (·) is a signal that the inside should
simplify to a tangent. Here the messy nested radical is engineered
to become r
sec θ − 1 θ
= tan ,
sec θ + 1 2
so the whole integrand collapses instantly to tan θ.
IG : integra land Techniques of Integration
⟲ Practice Exercises
Evaluate:
Z r !
1 − cos x
(a) tan 2 tan−1 dx
1 + cos x
Z r !
sec x − 1
(b) tan 2 tan−1 dx
sec x + 1
Z
s√
1 + x − 1
(c) tan2 tan−1 √ dx
1+x+1
✓ Final Answer
Z sp √ !
1+ x−1 4
tan 2 tan−1 p √ dx = x5/4 + C
1+ x+1 5
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Let
P (x) = x4 + 2x3 − x2 + 2x + 1.
Step 1: Reveal the x + x1 structure inside the radical.
Factor out x2:
2 1
P (x) = x2 x2 + 2x − 1 + + 2 .
x x
Now notice 2
1 1
x+ +2 x+ −3
x x
IG : integra land Techniques of Integration
1 2
= x2 + 2 + 2 + 2x + −3
x x
2 1
= x2 + 2x − 1 + + 2 .
x x
Hence
" 2 #
1 1
P (x) = x2 x+ +2 x+ −3 .
x x
Introduce
1
t=x+ .
x
Then
p p
2 2
P (x) = x (t + 2t − 3), P (x) = |x| t2 + 2t − 3.
(For an Integration Bee solution one often assumes x > 0; then
|x| = x.)
So (assuming x > 0 to avoid absolute values),
p p
P (x) = x t2 + 2t − 3.
Step 2: Express the remaining algebra in terms of t
and dt.
Compute dt:
x2 − 1
1 1
t=x+ ⇒ dt = 1 − 2 dx = dx
x x x2
(x − 1)(x + 1)
= dx.
x2
p √
Now rewrite the integrand using P (x) = x t2 + 2t − 3:
Z √ Z √
(x − 1) x t2 + 2t − 3 (x − 1) t2 + 2t − 3
I= dx = dx.
x2(x + 1)2 x(x + 1)2
IG : integra land Techniques of Integration
Z Z
t dt
= √ dt −3 √ .
t2 + 2t − 3 (t + 2) t2 + 2t − 3
| {z } | {z }
I1 I2
So
I = I1 − 3I2.
Step 4: Evaluate I1.
Complete the square:
t2 + 2t − 3 = (t + 1)2 − 4.
Thus Z
t
I1 = p dt.
(t + 1)2
−4
Let z = t + 1, so t = z − 1 and dt = dz:
Z Z Z
z−1 z dz
I1 = √ dz = √ dz − √ .
2
z −4 2
z −4 2
z −4
The first integral is immediate:
Z
z p
√ dz = z 2 − 4.
2
z −4
The second is standard:
Z
dz p
√ = ln z + z 2 − a2 + C,
2
z −a 2
with a = 2, hence
Z
dz p
√ = ln z + z 2 − 4 .
z2 − 4
Therefore,
p p
I1 = z − 4 − ln z + z 2 − 4 + C
2
p p
= (t + 1)2 − 4 − ln t + 1 + t2 + 2t − 3 + C.
IG : integra land Techniques of Integration
So
p p
I1 = t + 2t − 3 − ln t + 1 + t2 + 2t − 3 + C.
2
hp p i
I = I1 − 3I2 = t2 + 2t − 3 − ln t + 1 + t2 + 2t − 3
1 t+5
−3 − √ sin−1 + C.
3 2(t + 2)
So p p
I= t2 + 2t − 3 − ln t + 1 + t2 + 2t − 3
√
t + 5
+ 3 sin−1 + C.
2(t + 2)
Finally, restore
1
t=x+ .
x
Hence the antiderivative is
s 2
1 1
I= x+ +2 x+ −3
x x
IG : integra land Techniques of Integration
s 2
1 1 1
− ln x + +1+ x+ +2 x+ −3
x x x
!
√ x + x1 + 5
+ 3 sin−1 1
+ C.
2 x+ x +2
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z √
(x − 1) x4 + x2 + 1
(a) dx
x2(x + 1)2
r
2 1
2
Z (x − 1) x2 x + x − 1
(b) dx
x3
Z √2
t + 2t − 3
(c) dt
t+2
✓ Final Answer
Z √
(x − 1) x4 + 2x3 − x2 + 2x + 1
dx
x2(x + 1)2
p p
= t2 + 2t − 3 − ln t + 1 + t2 + 2t − 3
√
t + 5 1
+ 3 sin−1 + C, t=x+ .
2(t + 2) x
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Start with
xx(x2x + 1)(ln x + 1)
Z
I= dx.
x4x + 1
Step 1: Use the substitution y = xx.
Then
dy = xx(ln x + 1) dx.
Also,
x2x = y 2, x4x = y 4.
Hence the integral reduces immediately to
Z 2
y +1
I= dy.
y4 + 1
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z x
x (ln x + 1)
(a) dx
x2x + 1
Z 2
y +1
(b) dy
y4 + 4
✓ Final Answer
−x
xx(x2x + 1)(ln x + 1)
Z x
1 −1 x − x
dx = √ tan √ +C
x4x + 1 2 2
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Start with
ex dx
Z
I= 2 .
sin(ex)
+ x x
e cos(e )
Step 1: First substitution t = ex.
Then
dt = exdx,
and the integral becomes
Z
dt
I= .
(sin t + t cos t)2
Step 2: Rewrite the denominator.
IG : integra land Techniques of Integration
Factor cos t:
sin t + t cos t = cos t(tan t + t).
Hence
sec2 t dt
Z Z
dt
I= = .
cos2 t(tan t + t)2 (tan t + t)2
Step 3: Second substitution y = tan t − t.
Differentiate:
dy = (sec2 t − 1)dt = tan2 t dt.
Observe that
sec2 t = tan2 t + 1,
so
sec2 t dt = dy + dt.
Using this structure (the cancellation is the key design of the prob-
lem), the integral reduces to
Z
I = sec2 y dy.
Step 4: Integrate.
Z
sec2 y dy = tan y + C.
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
ex dx
Z
(a)
(cos(ex) − ex sin(ex))2
Z
dt
(b)
(sin t + t cos t)2
✓ Final Answer
ex dx
Z
x −1 x
2 = tan e − tan e +C
sin(ex) + x x
e cos(e )
IG : integra land Techniques of Integration
▶ Problem
⊛ Solution
Let
−1
etan x √ 2
Z
−1 2 + cos−1
1 − x
I= sec 1 + x dx, x > 0.
1 + x2 1 + x2
Step 1: Simplify each inverse–trigonometric term.
√
(a) Simplify sec−1 1 + x2.
Let θ = tan−1 x with x > 0, so θ ∈ (0, π/2). Then tan θ = x and
p √
2
sec θ = 1 + tan θ = 1 + x2.
Since θ ∈ (0, π/2), sec θ > 0 and the principal value gives
−1
√
sec 1 + x2 = sec−1(sec θ) = θ = tan−1 x.
−1 1−x2
(b) Simplify cos 1+x2
.
IG : integra land Techniques of Integration
Therefore,
I = 3et(t − 1) + C.
Restore t = tan−1 x:
tan−1 x −1
I = 3e tan x − 1 + C.
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z tan−1 x
e −1
(a) tan x dx
1 + x2
Z tan−1 x 2
e −1 1 − x
(b) cos dx
1 + x2 1 + x2
IG : integra land Techniques of Integration
−1
etan x −1√
Z
(c) 2
sec 1 + x2 dx
1+x
✓ Final Answer
Z tan−1 x √
2
e −1 2 + cos−1
1 − x
sec 1 + x dx
1 + x2 1 + x2
−1
= 3etan x tan−1 x − 1 + C
▶ Problem
⊛ Solution
Let Z
I= sin(101x) sin99 x dx.
IG : integra land Techniques of Integration
Rewrite
sin(101x) = sin(100x + x) = sin(100x) cos x + cos(100x) sin x.
Thus,
Z
sin(100x) cos x + cos(100x) sin x sin99 x dx.
I=
Distribute sin99 x:
Z Z
I = sin(100x) cos x sin99 x dx + cos(100x) sin x sin99 x dx.
⋆ Key Insight
⟲ Practice Exercises
Evaluate:
Z
(a) sin((n + 1)x) sinn−1 x dx
Z
(b) cos((n − 1)x) sinn x dx
Z
(c) sin(51x) sin49 x dx
✓ Final Answer
sin(100x) sin100 x
Z
99
sin(101x) sin x dx = +C
100