** 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...

**

**

We can solve the integral $\int x^2\sin\left(x\right)dx$ by applying the method of tabular integration by parts, which allows us to perform successive integrations by parts on integrals of the form $\int P(x)T(x) dx$. $P(x)$ is typically a polynomial function and $T(x)$ is a transcendent function such as $\sin(x)$, $\cos(x)$ and $e^x$. The first step is to choose functions $P(x)$ and $T(x)$

**

**

Derive $P(x)$ until it becomes $0$

**

**

Integrate $T(x)$ as many times as we have had to derive $P(x)$, so we must integrate $\sin\left(x\right)$ a total of $3$ times

**

**

With the derivatives and integrals of both functions we build the following table

**

**

Then the solution is the sum of the products of the derivatives and the integrals according to the previous table. The first term consists of the product of the polynomial function by the first integral. The second term is the product of the first derivative by the second integral, and so on.

**

**

As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$

** Final answer to the problem

**