Mister Exam

Other calculators

Integral of (log(1/x))(1-x) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    Method #1

    1. Let .

      Then let and substitute :

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

        1. Let .

          Then let and substitute :

          1. Integrate term-by-term:

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

              1. Use integration by parts:

                Let and let .

                Then .

                To find :

                1. Let .

                  Then let and substitute :

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

                    1. The integral of the exponential function is itself.

                    So, the result is:

                  Now substitute back in:

                Now evaluate the sub-integral.

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

                1. Let .

                  Then let and substitute :

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

                    1. The integral of the exponential function is itself.

                    So, the result is:

                  Now substitute back in:

                So, the result is:

              So, the result is:

            1. Use integration by parts:

              Let and let .

              Then .

              To find :

              1. The integral of the exponential function is itself.

              Now evaluate the sub-integral.

            2. The integral of the exponential function is itself.

            The result is:

          Now substitute back in:

        So, the result is:

      Now substitute back in:

    Method #2

    1. Rewrite the integrand:

    2. Integrate term-by-term:

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

        1. Let .

          Then let and substitute :

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

            1. Use integration by parts:

              Let and let .

              Then .

              To find :

              1. Let .

                Then let and substitute :

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

                  1. The integral of the exponential function is itself.

                  So, the result is:

                Now substitute back in:

              Now evaluate the sub-integral.

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

              1. Let .

                Then let and substitute :

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

                  1. The integral of the exponential function is itself.

                  So, the result is:

                Now substitute back in:

              So, the result is:

            So, the result is:

          Now substitute back in:

        So, the result is:

      1. There are multiple ways to do this integral.

        Method #1

        1. Let .

          Then let and substitute :

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

            1. Let .

              Then let and substitute :

              1. Let .

                Then let and substitute :

                1. Use integration by parts:

                  Let and let .

                  Then .

                  To find :

                  1. The integral of the exponential function is itself.

                  Now evaluate the sub-integral.

                2. The integral of the exponential function is itself.

                Now substitute back in:

              Now substitute back in:

            So, the result is:

          Now substitute back in:

        Method #2

        1. Use integration by parts:

          Let and let .

          Then .

          To find :

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

          Now evaluate the sub-integral.

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

      The result is:

    Method #3

    1. Use integration by parts:

      Let and let .

      Then .

      To find :

      1. Integrate term-by-term:

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

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

          1. The integral of is when :

          So, the result is:

        The result is:

      Now evaluate the sub-integral.

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

      1. Rewrite the integrand:

      2. Integrate term-by-term:

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

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

          1. The integral of is when :

          So, the result is:

        The result is:

      So, the result is:

    Method #4

    1. Rewrite the integrand:

    2. Integrate term-by-term:

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

        1. Let .

          Then let and substitute :

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

            1. Use integration by parts:

              Let and let .

              Then .

              To find :

              1. Let .

                Then let and substitute :

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

                  1. The integral of the exponential function is itself.

                  So, the result is:

                Now substitute back in:

              Now evaluate the sub-integral.

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

              1. Let .

                Then let and substitute :

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

                  1. The integral of the exponential function is itself.

                  So, the result is:

                Now substitute back in:

              So, the result is:

            So, the result is:

          Now substitute back in:

        So, the result is:

      1. Let .

        Then let and substitute :

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

          1. Let .

            Then let and substitute :

            1. Let .

              Then let and substitute :

              1. Use integration by parts:

                Let and let .

                Then .

                To find :

                1. The integral of the exponential function is itself.

                Now evaluate the sub-integral.

              2. The integral of the exponential function is itself.

              Now substitute back in:

            Now substitute back in:

          So, the result is:

        Now substitute back in:

      The result is:

  2. Now simplify:

  3. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                             2    /1\
 |                              2              x *log|-|
 |    /1\                      x         /1\         \x/
 | log|-|*(1 - x) dx = C + x - -- + x*log|-| - ---------
 |    \x/                      4         \x/       2    
 |                                                      
/                                                       
$$\int \left(1 - x\right) \log{\left(\frac{1}{x} \right)}\, dx = C - \frac{x^{2} \log{\left(\frac{1}{x} \right)}}{2} - \frac{x^{2}}{4} + x \log{\left(\frac{1}{x} \right)} + x$$
The answer [src]
    /      2 \            2 
p   |p    p  |    /n\    p  
- + |- - ----|*log|-| - ----
n   |n      2|    \p/      2
    \    2*n /          4*n 
$$\left(\frac{p}{n} - \frac{p^{2}}{2 n^{2}}\right) \log{\left(\frac{n}{p} \right)} + \frac{p}{n} - \frac{p^{2}}{4 n^{2}}$$
=
=
    /      2 \            2 
p   |p    p  |    /n\    p  
- + |- - ----|*log|-| - ----
n   |n      2|    \p/      2
    \    2*n /          4*n 
$$\left(\frac{p}{n} - \frac{p^{2}}{2 n^{2}}\right) \log{\left(\frac{n}{p} \right)} + \frac{p}{n} - \frac{p^{2}}{4 n^{2}}$$
p/n + (p/n - p^2/(2*n^2))*log(n/p) - p^2/(4*n^2)

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