Goldman Sachs · ML & AI Fundamentals
Infer BA When AB Is the Identity
TrueInterview
October 7, 2026 · 1 min read
What AB = I Implies About BA
Suppose matrices A and B satisfy . State what can be inferred about BA. Since the dimensions are not given, treat both the square case, where A and B have the same size, and the rectangular case where the dimensions are compatible.
Constraints and Assumptions
- The matrices have real entries.
Idenotes the identity matrix whose size matches the number of rows ofA.
Questions to Clarify
- Are
AandBsquare, and if not, what are their dimensions? - Is the goal to determine whether
BAis an identity, a projection, or only restricted in rank?
Hint — Interpret one-sided inverses: With rectangular matrices, a right inverse does not have to be a left inverse; look at what happens when
BAis multiplied by itself.
What a Strong Response Should Cover
- Invertibility, along with the determinant or rank argument, for the square case.
- How right and left inverses differ for rectangular matrices.
- The idempotence and rank of
BAwhen the equation involves rectangular matrices. - A counterexample showing that
BAdoes not always have to be the identity.
Follow-Up Questions
- What eigenvalues does
BAhave in the rectangular case? - What dimension condition must hold for to be possible?
Overview:
Analyze what implies about BA for square matrices of the same size and for rectangular matrices with compatible dimensions, including the projection case.
Loading comments…