Mister Exam

Integral of x-2/x dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  E           
  /           
 |            
 |  /    2\   
 |  |x - -| dx
 |  \    x/   
 |            
/             
1             
$$\int\limits_{1}^{e} \left(x - \frac{2}{x}\right)\, dx$$
Integral(x - 2/x, (x, 1, E))
Detail solution
  1. Integrate term-by-term:

    1. The integral of is when :

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

      1. The integral of is .

      So, the result is:

    The result is:

  2. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                              
 |                   2           
 | /    2\          x            
 | |x - -| dx = C + -- - 2*log(x)
 | \    x/          2            
 |                               
/                                
$$\int \left(x - \frac{2}{x}\right)\, dx = C + \frac{x^{2}}{2} - 2 \log{\left(x \right)}$$
The graph
The answer [src]
       2
  5   e 
- - + --
  2   2 
$$- \frac{5}{2} + \frac{e^{2}}{2}$$
=
=
       2
  5   e 
- - + --
  2   2 
$$- \frac{5}{2} + \frac{e^{2}}{2}$$
-5/2 + exp(2)/2
Numerical answer [src]
1.19452804946532
1.19452804946532
The graph
Integral of x-2/x dx

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