Mister Exam

Other calculators

Integral of ln(1+x)-lnx dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  4                         
  /                         
 |                          
 |  (log(1 + x) - log(x)) dx
 |                          
/                           
1                           
$$\int\limits_{1}^{4} \left(- \log{\left(x \right)} + \log{\left(x + 1 \right)}\right)\, dx$$
Integral(log(1 + x) - log(x), (x, 1, 4))
Detail solution
  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. 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:

      So, the result is:

    1. There are multiple ways to do this integral.

      Method #1

      1. Let .

        Then let and substitute :

        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:

        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. Rewrite the integrand:

      3. 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. Let .

            Then let and substitute :

            1. The integral of is .

            Now substitute back in:

          So, the result is:

        The result is:

    The result is:

  2. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                                                                 
 |                                                                  
 | (log(1 + x) - log(x)) dx = -1 + C + (1 + x)*log(1 + x) - x*log(x)
 |                                                                  
/                                                                   
$$\int \left(- \log{\left(x \right)} + \log{\left(x + 1 \right)}\right)\, dx = C - x \log{\left(x \right)} + \left(x + 1\right) \log{\left(x + 1 \right)} - 1$$
The graph
The answer [src]
log(10)   9*log(4)   3*log(2)   9*log(5)
------- - -------- - -------- + --------
   2         2          2          2    
$$- \frac{9 \log{\left(4 \right)}}{2} - \frac{3 \log{\left(2 \right)}}{2} + \frac{\log{\left(10 \right)}}{2} + \frac{9 \log{\left(5 \right)}}{2}$$
=
=
log(10)   9*log(4)   3*log(2)   9*log(5)
------- - -------- - -------- + --------
   2         2          2          2    
$$- \frac{9 \log{\left(4 \right)}}{2} - \frac{3 \log{\left(2 \right)}}{2} + \frac{\log{\left(10 \right)}}{2} + \frac{9 \log{\left(5 \right)}}{2}$$
log(10)/2 - 9*log(4)/2 - 3*log(2)/2 + 9*log(5)/2
Numerical answer [src]
1.11571775657105
1.11571775657105

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