The Wayback Machine - https://web.archive.org/web/20250425101221/https://www.geeksforgeeks.org/integration-of-trigonometric-functions/
Open In App

Integration of Trigonometric Functions

Last Updated : 01 Jul, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

Integration is the process of summing up small values of a function in the region of limits. It is just the opposite to differentiation. Integration is also known as anti-derivative. We have explained the Integration of Trigonometric Functions in this article below.

Below is an example of the Integration of a given function.

e.g., Consider a function, f(y) = y2. 

This function can be integrated as: 

âˆŦy2dy = [Tex]\frac{y^{2+1}}{2+1}~+~C[/Tex]

However, an indefinite integral is a function that takes the anti-derivative of another function. It is represented as an integral symbol (âˆŦ), a function, and a derivative of the function at the end. The indefinite integral is an easier way to symbolize an anti-derivative.

Let’s learn what is integration mathematically, the integration of a function f(x) is given by F(x) and it is represented by:

âˆŦf(x)dx = F(x) + C

Here R.H.S. of the equation means integral of f(x) with respect to x, F(x) is called anti-derivative or primitive, f(x) is called the integrand, dx is called the integrating agent, C is called constant of integration or arbitrary constant and x is the variable of integration.

Some Important Integrals of Trigonometric Functions

Following is the list of some important formulae of indefinite integrals on basic trigonometric functions to be remembered as follows:

  • âˆŦ sin x dx = -cos x + C
  • âˆŦ cos x dx = sin x + C
  • âˆŦ sec2 x dx = tan x + C
  • âˆŦ cosec2 x dx = -cot x + C
  • âˆŦ sec x tan x dx = sec x + C
  • âˆŦ cosec x cot x dx = -cosec x + C
  • âˆŦ tan x dx = ln | sec x | + C
  • âˆŦ cot x dx = ln | sin x | + C
  • âˆŦ sec x dx = ln | sec x + tan x | + C
  • âˆŦ cosec x dx = ln | cosec x – cot x | + C

Where dx is the derivative of x, C is the constant of integration and ln represents the logarithm of the function inside modulus (| |).

Generally, the problems of indefinite integrals based on trigonometric functions are solved by the substitution method. So let’s discuss more about the integration by substitution method as follows:

Read More,

Integration by Substitution

In this method of integration by substitution, any given integral is transformed into a simple form of integral by substituting the independent variable with others. Let’s consider an example for better understanding.

Example: Simplify âˆŦ 3x2 sin (x3) dx.

Answer:

Let I = âˆŦ 3x2 sin (x3) dx.

In order to evaluate the given integral lets substitute any variable by a new variable as:

Let x3 be t for the given integral.

Then, dt = 3x2 dx

Therefore, 

I = âˆŦ 3x2 sin (x3) dx = âˆŦ sin (x3) (3x2 dx)

Now, substitute t for x3 and dt for 3x2 dx in the above integral.

I = âˆŦ sin (t) (dt)

As âˆŦ sin x dx = -cos x + C, thus

I = -cos t + C

Again, substitute back x3 for t in the expression as:

I = âˆŦ 3x2 sin (x3) dx = -cos x3 + C

Which is the required integral.

Hence, the General Form of integration by substitution is:

âˆŦ f(g(x)).g'(x).dx = f(t).dx

Where t = g(x)

Usually, the method of integration by substitution is extremely useful when we make a substitution for a function whose derivative is also present in the integrand. By doing so, the function simplifies and then the basic formulas of integration can be used to integrate the function.

In calculus, the integration by substitution method is also known as the “Reverse Chain Rule” or “U-Substitution Method”. We can use this method to find an integral value when it is set up in the special form. It means that the given integral is of the form:

Integration of Some Important Trigonometric Functions:

Sample Problems on Integration of Trigonometric Functions

Problem 1: Determine the integral of the following function: f(x) = cos3 x.

Solution:

Let us consider the integral of the given function as,

I = âˆŦ cos3 x dx

It can be rewritten as:

I = âˆŦ (cos x) (cos2x) dx

Using trigonometry identity; cos2x = 1 – sin2x, we get

I = âˆŦ (cos x) (1 – sin2x) dx

⇒ I = âˆŦ cos x – cos x sin2x dx 

⇒ I = âˆŦ cosx dx – âˆŦ cosx sin2x dx

As âˆŦ cos x dx = sin x + C,

