Mister Exam

Integral of 1/(2-x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1         
  /         
 |          
 |    1     
 |  ----- dx
 |  2 - x   
 |          
/           
0           
0112xdx\int\limits_{0}^{1} \frac{1}{2 - x}\, dx
Integral(1/(2 - x), (x, 0, 1))
Detail solution
  1. There are multiple ways to do this integral.

    Method #1

    1. Let u=2xu = 2 - x.

      Then let du=dxdu = - 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(2x)- \log{\left(2 - x \right)}

    Method #2

    1. Rewrite the integrand:

      12x=1x2\frac{1}{2 - x} = - \frac{1}{x - 2}

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

      (1x2)dx=1x2dx\int \left(- \frac{1}{x - 2}\right)\, dx = - \int \frac{1}{x - 2}\, dx

      1. Let u=x2u = x - 2.

        Then let du=dxdu = dx and substitute dudu:

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

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

        Now substitute uu back in:

        log(x2)\log{\left(x - 2 \right)}

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

    Method #3

    1. Rewrite the integrand:

      12x=1x2\frac{1}{2 - x} = - \frac{1}{x - 2}

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

      (1x2)dx=1x2dx\int \left(- \frac{1}{x - 2}\right)\, dx = - \int \frac{1}{x - 2}\, dx

      1. Let u=x2u = x - 2.

        Then let du=dxdu = dx and substitute dudu:

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

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

        Now substitute uu back in:

        log(x2)\log{\left(x - 2 \right)}

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

  2. Add the constant of integration:

    log(2x)+constant- \log{\left(2 - x \right)}+ \mathrm{constant}


The answer is:

log(2x)+constant- \log{\left(2 - x \right)}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                         
 |                          
 |   1                      
 | ----- dx = C - log(2 - x)
 | 2 - x                    
 |                          
/                           
12xdx=Clog(2x)\int \frac{1}{2 - x}\, dx = C - \log{\left(2 - x \right)}
The graph
0.001.000.100.200.300.400.500.600.700.800.900.01.5
The answer [src]
log(2)
log(2)\log{\left(2 \right)}
=
=
log(2)
log(2)\log{\left(2 \right)}
log(2)
Numerical answer [src]
0.693147180559945
0.693147180559945
The graph
Integral of 1/(2-x) dx

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