Correlation coefficient is the cos$\cos$ between two series if they are treated as vectors (with nth$n^{th}$ data point being nth$n^{th}$ dimension of a vector). The above formula simply creates a decomposition of a vector into its $\cos\theta$, $sin\theta$ components (with respect to $X_1,X_2$).
if $\rho = cos \theta$ ,
then $\sqrt{1-{\rho}^2}=\pm sin \theta$.
Because if $X_1, X_2$ are uncorrelated, the angle between them is a right angle (ie, they can be considered as orthogonal, albeit non-normalized, basis vectors ).