To evaluate the integral
∫−∞∞(1+ex−a)(1+eb−x)(b−a)eb−a−1dx,
we begin by identifying and simplifying the structure of the integrand.
Step 1: Factor the constant term
The integrand contains the constant factor:
b−aeb−a−1.
Let us denote c=b−a, so the integral becomes:
cec−1∫−∞∞(1+ex−a)(1+eb−x)1dx.
Now, define a new variable t=x−a, so that x=t+a, and b−x=b−a−t=c−t. The integral becomes:
cec−1∫−∞∞(1+et)(1+ec−t)1dt.
Step 2: Simplify the integrand
Let’s focus on the integral:
I=∫−∞∞(1+et)(1+ec−t)1dt.
We make the substitution z=et, so that t=lnz, and dt=zdz. Then:
- 1+et=1+z,
- 1+ec−t=1+ec/z.
So the integrand becomes:
(1+z)(1+zec)1=(1+z)(z+ec)z.
And the differential becomes dt=zdz, so the integral becomes:
I=∫0∞(1+z)(z+ec)z⋅z1dz=∫0∞(1+z)(z+ec)1dz.
Step 3: Evaluate the simplified integral
Now we compute:
I=∫0∞(1+z)(z+ec)1dz.
Use partial fractions to decompose the integrand:
(1+z)(z+ec)1=1+zA+z+ecB.
Multiplying both sides by (1+z)(z+ec), we get:
1=A(z+ec)+B(1+z).
Expanding and matching coefficients:
- Coefficient of z: A+B=0,
- Constant term: Aec+B=1.
From the first equation, B=−A. Substituting into the second:
Aec−A=1⇒A(ec−1)=1⇒A=ec−11.
Then B=−ec−11.
So,
I=∫0∞(ec−11⋅1+z1−ec−11⋅z+ec1)dz.
Factor out the constant:
I=ec−11∫0∞(1+z1−z+ec1)dz.
This is a standard integral:
∫0∞(1+z1−z+ec1)dz=ln(z+1)−ln(z+ec)0∞.
As z→∞, both ln(z+1) and ln(z+ec) grow similarly, and their difference tends to ln(z+ecz+1)→ln(1)=0.
At z=0, the difference is ln(1)−ln(ec)=−c.
So the integral evaluates to:
I=ec−11⋅c=ec−1c.
Step 4: Final computation
Recall that the original integral was:
cec−1⋅I=cec−1⋅ec−1c=1.
✅ Final Answer
1