Concept:Use substitution followed by partial fractions to simplify the integral.Explanation:LetI=∫ex−1dxPut ex−1=t, so ex=t+1.Differentiating, exdx=dt, thereforedx=t+1dtSubstitute into I:I=∫t(t+1)dtWrite the integrand as partial fractions:t(t+1)1=t1−t+11Hence,I=∫(t1−t+11)dtI=log∣t∣−log∣t+1∣+cNow replace t=ex−1:I=log∣ex−1∣−log∣ex∣+cSince log∣ex∣=x,I=log∣ex−1∣−x+cThis matches option B.Answer:∫ex−1dx=log∣ex−1∣−x+cThe correct option is B.