Mister Exam

Integral of ln(1-x)dx dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    Method #1

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

      Then let du=dxdu = - dx and substitute du- du:

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

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

        log(u)du=log(u)du\int \log{\left(u \right)}\, du = - \int \log{\left(u \right)}\, du

        1. Use integration by parts:

          udv=uvvdu\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}

          Let u(u)=log(u)u{\left(u \right)} = \log{\left(u \right)} and let dv(u)=1\operatorname{dv}{\left(u \right)} = 1.

          Then du(u)=1u\operatorname{du}{\left(u \right)} = \frac{1}{u}.

          To find v(u)v{\left(u \right)}:

          1. The integral of a constant is the constant times the variable of integration:

            1du=u\int 1\, du = u

          Now evaluate the sub-integral.

        2. The integral of a constant is the constant times the variable of integration:

          1du=u\int 1\, du = u

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

      Now substitute uu back in:

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

    Method #2

    1. Use integration by parts:

      udv=uvvdu\int \operatorname{u} \operatorname{dv} = \operatorname{u}\operatorname{v} - \int \operatorname{v} \operatorname{du}

      Let u(x)=log(1x)u{\left(x \right)} = \log{\left(1 - x \right)} and let dv(x)=1\operatorname{dv}{\left(x \right)} = 1.

      Then du(x)=11x\operatorname{du}{\left(x \right)} = - \frac{1}{1 - x}.

      To find v(x)v{\left(x \right)}:

      1. The integral of a constant is the constant times the variable of integration:

        1dx=x\int 1\, dx = x

      Now evaluate the sub-integral.

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

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

      1. There are multiple ways to do this integral.

        Method #1

        1. Rewrite the integrand:

          x1x=11x1\frac{x}{1 - x} = -1 - \frac{1}{x - 1}

        2. Integrate term-by-term:

          1. The integral of a constant is the constant times the variable of integration:

            (1)dx=x\int \left(-1\right)\, dx = - x

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

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

            1. Let u=x1u = x - 1.

              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(x1)\log{\left(x - 1 \right)}

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

          The result is: xlog(x1)- x - \log{\left(x - 1 \right)}

        Method #2

        1. Rewrite the integrand:

          x1x=xx1\frac{x}{1 - x} = - \frac{x}{x - 1}

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

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

          1. Rewrite the integrand:

            xx1=1+1x1\frac{x}{x - 1} = 1 + \frac{1}{x - 1}

          2. Integrate term-by-term:

            1. The integral of a constant is the constant times the variable of integration:

              1dx=x\int 1\, dx = x

            1. Let u=x1u = x - 1.

              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(x1)\log{\left(x - 1 \right)}

            The result is: x+log(x1)x + \log{\left(x - 1 \right)}

          So, the result is: xlog(x1)- x - \log{\left(x - 1 \right)}

      So, the result is: x+log(x1)x + \log{\left(x - 1 \right)}

  2. Now simplify:

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

  3. Add the constant of integration:

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


The answer is:

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

The answer (Indefinite) [src]
  /                                              
 |                                               
 | log(1 - x) dx = 1 + C - x - (1 - x)*log(1 - x)
 |                                               
/                                                
log(1x)dx=Cx(1x)log(1x)+1\int \log{\left(1 - x \right)}\, dx = C - x - \left(1 - x\right) \log{\left(1 - x \right)} + 1
The graph
0.001.000.100.200.300.400.500.600.700.800.90-1010
The answer [src]
-1
1-1
=
=
-1
1-1
-1
Numerical answer [src]
-1.0
-1.0
The graph
Integral of ln(1-x)dx dx

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