A statement that gets to the heart of linear algebra!
The statement you've provided is mostly true but with a subtle caveat regarding the invertibility of A and B individually when AB is invertible. Let's break down the conditions and implications:
Given:
- A and B are matrices.
- AB is invertible.
Implications:
-
AB is invertible implies that AB is square: For a matrix to be invertible, it must be square (i.e., have the same number of rows and columns). This means that for AB to be invertible, the number of columns in A must equal the number of rows in B, and the resulting product AB is square.
-
Invertibility of A and B:
- If AB is invertible, then A must have a right inverse and B must have a left inverse. In the context of matrices, if AB is invertible, there exists a matrix (AB)^-1. This implies that A can be "canceled out" on the right by some matrix (consider B(AB)^-1 acting as a right inverse for A in this context) and B can be "canceled out" on the left by some matrix (consider (AB)^-1A acting as a left inverse for B).
- However, for A and B to be considered invertible in the traditional sense (i.e., having both a left and right inverse that are equal), more conditions need to be met. Specifically, for A and B to each be invertible, it's not just the existence of AB being invertible that's sufficient; A and B must each be square and of full rank (i.e., no non-trivial null space). Think of "full rank" as meaning that A and B do not collapse any dimension of the space they operate on.
The Crucial Insight:
- If A and B are square matrices and AB is invertible, then both A and B are invertible. This is because, for square matrices, having a right inverse implies the existence of a left inverse (and vice versa), and these one-sided inverses must coincide for square matrices, thereby making each matrix fully invertible.
Counterexample for Non-Square Matrices:
Consider A (a 2x3 matrix) and B (a 3x2 matrix) where:
- A = [1, 0, 0; 0, 1, 0]
- B = [1, 0; 0, 1; 0, 0]
Here, AB = I (the 2x2 identity matrix), which is invertible. However, A and B individually are not invertible because they are not square. This example shows what happens when A and B are not square: they cannot be invertible, even if AB is.
Conclusion:
- Statement Correction: If A and B are square matrices and AB is invertible, then A and B are invertible.
- Without the condition that A and B are square, the original statement does not hold, as illustrated by the counterexample. This correction is important because it highlights that squareness is necessary for A and B to be invertible when AB is invertible.