For example if the question was following
$$ \int_{0}^2 x\,d \alpha $$
where $ \alpha (x) = x $ if $ 0\le x\le 1 $ and $ \alpha(x) = 3x $ when $ 1< x \le 2 $
Is it correct to solve it using
$$ \int_{0}^2 x d \alpha = \int_{0}^1 x d x + \int_{1}^2 x d (3x)? $$
If that is possible, does it mean that the value of $\alpha$ at $1$ is does not change the answer say if it was
$ \alpha (x) = x $ if $ 0\le x< 1 $ and $ \alpha(x)=3x $ when $ 1\le x\le 2 $ ?