  Professor Murray

Integration of Trigonometric Functions

Slide Duration:

Integration by Parts

24m 52s

Intro
0:00
Important Equation
0:07
Where It Comes From (Product Rule)
0:20
Why Use It?
0:35
Lecture Example 1
1:24
Lecture Example 2
3:30
Shortcut: Tabular Integration
7:34
Example
7:52
Lecture Example 3
10:00
Mnemonic: LIATE
14:44
Ln, Inverse, Algebra, Trigonometry, e
15:38
-1
-2
Integration of Trigonometric Functions

25m 30s

Intro
0:00
Important Equation
0:07
Powers (Odd and Even)
0:19
What To Do
1:03
Lecture Example 1
1:37
Lecture Example 2
3:12
Half-Angle Formulas
6:16
Both Powers Even
6:31
Lecture Example 3
7:06
Lecture Example 4
10:59
-1
-2
Trigonometric Substitutions

30m 9s

Intro
0:00
Important Equations
0:06
How They Work
0:35
Example
1:45
Remember: du and dx
2:50
Lecture Example 1
3:43
Lecture Example 2
10:01
Lecture Example 3
12:04
-1
-2
Partial Fractions

41m 22s

Intro
0:00
Overview
0:07
Why Use It?
0:18
Lecture Example 1
1:21
Lecture Example 2
6:52
Lecture Example 3
13:28
-1
-2
Integration Tables

20m

Intro
0:00
Using Tables
0:09
Match Exactly
0:32
Lecture Example 1
1:16
Lecture Example 2
5:28
Lecture Example 3
8:51
-1
-2
Trapezoidal Rule, Midpoint Rule, Left/Right Endpoint Rule

22m 36s

Intro
0:00
Trapezoidal Rule
0:13
Graphical Representation
0:20
How They Work
1:08
Formula
1:47
Why a Trapezoid?
2:53
Lecture Example 1
5:10
Midpoint Rule
8:23
Why Midpoints?
8:56
Formula
9:37
Lecture Example 2
11:22
Left/Right Endpoint Rule
13:54
Left Endpoint
14:08
Right Endpoint
14:39
Lecture Example 3
15:32
-1
-2
Simpson's Rule

21m 8s

Intro
0:00
Important Equation
0:03
Estimating Area
0:28
Difference from Previous Methods
0:50
General Principle
1:09
Lecture Example 1
3:49
Lecture Example 2
6:32
Lecture Example 3
9:07
-1
-2
Improper Integration

44m 18s

Intro
0:00
Horizontal and Vertical Asymptotes
0:04
Example: Horizontal
0:16
Formal Notation
0:37
Example: Vertical
1:58
Formal Notation
2:29
Lecture Example 1
5:01
Lecture Example 2
7:41
Lecture Example 3
11:32
Lecture Example 4
15:49
Formulas to Remember
18:26
Improper Integrals
18:36
Lecture Example 5
21:34
Lecture Example 6 (Hidden Discontinuities)
26:51
-1
-2
Section 2: Applications of Integrals, part 2
Arclength

23m 20s

Intro
0:00
Important Equation
0:04
Why It Works
0:49
Common Mistake
1:21
Lecture Example 1
2:14
Lecture Example 2
6:26
Lecture Example 3
10:49
-1
-2
Surface Area of Revolution

28m 53s

Intro
0:00
Important Equation
0:05
Surface Area
0:38
Relation to Arclength
1:11
Lecture Example 1
1:46
Lecture Example 2
4:29
Lecture Example 3
9:34
-1
-2
Hydrostatic Pressure

24m 37s

Intro
0:00
Important Equation
0:09
Main Idea
0:12
Different Forces
0:45
Weight Density Constant
1:10
Variables (Depth and Width)
2:21
Lecture Example 1
3:28
-1
-2
Center of Mass

25m 39s

Intro
0:00
Important Equation
0:07
Main Idea
0:25
Centroid
1:00
Area
1:28
Lecture Example 1
1:44
Lecture Example 2
6:13
Lecture Example 3
10:04
-1
-2
Section 3: Parametric Functions
Parametric Curves

22m 26s

