** Final Answer

**

** Step-by-step Solution **

** Specify the solving method

**

**

We can solve the integral $\int x\cos\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)$

Learn how to solve integral calculus problems step by step online.

$\begin{matrix}P(x)=x \\ T(x)=\cos\left(x\right)\end{matrix}$

Learn how to solve integral calculus problems step by step online. Find the integral int(xcos(x))dx. We can solve the integral \int x\cos\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 \cos\left(x\right) a total of 2 times. With the derivatives and integrals of both functions we build the following table.

** Final Answer

**