Mister Exam

Other calculators

Integral of 1/(cos(x)-sin(x)) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
 pi                   
 --                   
 3                    
  /                   
 |                    
 |         1          
 |  --------------- dx
 |  cos(x) - sin(x)   
 |                    
/                     
0                     
0π31sin(x)+cos(x)dx\int\limits_{0}^{\frac{\pi}{3}} \frac{1}{- \sin{\left(x \right)} + \cos{\left(x \right)}}\, dx
Integral(1/(cos(x) - sin(x)), (x, 0, pi/3))
The answer (Indefinite) [src]
  /                           ___    /      ___      /x\\     ___    /      ___      /x\\
 |                          \/ 2 *log|1 + \/ 2  + tan|-||   \/ 2 *log|1 - \/ 2  + tan|-||
 |        1                          \               \2//            \               \2//
 | --------------- dx = C + ----------------------------- - -----------------------------
 | cos(x) - sin(x)                        2                               2              
 |                                                                                       
/                                                                                        
1sin(x)+cos(x)dx=C+2log(tan(x2)+1+2)22log(tan(x2)2+1)2\int \frac{1}{- \sin{\left(x \right)} + \cos{\left(x \right)}}\, dx = C + \frac{\sqrt{2} \log{\left(\tan{\left(\frac{x}{2} \right)} + 1 + \sqrt{2} \right)}}{2} - \frac{\sqrt{2} \log{\left(\tan{\left(\frac{x}{2} \right)} - \sqrt{2} + 1 \right)}}{2}
The graph
0.000.100.200.300.400.500.600.700.800.901.00-5000050000
The answer [src]
nan
NaN\text{NaN}
=
=
nan
NaN\text{NaN}
nan
Numerical answer [src]
-12.6679530080806
-12.6679530080806

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