This module introduces the identity matrix and its properties.
When multiplying numbers, the number 1 has a special property: when you multiply 1 by any number, you get that same number back. We can express this property as an algebraic generalization:
The matrix that has this property is referred to as the
identity matrix .
Definition of identity matrix
The
identity matrix , designated as
, is defined by the property:
Note that the definition of [I] stipulates that the multiplication must
commute —that is, it must yield the same answer no matter which order you multiply in. This is important because, for most matrices, multiplication does not commute.
What matrix has this property? Your first guess might be a matrix full of 1s, but that doesn’t work:
=
|
so
is not an identity matrix |
The matrix that
does work is a diagonal stretch of 1s, with all other elements being 0.
=
|
so
is the identity for 2x2 matrices |
=
|
is the identity for 3x3 matrices |
You should confirm those multiplications for yourself, and also confirm that they work in reverse order (as the definition requires).
Hence, we are led from the definition to:
The identity matrix
For any square matrix, its identity matrix is a diagonal stretch of 1s going from the upper-left-hand corner to the lower-right, with all other elements being 0.
Non-square matrices do not have an identity. That is, for a non-square matrix
, there is no matrix such that
.
Why no identity for a non-square matrix? Because of the requirement of commutativity. For a non-square matrix
you might be able to find a matrix
such that
; however, if you reverse the order, you will be left with an illegal multiplication.