SlideShare a Scribd company logo
1 of 11
Download to read offline
Integration Involving Trigonometric Functions
and Trigonometric Substitution
Dr. Philippe B. Laval
Kennesaw State University
September 7, 2005
Abstract
This handout describes techniques of integration involving various
combinations of trigonometric functions. It also describes a technique
known as trigonometric substitution. Students may want to review some
basic trigonometric identities before reading further. The following trigono-
metric identities will be used:
• sin2
x + cos2
x = 1
• 1 + tan2
x = sec2
x
• sin2
x =
1 − cos 2x
2
• cos2
x =
1 + cos 2x
2
• sin 2x = 2 sin x cos x
In addition, students need to remember the following:
• sin x is invertible when −
π
2
≤ x ≤
π
2
. Its inverse is denoted sin−1
x.
• tan x is invertible when −
π
2
< x <
π
2
. Its inverse is denoted tan−1
x.
• sec x is invertible when 0 ≤ x <
π
2
or π ≤ x <
3π
2
. Its inverse is
denoted sec−1
x.
1 Powers of Sine and Cosine
Before we explain the technique, let us recall that we can integrate integrals
of the form sinn
x cos xdxor cosn
x sin xdx where n is a positive integer, by
using substitution. For example, to integrate sinn
x cos xdx, we let u = sin x
1
then du = cos xdx. Therefore
sinn
x cos xdx = un
du
=
un+1
n + 1
=
sinn+1
x
n + 1
The other integral is done similarly.
The technique used here depends on whether one of the powers is odd or
both are even. We summarize the techniques, then do some examples.
Proposition 1 Suppose we have an integral of the form sinm
x cosn
xdx.
1. If n is odd, that is n = 2k + 1, then save one cosine factor, and use the
identity sin2
x + cos2
x = 1 to express the remaining factors in terms of
sine. Then, use the substitution u = sin x. In other words
sinm
x cosn
xdx = sinm
x cos2k+1
xdx
= sinm
x cos2k
x cos xdx
= sinm
x 1 − sin2
x
k
cos xdx
2. If m is odd, that is m = 2k + 1, then save one sine factor, and use the
identity sin2
x + cos2
x = 1 to express the remaining factors in terms of
cosine. Then, use the substitution u = cos x. In other words
sinm
x cosn
xdx = sin2k+1
x cosn
xdx
= sin2k
x cosn
x sin xdx
= 1 − cos2
x
k
cosn
x sin xdx
3. If both m and n are even, we use the half-angle identities
sin2
x =
1 − cos 2x
2
cos2
x =
1 + cos 2x
2
as well as the identity
sin x cos x =
sin 2x
2
2
We illustrate the following techniques with some examples.
Example 2 Find cos3
xdx
This is the case where the power of cosine is odd. We save one cosine factor
and write
cos3
x = cos2
x cos x
= 1 − sin2
x cos x
Therefore,
cos3
xdx = 1 − sin2
x cos xdx
= cos xdx − sin2
x cos xdx (1)
The first integral is known
cos xdx = sin x (2)
The second integral can be evaluated using the substitution u = sin x =⇒ du =
cos xdx and therefore
sin2
x cos xdx = u2
du (3)
=
u3
3
=
sin3
x
3
Using equation 2 and equation 3 in equation 1 gives us
cos3
xdx = sin x −
sin3
x
3
+ C
Example 3 Find sin5
x cos2
xdx
This is the case where the power of sine is odd. We save one sine factor and
write
sin5
x cos2
x = sin4
x cos2
x sin x
= sin2
x
2
cos2
x sin x
= 1 − cos2
x
2
cos2
x sin x
= 1 − 2 cos2
x + cos4
x cos2
x sin x
= cos2
x sin x − 2 cos4
x sin x + cos6
x sin x
3
Therefore,
sin5
x cos2
xdx = cos2
x − 2 cos4
x + cos6
x sin xdx
We then use the substitution u = cos x =⇒ du = − sin xdx to get
sin5
x cos2
xdx = − u2
− 2u4
+ u6
du
= −
u3
3
−
2u5
5
+
u7
7
+ C
= −
cos3
x
3
+
2 cos5
x
5
−
cos7
x
7
+ C
Example 4 Find sin2
xdx
This is the case when the powers of sine and cosine are even (the power of cosine
being 0). We use the half angle identity sin2
x =
1 − cos 2x
2
to obtain
sin2
xdx =
1
2
(1 − cos 2x) dx
We use the substitution u = 2x =⇒ du = 2dx to get
sin2
xdx =
1
4
(1 − cos u) du
=
1
4
(u − sin u) + C
=
1
4
(2x − sin 2x) + C
=
x
2
−
sin 2x
4
+ C
Similar techniques can be applied to powers of tangent and secant. We will
not cover them here. They can be found in most Calculus books.
2 Trigonometric Substitution
The techniques we are about to describe apply to integrals containing expres-
sions of the form
a2 − x2
a2 + x2
x2 − a2
for which the other techniques have failed. For example, if we were given
x
√
1 − x2dx, the substitution u = 1 − x2
would work. However, if we were
4
given
√
1 − x2dx, it would be much more difficult to do. We will look at each
case separately. Before we do this, it is important to keep in mind an important
difference between the substitution technique learned before and the one we are
about to explain. In the traditional substitution, we define the new variable in
terms of the old. For example, u = 1 − x2
. In trigonometric substitution, we
redefine the given variable.
Remark 5 In order to be able to do this substitution successfully, you must be
able to find all the trigonometric functions, knowing one of them. This can be
done either by using trigonometric identities or a triangle. This technique can
be found in any book dealing with trigonometric functions. It can also be found
on the handout linked to on the web site for the class.
2.1 Integral Containing
√
a2 − x2
We use the substitution x = a sin θ, with −
π
2
≤ θ ≤
π
2
and a > 0. We impose
this restriction on θ so that sin θ will have an inverse. This substitution is based
on the identity 1 − sin2
θ = cos2
θ and works as follows:
x = a sin θ =⇒ x2
= a2
sin2
θ
=⇒ a2
− x2
= a2
− a2
sin2
θ
= a2
1 − sin2
θ
= a2
cos2
θ
Therefore
a2 − x2 =
√
a2 cos2 θ
= |a cos θ|
= |a| |cos θ|
= a cos θ
We were able to remove the absolute value because a > 0 and cos θ ≥ 0 when
−
π
2
≤ θ ≤
π
2
. We illustrate this with examples.
Example 6 Find
√
9 − x2
x2
dx
We let x = 3 sin θ, with −
π
2
≤ θ ≤
π
2
. Then dx = 3 cos θ. Also, as noted above,
5
√
9 − x2 = 3 cos θ. Therefore,
√
9 − x2
x2
dx =
3 cos θ
9 sin2
θ
3 cos θdθ
=
cos2
θ
sin2
θ
dθ
= cot2
θdθ
= csc2
θ − 1 dθ
= − cot θ − θ + C
We need to express our answer in terms of x. Since x = 3 sin θ, it follows that
θ = sin−1 x
3
. Also, either using trigonometric identities, or a triangle, we find
that cot θ =
√
9 − x2
x
. Therefore,
√
9 − x2
x2
dx = −
√
9 − x2
x
− sin−1 x
3
+ C
Example 7 Find
2
0
√
4 − x2dx
Method 1 We recognize that
√
4 − x2 is the upper half circle of radius 2 cen-
tered at the origin. The integral of it between 0 and 2 corresponds to the
area of the first quadrant of this circle. Therefore
2
0
4 − x2dx =
1
4
(area of a circle of radius 2)
=
1
4
22
π
= π
This method is very quick and easy. However, it would not work if the
problem had been to find an antiderivative. We show another technique,
using trigonometric substitution.
Method 2 According to what was explained above, we let x = 2 sin θ. Then,√
4 − x2 = 2 cos θ. Also, dx = 2 cos θdθ. To find the value of this integral,
we will first find an antiderivative, then use the given limits of integration.
Therefore,
4 − x2dx = 4 cos θ cos θdθ
= 4 cos2
θdθ
6
Remembering the techniques of the previous section, we use cos2
θ =
1 + cos 2θ
2
.
Therefore,
4 − x2dx = 4
1 + cos 2θ
2
dθ
= 2 (1 + cos 2θ) dθ
If we let u = 2θ, then du = 2dθ and we have
4 − x2dx = (1 + cos u) du
= u + sin u
= 2θ + sin 2θ
= 2θ + 2 sin θ cos θ
We obtained the last equality using the identity sin 2θ = 2 sin θ cos θ. Now,
we write everything back in terms of x. First, since x = 2 sin θ, we see
that
sin θ =
x
2
and
θ = sin−1 x
2
To express cos θ in terms of x, we use cos2
θ = 1−sin2
θ and since cos θ ≥
0, we have
cos θ = 1 − sin2
θ
= 1 −
x2
4
=
4
4
−
x2
4
=
1
4
(4 − x2)
=
√
4 − x2
2
Therefore
4 − x2dx = 2 sin−1 x
2
+ 2
x
2
√
4 − x2
2
= 2 sin−1 x
2
+
x
√
4 − x2
2
7
We can now find the definite integral
2
0
4 − x2dx = 2 sin−1 x
2
+
x
√
4 − x2
2
2
0
= 2 sin−1
1 +
2
√
0
2
− 2 sin−1
0 +
0
√
4
2
= 2
π
2
+ 0 − (0 + 0)
= π
2.2 Integral Containing
√
a2 + x2
We use the substitution x = a tan θ, with a > 0 and −
π
2
< θ <
π
2
. We impose
this restriction on θ so that tan θ will have an inverse. The substitution is based
on the identity 1 + tan2
θ = sec2
θ and works as follows:
a2
+ x2
= a2
+ a2
tan2
θ
= a2
1 + tan2
θ
= a2
sec2
θ
Therefore
a2 + x2 =
√
a2 sec2 θ
= a
√
sec2 θ
= a |sec θ|
= a sec θ
Because a > 0 and sec θ ≥ 0 if −
π
2
< θ <
π
2
.
Example 8 Find
1
x2
√
x2 + 4
dx
We let x = 2 tan θ, dx = 2 sec2
θdθ. Also,
√
x2 + 4 = 2 sec θ. Therefore:
1
x2
√
x2 + 4
dx =
2 sec2
θdθ
4 tan2
θ (2 sec θ)
=
1
4
sec θ
tan2
θ
dθ
Now,
sec θ
tan2
θ
=
1
cos θ
sin2
θ
cos2 θ
=
cos θ
sin2
θ
8
If we make the substitution u = sin θ, then du = cos θdθ and we get:
1
x2
√
x2 + 4
dx =
1
4
cos θ
sin2
θ
dθ
=
1
4
du
u2
=
1
4
u−2
du
=
−1
4u
+ C
=
−1
4 sin θ
+ C
We express sin θ in terms of x and obtain
sin θ =
x
√
4 + x2
Therefore
1
x2
√
x2 + 4
dx =
−
√
4 + x2
4x
+ C
2.3 Integral Containing
√
x2 − a2
We use the substitution x = a sec θ, with a > 0 and 0 ≤ θ <
π
2
or π ≤ θ <
3π
2
.
We impose this restriction on θ so that sec θ will be invertible. This substitution
is based on the identity sec2
θ − 1 = tan2
θ and works as follows:
x2
− a2
= a2
sec2
θ − a2
= a2
sec2
θ − 1
= a2
tan2
θ
Therefore
x2 − a2 = a2 tan2
θ
= |a| |tan θ|
= a tan θ
because a > 0 and tan θ ≥ o when 0 ≤ θ <
π
2
or π ≤ θ <
3π
2
.
Example 9 Find
dx
√
x2 − a2
, where a > 0.
According to the explanation above, we let x = a sec θ. Then, dx = a sec θ tan θdθ.
9
Also,
√
x2 − a2 = a tan θ. Therefore
dx
√
x2 − a2
=
a sec θ tan θdθ
a tan θ
= sec θdθ
= ln |sec θ + tan θ| + C
(see homework 1). Now, we need to write everything in terms of x. sec θ =
x
a
and tan θ =
√
x2 − a2
a
. Therefore,
dx
√
x2 − a2
= ln
x
a
+
√
x2 − a2
a
+ C
= ln x + x2 − a2 − ln a + C
= ln x + x2 − a2 + C
3 Problems
1. Find sec θdθ. (hint: multiply both numerator and denominator by
sec θ + tan θ)
2. Find cos5
x sin5
xdx
3. Find cos4
xdx
4. Using the technique of example 7, find
√
a2 − x2dx
5. Find
x
√
1 − x2
dx
6. Find
√
1 − 4x2dx
7. Find
x
√
x2 + 3
dx
8. Find et
√
9 − e2tdt
4 Answers
1. sec θdθ = ln |sec θ + tan θ| + C
2. cos5
x sin5
xdx =
1
6
sin6
x −
1
4
sin8
x +
1
10
sin10
x + C
3. cos4
xdx =
3
8
x +
1
4
sin 2x +
1
32
sin 4x
10
4.
√
a2 − x2dx =
x
2
√
a2 − x2 +
a2
2
sin−1 x
a
+ C
5.
x
√
1 − x2
dx = −
√
1 − x2 + C
6.
√
1 − 4x2dx =
1
4
sin−1
2x +
1
2
x
√
1 − 4x2 + C
7.
x
√
x2 + 3
dx =
√
x2 + 3 + C
8. et
√
9 − e2tdt =
1
2
et
√
9 − e2t + 9 sin−1 et
3
+ C
11

