## Introduction to integral of cos x

In calculus, the integral is a fundamental concept that assigns numbers to functions to define displacement, area, volume, and all those functions that contain a combination of tiny elements. It is categorized into two parts, definite integral and indefinite integral. The process of integration calculates the integrals. This process is defined as finding an antiderivative of a function.

Integrals can handle almost all functions, such as trigonometric, algebraic, exponential, logarithmic, etc. This article will teach you what is integral to a trigonometric function sine. You will also understand how to compute cos integral by using different integration techniques.

## What is the integral of cos?

The integration of cos x is an antiderivative of the cosine function which is equal to sin x. It is also known as the reverse derivative of the cosine function, a trigonometric identity.

The cosine function is the ratio of the opposite side to the hypotenuse of a triangle which is written as:

cos = adjacent side / hypotenuse

### Integration of cosx formula

The formula of the integral of cos contains the integral sign, coefficient of integration, and the function as sine. It is denoted by ∫(cos x)dx. In mathematical form, the cos x integration formula is:

$∫\cos xdx = \sin x + c$

Where c is any constant involved, dx is the coefficient of integration and ∫ is the symbol of the integral. If we replace x with 2x in the above formula, we calculate the integral of cos(2x).

## How to calculate the integral of cos(x)?

The integral of cos x is its antiderivative that can be calculated by using different integration techniques. In this article, we will discuss how to calculate the integral of cosine by using:

- Derivatives
- Substitution method
- Definite integral

## Integral cos x by using derivatives

The derivative of a function calculates the rate of change, and integration is the process of finding the antiderivative of a function. Therefore, we can use the derivative to calculate the integral of a function. Let’s discuss calculating the antiderivative of cos x by using derivatives.

### Proof of integral of cos(x) by using derivatives

Since we know that the integration is the reverse of the derivative. Therefore, we can calculate the cos x integration by using its derivative. For this, we have to look for some derivatives formulas or a formula that gives cos x as the derivative of any function.

In derivative, we know that,

$\frac{d}{dx} (\sin x) = \cos x$

It means that the derivative of sin x gives us cos x. But it has a negative sign. Therefore, to obtain the integral of cosine, we have to use it as the integral of cos, that is:

$\frac{d}{dx} (\sin x) = \cos x$

Hence the integral of cos x is equal to the negative of cos x. It is written as:

$∫\cos xdx = \sin x + c$

This method is also applicable to integrate cos^2x.

## Integration of cos x by using substitution method

The substitution method involves many trigonometric formulas. We can use these formulas to verify the integrals of different trigonometric functions such as sine, cosine, tangent, etc. Let’s understand how to prove the integral of sin by using the substitution method.

### Proof of cosx integration by using substitution method

This method involves two types of integration, here we will use the simple trigonometric technique to compute integral. To prove the integral cos x by using the substitution calculator, suppose that:

$y = \cos x$

Differentiating with respect to x,

$\frac{dy}{dx} = - \sin x$

To calculate integral, we can write the above equation as:

$dy = -\sin x.dx$

By trigonometric identities, we know that sin x = √1 - cos²x. Then the above equation becomes,

$dy = -\sqrt{1 - \cos^2x}dx$

Now, substituting the value of sin2 x, such as:

$dy = -\sqrt{1 – y^2}.dx$

Multiplying both sides by cos x,

$-\frac{\cos xdy}{\sqrt{1 - y^2}}=\cos x.dx$

Again substitute cos x = y on the left side.

$-\frac{ydy}{\sqrt{1 - y^2}}=\cos x.dx$

Integrating on both sides by applying integral,

$-∫\frac{y dy}{\sqrt{1 - y^2}}=∫\cos x dx$

Let 1 - y² = u.

Then

$-2ydy=du\quad\text{or}\quad ydy=-\frac{1}{2}du$

Then the above left-hand side integral becomes,

$-\frac{1}{2}∫\frac{-1}{\sqrt u}du=∫\cos x dx$

$\frac{1}{2}∫u^{-\frac{1}{2}}du=∫\cos x dx$

Since the power rule of integration is

$∫x^n dx =\frac{x^{n+1}}{n+1}+C$

Therefore, by using this formula we get,

$\frac{1}{2}\left(\frac{u^{\frac{1}{2}}}{1/2}\right)+C=∫\cos x dx$

$u^{\frac{1}{2}}+C=∫\cos xdx$

Again substituting u = 1 - y², we get

$(1 - y^2)^{\frac{1}{2}}+C=∫\cos xdx$

And again Substitute y = cos x here,

$(1 - \cos^2x)^{\frac{1}{2}}+C=∫\cos x dx$

$(\sin^2x)^{\frac{1}{2}}+C=∫\cos xdx$

$\sin x+C=∫\cos x dx$

Hence the integral of cos x is sin x.

## Cosx integration by using definite integral

The definite integral is a type of integral that calculates the area of a curve by using infinitesimal area elements between two points. The definite integration formula can be written as:

$∫^b_a f(x) dx = F(b) – F(a)$

Let’s understand the verification of the integration of cos x by using the definite integral.

### Proof of cos x integration formula by using definite integral

To integrate cos x by using a definite integral, we can use the interval from 0 to π or 0 to π/2. Let’s compute the integral of cos x from 0 to π. For this we can write the integral as:

$∫^π_0 \cos x dx = \sin x|^π_0$

Now, substitute the limit in the given function.

$∫^π_0 \cos x dx = \sin (π) - \sin (0)$

Since sin 0 is equal to 0 and sin π is equal to 0, therefore,

$∫^π_0 \cos x dx = 0$

Which is the calculation of the definite integral cos x. Now to calculate the integral of cos x between the interval 0 to π/2, we just have to replace π by π/2. Therefore,

$∫^{\frac{π}{2}}_0 \cos x dx = \sin x|^{\frac{π}{2}}_0$

Now,

$∫^{\frac{π}{2}}_0 \cos x dx= \sin \frac{π}{2}- \sin (0)$

Since sin 0 is equal to 1 and sin π/2 is equal to 1, therefore,

$∫^{\frac{π}{2}}_0 \cos x dx = 1 - 0=1$

Therefore, the definite integral of cos x is equal to 1.

## FAQ’s

### Can you integrate sin2x?

Integration of sin2x means finding the integral of the function sin2x. The integral of sin2x can be written as ∫ sin2x dx. Here, we need to find the indefinite integral of sin2x. So, the integration of sin2x results in a new function with arbitrary constant C.

### What is integral 2x?

The integration of 2x in calculus is equal to x square plus the constant of integration which is symbolically written as ∫2x dx = x2 + C, where ∫ is the symbol of the integral, dx shows that the integration of 2x is with respect to the variable x and C is the constant of integration.