I have some concerns about the image below (note that $\mathbf W_{\lambda} = (\mathbf X^\top \mathbf X + \lambda \mathbf I)^{-1} \mathbf X^\top \mathbf X$):
My main concern is that this derivation of the variance of the ridge regression estimator makes the assumption that the regular least squares estimator $\hat{\boldsymbol{\beta}}$ exists. (In particular, the assumption that $(\mathbf X^\top \mathbf X)^{-1}$ exists.)
I see that the final expression doesn't rely on $(\mathbf X^\top \mathbf X)^{-1}$, but I'm struggling to convince myself that this is a legitimate derivation that holds in all circumstances. For example, in high-dimensional regression (i.e. $n < p$), this is invalid, right?
I appreciate any help.