More Related Content

What's hot

Lesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationLesson 9: Gaussian Elimination
Lesson 9: Gaussian Elimination
Matthew Leingang
 
8.4 logarithmic functions
8.4 logarithmic functions8.4 logarithmic functions
8.4 logarithmic functions
hisema01
 
L19 increasing &amp; decreasing functions
L19 increasing &amp; decreasing functionsL19 increasing &amp; decreasing functions
L19 increasing &amp; decreasing functions
James Tagara
 

What's hot (20)

5.9 complex numbers
5.9 complex numbers5.9 complex numbers
5.9 complex numbers
 
5.3 integration by substitution dfs-102
5.3 integration by substitution dfs-1025.3 integration by substitution dfs-102
5.3 integration by substitution dfs-102
 
Integration of Trigonometric Functions
Integration of Trigonometric FunctionsIntegration of Trigonometric Functions
Integration of Trigonometric Functions
 
Differential Equations
Differential EquationsDifferential Equations
Differential Equations
 
Integration and its basic rules and function.
Integration and its basic rules and function.Integration and its basic rules and function.
Integration and its basic rules and function.
 
Integration by parts
Integration by partsIntegration by parts
Integration by parts
 
Lesson 19: The Mean Value Theorem
Lesson 19: The Mean Value TheoremLesson 19: The Mean Value Theorem
Lesson 19: The Mean Value Theorem
 
