Mister Exam

Other calculators

Integral of (1/cos^2x-sinx) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  n                      
  -                      
  4                      
  /                      
 |                       
 |  /   1            \   
 |  |------- - sin(x)| dx
 |  |   2            |   
 |  \cos (x)         /   
 |                       
/                        
n                        
-                        
4                        
n4n4(sin(x)+1cos2(x))dx\int\limits_{\frac{n}{4}}^{\frac{n}{4}} \left(- \sin{\left(x \right)} + \frac{1}{\cos^{2}{\left(x \right)}}\right)\, dx
Integral(1/(cos(x)^2) - sin(x), (x, n/4, n/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:

      (sin(x))dx=sin(x)dx\int \left(- \sin{\left(x \right)}\right)\, dx = - \int \sin{\left(x \right)}\, dx

      1. The integral of sine is negative cosine:

        sin(x)dx=cos(x)\int \sin{\left(x \right)}\, dx = - \cos{\left(x \right)}

      So, the result is: cos(x)\cos{\left(x \right)}

    1. Don't know the steps in finding this integral.

      But the integral is

      sin(x)cos(x)\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}}

    The result is: sin(x)cos(x)+cos(x)\frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} + \cos{\left(x \right)}

  2. Now simplify:

    cos(x)+tan(x)\cos{\left(x \right)} + \tan{\left(x \right)}

  3. Add the constant of integration:

    cos(x)+tan(x)+constant\cos{\left(x \right)} + \tan{\left(x \right)}+ \mathrm{constant}


The answer is:

cos(x)+tan(x)+constant\cos{\left(x \right)} + \tan{\left(x \right)}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                           
 |                                            
 | /   1            \          sin(x)         
 | |------- - sin(x)| dx = C + ------ + cos(x)
 | |   2            |          cos(x)         
 | \cos (x)         /                         
 |                                            
/                                             
(sin(x)+1cos2(x))dx=C+sin(x)cos(x)+cos(x)\int \left(- \sin{\left(x \right)} + \frac{1}{\cos^{2}{\left(x \right)}}\right)\, dx = C + \frac{\sin{\left(x \right)}}{\cos{\left(x \right)}} + \cos{\left(x \right)}
The answer [src]
0
00
=
=
0
00
0
Numerical answer [src]
0.0
0.0

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