Given : ∫e2x−1e2x+1dx
Divide numerator and denominator by ex, we get
=∫ex−e−xex+e−xdx
Let ex+e−x=t
Differentiating both sides w.r.t.x
ex−e−x=dtdx⇒(ex−e−x)dx=dt
On substituting
=∫1tdt
=log|t|+C
=log|ex+e−x|+C
=log(ex+e−x)+C
(∵ex+e−x>0)
Where C is constant of integration