Ideas and Question
When you integrate with real parts can you exclude the imaginary part because it extends beyond the Cartesian plane? or is there something with only using the real part of the function? Maybe somewhere my math was wrong, but why does this work?
Example
Taking
1.)$∫e^x cos(x) dx$ , and since $$e^ix=cos(x)+isin(x)$$
2.) You can use Real$∫e^x*e^{ix} dx$= Real$∫e^{(1+i)x} dx$
3.) Substitute u= (1+i)x, with du=i+1 and dx= $\frac {1}{(1+i)}$
4.) $So, Real \frac{1}{1+i}∫e^udu] -> Real \frac{e^x*e^ix}{1+i}$
5.) Substituting cos(x)+isin(x) in for $e^{ix}$
6.) Real$\frac{e^x(cos(x)+isin(x)}{1+i}$, then multiplying $\frac{num}{denom}$ by the conjugate of (1+i)
7.) Real$\frac{e^x(cos(x)+e^x(isin(x)-ie^x(cos(x)+e^x(sin(x)}{2}$
8.) Which can seperate to Real$\frac{e^x(cos(x)+sin(x))}{2} + \frac{ie^xsin(x)-cos(x)}{2}$
9) Then, since it's the real part the answer is $\frac{e^x(cos(x)+sin(x)}{2} + c_1$
But why can you do this?