Let's say I want to generate correlated random variables. I understand that I can use Cholesky decomposition of the correlation matrix to obtain the correlated values. If $C$ is the correlation matrix, then we can do the cholesky decomposition:
$LL^{T}=C$
Then I can easily generate correlated random variables:
$LX=Y$,
where $X$ are uncorrelated values and $Y$ are correlated values. If I want two correlated random variables then $L$ is:
$L = \left[ {\begin{array}{*{20}c} 1 & 0 \\ \rho & {\sqrt {1 - \rho ^2 } } \\ \end{array}} \right] $
I understand that this works, but I don't really understand why... My question is: Why does this work?