Intro
0:00
Important Equations
0:05
Slope of Tangent Line
0:30
Arc length
1:03
Lecture Example 1
1:40
Lecture Example 2
4:23
Lecture Example 3
8:38
-1
-2
Polar Coordinates

30m 59s

Intro
0:00
Important Equations
0:05
Polar Coordinates in Calculus
0:42
Area
0:58
Arc length
1:41
Lecture Example 1
2:14
Lecture Example 2
4:12
Lecture Example 3
10:06
-1
-2
Section 4: Sequences and Series
Sequences

31m 13s

Intro
0:00
Definition and Theorem
0:05
Monotonically Increasing
0:25
Monotonically Decreasing
0:40
Monotonic
0:48
Bounded
1:00
Theorem
1:11
Lecture Example 1
1:31
Lecture Example 2
11:06
Lecture Example 3
14:03
-1
-2
Series

31m 46s

Intro
0:00
Important Definitions
0:05
Sigma Notation
0:13
Sequence of Partial Sums
0:30
Converging to a Limit
1:49
Diverging to Infinite
2:20
Geometric Series
2:40
Common Ratio
2:47
Sum of a Geometric Series
3:09
Test for Divergence
5:11
Not for Convergence
6:06
Lecture Example 1
8:32
Lecture Example 2
10:25
Lecture Example 3
16:26
-1
-2
Integral Test

23m 26s

Intro
0:00
Important Theorem and Definition
0:05
Three Conditions
0:25
Converging and Diverging
0:51
P-Series
1:11
Lecture Example 1
2:19
Lecture Example 2
5:08
Lecture Example 3
6:38
-1
-2
Comparison Test

22m 44s

Intro
0:00
Important Tests
0:01
Comparison Test
0:22
Limit Comparison Test
1:05
Lecture Example 1
1:44
Lecture Example 2
3:52
Lecture Example 3
6:01
Lecture Example 4
10:04
-1
-2
Alternating Series

25m 26s

Intro
0:00
Main Theorems
0:05
Alternation Series Test (Leibniz)
0:11
How It Works
0:26
Two Conditions
0:46
Never Use for Divergence
1:12
Estimates of Sums
1:50
Lecture Example 1
3:19
Lecture Example 2
4:46
Lecture Example 3
6:28
-1
-2
Ratio Test and Root Test

33m 27s

Intro
0:00
Theorems and Definitions
0:06
Two Common Questions
0:17
Absolutely Convergent
0:45
Conditionally Convergent
1:18
Divergent
1:51
Missing Case
2:02
Ratio Test
3:07
Root Test
4:45
Lecture Example 1
5:46
Lecture Example 2
9:23
Lecture Example 3
13:13
-1
-2
Power Series

38m 36s

Intro
0:00
Main Definitions and Pattern
0:07
What Is The Point
0:22
0:45
Interval of Convergence
2:42
Lecture Example 1
3:24
Lecture Example 2
10:55
Lecture Example 3
14:44
-1
-2
Section 5: Taylor and Maclaurin Series
Taylor Series and Maclaurin Series

30m 18s

Intro
0:00
Taylor and Maclaurin Series
0:08
Taylor Series
0:12
Maclaurin Series
0:59
Taylor Polynomial
1:20
Lecture Example 1
2:35
Lecture Example 2
6:51
Lecture Example 3
11:38
Lecture Example 4
17:29
-1
-2
Taylor Polynomial Applications

50m 50s

Intro
0:00
Main Formulas
0:06
Alternating Series Error Bound
0:28
Taylor's Remainder Theorem
1:18
Lecture Example 1
3:09
Lecture Example 2
9:08
Lecture Example 3
17:35
-1
-2
Bookmark & Share Embed

## Copy & Paste this embed code into your website’s HTML

Please ensure that your website editor is in text mode when you paste the code.
(In Wordpress, the mode button is on the top right corner.)
×
• - Allow users to view the embedded video in full-size.
Since this lesson is not free, only the preview will appear on your website.

