Mister Exam

Other calculators

Integral of (3-ln*x)/x dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    Method #1

    1. Let u=3log(x)u = 3 - \log{\left(x \right)}.

      Then let du=dxxdu = - \frac{dx}{x} and substitute du- du:

      (u)du\int \left(- u\right)\, du

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

        udu=udu\int u\, du = - \int u\, du

        1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

          udu=u22\int u\, du = \frac{u^{2}}{2}

        So, the result is: u22- \frac{u^{2}}{2}

      Now substitute uu back in:

      (3log(x))22- \frac{\left(3 - \log{\left(x \right)}\right)^{2}}{2}

    Method #2

    1. Rewrite the integrand:

      3log(x)x=log(x)3x\frac{3 - \log{\left(x \right)}}{x} = - \frac{\log{\left(x \right)} - 3}{x}

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

      (log(x)3x)dx=log(x)3xdx\int \left(- \frac{\log{\left(x \right)} - 3}{x}\right)\, dx = - \int \frac{\log{\left(x \right)} - 3}{x}\, dx

      1. Let u=1xu = \frac{1}{x}.

        Then let du=dxx2du = - \frac{dx}{x^{2}} and substitute du- du:

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

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

          log(1u)3udu=log(1u)3udu\int \frac{\log{\left(\frac{1}{u} \right)} - 3}{u}\, du = - \int \frac{\log{\left(\frac{1}{u} \right)} - 3}{u}\, du

          1. Let u=log(1u)3u = \log{\left(\frac{1}{u} \right)} - 3.

            Then let du=duudu = - \frac{du}{u} and substitute du- du:

            (u)du\int \left(- u\right)\, du

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

              udu=udu\int u\, du = - \int u\, du

              1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

                udu=u22\int u\, du = \frac{u^{2}}{2}

              So, the result is: u22- \frac{u^{2}}{2}

            Now substitute uu back in:

            (log(1u)3)22- \frac{\left(\log{\left(\frac{1}{u} \right)} - 3\right)^{2}}{2}

          So, the result is: (log(1u)3)22\frac{\left(\log{\left(\frac{1}{u} \right)} - 3\right)^{2}}{2}

        Now substitute uu back in:

        (log(x)3)22\frac{\left(\log{\left(x \right)} - 3\right)^{2}}{2}

      So, the result is: (log(x)3)22- \frac{\left(\log{\left(x \right)} - 3\right)^{2}}{2}

    Method #3

    1. Rewrite the integrand:

      3log(x)x=log(x)x+3x\frac{3 - \log{\left(x \right)}}{x} = - \frac{\log{\left(x \right)}}{x} + \frac{3}{x}

    2. Integrate term-by-term:

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

        (log(x)x)dx=log(x)xdx\int \left(- \frac{\log{\left(x \right)}}{x}\right)\, dx = - \int \frac{\log{\left(x \right)}}{x}\, dx

        1. Let u=1xu = \frac{1}{x}.

          Then let du=dxx2du = - \frac{dx}{x^{2}} and substitute du- du:

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

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

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

            1. Let u=log(1u)u = \log{\left(\frac{1}{u} \right)}.

              Then let du=duudu = - \frac{du}{u} and substitute du- du:

              (u)du\int \left(- u\right)\, du

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

                udu=udu\int u\, du = - \int u\, du

                1. The integral of unu^{n} is un+1n+1\frac{u^{n + 1}}{n + 1} when n1n \neq -1:

                  udu=u22\int u\, du = \frac{u^{2}}{2}

                So, the result is: u22- \frac{u^{2}}{2}

              Now substitute uu back in:

              log(1u)22- \frac{\log{\left(\frac{1}{u} \right)}^{2}}{2}

            So, the result is: log(1u)22\frac{\log{\left(\frac{1}{u} \right)}^{2}}{2}

          Now substitute uu back in:

          log(x)22\frac{\log{\left(x \right)}^{2}}{2}

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

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

        3xdx=31xdx\int \frac{3}{x}\, dx = 3 \int \frac{1}{x}\, dx

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

        So, the result is: 3log(x)3 \log{\left(x \right)}

      The result is: log(x)22+3log(x)- \frac{\log{\left(x \right)}^{2}}{2} + 3 \log{\left(x \right)}

  2. Now simplify:

    (log(x)3)22- \frac{\left(\log{\left(x \right)} - 3\right)^{2}}{2}

  3. Add the constant of integration:

    (log(x)3)22+constant- \frac{\left(\log{\left(x \right)} - 3\right)^{2}}{2}+ \mathrm{constant}


The answer is:

(log(x)3)22+constant- \frac{\left(\log{\left(x \right)} - 3\right)^{2}}{2}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                 
 |                                 2
 | 3 - log(x)          (3 - log(x)) 
 | ---------- dx = C - -------------
 |     x                     2      
 |                                  
/                                   
3log(x)xdx=C(3log(x))22\int \frac{3 - \log{\left(x \right)}}{x}\, dx = C - \frac{\left(3 - \log{\left(x \right)}\right)^{2}}{2}
The graph
0.40.60.81.01.21.41.61.82.02.22.42.6-2020
The answer [src]
6
66
=
=
6
66
6
Numerical answer [src]
6.0
6.0

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