Substitution and Simplification: Simplify the integral using a substitution.Let u=ex, then du=exdx, or dx=udu.Substitute into the integral:∫(−∞)(∞)(1+ex)exdx=∫0∞(1+u)1⋅udu
Evaluate Integral with New Variable: Evaluate the integral with the new variable.The limits change as x approaches −∞, u approaches 0, and as x approaches ∞, u approaches ∞.So, ∫0∞1+u1⋅(udu)=∫0∞u(1+u)1du
Decompose Fraction: Decompose the fraction.u(1+u)1 can be written as uA+1+uB.Solving for A and B:1=A(1+u)+BuSetting u=0, A=1.Setting u=−1, B=−1 (which is incorrect, should be B=0).