Chalk−1

Math · Precalculus · Worked example

Find the inverse of a 2 × 2 matrix

Find the inverse of the matrix A with rows (2,1) and (5,3), and use it to solve 2⁢x+y=4, 5⁢x+3⁢y=7.

A=(2153)

Find the determinant

An inverse exists only if a⁢d−b⁢c is not 0, so test that first. Here a⁢d−b⁢c =2⋅3−1⋅5 =1.

2⋅3−1⋅5=1

Apply the 2×2 formula

Swap the diagonal entries 2 and 3, change the signs of 1 and 5, and divide by the determinant, 1. Dividing by 1 leaves the entries as they are.

A−1=(3−1−52)

Check that A−1A=I

Each entry of a product is a row of the first matrix times a column of the second. Row 1 of A−1 times the columns of A gives 1 and 0, and row 2 gives 0 and 1.

3⋅2−1⋅5=13⋅1−1⋅3=0−5⋅2+2⋅5=0−5⋅1+2⋅3=1

Solve the system

The system is A⁢X=B with X the column x, y and B the column 4, 7. Multiplying both sides on the left by A−1 gives X=A−1B, so multiply each row of A−1 by the column 4, 7.

3⋅4−1⋅7=5−5⋅4+2⋅7=−6

Result

A−1 has rows (3,−1) and (−5,2), and the system’s solution is x=5, y=−6. Check that 2⁢(5)+(−6)=4 and 5⁢(5)+3⁢(−6)=7.

Your turn

1. One like the example

Find the inverse of the matrix with rows (4,7) and (2,6), and check it.

Show the answer and explanation

The matrix with rows (0.6,−0.7) and (−0.2,0.4).

The determinant is 4⋅6−7⋅2=10. Swap 4 and 6, change the signs of 7 and 2, and divide every entry by 10. Multiplying the answer by the matrix gives 2.4−1.4=1 and 4.2−4.2=0 in the first row, and 0 and 1 in the second.

4⋅6−7⋅2=100.6⋅4+(−0.7)⋅2=10.6⋅7+(−0.7)⋅6=0−0.2⋅4+0.4⋅2=0−0.2⋅7+0.4⋅6=1

2. A variation

Use an inverse to solve 2⁢x+3⁢y=5 and 4⁢x+8⁢y=12. The determinant is not 1 this time.

Show the answer and explanation

x=1 and y=1.

The coefficient matrix has determinant 2⋅8−3⋅4=4, so its inverse is 1⁢/4 times the rows 8, −3 and −4, 2, which is rows 2, −3⁢/4 and −1, 1⁢/2. Multiplying by the column 5, 12 gives x=10−9=1 and y=−5+6=1. Check that 2+3=5 and 4+8=12.

2⋅8−3⋅4=4x=2⋅5−34⋅12x=1y=−1⋅5+12⋅12y=1

3. Somewhere new

Does the matrix with rows (6,4) and (9,6) have an inverse? What does that say about the system 6⁢x+4⁢y=10 and 9⁢x+6⁢y=15?

Show the answer and explanation

No inverse, since the determinant is 0. The system does not have exactly one solution, and here it has infinitely many.

6⋅6−4⋅9 =36−36 =0, so there is no inverse, and the system has no solution or infinitely many. The second equation is 1.5 times the first, since 1.5⋅10=15, so both describe the same line and every point of 6⁢x+4⁢y=10 is a solution.

6⋅6−4⋅9=0

Keep exploring

In Matrix Transformations, this matrix keeps areas the same, because its determinant is 1. Set d to 2.5 and the determinant drops to 0: the plane collapses onto a line, and there is no inverse.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Invert it in Matrices & linear systems See it in Matrix Transformations Study the 10 key terms Open worked example on a board Matrix Transformations in Math Reference

Your existing work stays on this device. Examples open as editable copies.