Mister Exam

Other calculators

Integral of x^2-4x-2 dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    1. Integrate term-by-term:

      1. The integral of xnx^{n} is xn+1n+1\frac{x^{n + 1}}{n + 1} when n1n \neq -1:

        x2dx=x33\int x^{2}\, dx = \frac{x^{3}}{3}

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

        (4x)dx=4xdx\int \left(- 4 x\right)\, dx = - 4 \int x\, dx

        1. The integral of xnx^{n} is xn+1n+1\frac{x^{n + 1}}{n + 1} when n1n \neq -1:

          xdx=x22\int x\, dx = \frac{x^{2}}{2}

        So, the result is: 2x2- 2 x^{2}

      The result is: x332x2\frac{x^{3}}{3} - 2 x^{2}

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

      (2)dx=2x\int \left(-2\right)\, dx = - 2 x

    The result is: x332x22x\frac{x^{3}}{3} - 2 x^{2} - 2 x

  2. Now simplify:

    x(x26x6)3\frac{x \left(x^{2} - 6 x - 6\right)}{3}

  3. Add the constant of integration:

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


The answer is:

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

The answer (Indefinite) [src]
  /                                       
 |                                       3
 | / 2          \                   2   x 
 | \x  - 4*x - 2/ dx = C - 2*x - 2*x  + --
 |                                      3 
/                                         
((x24x)2)dx=C+x332x22x\int \left(\left(x^{2} - 4 x\right) - 2\right)\, dx = C + \frac{x^{3}}{3} - 2 x^{2} - 2 x
The graph
-1.00-0.75-0.50-0.252.000.000.250.500.751.001.251.501.75-1010
The answer [src]
-9
9-9
=
=
-9
9-9
-9
Numerical answer [src]
-9.0
-9.0

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