Integration By Parts Tutorial & Example- Calculus 2
Integration By Parts Tutorial & Example- Calculus 2Integration By Parts Tutorial & Example- Calculus 2
Integration By Parts Tutorial & Example- Calculus 2
 
Techniques of Integration ppt.ppt
Techniques of Integration ppt.pptTechniques of Integration ppt.ppt
Techniques of Integration ppt.ppt
 
Limit of algebraic functions
Limit of algebraic functionsLimit of algebraic functions
Limit of algebraic functions
 
13 integration by parts x
13 integration by parts x13 integration by parts x
13 integration by parts x
 
Lesson 9: Gaussian Elimination
Lesson 9: Gaussian EliminationLesson 9: Gaussian Elimination
Lesson 9: Gaussian Elimination
 
Definite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite IntegralDefinite Integral and Properties of Definite Integral
Definite Integral and Properties of Definite Integral
 
Introduction to differentiation
Introduction to differentiationIntroduction to differentiation
Introduction to differentiation
 
Finding the area under a curve using integration
Finding the area under a curve using integrationFinding the area under a curve using integration
Finding the area under a curve using integration
 
THE RELATION BETWEEN THE ROOTS OF A QUADRATIC EQUATION
THE RELATION BETWEEN THE ROOTS OF A QUADRATIC EQUATIONTHE RELATION BETWEEN THE ROOTS OF A QUADRATIC EQUATION
THE RELATION BETWEEN THE ROOTS OF A QUADRATIC EQUATION
 
