Mister Exam

Other calculators


log(x+2)

Integral of log(x+2) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    Method #1

    1. Let u=x+2u = x + 2.

      Then let du=dxdu = dx and substitute dudu:

      log(u)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

      Now substitute uu back in:

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

    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(x+2)u{\left(x \right)} = \log{\left(x + 2 \right)} and let dv(x)=1\operatorname{dv}{\left(x \right)} = 1.

      Then du(x)=1x+2\operatorname{du}{\left(x \right)} = \frac{1}{x + 2}.

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

      xx+2=12x+2\frac{x}{x + 2} = 1 - \frac{2}{x + 2}

    3. 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. The integral of a constant times a function is the constant times the integral of the function:

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

        1. Let u=x+2u = 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(x+2)\log{\left(x + 2 \right)}

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

      The result is: x2log(x+2)x - 2 \log{\left(x + 2 \right)}

  2. Now simplify:

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

  3. Add the constant of integration:

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


The answer is:

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

The answer (Indefinite) [src]
  /                                               
 |                                                
 | log(x + 2) dx = -2 + C - x + (x + 2)*log(x + 2)
 |                                                
/                                                 
log(x+2)dx=Cx+(x+2)log(x+2)2\int \log{\left(x + 2 \right)}\, dx = C - x + \left(x + 2\right) \log{\left(x + 2 \right)} - 2
The graph
0.001.000.100.200.300.400.500.600.700.800.9004
The answer [src]
-1 - 2*log(2) + 3*log(3)
2log(2)1+3log(3)- 2 \log{\left(2 \right)} - 1 + 3 \log{\left(3 \right)}
=
=
-1 - 2*log(2) + 3*log(3)
2log(2)1+3log(3)- 2 \log{\left(2 \right)} - 1 + 3 \log{\left(3 \right)}
-1 - 2*log(2) + 3*log(3)
Numerical answer [src]
0.909542504884438
0.909542504884438
The graph
Integral of log(x+2) dx

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