Mister Exam

Other calculators

Integral of cosx^2-sin^2x dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  p                       
  -                       
  4                       
  /                       
 |                        
 |  /   2         2   \   
 |  \cos (x) - sin (x)/ dx
 |                        
/                         
0                         
$$\int\limits_{0}^{\frac{p}{4}} \left(- \sin^{2}{\left(x \right)} + \cos^{2}{\left(x \right)}\right)\, dx$$
Integral(cos(x)^2 - sin(x)^2, (x, 0, p/4))
Detail solution
  1. Integrate term-by-term:

    1. The integral of a constant times a function is the constant times the integral of the function:

      1. Rewrite the integrand:

      2. Integrate term-by-term:

        1. The integral of a constant is the constant times the variable of integration:

        1. The integral of a constant times a function is the constant times the integral of the function:

          1. Let .

            Then let and substitute :

            1. The integral of a constant times a function is the constant times the integral of the function:

              1. The integral of cosine is sine:

              So, the result is:

            Now substitute back in:

          So, the result is:

        The result is:

      So, the result is:

    1. Rewrite the integrand:

    2. Integrate term-by-term:

      1. The integral of a constant times a function is the constant times the integral of the function:

        1. Let .

          Then let and substitute :

          1. The integral of a constant times a function is the constant times the integral of the function:

            1. The integral of cosine is sine:

            So, the result is:

          Now substitute back in:

        So, the result is:

      1. The integral of a constant is the constant times the variable of integration:

      The result is:

    The result is:

  2. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                     
 |                                      
 | /   2         2   \          sin(2*x)
 | \cos (x) - sin (x)/ dx = C + --------
 |                                 2    
/                                       
$$\int \left(- \sin^{2}{\left(x \right)} + \cos^{2}{\left(x \right)}\right)\, dx = C + \frac{\sin{\left(2 x \right)}}{2}$$
The answer [src]
   /p\    /p\
cos|-|*sin|-|
   \4/    \4/
$$\sin{\left(\frac{p}{4} \right)} \cos{\left(\frac{p}{4} \right)}$$
=
=
   /p\    /p\
cos|-|*sin|-|
   \4/    \4/
$$\sin{\left(\frac{p}{4} \right)} \cos{\left(\frac{p}{4} \right)}$$
cos(p/4)*sin(p/4)

    Use the examples entering the upper and lower limits of integration.