We are dealing with antiderivatives. So, given F(x) and G(x) that are antiderivatives of 1/x, it is true that F(x) = G(x) + C, for some constant C. For example, the second to last line you have can be written as
ln(x) + C = 1 + ln(x) + D for some constants C, and D. We do not then conclude that 0 = 1.
The integral of 1/x dx is a FAMILY of functions that all differ by a constant.
Russell has the right answer. To be strictly correct, the rule for integration by parts is better written as
We drop the arbitrary constant because it is implied by the very use of indefinite integrals, or antiderivatives. The inverse of the derivative is not unique.
Right, but since I defined the problem in the start as indefinite integrals, I was looking for the answer that was related to indefinite integrals. Anyways. It's just a simple problem