Answer: The Integral That Wants to Be a Probability
Key Idea / Intuition
The fraction (1โeโx)/x looks awkward by itself, but it secretly wants to be written as an integral: x1โeโxโ=โซ01โeโtxdt. Once you swap the order of integration, you're left with a product of two exponentials, which integrates instantly. The answer falls out as a logarithm.
Formal Proof / Solution
Step 1: Write the numerator as an integral.
Observe the key identity:
x1โeโxโ=โซ01โeโtxdt
(this follows from โซ01โeโtxdt=[โxeโtxโ]01โ=x1โeโxโ).
Remark: This is a baby version of the Frullani integral philosophy: expressing a ratio (f(0)โf(x))/x as โซ01โfโฒ(tx)dt and swapping order. Here f(x)=eโx makes everything explicit and clean.