Concept:
To integrate the product of an algebraic function and an exponential function, we apply the Integration by Parts method. The formula is stated as:
\[
\int u \cdot v \, dx = u \int v \, dx - \int \left( \frac{du}{dx} \int v \, dx \right) dx
\]
We use the ILATE rule (Inverse trigonometric, Logarithmic, Algebraic, Trigonometric, Exponential) to select the first function (\(u\)). In this case:
- First function, \(u = x\) (Algebraic)
- Second function, \(v = e^x\) (Exponential)
Step 1: Applying the Integration by Parts formula.
Differentiating \(u\) and integrating \(v\):
\[
\frac{du}{dx} = 1 \quad \text{and} \quad \int e^x \, dx = e^x
\]
Substituting these components into the integration by parts formula:
\[
\int x \cdot e^x \, dx = x \cdot \left(e^x\right) - \int \left( 1 \cdot e^x \right) dx
\]
Step 2: Evaluating the remaining integral and simplifying.
\[
\int x \cdot e^x \, dx = x e^x - \int e^x \, dx
\]
\[
\int x \cdot e^x \, dx = x e^x - e^x + C
\]
Factoring out the common exponential term \(e^x\):
\[
\int x \cdot e^x \, dx = e^x(x - 1) + C
\]