Thus, I = sin x – âˆŦ sin2x cos x dx                         . . . (1)

Let, sin x = t 

⇒ cos x dx = dt.

Substitute t for sin x and dt for cos x dx in second term of the above integral.

I = sin x – âˆŦ t2 dt

⇒ I = sin x – t3/3 + C

Again, substitute back sin x for t in the expression.

Hence, âˆŦ cos3x dx = sin x – sin3 x / 3 + C.

Problem 2: If f(x) = sin2 (x) cos3 (x) then determine âˆŦ sin2(x) cos3(x) dx.

Solution:

Let us consider the integral of the given function as,

I = âˆŦ sin2(x) cos3(x) dx

Using trigonometry identity; cos2 x = 1 – sin2 x, we get

I = âˆŦ sin2 x (1 – sin2 x) cos x dx

Let sin x = t then,

⇒ dt = cos x dx

Substitute these in the above integral as,

I = âˆŦ t2 (1 – t2) dt

⇒ I = âˆŦ t2 – t4 dt

⇒ I = t3 / 3 – t5 / 5 + C  

Substitute back the value of t in the above integral as,

Hence, I = sin3 x / 3 – sin5 x / 5 + C.

Problem 3: Let f(x) = sin4(x) then find âˆŦ f(x)dx. i.e. âˆŦ sin4(x) dx.

Solution:

Let us consider the integral of the given function as,

I = âˆŦ sin4(x) dx

⇒ I = âˆŦ (sin2(x))2 dx

Use\ing trigonometry identity; sin2(x) = (1 – cos (2x)) / 2, we get

I = âˆŦ {(1 – cos (2x)) / 2}2 dx

⇒ I = (1/4) × âˆŦ (1+cos2(2x)- 2 cos2x) dx

⇒ I = (1/4) × âˆŦ 1 dx + âˆŦ cos2(2x) dx – 2 âˆŦ cos2x dx

⇒ I = (1/4) × [ x + âˆŦ (1 + cos 4x) / 2 dx – 2 âˆŦ cos2x dx ] 

⇒ I = (1/4) × [ 3x / 2 + sin 4x / 8 – sin 2x ] + C

⇒ I = 3x / 8 + sin 4x / 32 – sin 2x / 4 + C

Hence, âˆŦ sin4(x) dx = 3x / 8 + sin 4x / 32 – sin 2x / 4 + C

Problem 4: Find the integration of [Tex]\bold{\int\frac{e^{tan^{-1}x}}{1+x^2} dx} [/Tex].

Solution:

Let us consider the integral of the given function as,

[Tex]I =\int \frac{e^{tan^{-1}x}}{1+x^2} dx [/Tex]

Let t = tan-1 x                         . . . (1)

Now, differentiate both side with respect to x:

dt = 1 / (1+x2) dx

Therefore, the given integral becomes:

I = âˆŦ et dt

⇒ I = et + C                               . . . (2)

Substitute the value of (1) in (2) as:

⇒  [Tex]I = e^{tan^{-1}x} + C [/Tex]

Which is the required integration for the given function.

Problem 5: Find the integral of the function f (x) defined as,

f(x) = 2x cos (x2 – 5) dx

Solution:

Let us consider the integral of the given function as,

I = âˆŦ 2x cos (x2 – 5) dx

Let (x2 – 5) = t                         . . . (1)

Now differentiate both side with respect to x as,

2x dx = dt 

Substituting these values in the above integral,

I = âˆŦ cos (t) dt

⇒ I = sin t + C                         . . . (2)

Substitute the value equation (1) in equation (2) as,

⇒ I = sin (x2 – 5) + C

This is the required integration for the given function. 

Problem 6: Determine the value of the given indefinite integral, I = âˆŦ cot (3x +5) dx.

Solution:

The given integral can be written as,

I = âˆŦ cot (3x +5) dx 

⇒ I = âˆŦ cos (3x +5) / sin (3x +5) dx 

Let, t = sin(3x + 5)

⇒ dt = 3 cos (3x+5) dx

⇒ cos (3x+5) dx = dt / 3 

Thus,

I = âˆŦ dt / 3 sin t  

⇒ I = (1 / 3) ln | t | + C

Replace t by sin (3x+5) in the above expression.

I = (1 / 3) ln | sin (3x+5) | + C

This is the required integration for the given function.



Next Article

Similar Reads