8.4 logarithmic functions
8.4 logarithmic functions8.4 logarithmic functions
8.4 logarithmic functions
 
Chapter 11 - Differentiation
Chapter 11 - DifferentiationChapter 11 - Differentiation
Chapter 11 - Differentiation
 
L19 increasing &amp; decreasing functions
L19 increasing &amp; decreasing functionsL19 increasing &amp; decreasing functions
L19 increasing &amp; decreasing functions
 
7.5 proportions in triangles
7.5 proportions in triangles7.5 proportions in triangles
7.5 proportions in triangles
 

Viewers also liked

Problemas de dinero
Problemas de dineroProblemas de dinero
Problemas de dinero
Naomi Volta
 
A pulir para que brille
A pulir para que brilleA pulir para que brille
A pulir para que brille
Naomi Volta
 

Viewers also liked (16)

WCS Profile
WCS ProfileWCS Profile
WCS Profile
 
Problemas de dinero
Problemas de dineroProblemas de dinero
Problemas de dinero
 
Problemas de dinero
Problemas de dineroProblemas de dinero
Problemas de dinero
 
Tecnica Cognitiva de Beck
Tecnica Cognitiva de BeckTecnica Cognitiva de Beck
Tecnica Cognitiva de Beck
 
Ficha1
Ficha1Ficha1
Ficha1
 
