I am reading about indefinite integrals and I have a question regarding the use of the modulus in integrating $\frac{1}{x}$.
The book I am reading gives me the following explanation -
The book later gives no further explanation, which has left me confused.
I have found no reasonable explanation online, so I would like to ask why this is the case in integration.
What does the book cite as "difficulties that may arise"?