? Surely you don't mean [itex]2\int e^x dx[/itex]?
Homework Equations
∫u dv= uv- ∫v du
The Attempt at a Solution
u= x+e^x
du= e^x
Are you now saying the problem is [itex]\int (xe^x+ e^x)dx[/itex]?
Then you are not using integration by parts, you are using a simple substitution. Yes, [itex]\int (xe^x+ e^x)dx= \int (x+ e^x)e^x dx[/itex]. If you let u= x+ e
x, then du= (1+ e^x) dx,
not just e
x dx. And please by sure to include the "dx" in the integral; that may be part of what is confusing you.
so it would be e^u
integral = e^u
= e^(e^x) +c is that correct, i know the answer is but what i just did
Well, you can always check an integration yourself by differentiating.
[tex]\frac{d}{dx}\left(e^{e^x}\right)= \frac{de^u}{du}\frac{de^x}{dx}[/tex]
with u= e
x
[tex]= (e^u)(e^x)= (e^{e^x})(e^x)[/tex]
Which is not what you started with.
Did you consider just doing the two integrals separately?
[tex]\int (xe^x+ e^x)dx= \int xe^x dx+ \int e^x dx[/itex]<br />
You should be able to do the second of those directly and the first <b>is</b> a simple integration by parts.[/tex]