Mister Exam

Other calculators


ln(x^2+1)

Integral of ln(x^2+1) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1               
  /               
 |                
 |     / 2    \   
 |  log\x  + 1/ dx
 |                
/                 
0                 
01log(x2+1)dx\int\limits_{0}^{1} \log{\left(x^{2} + 1 \right)}\, dx
Integral(log(x^2 + 1), (x, 0, 1))
Detail solution
  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(x2+1)u{\left(x \right)} = \log{\left(x^{2} + 1 \right)} and let dv(x)=1\operatorname{dv}{\left(x \right)} = 1.

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

    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:

    2x2x2+1dx=2x2x2+1dx\int \frac{2 x^{2}}{x^{2} + 1}\, dx = 2 \int \frac{x^{2}}{x^{2} + 1}\, dx

    1. Rewrite the integrand:

      x2x2+1=11x2+1\frac{x^{2}}{x^{2} + 1} = 1 - \frac{1}{x^{2} + 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. The integral of a constant times a function is the constant times the integral of the function:

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

          PiecewiseRule(subfunctions=[(ArctanRule(a=1, b=1, c=1, context=1/(x**2 + 1), symbol=x), True), (ArccothRule(a=1, b=1, c=1, context=1/(x**2 + 1), symbol=x), False), (ArctanhRule(a=1, b=1, c=1, context=1/(x**2 + 1), symbol=x), False)], context=1/(x**2 + 1), symbol=x)

        So, the result is: atan(x)- \operatorname{atan}{\left(x \right)}

      The result is: xatan(x)x - \operatorname{atan}{\left(x \right)}

    So, the result is: 2x2atan(x)2 x - 2 \operatorname{atan}{\left(x \right)}

  3. Now simplify:

    xlog(x2+1)2x+2atan(x)x \log{\left(x^{2} + 1 \right)} - 2 x + 2 \operatorname{atan}{\left(x \right)}

  4. Add the constant of integration:

    xlog(x2+1)2x+2atan(x)+constantx \log{\left(x^{2} + 1 \right)} - 2 x + 2 \operatorname{atan}{\left(x \right)}+ \mathrm{constant}


The answer is:

xlog(x2+1)2x+2atan(x)+constantx \log{\left(x^{2} + 1 \right)} - 2 x + 2 \operatorname{atan}{\left(x \right)}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                                                    
 |                                                     
 |    / 2    \                                 / 2    \
 | log\x  + 1/ dx = C - 2*x + 2*atan(x) + x*log\x  + 1/
 |                                                     
/                                                      
log(x2+1)dx=C+xlog(x2+1)2x+2atan(x)\int \log{\left(x^{2} + 1 \right)}\, dx = C + x \log{\left(x^{2} + 1 \right)} - 2 x + 2 \operatorname{atan}{\left(x \right)}
The graph
0.001.000.100.200.300.400.500.600.700.800.900.01.0
The answer [src]
     pi         
-2 + -- + log(2)
     2          
2+log(2)+π2-2 + \log{\left(2 \right)} + \frac{\pi}{2}
=
=
     pi         
-2 + -- + log(2)
     2          
2+log(2)+π2-2 + \log{\left(2 \right)} + \frac{\pi}{2}
-2 + pi/2 + log(2)
Numerical answer [src]
0.263943507354842
0.263943507354842
The graph
Integral of ln(x^2+1) dx

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