Mister Exam

Other calculators

Integral of -x^2+4*x-1 dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

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

    1. Integrate term-by-term:

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

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

        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}

        So, the result is: x33- \frac{x^{3}}{3}

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

        4xdx=4xdx\int 4 x\, 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: 2x22 x^{2}

      The result is: x33+2x2- \frac{x^{3}}{3} + 2 x^{2}

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

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

    The result is: x33+2x2x- \frac{x^{3}}{3} + 2 x^{2} - x

  2. Now simplify:

    x(x2+6x3)3\frac{x \left(- x^{2} + 6 x - 3\right)}{3}

  3. Add the constant of integration:

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


The answer is:

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

The answer (Indefinite) [src]
  /                                       
 |                                       3
 | /   2          \                 2   x 
 | \- x  + 4*x - 1/ dx = C - x + 2*x  - --
 |                                      3 
/                                         
((x2+4x)1)dx=Cx33+2x2x\int \left(\left(- x^{2} + 4 x\right) - 1\right)\, dx = C - \frac{x^{3}}{3} + 2 x^{2} - x
The graph
1.004.001.251.501.752.002.252.502.753.003.253.503.75-1010
The answer [src]
6
66
=
=
6
66
6
Numerical answer [src]
6.0
6.0

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