If we want to integrate
We may use the integration by parts technique instead of substitution to get
Which is (of course)wrong.
What we should see here is the importance of the arbitrary constant of integration .
So if the constant of integration on the left hand side is and on the right hand side the constant is , we may see that
Which resolves the fallacy.
We might well see that the functions on both the right and left hand side have the same derivative i.e. ,proving that we are right.
We might have many interesting apparent "fallacies" as mentioned in this post .