Mister Exam

Other calculators


(x+sin(x))/(1+cos(x))

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

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1              
  /              
 |               
 |  x + sin(x)   
 |  ---------- dx
 |  1 + cos(x)   
 |               
/                
0                
01x+sin(x)cos(x)+1dx\int\limits_{0}^{1} \frac{x + \sin{\left(x \right)}}{\cos{\left(x \right)} + 1}\, dx
Integral((x + sin(x))/(1 + cos(x)), (x, 0, 1))
Detail solution
  1. Rewrite the integrand:

    x+sin(x)cos(x)+1=xcos(x)+1+sin(x)cos(x)+1\frac{x + \sin{\left(x \right)}}{\cos{\left(x \right)} + 1} = \frac{x}{\cos{\left(x \right)} + 1} + \frac{\sin{\left(x \right)}}{\cos{\left(x \right)} + 1}

  2. Integrate term-by-term:

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

      But the integral is

      xtan(x2)log(tan2(x2)+1)x \tan{\left(\frac{x}{2} \right)} - \log{\left(\tan^{2}{\left(\frac{x}{2} \right)} + 1 \right)}

    1. Let u=cos(x)+1u = \cos{\left(x \right)} + 1.

      Then let du=sin(x)dxdu = - \sin{\left(x \right)} dx and substitute du- du:

      (1u)du\int \left(- \frac{1}{u}\right)\, du

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

        1udu=1udu\int \frac{1}{u}\, du = - \int \frac{1}{u}\, du

        1. The integral of 1u\frac{1}{u} is log(u)\log{\left(u \right)}.

        So, the result is: log(u)- \log{\left(u \right)}

      Now substitute uu back in:

      log(cos(x)+1)- \log{\left(\cos{\left(x \right)} + 1 \right)}

    The result is: xtan(x2)log(cos(x)+1)log(tan2(x2)+1)x \tan{\left(\frac{x}{2} \right)} - \log{\left(\cos{\left(x \right)} + 1 \right)} - \log{\left(\tan^{2}{\left(\frac{x}{2} \right)} + 1 \right)}

  3. Now simplify:

    xtan(x2)log(2cos(x)+1)log(cos(x)+1)x \tan{\left(\frac{x}{2} \right)} - \log{\left(\frac{2}{\cos{\left(x \right)} + 1} \right)} - \log{\left(\cos{\left(x \right)} + 1 \right)}

  4. Add the constant of integration:

    xtan(x2)log(2cos(x)+1)log(cos(x)+1)+constantx \tan{\left(\frac{x}{2} \right)} - \log{\left(\frac{2}{\cos{\left(x \right)} + 1} \right)} - \log{\left(\cos{\left(x \right)} + 1 \right)}+ \mathrm{constant}


The answer is:

xtan(x2)log(2cos(x)+1)log(cos(x)+1)+constantx \tan{\left(\frac{x}{2} \right)} - \log{\left(\frac{2}{\cos{\left(x \right)} + 1} \right)} - \log{\left(\cos{\left(x \right)} + 1 \right)}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                                                 
 |                                                                  
 | x + sin(x)             /       2/x\\                          /x\
 | ---------- dx = C - log|1 + tan |-|| - log(1 + cos(x)) + x*tan|-|
 | 1 + cos(x)             \        \2//                          \2/
 |                                                                  
/                                                                   
x+sin(x)cos(x)+1dx=C+xtan(x2)log(cos(x)+1)log(tan2(x2)+1)\int \frac{x + \sin{\left(x \right)}}{\cos{\left(x \right)} + 1}\, dx = C + x \tan{\left(\frac{x}{2} \right)} - \log{\left(\cos{\left(x \right)} + 1 \right)} - \log{\left(\tan^{2}{\left(\frac{x}{2} \right)} + 1 \right)}
The graph
0.001.000.100.200.300.400.500.600.700.800.9002
The answer [src]
tan(1/2)
tan(12)\tan{\left(\frac{1}{2} \right)}
=
=
tan(1/2)
tan(12)\tan{\left(\frac{1}{2} \right)}
tan(1/2)
Numerical answer [src]
0.54630248984379
0.54630248984379
The graph
Integral of (x+sin(x))/(1+cos(x)) dx

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