Las facultades de la autoridad fiscal ante el principio de presunción de inoc...
Las facultades de la autoridad fiscal ante el principio de presunción de inoc...Las facultades de la autoridad fiscal ante el principio de presunción de inoc...
Las facultades de la autoridad fiscal ante el principio de presunción de inoc...
 
A pulir para que brille
A pulir para que brilleA pulir para que brille
A pulir para que brille
 
Buiografia de paolla carrascal
Buiografia de paolla carrascalBuiografia de paolla carrascal
Buiografia de paolla carrascal
 
Presentación2
Presentación2Presentación2
Presentación2
 
Técnica de-relajación
Técnica de-relajaciónTécnica de-relajación
Técnica de-relajación
 
Mapa trec
Mapa trecMapa trec
Mapa trec
 
Conoce la lista de las declaraciones informativas 2015 que tienen prórroga
Conoce la lista de las declaraciones informativas 2015 que tienen prórrogaConoce la lista de las declaraciones informativas 2015 que tienen prórroga
Conoce la lista de las declaraciones informativas 2015 que tienen prórroga
 
Sunx4450 Intel7460 GigaSpaces XAP Platform Benchmark
Sunx4450 Intel7460 GigaSpaces XAP Platform BenchmarkSunx4450 Intel7460 GigaSpaces XAP Platform Benchmark
Sunx4450 Intel7460 GigaSpaces XAP Platform Benchmark
 
Global Indian Giant-TATA Global Beverages
Global Indian Giant-TATA Global BeveragesGlobal Indian Giant-TATA Global Beverages
Global Indian Giant-TATA Global Beverages
 
Engagement, Impact, and Asks – Using Video Effectively in Development
Engagement, Impact, and Asks – Using Video Effectively in DevelopmentEngagement, Impact, and Asks – Using Video Effectively in Development
Engagement, Impact, and Asks – Using Video Effectively in Development
 
Terapia Racional Emotiva
Terapia Racional EmotivaTerapia Racional Emotiva
Terapia Racional Emotiva
 

Similar to Trig substitution

Quadratic trig equations
Quadratic trig equationsQuadratic trig equations
Quadratic trig equations
JJkedst
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
Krishna Gali
 
Calculus 08 techniques_of_integration
Calculus 08 techniques_of_integrationCalculus 08 techniques_of_integration
Calculus 08 techniques_of_integration
tutulk
 
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010
akabaka12
 
complex variable PPT ( SEM 2 / CH -2 / GTU)
complex variable PPT ( SEM 2 / CH -2 / GTU)complex variable PPT ( SEM 2 / CH -2 / GTU)
complex variable PPT ( SEM 2 / CH -2 / GTU)
tejaspatel1997
 

Similar to Trig substitution (20)

11365.integral 2
11365.integral 211365.integral 2
11365.integral 2
 
Section 7.2
Section 7.2 Section 7.2
Section 7.2
 
Quadratic trig equations
Quadratic trig equationsQuadratic trig equations
Quadratic trig equations
 
Integrals by Trigonometric Substitution
Integrals by Trigonometric SubstitutionIntegrals by Trigonometric Substitution
Integrals by Trigonometric Substitution
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
 
Calculus 08 techniques_of_integration
Calculus 08 techniques_of_integrationCalculus 08 techniques_of_integration
Calculus 08 techniques_of_integration
 
Section 7.3
Section 7.3Section 7.3
Section 7.3
 
Special trigonometric integrals
Special trigonometric integralsSpecial trigonometric integrals
Special trigonometric integrals
 
Derivatives
DerivativesDerivatives
Derivatives
 
Calculus ebook
Calculus ebookCalculus ebook
Calculus ebook
 
Partial diferential good
Partial diferential goodPartial diferential good
Partial diferential good
 
Calculus Assignment Help
Calculus Assignment HelpCalculus Assignment Help
Calculus Assignment Help
 
5 3 solving trig eqns
5 3 solving trig eqns5 3 solving trig eqns
5 3 solving trig eqns
 
Calculus Homework Help
Calculus Homework HelpCalculus Homework Help
Calculus Homework Help
 
wilson's and fermat little theorem .ppt
wilson's and fermat little theorem  .pptwilson's and fermat little theorem  .ppt
wilson's and fermat little theorem .ppt
 
Maths05
Maths05Maths05
Maths05
 
Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010Engr 213 midterm 2b sol 2010
Engr 213 midterm 2b sol 2010
 
Maths04
Maths04Maths04
Maths04
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life
 