• ## Related Books 1 answer Last reply by: Dr. William MurrayTue May 13, 2014 4:53 PMPost by Ying Gao on May 10, 2014Hi Professor Murray, for the last Additional problem question, I was wondering if when we integrate and distribute - integral (secx (sec^2x -1)dx), why didn't we get -integral sec^3xdx MINUS integral secxdx instead of -integral sec^3xdx PLUS integral secxdx ? I thought the negative sign distributes to both parts? 2 answers Last reply by: Dr. William MurrayTue Jan 7, 2014 11:25 AMPost by Fadel Hanoun on December 19, 2013For Part one, why can't we say "let u= the even one"? 2 answers Last reply by: Dr. William MurrayFri Jun 21, 2013 6:24 PMPost by Ali Momeni on June 20, 2013Prof. Murray,When you took the integral of 1/8 Integral (1-cos 4x) dx did you forget to switch the signs? Should it have been 1/8(x + 1/4 sin (4x) + C ?Thank you for the excellent lesson otherwise 1 answer Last reply by: Dr. William MurrayTue May 28, 2013 7:05 PMPost by William Dawson on May 22, 2013I said 'almost' ;p 1 answer Last reply by: Dr. William MurrayTue May 28, 2013 7:05 PMPost by William Dawson on May 22, 2013God, you make me almost want to ignore the integral tables, lol! 1 answer Last reply by: Dr. William MurrayThu Apr 18, 2013 11:29 AMPost by Dr. William Murray on October 22, 2012Wow, thanks Paula! That's really nice to hear. Good luck with the calculus!Will Murray 1 answer Last reply by: Dr. William MurrayThu Apr 18, 2013 11:30 AMPost by Paula Hoggard on October 20, 2012You are an excellent teacher 1 answer Last reply by: Dr. William MurrayThu Apr 18, 2013 11:32 AMPost by Riley Argue on June 3, 2012This video plays correctly. 1 answer Last reply by: Dr. William MurrayThu Apr 18, 2013 11:31 AMPost by Riley Argue on June 3, 2012This video covered everything.

### Integration of Trigonometric Functions

Main formula:  Hints and tips:

• Remember to check which of the powers is odd. Then let u be the other one. (E.g. if you have cos5 x, then use u = sin x.)

• If both powers are even, use the half-angle formulas.

• If you have an even power of secant, use u = tan x. If you have an odd power of tangent, use u = sec x.

• If you have an odd power of secant and an even power of tangent, then follow this process:

1. Convert tangents to secants, two at a time, using tan² +1 = sec² . You’ll end up with odd powers of secant.

2. Use integration by parts twice (u = secn−2 x, dv = sec² x dx) to cut down from ∫ secn x dx to ∫ secn−2 x dx, so you eventually get back to ∫ sec x dx. Then remember the formula:

3. ### Integration of Trigonometric Functions

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

• Intro 0:00
• Important Equation 0:07
• Powers (Odd and Even)
• What To Do
• Lecture Example 1 1:37
• Lecture Example 2 3:12
• Half-Angle Formulas 6:16
• Both Powers Even
• Lecture Example 3 7:06
• Lecture Example 4 10:59

### Transcription: Integration of Trigonometric Functions

OK, lset us try a new example.0000

We have here tan3(x) × sec(x) and remember that the trick here is to look at the powers.0004

You first look at the powers of tan(x).0009

Is that even?0012

Well 3 is odd so that does not work so we cannot use our strategy there.0014

The power on sec(x) is 1.0020

We ask, is that an odd number?0023

That does work, so we are going to use u = sec(x).0026

Then du = sec(x) tan(x) dx.0033

The point of that is that we can then convert this integral into something just involving sec(x).0043

We have tan3(x), so we will write that as tan2(x) × tan(x) × sec(x) dx.0051

Now the u is going to be sec(x), but we still need to have du.0064

sec(x) tan(x).0066

We have that right here, sec(x) tan(x).0069

The tan2(x), we need to convert that into secants.0073

Since we have an even number of tangents, we can do that.0078

Remember our old Pythagorean Identity, tan2(x) + 1 = sec2(x).0081

The tan2(x) converts into sec2(x) - 1.0090

tan(x) sec(x) dx.0099

Now we are set up to put our substitution in.0103

