Question:easy

\( \int_0^1 x e^x\,dx = \)

Show Hint

Use integration by parts with \(u=x\) and \(dv=e^x\,dx\), then put in the limits 0 and 1.
  • \( 1 \)
  • \( 0 \)
  • \( 2 \)
  • \( -1 \)
Show Solution

The Correct Option is A

Solution and Explanation

Step 1: Find an antiderivative:
Integration by parts on $xe^x$ gives $(x-1)e^x$. We can confirm this by differentiating it with the product rule.

Step 2: Check the antiderivative:
\[ \frac{d}{dx}\left[(x-1)e^x\right] = e^x + (x-1)e^x = xe^x \]
So $F(x) = (x-1)e^x$ is an antiderivative of $xe^x$.

Step 3: Apply the limits:
\[ F(1) = (1-1)e^1 = 0 \]
\[ F(0) = (0-1)e^0 = -1 \]
\[ \int_0^1 xe^x\,dx = F(1) - F(0) = 0 - (-1) = 1 \]

Step 4: Sanity check:
On $[0,1]$ the integrand rises from 0 to $e$ about 2.72. Its average value must be well below $e$, and an area of 1 fits that. The values 0 and $-1$ are impossible for a positive integrand, and 2 is too large.

Final Answer:
The value of the integral is 1. \[ \boxed{1} \]
Was this answer helpful?
0