complex variable PPT ( SEM 2 / CH -2 / GTU)
complex variable PPT ( SEM 2 / CH -2 / GTU)complex variable PPT ( SEM 2 / CH -2 / GTU)
complex variable PPT ( SEM 2 / CH -2 / GTU)
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
How to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cfHow to Check CNIC Information Online with Pakdata cf
How to Check CNIC Information Online with Pakdata cf
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 

Trig substitution

  • 1. Integration Involving Trigonometric Functions and Trigonometric Substitution Dr. Philippe B. Laval Kennesaw State University September 7, 2005 Abstract This handout describes techniques of integration involving various combinations of trigonometric functions. It also describes a technique known as trigonometric substitution. Students may want to review some basic trigonometric identities before reading further. The following trigono- metric identities will be used: • sin2 x + cos2 x = 1 • 1 + tan2 x = sec2 x • sin2 x = 1 − cos 2x 2 • cos2 x = 1 + cos 2x 2 • sin 2x = 2 sin x cos x In addition, students need to remember the following: • sin x is invertible when − π 2 ≤ x ≤ π 2 . Its inverse is denoted sin−1 x. • tan x is invertible when − π 2 < x < π 2 . Its inverse is denoted tan−1 x. • sec x is invertible when 0 ≤ x < π 2 or π ≤ x < 3π 2 . Its inverse is denoted sec−1 x. 1 Powers of Sine and Cosine Before we explain the technique, let us recall that we can integrate integrals of the form sinn x cos xdxor cosn x sin xdx where n is a positive integer, by using substitution. For example, to integrate sinn x cos xdx, we let u = sin x 1
  • 2. then du = cos xdx. Therefore sinn x cos xdx = un du = un+1 n + 1 = sinn+1 x n + 1 The other integral is done similarly. The technique used here depends on whether one of the powers is odd or both are even. We summarize the techniques, then do some examples. Proposition 1 Suppose we have an integral of the form sinm x cosn xdx. 1. If n is odd, that is n = 2k + 1, then save one cosine factor, and use the identity sin2 x + cos2 x = 1 to express the remaining factors in terms of sine. Then, use the substitution u = sin x. In other words sinm x cosn xdx = sinm x cos2k+1 xdx = sinm x cos2k x cos xdx = sinm x 1 − sin2 x k cos xdx 2. If m is odd, that is m = 2k + 1, then save one sine factor, and use the identity sin2 x + cos2 x = 1 to express the remaining factors in terms of cosine. Then, use the substitution u = cos x. In other words sinm x cosn xdx = sin2k+1 x cosn xdx = sin2k x cosn x sin xdx = 1 − cos2 x k cosn x sin xdx 3. If both m and n are even, we use the half-angle identities sin2 x = 1 − cos 2x 2 cos2 x = 1 + cos 2x 2 as well as the identity sin x cos x = sin 2x 2 2
  • 3. We illustrate the following techniques with some examples. Example 2 Find cos3 xdx This is the case where the power of cosine is odd. We save one cosine factor and write cos3 x = cos2 x cos x = 1 − sin2 x cos x Therefore, cos3 xdx = 1 − sin2 x cos xdx = cos xdx − sin2 x cos xdx (1) The first integral is known cos xdx = sin x (2) The second integral can be evaluated using the substitution u = sin x =⇒ du = cos xdx and therefore sin2 x cos xdx = u2 du (3) = u3 3 = sin3 x 3 Using equation 2 and equation 3 in equation 1 gives us cos3 xdx = sin x − sin3 x 3 + C Example 3 Find sin5 x cos2 xdx This is the case where the power of sine is odd. We save one sine factor and write sin5 x cos2 x = sin4 x cos2 x sin x = sin2 x 2 cos2 x sin x = 1 − cos2 x 2 cos2 x sin x = 1 − 2 cos2 x + cos4 x cos2 x sin x = cos2 x sin x − 2 cos4 x sin x + cos6 x sin x 3
  • 4. Therefore, sin5 x cos2 xdx = cos2 x − 2 cos4 x + cos6 x sin xdx We then use the substitution u = cos x =⇒ du = − sin xdx to get sin5 x cos2 xdx = − u2 − 2u4 + u6 du = − u3 3 − 2u5 5 + u7 7 + C = − cos3 x 3 + 2 cos5 x 5 − cos7 x 7 + C Example 4 Find sin2 xdx This is the case when the powers of sine and cosine are even (the power of cosine being 0). We use the half angle identity sin2 x = 1 − cos 2x 2 to obtain sin2 xdx = 1 2 (1 − cos 2x) dx We use the substitution u = 2x =⇒ du = 2dx to get sin2 xdx = 1 4 (1 − cos u) du = 1 4 (u − sin u) + C = 1 4 (2x − sin 2x) + C = x 2 − sin 2x 4 + C Similar techniques can be applied to powers of tangent and secant. We will not cover them here. They can be found in most Calculus books. 2 Trigonometric Substitution The techniques we are about to describe apply to integrals containing expres- sions of the form a2 − x2 a2 + x2 x2 − a2 for which the other techniques have failed. For example, if we were given x √ 1 − x2dx, the substitution u = 1 − x2 would work. However, if we were 4
  • 5. given √ 1 − x2dx, it would be much more difficult to do. We will look at each case separately. Before we do this, it is important to keep in mind an important difference between the substitution technique learned before and the one we are about to explain. In the traditional substitution, we define the new variable in terms of the old. For example, u = 1 − x2 . In trigonometric substitution, we redefine the given variable. Remark 5 In order to be able to do this substitution successfully, you must be able to find all the trigonometric functions, knowing one of them. This can be done either by using trigonometric identities or a triangle. This technique can be found in any book dealing with trigonometric functions. It can also be found on the handout linked to on the web site for the class. 2.1 Integral Containing √ a2 − x2 We use the substitution x = a sin θ, with − π 2 ≤ θ ≤ π 2 and a > 0. We impose this restriction on θ so that sin θ will have an inverse. This substitution is based on the identity 1 − sin2 θ = cos2 θ and works as follows: x = a sin θ =⇒ x2 = a2 sin2 θ =⇒ a2 − x2 = a2 − a2 sin2 θ = a2 1 − sin2 θ = a2 cos2 θ Therefore a2 − x2 = √ a2 cos2 θ = |a cos θ| = |a| |cos θ| = a cos θ We were able to remove the absolute value because a > 0 and cos θ ≥ 0 when − π 2 ≤ θ ≤ π 2 . We illustrate this with examples. Example 6 Find √ 9 − x2 x2 dx We let x = 3 sin θ, with − π 2 ≤ θ ≤ π 2 . Then dx = 3 cos θ. Also, as noted above, 5
  • 6. √ 9 − x2 = 3 cos θ. Therefore, √ 9 − x2 x2 dx = 3 cos θ 9 sin2 θ 3 cos θdθ = cos2 θ sin2 θ dθ = cot2 θdθ = csc2 θ − 1 dθ = − cot θ − θ + C We need to express our answer in terms of x. Since x = 3 sin θ, it follows that θ = sin−1 x 3 . Also, either using trigonometric identities, or a triangle, we find that cot θ = √ 9 − x2 x . Therefore, √ 9 − x2 x2 dx = − √ 9 − x2 x − sin−1 x 3 + C Example 7 Find 2 0 √ 4 − x2dx Method 1 We recognize that √ 4 − x2 is the upper half circle of radius 2 cen- tered at the origin. The integral of it between 0 and 2 corresponds to the area of the first quadrant of this circle. Therefore 2 0 4 − x2dx = 1 4 (area of a circle of radius 2) = 1 4 22 π = π This method is very quick and easy. However, it would not work if the problem had been to find an antiderivative. We show another technique, using trigonometric substitution. Method 2 According to what was explained above, we let x = 2 sin θ. Then,√ 4 − x2 = 2 cos θ. Also, dx = 2 cos θdθ. To find the value of this integral, we will first find an antiderivative, then use the given limits of integration. Therefore, 4 − x2dx = 4 cos θ cos θdθ = 4 cos2 θdθ 6
  • 7. Remembering the techniques of the previous section, we use cos2 θ = 1 + cos 2θ 2 . Therefore, 4 − x2dx = 4 1 + cos 2θ 2 dθ = 2 (1 + cos 2θ) dθ If we let u = 2θ, then du = 2dθ and we have 4 − x2dx = (1 + cos u) du = u + sin u = 2θ + sin 2θ = 2θ + 2 sin θ cos θ We obtained the last equality using the identity sin 2θ = 2 sin θ cos θ. Now, we write everything back in terms of x. First, since x = 2 sin θ, we see that sin θ = x 2 and θ = sin−1 x 2 To express cos θ in terms of x, we use cos2 θ = 1−sin2 θ and since cos θ ≥ 0, we have cos θ = 1 − sin2 θ = 1 − x2 4 = 4 4 − x2 4 = 1 4 (4 − x2) = √ 4 − x2 2 Therefore 4 − x2dx = 2 sin−1 x 2 + 2 x 2 √ 4 − x2 2 = 2 sin−1 x 2 + x √ 4 − x2 2 7
  • 8. We can now find the definite integral 2 0 4 − x2dx = 2 sin−1 x 2 + x √ 4 − x2 2 2 0 = 2 sin−1 1 + 2 √ 0 2 − 2 sin−1 0 + 0 √ 4 2 = 2 π 2 + 0 − (0 + 0) = π 2.2 Integral Containing √ a2 + x2 We use the substitution x = a tan θ, with a > 0 and − π 2 < θ < π 2 . We impose this restriction on θ so that tan θ will have an inverse. The substitution is based on the identity 1 + tan2 θ = sec2 θ and works as follows: a2 + x2 = a2 + a2 tan2 θ = a2 1 + tan2 θ = a2 sec2 θ Therefore a2 + x2 = √ a2 sec2 θ = a √ sec2 θ = a |sec θ| = a sec θ Because a > 0 and sec θ ≥ 0 if − π 2 < θ < π 2 . Example 8 Find 1 x2 √ x2 + 4 dx We let x = 2 tan θ, dx = 2 sec2 θdθ. Also, √ x2 + 4 = 2 sec θ. Therefore: 1 x2 √ x2 + 4 dx = 2 sec2 θdθ 4 tan2 θ (2 sec θ) = 1 4 sec θ tan2 θ dθ Now, sec θ tan2 θ = 1 cos θ sin2 θ cos2 θ = cos θ sin2 θ 8
  • 9. If we make the substitution u = sin θ, then du = cos θdθ and we get: 1 x2 √ x2 + 4 dx = 1 4 cos θ sin2 θ dθ = 1 4 du u2 = 1 4 u−2 du = −1 4u + C = −1 4 sin θ + C We express sin θ in terms of x and obtain sin θ = x √ 4 + x2 Therefore 1 x2 √ x2 + 4 dx = − √ 4 + x2 4x + C 2.3 Integral Containing √ x2 − a2 We use the substitution x = a sec θ, with a > 0 and 0 ≤ θ < π 2 or π ≤ θ < 3π 2 . We impose this restriction on θ so that sec θ will be invertible. This substitution is based on the identity sec2 θ − 1 = tan2 θ and works as follows: x2 − a2 = a2 sec2 θ − a2 = a2 sec2 θ − 1 = a2 tan2 θ Therefore x2 − a2 = a2 tan2 θ = |a| |tan θ| = a tan θ because a > 0 and tan θ ≥ o when 0 ≤ θ < π 2 or π ≤ θ < 3π 2 . Example 9 Find dx √ x2 − a2 , where a > 0. According to the explanation above, we let x = a sec θ. Then, dx = a sec θ tan θdθ. 9
  • 10. Also, √ x2 − a2 = a tan θ. Therefore dx √ x2 − a2 = a sec θ tan θdθ a tan θ = sec θdθ = ln |sec θ + tan θ| + C (see homework 1). Now, we need to write everything in terms of x. sec θ = x a and tan θ = √ x2 − a2 a . Therefore, dx √ x2 − a2 = ln x a + √ x2 − a2 a + C = ln x + x2 − a2 − ln a + C = ln x + x2 − a2 + C 3 Problems 1. Find sec θdθ. (hint: multiply both numerator and denominator by sec θ + tan θ) 2. Find cos5 x sin5 xdx 3. Find cos4 xdx 4. Using the technique of example 7, find √ a2 − x2dx 5. Find x √ 1 − x2 dx 6. Find √ 1 − 4x2dx 7. Find x √ x2 + 3 dx 8. Find et √ 9 − e2tdt 4 Answers 1. sec θdθ = ln |sec θ + tan θ| + C 2. cos5 x sin5 xdx = 1 6 sin6 x − 1 4 sin8 x + 1 10 sin10 x + C 3. cos4 xdx = 3 8 x + 1 4 sin 2x + 1 32 sin 4x 10
  • 11. 4. √ a2 − x2dx = x 2 √ a2 − x2 + a2 2 sin−1 x a + C 5. x √ 1 − x2 dx = − √ 1 − x2 + C 6. √ 1 − 4x2dx = 1 4 sin−1 2x + 1 2 x √ 1 − 4x2 + C 7. x √ x2 + 3 dx = √ x2 + 3 + C 8. et √ 9 − e2tdt = 1 2 et √ 9 − e2t + 9 sin−1 et 3 + C 11