Sec2(x) - 1 is u2 - 1.0106

tan(x) sec(x) dx, that is just du.0112

All of a sudden we have a really easy integral.0117

We can integrate that quickly to be u3/3 - u.0121

Then we substitute back into sec3(x)/3 - sec(x) + C.0126

So, again, the reason that worked is because we were checking the odds and even powers on the tangent and the secant.0143

It worked because we had an odd power of sec(x).0155

There is one more example I want to work through with you.0000

It is a pretty tricky one.0003

It is sec3(x).0005

This one is not so obvious.0006

What we are going to do is let u = sec(x).0010

But the point of that is not to make a substitution.0017

The point of that is to use integration by parts.0022

If u = sec(x), then dv = sec2(x) dx.0024

That is the stuff left over after you use one of these secants.0032

That is not obvious that we should do it that way.0036

You might ask how did you know to break it up that way?0041

Well, here is the idea.0044

I know that sec2 is the derivative of tangent.0046

So, by making dv be sec2 v becomes tan(x).0050

That is a relatively simple integration.0056

By making u = sec(x), we have du = sec(x) tan(x) dx.0061

That looks a little more complicated.0070

We will see how it works out.0074

Remember the formula for integration by parts.0075

It is always uv - the integral of vdu.0077

So, uv is sec(x) tan(x) - the integral of vdu.0081

So vdu looks a little complicated.0086

We have sec(x) tan(x) dx × tan(x).0096

So sec(x) × tan2(x) dx.0102

This is looking a little complicated.0108

What I am going to do is take this tan(x) and remember the Pythagorean Identity.0114

tan2(x) + 1 is sec2(x).0116

I am going to write that tan(x) as sec2(x) - 1.0123

The whole thing becomes sec(x) tan(x) - now I will distribute this secant across these two terms.0135

So we have - the integral of sec3(x) dx.0147

+ the integral of sec(x) dx.0156

Now, it looks like we have taken what seemed like a pretty hard integral and replaced it by another hard integral.0163

And, an integral that is exactly the same as what we started with.0171

It looks like it is getting worse and worse.0175

Let me show you how you can resolve those two.0178

First of all, the sec(x) dx, there is a trick here.0181

Which is to multiply by sec(x) + tan(x)/sec(x) + tan(x).0184

You are multiplying by 1, not changing it.0204

But you get something very interesting when you multiply that into the integral.0209

The numerator will be sec(x) × (sec(x) + tan(x)).0213

So, sec2(x) + sec(x) tan(x).0220

The denominator is going to be sec(x) + tan(x) all multiplied by dx.0224

Look at this.0238

If you look at the denominator, sec(x) + tan(x), the derivative of sec(x) is sec(x) tan(x).0240

The derivative of tan(x) is sec2(x).0250

So the numerator is the derivative of the denominator.0255

So this last integral here is a derivative divided by the original function.0259

That last integral just integrates to ln(sec(x)) + tan(x).0266

That is a pretty special trick that is probably worth memorizing, just so you can do the integral of sec(x) dx.0267

Or else, it is just worth remembering that the integral of sec(x) dx is ln(sec(x) + tan(x)).0287

It is a strange and unusual enough integral that is worth memorizing for its own sake.0296

Let us go back to our original integral, which I am going to call i, just as we did when we did integration by parts twice.0302

What we have now is i has been resolved into sec(x) tan(x) - now we have i again, + that integral that we just did.0311

ln(sec(x)) + tan(x).0328

Separate that part out and so again just like we did when we had to do integration by parts twice.0334

