Documente Academic
Documente Profesional
Documente Cultură
Play around with the rows (adding, multiplying or swapping) until we make Matrix A into
the Identity Matrix I
And by ALSO doing the changes to an Identity Matrix it magically turns into the Inverse!
The "Elementary Row Operations" are simple things like adding rows, multiplying and
swapping ... but let's see with an example:
We start with the matrix A, and write it down with an Identity Matrix I next to it:
Identity Matrix
The "Identity Matrix" is the matrix equivalent of the number "1":
A 3x3 Identity Matrix
Now we do our best to turn "A" (the Matrix on the left) into an Identity Matrix. The goal is
to make Matrix A have 1s on the diagonal and 0s elsewhere (an Identity Matrix) ... and
the right hand side comes along for the ride, with every operation being done on it as
well.
swap rows
multiply or divide each element in a a row by a constant
replace a row by adding or subtracting a multiple of another row to it
Elementary Operations
Elementary Operators
For example, suppose you want to interchange rows 1 and 2 of Matrix A. To accomplish
this, you could premultiply A by E to produce B, as shown below.
0 1 1 3 5
R1 <--> R2 =
1 0 2 4 6
E A
2 4 6
R1 <--> R2 = = B
1 3 5
We illustrate this process below for each of the three types of elementary row
operations.
Interchange two rows. Suppose we want to interchange the second and third
rows of A, a 3 x 2 matrix. To create the elementary row operator E, we
interchange the second and third rows of the identity matrix I3.
1 0 0 1 0 0
0 1 0 ⇒ 0 0 1
0 0 1 0 1 0
I3 E
1 0 0 0 1
R2 <--> R3 = 0 0 1 2 3
0 1 0 4 5
E A
0 1
R2 <--> R3 = 4 5
2 3
1 0 1 0
⇒
0 1 0 7
I2 E
1 0 0 1 2
7R2 --> R2 =
0 7 3 4 5
E A
0 1 2
7R2 --> R2 =
21 28 35
Multiply a row and add it to another row. Assume A is a 2 x 2 matrix. Suppose
we want to multiply each element in the first row of A by 3; and we want to add
that result to the second row of A. For this operation, creating the elementary row
operator is a two-step process. First, we multiply each element in the first row of
the identity matrix I2 by 3. Next, we add the result of that multiplication to the
second row of I2 to produce E.
1 0 1 0 1 0
⇒ ⇒
0 1 0 + 3*1 1 + 3*0 3 1
I2 E
Then, to multiply each element in the first row of A by 3 and add that result to the
second row, we premultiply A by E.
1 0 0 1
3R1 + R2 --> R2 =
3 1 2 3
E A
0 1
3R1 + R2 --> R2 =
2 6
Let's work through an elementary column operation to illustrate the process. For
example, suppose we want to interchange the first and second columns of A, a 3 x 2
matrix. To create the elementary column operator E, we interchange the first and
second columns of the identity matrix I2.
1 0 0 1
⇒
0 1 1 0
I2 E
0 1
0 1
C1 <--> C2 = 2 3
1 0
4 5
A E
0*0 + 1*1 0*1 + 1*0
1 0
C1 <--> C2 = 3 2
5 4
Note that the process for performing an elementary column operation on an r x c matrix
is very similar to the process for performing an elementary row operation. The main
differences are: