Mister Exam

Other calculators

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

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1              
  /              
 |               
 |     x         
 |    e  - 1     
 |  ---------- dx
 |  1 - cos(x)   
 |               
/                
0                
01ex11cos(x)dx\int\limits_{0}^{1} \frac{e^{x} - 1}{1 - \cos{\left(x \right)}}\, dx
Integral((exp(x) - 1)/(1 - cos(x)), (x, 0, 1))
Detail solution
  1. There are multiple ways to do this integral.

    Method #1

    1. Rewrite the integrand:

      ex11cos(x)=ex1cos(x)1\frac{e^{x} - 1}{1 - \cos{\left(x \right)}} = - \frac{e^{x} - 1}{\cos{\left(x \right)} - 1}

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

      (ex1cos(x)1)dx=ex1cos(x)1dx\int \left(- \frac{e^{x} - 1}{\cos{\left(x \right)} - 1}\right)\, dx = - \int \frac{e^{x} - 1}{\cos{\left(x \right)} - 1}\, dx

      1. Rewrite the integrand:

        ex1cos(x)1=excos(x)11cos(x)1\frac{e^{x} - 1}{\cos{\left(x \right)} - 1} = \frac{e^{x}}{\cos{\left(x \right)} - 1} - \frac{1}{\cos{\left(x \right)} - 1}

      2. Integrate term-by-term:

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

          But the integral is

          excos(x)1dx\int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx

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

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

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

            But the integral is

            1tan(x2)\frac{1}{\tan{\left(\frac{x}{2} \right)}}

          So, the result is: 1tan(x2)- \frac{1}{\tan{\left(\frac{x}{2} \right)}}

        The result is: excos(x)1dx1tan(x2)\int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx - \frac{1}{\tan{\left(\frac{x}{2} \right)}}

      So, the result is: excos(x)1dx+1tan(x2)- \int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx + \frac{1}{\tan{\left(\frac{x}{2} \right)}}

    Method #2

    1. Rewrite the integrand:

      ex11cos(x)=ex1cos(x)11cos(x)\frac{e^{x} - 1}{1 - \cos{\left(x \right)}} = \frac{e^{x}}{1 - \cos{\left(x \right)}} - \frac{1}{1 - \cos{\left(x \right)}}

    2. Integrate term-by-term:

      1. Rewrite the integrand:

        ex1cos(x)=excos(x)1\frac{e^{x}}{1 - \cos{\left(x \right)}} = - \frac{e^{x}}{\cos{\left(x \right)} - 1}

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

        (excos(x)1)dx=excos(x)1dx\int \left(- \frac{e^{x}}{\cos{\left(x \right)} - 1}\right)\, dx = - \int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx

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

          But the integral is

          excos(x)1dx\int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx

        So, the result is: excos(x)1dx- \int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx

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

        (11cos(x))dx=11cos(x)dx\int \left(- \frac{1}{1 - \cos{\left(x \right)}}\right)\, dx = - \int \frac{1}{1 - \cos{\left(x \right)}}\, dx

        1. Rewrite the integrand:

          11cos(x)=1cos(x)1\frac{1}{1 - \cos{\left(x \right)}} = - \frac{1}{\cos{\left(x \right)} - 1}

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

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

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

            But the integral is

            1tan(x2)\frac{1}{\tan{\left(\frac{x}{2} \right)}}

          So, the result is: 1tan(x2)- \frac{1}{\tan{\left(\frac{x}{2} \right)}}

        So, the result is: 1tan(x2)\frac{1}{\tan{\left(\frac{x}{2} \right)}}

      The result is: excos(x)1dx+1tan(x2)- \int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx + \frac{1}{\tan{\left(\frac{x}{2} \right)}}

  2. Add the constant of integration:

    excos(x)1dx+1tan(x2)+constant- \int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx + \frac{1}{\tan{\left(\frac{x}{2} \right)}}+ \mathrm{constant}


The answer is:

excos(x)1dx+1tan(x2)+constant- \int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx + \frac{1}{\tan{\left(\frac{x}{2} \right)}}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                               /              
 |                               |               
 |    x                          |       x       
 |   e  - 1              1       |      e        
 | ---------- dx = C + ------ -  | ----------- dx
 | 1 - cos(x)             /x\    | -1 + cos(x)   
 |                     tan|-|    |               
/                         \2/   /                
ex11cos(x)dx=Cexcos(x)1dx+1tan(x2)\int \frac{e^{x} - 1}{1 - \cos{\left(x \right)}}\, dx = C - \int \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx + \frac{1}{\tan{\left(\frac{x}{2} \right)}}
The answer [src]
                         1               
    1                    /               
    /                   |                
   |                    |        x       
   |      -1            |       e        
-  |  ----------- dx -  |  ----------- dx
   |  -1 + cos(x)       |  -1 + cos(x)   
   |                    |                
  /                    /                 
  0                    0                 
01(1cos(x)1)dx01excos(x)1dx- \int\limits_{0}^{1} \left(- \frac{1}{\cos{\left(x \right)} - 1}\right)\, dx - \int\limits_{0}^{1} \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx
=
=
                         1               
    1                    /               
    /                   |                
   |                    |        x       
   |      -1            |       e        
-  |  ----------- dx -  |  ----------- dx
   |  -1 + cos(x)       |  -1 + cos(x)   
   |                    |                
  /                    /                 
  0                    0                 
01(1cos(x)1)dx01excos(x)1dx- \int\limits_{0}^{1} \left(- \frac{1}{\cos{\left(x \right)} - 1}\right)\, dx - \int\limits_{0}^{1} \frac{e^{x}}{\cos{\left(x \right)} - 1}\, dx
-Integral(-1/(-1 + cos(x)), (x, 0, 1)) - Integral(exp(x)/(-1 + cos(x)), (x, 0, 1))

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