Evaluate the indefinite and definite integrals.
- a)

- b)

| Foundations:
|
Integration by parts tells us that
|
How would you integrate
|
- You could use integration by parts.
|
- Let
and Then, and 
|
- Thus,

|
Solution:
(a)
| Step 1:
|
We proceed using integration by parts. Let and Then, and
|
| Therefore, we have
|
|
| Step 2:
|
Now, we need to use integration by parts again. Let and Then, and
|
| Building on the previous step, we have
|
| Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \int x^{2}e^{x}~dx=x^{2}e^{x}-{\bigg (}2xe^{x}-\int 2e^{x}~dx{\bigg )}=x^{2}e^{x}-2xe^{x}+2e^{x}+C.}
|
(b)
| Step 1:
|
We proceed using integration by parts. Let and Then, and
|
| Therefore, we have
|
|
|
|
| Step 2:
|
| Now, we evaluate to get
|
|
|
|
|
|
| Final Answer:
|
(a)
|
(b)
|
Return to Sample Exam