# A Beautiful 2 by 2 Matrix Identity

This article is originally published at http://www.win-vector.com/blog

While working on a variation of the `RcppDynProg`

algorithm we derived the following beautiful identity of 2 by 2 real matrices:

The superscript “top” denoting the transpose operation, the ||.||^2_2 denoting sum of squares norm, and the single |.| denoting determinant.

This is derived from one of the check equations for the Mooreâ€“Penrose inverse and we have details of the derivation here, and details of the messy algebra here.

Thanks for visiting r-craft.org

This article is originally published at http://www.win-vector.com/blog

Please visit source website for post related comments.