FaraDazed
- 347
- 2
Homework Statement
Integrate the following indefinite integrals
A:\int e^x (x^2+1) dx
B:\int e^x cos(3x+2) dx
Homework Equations
\int u dv = uv - \int v du
The Attempt at a Solution
Part A: I have done the following but when I use an integration calculator online its not what I have (although I suppose there's a few ways of doing it)
<br /> let \, u=x^2 +1 \,\, ∴ \, du=2x \\<br /> let \, dv=e^x \,\, ∴ \, v=e^x \\<br /> \\<br /> ∴e^x(x^2+1)-\int e^x 2x \, dx \\<br />
Then doing another by parts on that integral
<br /> let \, u=2x \,\, ∴ \, du=2 \\<br /> let \, dv=e^x \,\, ∴ \, v=e^x \\<br /> \\<br /> 2xe^x-2\int e^x \, dx = 2xe^x-2e^x + C<br />
Then plugging that into the first bit I get
<br /> e^x(x^2+1)-2xe^x-2e^x + C<br />For Part B:
I am really confused as it doesn't look like a u-sub problem and no matter which way around I set the variables to do a by parts problem, the resulting integral is no easier to solve than the original so any hints on where to start with that one would be much appreciated.
Thanks :)
Last edited: