I read in my book today regarding the calculation of the joint density function of a brownian motion process and it went as follows:
If we define $X(t)$ as a Brownian motion process with mean $0$ and variance $t$, to obtain the joint density function of $X(t_1), ... , X(t_n)$ for $t_1 < \cdots < t_n$, note that the set of equalities,
$$ X(t_1) = x_1, X(t_2) = x_2, ... , X(t_n) = x_n $$
is equivalent to
$$ X(t_1) = x_1, X(t_2)-X(t_1) = x_2-x_1, ... , X(t_n)-X(t_{n-1}) = x_n-x_{n-1}. $$
then, the joint density of $X(t_1) = x_1, X(t_2) = x_2, ... , X(t_n)$ is
$$ f(x_1,...,x_n) = f_{t_1}(x_1) \cdot f_{t_2 - t_1}(x_2-x_1)\cdots f_{t_n - t_{n-1}}(x_n - x_{n-1}). $$
I am confused why we are allowed to directly input the second set of equalities into the density function. Wouldn't it yield a different result as we are indirectly calculating each $x_i$? Would anyone be able to help me? Thank you!