I'm getting stuck on this integral, and all the tools I see online relate it to hyperbolic tangent. When I try to solve it I break it up using partial fraction decomposition to
$\int \frac{1}{u^2-u}$=$\int \frac{1}{u-1}$ - $\int\frac{1}{u}$ = $$ln(u-1) - ln(u) + C$$ all the solutions online show this integral instead to be $$ln(1-u) -ln(u) +c$$
and I'm trying to reason how either my method was flawed and that solving with hyperbolic tangent is the only way or that ln(u-1) = ln(1-u) which seems impossible to me.
Thanks guys
You forgot the absolute values in the ln: $\int \frac {1}{x} dx = \ln |x| + C $