Solution:
Key idea: To invert A by elementary row operations, write A=IA. Apply each row operation to the matrix on the left and the same operation to the factor I on the right (never to the A at the end). When the left side has become I, the equation reads I=BA, and then B=A−1.
Step 1 — Write the equation A=IA.
We write A on the left and, on the right, the unit matrix of the same order multiplied by A. This equation is true because IA=A.
[12−13]=[1001]A
Step 2 — Clear the entry below the first pivot.
The first column already starts with a 1. To make the 2 below it zero, we subtract twice the first row from the second row: R2→R2−2R1.
The new rows, worked one at a time, are:
Left R2: (2, 3)−2(1, −1)Right R2: (0, 1)−2(1, 0)=(0, 5)=(−2, 1)
The equation A=IA now reads:
[10−15]=[1−201]A
Step 3 — Make the second pivot equal to 1.
The second row now starts 0, 5. Dividing it by 5 makes the pivot 1: R2→51R2.
The new rows, worked one at a time, are:
Left R2: 51(0, 5)Right R2: 51(−2, 1)=(0, 1)=(−52, 51)
The equation A=IA now reads:
[10−11]=[1−52051]A
Step 4 — Clear the entry above the second pivot.
To turn the −1 in the first row into 0, we add the second row to the first: R1→R1+R2.
The new rows, worked one at a time, are:
Left R1: (1, −1)+(0, 1)Right R1: (1, 0)+(−52, 51)=(1, 0)=(53, 51)
The equation A=IA now reads:
[1001]=[53−525151]A
Step 5 — Read off the inverse.
The left side is now the unit matrix, so the equation reads I=BA, where B=[53−525151]. Hence B is A−1.
Step 6 — Check the inverse.
Multiplying A by the matrix found should give the unit matrix.
AA−1=[12−13][53−525151]=[(1)(53)+(−1)(−52)(2)(53)+(3)(−52)(1)(51)+(−1)(51)(2)(51)+(3)(51)]=[1001]
Therefore, A−1=[53−525151].