What is the solution to the definite integral $\int^1_0 x^2 e^x \, dx$?

I was thinking about the positive area.In summary, the integrals given are evaluated using the integration by parts method. The results are found to be correct, with the first integral equal to 1 and the second integral equal to e-2. The definite integral calculator may be giving a negative value for the second integral, but this is not possible as the integral represents the area above the x-axis and must be positive.
  • #1
shamieh
539
0
Evaluate the following integrals.

a) $\int^1_0 x e^x dx$

So integrating by parts we get

$u = x $ $vu = e^x dx$
$du = dx$ $ v = e^x$

$uv - \int vdu = x e^x - \int^1_0 e^x dx$

\(\displaystyle xe^x - e^x |^1_0 = 1\)

b) \(\displaystyle \int^1_0 x^2 e^x \, dx\)

Integrating by parts we get

\(\displaystyle u = x^2 \) \(\displaystyle dv = e^x dx\)
\(\displaystyle du = 2xdx\) \(\displaystyle v = e^x\)

\(\displaystyle uv - \int vdu = x^2 e^x - \int^1_0 e^x 2x = e^1 - 2 \)
 
Last edited:
Physics news on Phys.org
  • #2
I would be more careful about notation but your results are correct. Congratulations! (Clapping)
 
  • #3
Fantini said:
I would be more careful about notation but your results are correct. Congratulations! (Clapping)

Any idea why the definite integral calculator is somehow getting 2 - e? are they equivalent?
 
  • #4
Here is a new approach that you might like

Define

\(\displaystyle f(x) = \int^1_0 e^{xt} \, dt \)

Then integrating with respect to $t$ we have

\(\displaystyle f(x) = \int^1_0 e^{xt} \, dt = \frac{e^{x}-1}{x}\)

Now differentiate both sides with respect ot $x$ we have

\(\displaystyle f'(x) = \int^1_0 t\, e^{xt} \, dt = \frac{xe^{x}-e^x+1}{x^2}\)

Putting $x=1$ we have

\(\displaystyle f'(1) = \int^1_0 t\, e^{t} \, dt = 1\)

Diff w.r.t to $x$ again we have

\(\displaystyle f''(x) = \int^1_0 t^2\, e^{xt} \, dt = \frac{x^2 \,e^{x}-2(xe^x-e^x +1)}{x^3}\)

\(\displaystyle f''(1) = \int^1_0 t^2\, e^{t} \, dt = e-2\)

Any idea why the definite integral calculator is somehow getting 2 - e? are they equivalent?
The answer $2-e<0$ is not possible since the integral must be positive.
 
  • #5
No, [tex]\displaystyle \begin{align*} 2 - e = - \left( e - 2 \right) \end{align*}[/tex]. They are not equivalent.

e - 2 is definitely correct. You can tell because the function is always positive, so the area is always above the x-axis and thus must be positive.
 
Last edited:
  • #6
Nevermind I se what I did wrong
 

1. What is a definite integral?

A definite integral is a mathematical concept used in calculus to find the area under a curve between two specified points on a graph. It is represented by the symbol ∫ and is used to calculate the total accumulation of a quantity over a given interval.

2. How do you evaluate a definite integral?

To evaluate a definite integral, you first need to find the indefinite integral of the function. Then, you substitute the upper and lower limits of the integral into the indefinite integral and subtract the results. This will give you the numerical value of the definite integral.

3. What is the significance of the limits of integration in a definite integral?

The limits of integration in a definite integral represent the beginning and end points of the interval over which you are finding the area under the curve. They define the range of values that are used to calculate the total accumulation of the function.

4. How do you know if a definite integral is convergent or divergent?

If the definite integral has a finite value, it is considered to be convergent. This means that the area under the curve between the specified limits of integration exists and can be calculated. If the definite integral has an infinite value, it is considered to be divergent. This means that the area under the curve between the specified limits of integration does not exist.

5. What is the difference between a definite integral and an indefinite integral?

A definite integral calculates the total accumulation of a function over a specific interval, while an indefinite integral calculates the general antiderivative of a function. In other words, a definite integral gives a specific numerical value, while an indefinite integral gives a function as a result.

Similar threads

Replies
2
Views
928
  • Calculus
Replies
1
Views
777
Replies
3
Views
1K
  • Calculus
Replies
6
Views
1K
Replies
3
Views
325
Replies
19
Views
3K
Replies
2
Views
1K
  • Calculus
Replies
5
Views
1K
Back
Top