My friend is tutoring high school mathematics, and one of the techniques taught is to let an integral be $I$ then get $I = abc - I$ so that $I = abc/2.$ For example, $$ I := \int e^x\cos{x} dx = eˣ \sin{x} - \int e^x \sin{x} dx = e^x\sin{x} + e^x\cos{x} - \int e^x\cos{x} = e^x(\sin{x} + \cos{x}) - I, $$ so $I = \frac{1}{2}e^x(\sin{x} + \cos{x}) + \text{constant}.$
However, this technique does not seem to be true in general. For example, let $g(x)$ be an even function and $x=-u.$ Then $$ I := \int g(x) dx = \int g(-u)d(-u) = \int g(u) (-du) = -\int g(u)du = -\int g(x) dx = -I. $$ So, $I = 0.$ Putting $g(x) \equiv 1$ gives $x + \text{constant} =0,$ which is ridiculous. But I cannot spot any mistake in this. In my own thoughts, if we add the bounds this is clearly false because letting $x = -u$ changes the bounds so we do not have this issue. I think the main issue is in not getting $I$ again but in applying the Dummy Variable Rule in indefinite integrals. Surely we have u-substitutions, but I think it is not true in general that $\int f(u)du = \int f(x)dx$ ?