** Final answer to the problem

**

** Step-by-step Solution **

** How should I solve this problem?

- Choose an option
- Integrate by partial fractions
- Integrate by substitution
- Integrate by parts
- Integrate using tabular integration
- Integrate by trigonometric substitution
- Weierstrass Substitution
- Integrate using trigonometric identities
- Integrate using basic integrals
- Product of Binomials with Common Term
- Load more...

**

**

Cancel like terms $x^2$ and $-x^2$

Learn how to solve problems step by step online.

$\int_{-1}^{2} xdx$

Learn how to solve problems step by step online. Integrate the function x^2+x-x^2 from -1 to 2. Cancel like terms x^2 and -x^2. Applying the power rule for integration, \displaystyle\int x^n dx=\frac{x^{n+1}}{n+1}, where n represents a number or constant function, in this case n=1. Evaluate the definite integral. Simplify the expression.

** Final answer to the problem

**