2 / | | / 2 \ | \- x + 2*x/ dx | / -1
Integral(-x^2 + 2*x, (x, -1, 2))
Integrate term-by-term:
The integral of a constant times a function is the constant times the integral of the function:
The integral of is when :
So, the result is:
The integral of a constant times a function is the constant times the integral of the function:
The integral of is when :
So, the result is:
The result is:
Now simplify:
Add the constant of integration:
The answer is:
/ | 3 | / 2 \ 2 x | \- x + 2*x/ dx = C + x - -- | 3 /
Use the examples entering the upper and lower limits of integration.