Mister Exam

Integral of -x-2 dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  4            
  /            
 |             
 |  (-x - 2) dx
 |             
/              
-2             
$$\int\limits_{-2}^{4} \left(- x - 2\right)\, dx$$
Integral(-x - 2, (x, -2, 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. The integral of is when :

      So, the result is:

    1. The integral of a constant is the constant times the variable of integration:

    The result is:

  2. Now simplify:

  3. Add the constant of integration:


The answer is:

The answer (Indefinite) [src]
  /                         2
 |                         x 
 | (-x - 2) dx = C - 2*x - --
 |                         2 
/                            
$$\int \left(- x - 2\right)\, dx = C - \frac{x^{2}}{2} - 2 x$$
The graph
The answer [src]
-18
$$-18$$
=
=
-18
$$-18$$
-18
Numerical answer [src]
-18.0
-18.0

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