In the case of definite integrals, the linearity property implies that constants can be taken out of the integrals,
$$\int_{a}^{b} \alpha f(x) d x=\alpha \int_{a}^{b} f(x) d x \tag{1}$$
However, in the case of indefinite integrals, this leads to contradictory results in the case $\alpha=0$, since
$$\int 0\,dx = \int 0 \cdot 1 \,dx = 0 \int 1 \,dx = 0·(x+C) = 0$$
while the derivative of any constant equals $0$, so $\int 0\,dx =C$. Therefore, can't constants be taken out of indefinite integrals?