Associative property of matrix multiplication : and .
Now prove for any matrix.
Consider matrix as , and .
Consider .
.
Associative property of matrix multiplication matrix is satisfied.