The integral to evaluate is:
I=∫−111+ex1dx
This integral has symmetric limits from −1 to 1. For such integrals, the following property can be used:
I=∫−11f(x)dx=∫−11f(−x)dx
Given f(x)=1+ex1, substitute −x:
f(−x)=1+e−x1
Since e−x=ex1:
f(−x)=1+ex11
Multiplying numerator and denominator by ex:
f(−x)=ex+1ex
f(−x)=1+exex
Adding f(x) and f(−x):
f(x)+f(−x)=1+ex1+1+exex
f(x)+f(−x)=1+ex1+ex
f(x)+f(−x)=1
Since I=∫−11f(x)dx and I=∫−11f(−x)dx:
2I=∫−11f(x)dx+∫−11f(−x)dx
2I=∫−11[f(x)+f(−x)]dx
2I=∫−111dx
2I=[x]−11
2I=1−(−1)
2I=2
Therefore:
I=1