Solution:
Key idea: We write e2xdx as ex⋅exdx and put t=ex. The integrand becomes t−1t, which we split by division before integrating.
Step 1 — Substitute.
We put ex equal to t.
t=ex
Differentiating both sides gives the new differential.
dt=exdx
So the numerator with dx becomes:
e2xdx=ex⋅exdx
ex⋅exdx=tdt
Step 2 — Split the fraction.
We replace every part by its value in t and write t as (t−1)+1.
∫ex−1e2xdx=∫t−1tdt
∫t−1tdt=∫(1+t−11)dt
Step 3 — Integrate term by term.
The integral of 1 is t, and the integral of t−11 is log∣t−1∣.
∫(1+t−11)dt=t+log∣t−1∣+C
Step 4 — Return to x.
We put back t=ex.
t+log∣t−1∣+C=ex+log∣ex−1∣+C
Therefore, ∫ex−1e2xdx=ex+log∣ex−1∣+C (for x=0).