Key facts AATAA^TAAT is always square (size m×mm\times mm×m) if AAA is m×nm\times nm×n. ATAA^TAATA is always square (size n×nn\times nn×n). If AAA is not square, then one of these determinants may be 000 because the product matrix can be singular.