780 Chapter 31
It is easy to confi rm that multiplying any matrix A by the identity
matrix of the proper dimension leaves that A unchanged. Thus, if I
n
is an
n × n identity matrix and A is an n × m matrix, IA = A. Similarly, if I
m
is
an m × m identity matrix, AI = A.
Now suppose we are given a square matrix A of dimension n. The
n × n matrix A
−1
is called the inverse of A if A
−1
A = AA
−1
= I. The com-
putation of an inverse matrix can be a lot of work; fortunately, however,
Excel has the array function MInverse which does the calculations
for us. Here’s an example:
1
2
3
4
5
6
7
8
9
10
11
12
13
AB C D EFGHI J
1 -9 16 1 -0.0217 1.8913 0.5362 -1.1449 <
--
{=MINVERSE(A3:D6)}
3 3 2 3 0.0000 -1.0000 -0.1667 0.6667
2 4 0 -2 0.0652 -0.6739 -0.1087 0.4348
5 7 3 4 -0.0217 -0.1087 -0.2971 0.1884
1 1.07E-15 -2.22045E-16 -9.4369E-16
0 1 -1.11022E-16 2.22045E-16
6.94E-18 8.33E-17 1 5.55112E-16
1.39E-17 1.17E-15 -4.44089E-16 1
Verifying the inverse
We multiply A*Inverse A: cells below contain array
function {=MMULT(A3:D6,F3:I6)}
Matrix A
MATRIX INVERSE
Use array function MInverse to compute the inverse of a square matrix
Inverse of A
As the spreadsheet shows, you can use MMult to verify that the product
of the matrix and its inverse indeed give the identity matrix. An expres-
sion like 1.07E-15 means 1.07
*
10
−15
, and such expressions are thus essen-
tially zero; you can use Format|Cells|Number to specify the number of
decimal places and get rid of these ugly expressions:
9
10
11
12
13
AB C D
1.0000 0.0000 0.0000 0.0000
0.0000 1.0000 0.0000 0.0000
0.0000 0.0000 1.0000 0.0000
0.0000 0.0000 0.0000 1.0000
We multiply A*Inverse A: cells below contain array
function {=MMULT(A3:D6,F3:I6)}