We can move this i over and get 2i = sec(x) tan(x) + ln(sec(x) + tan(x).0343

Again, we can solve for the original integral just by dividing both sides by 2.0364

We get i = 1/2 of the quantity sec(x) tan(x) + ln(abs(sec(x) + tan(x).0369

As always, we have to add the constant at the end.0386

So, that is a fairly complicated answer.0397

That is a fairly specialized problem.0401

When you have a power of sec, an odd power of secant all by itself.0405

You want to use this integration by parts, sort of reduction formula,0407

To reduce it down to a lower power of secant.0416

If you keep reducing it using this formula, you eventually get down to just sec(x) by itself.0420

Remember we said that we will memorize that the integral of sec(x) = ln(sec(x) + tan(x).0429

That is the end of this lecture on integration of trigonometric functions.0437

Hello, this is educator.com and today we are going to talk about integration of trigonometric functions.0000

The prototypical examples of these integrals is you will have an integral and some power of sine and some power of cosine.0006

The important thing to focus on here is what those powers are.0015

In particular, which one is odd.0022

This is really a game of odds and evens.0029

You want one of those powers to be odd.0031

If one of them, if they are both even, then the integral gets more difficult and we will talk about that later in the lecture.0034

So right now the important thing is to find one of those numbers and to make it the odd or hope that it is odd.0041

If they are both odd, then it really does not matter, you can just pick one.0047

The one that is odd, what you do with it, is you are going to make a substitution and let U be the other one.0051

U is going to be the other one, and dU will be either + or - the one that is odd.0076

It seems a little strange so it would be easier to understand if we work through some examples.0083

You will see why this strategy works so well.0089

Let us take a look at some examples.0093

Here is the first example.0095

Cos(x) times sin4X, dX.0098

Of course, cos(x) is the same as cos(x) to the 1.0105

So, you look at those numbers 1 and 4, and you see the odd one, that is the odd number.0109

What we are going to do is let U be the other one.0114

The other one is sin(x) and the point of doing that is dU is then cosin(x) dX.0120

So this integral, the cosin, and the dX, become the dU.0128

Those two become the dU, sin4X just becomes U4.0136

All of a sudden you have a really easy integral, the integral of U4.0144

Well, that is just U5/5 + C.0149

Then you substitute back, and you get sin5X + C.0156

Just to reiterate there, what made that work was, we looked at which power was odd, and that was the power on cosine.0167

Then, we let u be the other one, sin(x)0177

The reason we did that is because we had that one power of cosine left over to be the dU.0182

So let us try that on a little more complicated example.0188

Cos4X sinU3X dX.0191

Again, we look at those two powers and the odd one is 3.0198

We are going to let U be the other one.0201

U is cos(x) this time, and so dU, well the derivative of cosin is sin(x) dX0205

What we can do now is we can take this sinU3 and we can split that up into a sin2X × sin(x) dX.0207

The point here is that we save that sin(x) dX to be the dU.0231

Well, we are going to have to attach a negative sign, but that sin(x) dX is going to be the dU.0236

Then this sin2, we can convert that into 1 - cosin2x.0243

That is why we really had to have this odd even pattern going on.0249

It is because we save one sin to be the dU, or actually negative dU, and then you can convert sines into cosines two at a time.0256

If we save one sine to be dU, that will leave an even number of sines left over.0266

We can covert those all into cosines.0273

Our integral, after we make all of those substitutions, cos4 becomes u4.0276

The sin2 becomes 1 - cos2, and then becomes 1 - u4.0285

Sin(x) dX is dU, or actually negative dU.0292

Then we can combine these into one big polynomial.0297

Actually, I can bring this negative sign back inside, and make it the integral of u4 × u2 - 1 dU.0304

Combine those into u6 - u4 dU.0310

Then, that is an easy integral because then we can just use the power rule, u7/7 - u5/5.0321

Finally, we can convert that back into u as cos(x).0330

So, this is cos7X/7 - cos5X/5, and of course we have to attach a constant there.0337

Again, the key thing here was recognizing those powers.0350

We see 4, we see 3, 3 is the odd one, so we want to let u be the other one.0357

The other one was cos(x).0365

The point of that was it gives you one extra sin(x) left over to be the dU.0367

Now, we know what to do if either one of the powers is odd.0373

What if you have both powers being even?0382

That makes it a trickier problem.0384

What we are going to use are the half angle formulas.0386

If both sine and cosine are even powers, then we can not use the previous strategy.0391

That odd strategy does not work.0398

We are going to use the half angle formulas.0401

Cos2(x) = 1 + cos(2x)/20403

Sin2X = 1 - cos(2x)/2.0407

The point of those is that those are easy to integrate.0411

Even if we have to multiply those together a few times, as we will see in the example, it is not too bad to integrate.0415

Let us try out an example of that.0422

Here we have sin2x cos2x dX.0425

We look at those powers, we look for the odd one, and oh no, they are both even.0430

So, we are going to use those half angle formulas.0436

Remember, sin2x is 1 - cos(2x) over 2.0438

Cos2x is 1 + cos(2x)/2.0446

Now I am going to pull the two halves out of the integral to get them away.0455

So now that is on the outside.0460

Now, we have the integral of 1 - cos(2x) × 1 + cos(2x).0462

I will multiply those two together and we will get 1 - cos2(2x).0469

Well, the 1 is going to be easy to integrate, so I am not going to be worried about that.0477

But now we have a cos2(2x).0481

How do we integrate that?0484

Well, again, that is an even power of cosine.0486

We can use the half angle formula again and I am going to write the half angle formula over here.0491

But, I am going to use U this time.0496

1 + cos(2u)/2 because here we have cos2(2x), but if you think of that as being U, you can convert that into 1/4 the integral of 1 - cos2(u).0500

cos2(u) is 1 + cos(2u).0523

1 + cos, now 2u if u is 2x, u is 4x.0530

This is 1/4 × cos(4x) dX.0540

That simplifies a little bit to 1/4 × 1/2 - 1/2 sin(4x) dx.0558

I am going to pull those halves out and combine them with the 1/4, and we get 1/8.0573

Times the integral of 1 - cos(4x) dX, and that is 1/8.0579

Well the integral of 1 is just x.0591

The integral of cosine is sine.0596

But, because it is 4x, we have to multiply on a 1/4.0601

Finally, we get (1/8)x - 1/8 × 1/4 = (1/32)sin(4x) and at the end of these we always add a constant.0606

In that one, we had to cope with the fact that there were no odd powers.0626

Both were even and we used the half angle formula to resolve that.0632

Sometimes after you use the half angle formulas, you find yourself with another even power as we did.0634

And so you have to use the half angle formula again to resolve that.0642

If you keep on using them, eventually you get down to single powers of cosine and that is something that you can integrate without too much trouble.0647

Let us look at another example.0661

This one is in terms of secants and tangents.0663

That is the other common pattern that you are going to see with trigonometric integrals.0665

That is, powers of secant(x), and tangent(x).0671

To do this, it is helpful to remember that the derivative of tan(x) is sec2(x).0674

The derivative of sec(x) is sec(x)tan(x).0685

What we see here is again, looking at these powers, I look at the secant power and I see that that is even.0699

The reason that that is significant is that I can separate that out into sec2(x) tan2(x) dx.0709

And, I remember that the derivative of tangent is sec2(x).0724

If I use the substitution u = tan(x) than dU is sec2(x) dX.0730

The point of this is that I can convert this integral into, I have got sec2(x) dX, so that is dU, tan2(x) is u2.0744

Tan2(x) + 1 is sec2(x).0764

Sec2(x) can be written as tan2(x) + 1 which I am going to convert directly into u2 + 1.0773

This integral converts into u3, sorry, u4 + u2 dU.0786

Again, that is a very easy integral.0800

That just integrates to u5/5 + u3/3.0803

Then we can substitute back, u is tan(x), so that is tan(x5/5) + tan(x3/3) + C.0808

Let us go back and look at what made that work.0831

What made that work again was the even power on sec(x).0833

If you have an even power on sec(x), then you can always use this substitution u = tan(x) dU = sec2(x).0841

That even power of sec2(x) guarantees you 2 secants to use as the dU,0850

and then the other secants you can convert into tangents using the pythagorean identity.0856

The other place you can use substitution like this is if the power on tangent is odd, then you can use the other substitution u equals sec(x).0861

Then your dU will be sec(x)tan(x) dX.0892

The point of that is that you will have an odd tangent.0900

Because you have an odd tangent, you will use this pythagorean identity to convert the tangents into secants two at a time.0907

Starting with an odd secant you will be left with exactly 1 tangent left and that tangent you can save that to be your dU.0918

We will see another example of that later on.0930

OR

### Start Learning Now

Our free lessons will get you started (Adobe Flash® required).