I get that $$\int 0 \ {dx}= C$$
but came across this argument:
$$\int 0\,dx = \int 0 \cdot 1 \,dx = 0 \int 1 \,dx = 0x = 0$$
from https://math.stackexchange.com/a/287079/955696
I didn't understand the explanation on why this is false
This gives two conflicting answers. The question is far more complicated that you would first think. But when you say $\int f dx$ and the interval over which you're integrating isn't obvious or defined, what you really mean is "the class of functions that when derived with respect to $x$ produce $f$". The rule stated only applies for definite integrals. That is: $$\int_a^b\alpha f\,dx = \alpha \int_a^bf \,dx$$
I've always been taught that a constant can be 'pulled' out of the integral regardless of whether it was definite or indefinite. Integrating 0, though, has led to a special case.
Can someone help explain what went wrong?