←
Class 12 Mathematics
4. Determinants · 4 / 13
⌕
Chapter 4 of 13

4. Determinants

8 sections · 10,820 words

4.1 Chapter Opener: Introduction and Determinants of Order 1, 2 and 3

2,063 words · 9 min read

Chapter 4

Determinants

Big idea: attach one number to a square table of numbers. That single number tells you whether the table can be undone, how much it stretches areas, and whether a set of equations has exactly one answer.

In Chapter 3, matrices let us store a whole table of numbers as one object. Now we go one step further. For every square matrix we compute a single number called its determinant. It looks small, but it answers three large questions that run through this chapter.

  • Can this matrix be undone? A square matrix has an inverse exactly when its determinant is not zero.
  • How does this matrix change areas? A 2×22 \times 2 matrix reshapes figures on a plane. Its determinant says how many times larger or smaller each area becomes.
  • Do these equations have exactly one answer? When the number of equations equals the number of unknowns, a unique answer exists exactly when the determinant of the coefficient matrix is not zero.

As you read, try every worked example with a pencil. Each section ends with a quick check and answers. The exercises collect the methods of the whole chapter. Slow and careful wins here: every step is shown.

Suppose a survey team records the three corners of a field. Can they find its area from the coordinates alone? Or suppose a shop works with two pricing rules for two products. Do those rules fix each price exactly? Or picture two straight paths on a map. Do they meet at exactly one point?

All three questions lead to the same tool. In the last chapter we met square matrices. Now we attach one number to every square matrix. This number is called its determinant. It is small, but it answers three big questions:

  • Can the matrix be undone? A square matrix has an inverse exactly when its determinant is not zero.
  • How does it change areas? A 2×22 \times 2 matrix turns shapes on a plane into new shapes. Its determinant tells how many times larger or smaller the areas become.
  • Do some equations have exactly one answer? For a system of linear equations with as many equations as unknowns, a unique answer exists exactly when the determinant of its coefficient matrix is not zero.
QuestionAnswered in
Can this matrix be undone?Sections 4.5 and 4.6
How do areas change?Sections 4.1 and 4.3
Is the answer to my equations unique?Section 4.6

An example you can see. Take M=[2103]M = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix}. Multiply each corner of the unit square by MM. The square is stretched into a slanted shape. The unit square has area 1, and the new shape has area 6, which is exactly the determinant of MM.

The matrix M stretches the unit square (area 1) into a shape of area 6. The determinant of M is 6.

Read the figure. The pale shape is the unit square with corners (0,0)(0, 0), (1,0)(1, 0), (1,1)(1, 1) and (0,1)(0, 1). The darker slanted shape is where those four corners land after multiplication by MM. Count the axes: the image reaches x=3x = 3 and y=3y = 3. Its area is 6, six times the original. That stretching factor is the determinant.

What if the determinant is zero? Take Z=[2412]Z = \begin{bmatrix} 2 & 4 \\ 1 & 2 \end{bmatrix}. Its determinant is 0. The four corners of the unit square land at (0,0)(0, 0), (2,1)(2, 1), (6,3)(6, 3) and (4,2)(4, 2). All four sit on the single line y=x/2y = x / 2. The square is squashed flat, so its area becomes 0. A matrix with determinant 0 crushes at least one direction completely. Such a matrix cannot be undone, as Section 4.5 will show.

Remember: a determinant is defined only for square matrices, and its value is a single number, not a table.
In this chapter you will learn: how to calculate determinants of order 1, 2 and 3; how to use them for areas of triangles; minors and cofactors; the adjoint and the inverse of a matrix; and how to solve equations using the inverse.

Think about it: a photo filter stretches every picture the same way. If one filter doubles all areas and a second triples them, what does the combined filter do? Keep this question in mind for the product rule in Section 4.5.

For a square matrix AA, the determinant of AA is written ∣A∣|A| or det⁡A\det A. We draw straight bars around the entries of the matrix:

A=[3125]and∣A∣=∣3125∣A = \begin{bmatrix} 3 & 1 \\ 2 & 5 \end{bmatrix} \qquad\text{and}\qquad |A| = \begin{vmatrix} 3 & 1 \\ 2 & 5 \end{vmatrix}

The two notations ∣A∣|A| and det⁡A\det A mean exactly the same thing. This book mostly uses ∣A∣|A|. Read ∣A∣|A| as "determinant of A", never as "absolute value of A".

SymbolNameInputOutput
[  ][ \; ] bracketsMatrixA table of numbersA table
∣  ∣| \; | straight barsDeterminantA square tableOne number
∣x∣|x| bars around one numberAbsolute valueOne numberA non-negative number

The table shows why beginners mix these up. Brackets hold a table. Straight bars around a table give one number, the determinant, which may be negative. Straight bars around a single number give its absolute value, which is never negative.

Common mistakes: (1) Square brackets mean a matrix (a table). Straight bars mean a determinant (a number). (2) The bars do not mean "absolute value" here, so a determinant can be negative. (3) Only square matrices have determinants.

The next three sections show how to calculate the determinant of a matrix of order 1, 2 and 3. Each method builds on the previous one.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Which of these have a determinant: [2714]\begin{bmatrix} 2 & 7 \\ 1 & 4 \end{bmatrix}, [2    7    1][2 \;\; 7 \;\; 1], [27]\begin{bmatrix} 2 \\ 7 \end{bmatrix}? Give a reason.
Try answering before revealing!
Question 2
[HOTS] Evaluate ∣A∣|A| for A=[2714]A = \begin{bmatrix} 2 & 7 \\ 1 & 4 \end{bmatrix} by the rule ad−bcad - bc (proved in the next section).
Try answering before revealing!

A matrix of order 1 has a single entry, A=[a]A = [a]. Its determinant is that entry itself: ∣A∣=a|A| = a. There is nothing to combine, so the one entry is the answer.

For example, if A=[−7]A = \begin{bmatrix} -7 \end{bmatrix} then ∣A∣=−7|A| = -7. Notice that this is not the absolute value, so ∣A∣=−7|A| = -7, not 7. The bars of a determinant never force a positive result.

A 1×11 \times 1 matrix acts like an ordinary number. Multiplying by [k][k] stretches everything by the factor kk. Its determinant is kk, which fits the area idea of Section 4.1: lengths on a line scale by ∣k∣|k|. For example, ∣B∣=12|B| = 12 for B=[12]B = \begin{bmatrix} 12 \end{bmatrix}.

Common mistake: writing ∣[−7]∣=7|[-7]| = 7. Absolute-value bars and determinant bars look alike but mean different things.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Evaluate ∣9∣\begin{vmatrix} 9 \end{vmatrix} and ∣−4∣\begin{vmatrix} -4 \end{vmatrix}.
Try answering before revealing!
Question 2
[HOTS] True or false? Every order-1 determinant equals the absolute value of its entry. Explain with an example.
Try answering before revealing!

Where does the rule ad−bcad - bc come from? Take two equations in two unknowns: ax+by=eax + by = e and cx+dy=fcx + dy = f. Multiply the first equation by dd and the second by bb, then subtract. The yy terms cancel: (ad−bc)x=de−bf(ad - bc)x = de - bf.

The combination ad−bcad - bc decides everything. If it is not zero, we can divide and find xx (and then yy). If it is zero, division is impossible, and the system has either no answer or many answers. That combination is exactly the determinant of the coefficient matrix.

For A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix} the determinant is

∣A∣=∣abcd∣=ad−bc|A| = \begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc

Memory aid: multiply along the main diagonal (top-left to bottom-right) and subtract the product along the other diagonal (top-right to bottom-left).

Example 1. Evaluate ∣A∣|A| for A=[5234]A = \begin{bmatrix} 5 & 2 \\ 3 & 4 \end{bmatrix}.

Solution. Multiply down the main diagonal: (5)(4)=20(5)(4) = 20. Multiply up the other diagonal: (2)(3)=6(2)(3) = 6. Subtract: 20−6=1420 - 6 = 14. So ∣A∣=14|A| = 14.

Example 2. Evaluate ∣B∣|B| for B=[−234−1]B = \begin{bmatrix} -2 & 3 \\ 4 & -1 \end{bmatrix}. Watch the signs.

Solution. Main diagonal: (−2)(−1)=2(-2)(-1) = 2. Other diagonal: (3)(4)=12(3)(4) = 12. Subtract: (2)−(12)=−10(2) - (12) = -10. So ∣B∣=−10|B| = -10. A determinant is allowed to be negative.

Example 3. Evaluate ∣C∣|C| for C=[6923]C = \begin{bmatrix} 6 & 9 \\ 2 & 3 \end{bmatrix}.

Solution. (6)(3)−(9)(2)=18−18=0(6)(3) - (9)(2) = 18 - 18 = 0. The second row is the first row divided by 3. When one row is a multiple of another, the determinant is 0. Such a matrix is called singular, and it cannot be inverted.

Why does a multiple row give zero? The two equations then say the same thing twice (or contradict each other after scaling). Elimination produces 0=00 = 0 or 0=50 = 5, never one clear answer. The determinant 0 records exactly that failure.

A picture. The columns of P=[3112]P = \begin{bmatrix} 3 & 1 \\ 1 & 2 \end{bmatrix} are the arrows (3,1)(3, 1) and (1,2)(1, 2). They span a slanted parallelogram with corners (0,0)(0, 0), (3,1)(3, 1), (4,3)(4, 3) and (1,2)(1, 2). Its area is 5, which equals ∣P∣=5|P| = 5.

The columns of P span a parallelogram of area 5. The determinant of P is 5.

Read the figure. The shaded shape is the parallelogram built on the two arrows. Its corners are marked. Its area 5 matches ∣P∣=5|P| = 5. If the two arrows pointed along the same line, the shape would collapse to zero area, and the determinant would be 0.

Common mistakes: (1) Adding the two diagonal products instead of subtracting. (2) Dropping a minus sign when an entry is negative: write brackets around every negative entry first.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Evaluate ∣4132∣\begin{vmatrix} 4 & 1 \\ 3 & 2 \end{vmatrix}. Show both diagonal products.
Try answering before revealing!
Question 2
[Board Standard] Evaluate ∣−52−13∣\begin{vmatrix} -5 & 2 \\ -1 & 3 \end{vmatrix}.
Try answering before revealing!
Question 3
[HOTS] Without calculating, say why ∣2613∣=0\begin{vmatrix} 2 & 6 \\ 1 & 3 \end{vmatrix} = 0.
Try answering before revealing!

Determinants grew out of an old problem: solving several linear equations at once. Long ago, Chinese scholars laid out the coefficients of their equations as rods on a counting board. The rods sat in exactly the pattern of the numbers in a determinant, and this led them to simplify problems by subtracting rows and columns.

In Japan, Seki Kowa, one of the greatest mathematicians of the seventeenth century, wrote about determinants and how to expand them in 1683. He used them to remove one unknown from two equations, not yet to solve a whole system directly. His work shows the same idea arising far from Europe.

In Europe, Vandermonde is often called the founder of the subject, because he was the first to study determinants as objects in their own right. In 1772 Laplace gave a general method for expanding a determinant using minors. In 1773 Lagrange used determinants of order two and three for purposes other than solving equations, and in 1801 Gauss used them in his work on the theory of numbers.

In 1812 Binet and Cauchy each presented results on the product of determinants. Cauchy was the first to use the word "determinant" in its modern sense and gave a fuller proof of the product rule. Jacobi then made a major contribution, after which the name and the theory were firmly established. What began as a bookkeeping trick for equations had become a theory of its own.

4.2 Expansion of Determinants and Row/Column Operations

1,650 words · 8 min read

Three equations in three unknowns lead to a 3×33 \times 3 determinant. We cannot just multiply diagonals any more. Instead we turn one 3×33 \times 3 determinant into three 2×22 \times 2 determinants, which we already know. Take each entry of the first row, cover its row and column, and multiply the entry by the 2×22 \times 2 determinant that is left. The signs alternate: ++, −-, ++.

∣a1b1c1a2b2c2a3b3c3∣=a1∣b2c2b3c3∣−b1∣a2c2a3c3∣+c1∣a2b2a3b3∣\begin{vmatrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{vmatrix} = a_1 \begin{vmatrix} b_2 & c_2 \\ b_3 & c_3 \end{vmatrix} - b_1 \begin{vmatrix} a_2 & c_2 \\ a_3 & c_3 \end{vmatrix} + c_1 \begin{vmatrix} a_2 & b_2 \\ a_3 & b_3 \end{vmatrix}

This recipe is called expansion along the first row. The next section shows that any row or column works the same way.

Example 1. Evaluate ∣A∣|A| for A=[21304−1521]A = \begin{bmatrix} 2 & 1 & 3 \\ 0 & 4 & -1 \\ 5 & 2 & 1 \end{bmatrix}.

Solution. Expand along the first row: ∣A∣=2∣4−121∣−1∣0−151∣+3∣0452∣|A| = 2 \begin{vmatrix} 4 & -1 \\ 2 & 1 \end{vmatrix} - 1 \begin{vmatrix} 0 & -1 \\ 5 & 1 \end{vmatrix} + 3 \begin{vmatrix} 0 & 4 \\ 5 & 2 \end{vmatrix} Each 2×22 \times 2 determinant is now evaluated: =2(6)−1(5)+3(−20)=−53= 2(6) - 1(5) + 3(-20) = -53 So ∣A∣=−53|A| = -53.

TermEntry and signMinor left uncoveredValue
First+(2)+(2)∣4−121∣=6\begin{vmatrix} 4 & -1 \\ 2 & 1 \end{vmatrix} = 61212
Second−(1)-(1)∣0−151∣=5\begin{vmatrix} 0 & -1 \\ 5 & 1 \end{vmatrix} = 5−5-5
Third+(3)+(3)∣0452∣=−20\begin{vmatrix} 0 & 4 \\ 5 & 2 \end{vmatrix} = -20−60-60

Read the table row by row. Each term keeps one first-row entry with its alternating sign, times the determinant of everything that entry does not touch. Adding the three values gives 12+(−5)+(−60)=−5312 + (-5) + (-60) = -53.

Example 2 (a zero saves work). Evaluate ∣Z∣|Z| for Z=[120314205]Z = \begin{bmatrix} 1 & 2 & 0 \\ 3 & 1 & 4 \\ 2 & 0 & 5 \end{bmatrix}.

Solution. The first row contains 0, so its term vanishes without any work: ∣Z∣=1∣1405∣−2∣3425∣+0∣3120∣|Z| = 1 \begin{vmatrix} 1 & 4 \\ 0 & 5 \end{vmatrix} - 2 \begin{vmatrix} 3 & 4 \\ 2 & 5 \end{vmatrix} + 0 \begin{vmatrix} 3 & 1 \\ 2 & 0 \end{vmatrix} =1(5)−2(7)+0(−2)=−9= 1(5) - 2(7) + 0(-2) = -9 So ∣Z∣=−9|Z| = -9. A zero in the chosen row removes a whole term.

Smart habit: before expanding, glance at every row and column. You may expand along any of them (next section), so pick the line with the most zeros.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Evaluate ∣102310041∣\begin{vmatrix} 1 & 0 & 2 \\ 3 & 1 & 0 \\ 0 & 4 & 1 \end{vmatrix} by expanding along the first row.
Try answering before revealing!
Question 2
[HOTS] Evaluate ∣201132004∣\begin{vmatrix} 2 & 0 & 1 \\ 1 & 3 & 2 \\ 0 & 0 & 4 \end{vmatrix}. Which row or column makes it fastest?
Try answering before revealing!

We expanded along the first row, but any row or any column gives the same value, as long as we use the correct sign for each entry. The sign of the entry in row ii and column jj is (−1)i+j(-1)^{i+j}. This gives a checkerboard pattern:

[+−+−+−+−+]\begin{bmatrix} + & - & + \\ - & + & - \\ + & - & + \end{bmatrix}

+-+-+-+-+
Sign pattern for expansion. The sign at row i, column j is (-1) to the power i + j.

Read the figure. Each cell shows the sign attached to that position during expansion. Corners always carry ++. Signs flip between neighbours, like squares on a chessboard. Copy this pattern beside your work before you start.

Why does every line give the same answer? A 3×33 \times 3 determinant is really a sum of six triple products, one for each way of picking one entry from every row and column. Expanding along row 1 groups those six products one way; expanding along column 3 groups the same six products another way. The total cannot change. For B=[302150426]B = \begin{bmatrix} 3 & 0 & 2 \\ 1 & 5 & 0 \\ 4 & 2 & 6 \end{bmatrix}, the six products are:

Product (one entry per row and column)SignValue
3⋅5⋅63 \cdot 5 \cdot 6++9090
3⋅0⋅23 \cdot 0 \cdot 2−-00
0⋅1⋅60 \cdot 1 \cdot 6−-00
0⋅0⋅40 \cdot 0 \cdot 4++00
2⋅1⋅22 \cdot 1 \cdot 2++44
2⋅5⋅42 \cdot 5 \cdot 4−-4040

Adding them with their signs: 90−0−0+0+4−40=5490 - 0 - 0 + 0 + 4 - 40 = 54. Every row or column expansion below is just a regrouping of these same six numbers.

Smart shortcut: choose the row or column with the most zeros. Each zero removes a whole term from the calculation.

Example. Evaluate ∣B∣|B| for B=[302150426]B = \begin{bmatrix} 3 & 0 & 2 \\ 1 & 5 & 0 \\ 4 & 2 & 6 \end{bmatrix} along different rows and columns.

Along row 1: $ 3 \begin{vmatrix} 5 & 0 \\ 2 & 6 \end{vmatrix} - 0 \begin{vmatrix} 1 & 0 \\ 4 & 6 \end{vmatrix} + 2 \begin{vmatrix} 1 & 5 \\ 4 & 2 \end{vmatrix} = 3(30) - 0(6) + 2(-18) = 54$

Along row 2: −1∣0226∣+5∣3246∣−0∣3042∣=−1(−4)+5(10)−0(6)=54- 1 \begin{vmatrix} 0 & 2 \\ 2 & 6 \end{vmatrix} + 5 \begin{vmatrix} 3 & 2 \\ 4 & 6 \end{vmatrix} - 0 \begin{vmatrix} 3 & 0 \\ 4 & 2 \end{vmatrix} = - 1(-4) + 5(10) - 0(6) = 54

Along column 3: $ 2 \begin{vmatrix} 1 & 5 \\ 4 & 2 \end{vmatrix} - 0 \begin{vmatrix} 3 & 0 \\ 4 & 2 \end{vmatrix} + 6 \begin{vmatrix} 3 & 0 \\ 1 & 5 \end{vmatrix} = 2(-18) - 0(6) + 6(15) = 54$

Along column 2: −0∣1046∣+5∣3246∣−2∣3210∣=−0(6)+5(10)−2(−2)=54- 0 \begin{vmatrix} 1 & 0 \\ 4 & 6 \end{vmatrix} + 5 \begin{vmatrix} 3 & 2 \\ 4 & 6 \end{vmatrix} - 2 \begin{vmatrix} 3 & 2 \\ 1 & 0 \end{vmatrix} = - 0(6) + 5(10) - 2(-2) = 54

All four ways give ∣B∣=54|B| = 54. Each of these four lines contains a 0, which saves work. Any line works; the laziest line works fastest.

Common mistake: forgetting the alternating signs. Write the sign pattern next to the matrix before you start.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Evaluate ∣210345102∣\begin{vmatrix} 2 & 1 & 0 \\ 3 & 4 & 5 \\ 1 & 0 & 2 \end{vmatrix} by expanding along the first row. Then check it by expanding along the third column.
Try answering before revealing!
Question 2
[HOTS] For ∣410020356∣\begin{vmatrix} 4 & 1 & 0 \\ 0 & 2 & 0 \\ 3 & 5 & 6 \end{vmatrix}, which row or column should you choose? Say why, without finishing the calculation.
Try answering before revealing!

⚡ Quick Check Flashcards9 questions
Question 1
[Concept] Evaluate: (a) ∣7325∣\begin{vmatrix} 7 & 3 \\ 2 & 5 \end{vmatrix} (b) ∣−461−2∣\begin{vmatrix} -4 & 6 \\ 1 & -2 \end{vmatrix} (c) ∣cos⁡θ−sin⁡θsin⁡θcos⁡θ∣\begin{vmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{vmatrix} (d) ∣1234567810∣\begin{vmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 10 \end{vmatrix} (e) ∣200340156∣\begin{vmatrix} 2 & 0 & 0 \\ 3 & 4 & 0 \\ 1 & 5 & 6 \end{vmatrix}.
Try answering before revealing!
Question 2
[Concept] Find xx if ∣x32x∣=−2\begin{vmatrix} x & 3 \\ 2 & x \end{vmatrix} = -2.
Try answering before revealing!
Question 3
[Concept] For A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, find ∣A∣|A| and ∣2A∣|2A|. How are they related?
Try answering before revealing!
Question 4
[Board Standard] Evaluate ∣D∣|D| for D=[312021104]D = \begin{bmatrix} 3 & 1 & 2 \\ 0 & 2 & 1 \\ 1 & 0 & 4 \end{bmatrix} by expanding along the second row.
Try answering before revealing!
Question 5
[Board Standard] State whether ∣4623∣\begin{vmatrix} 4 & 6 \\ 2 & 3 \end{vmatrix} is zero without expanding. Give a reason.
Try answering before revealing!
Question 6
[Board Standard] Find kk if [k263]\begin{bmatrix} k & 2 \\ 6 & 3 \end{bmatrix} is singular.
Try answering before revealing!
Question 7
[HOTS] Find bb if ∣6b25∣=18\begin{vmatrix} 6 & b \\ 2 & 5 \end{vmatrix} = 18.
Try answering before revealing!
Question 8
[HOTS] If A=[301−1]A = \begin{bmatrix} 3 & 0 \\ 1 & -1 \end{bmatrix} has ∣A∣=−3|A| = -3, find ∣4A∣|4A|.
Try answering before revealing!
Question 9
[HOTS] Choose the correct answer. If AA is a 3×33 \times 3 matrix with ∣A∣=5|A| = 5, then ∣3A∣|3A| equals (A) 15 (B) 45 (C) 135 (D) 405.
Try answering before revealing!

4.3 Area of a Triangle using Determinants

1,273 words · 6 min read

A survey team records three field corners as coordinates. How do they find the area without measuring angles? The determinant does it in one line. The area of a triangle with corners (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2) and (x3,y3)(x_3, y_3) is

Δ=12∣  ∣x1y11x2y21x3y31∣  ∣\Delta = \frac{1}{2}\left|\; \begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{vmatrix} \;\right|

Why this shape? Each row holds one corner plus a 1. The determinant measures twice the signed area, the 12\frac{1}{2} corrects it, and the outer bars remove the sign. Listing the corners in a different order can flip the sign of the determinant (it swaps two rows), but the area stays the same.

Why the outer bars? The determinant can come out negative, depending on the order in which you list the corners. A length or an area is never negative, so we take the absolute value of the determinant (the outer bars).

Example 1. Find the area of the triangle with corners (1,1)(1,1), (5,2)(5,2) and (3,6)(3,6).

Solution. Build the 3×33 \times 3 determinant and expand along the first row: Δ=12∣  1∣2161∣−1∣5131∣+1∣5236∣  ∣\Delta = \frac{1}{2}\left|\; 1 \begin{vmatrix} 2 & 1 \\ 6 & 1 \end{vmatrix} - 1 \begin{vmatrix} 5 & 1 \\ 3 & 1 \end{vmatrix} + 1 \begin{vmatrix} 5 & 2 \\ 3 & 6 \end{vmatrix} \;\right| =12∣  1(−4)−1(2)+1(24)  ∣=12∣18∣=9= \frac{1}{2}\left|\; 1(-4) - 1(2) + 1(24) \;\right| = \frac{1}{2}|18| = 9 The area is 9 square units.

The triangle from Example 1. Its area is 9 square units.

Read the figure. The shaded triangle joins the three marked corners. Its base runs from (1,1)(1, 1) to (5,2)(5, 2), and the third corner sits high at (3,6)(3, 6). The determinant calculation above gives the same area 9 that measuring base and height would give.

CornersDeterminantAreaMeaning
(1,1),(5,2),(3,6)(1, 1), (5, 2), (3, 6)181899A genuine triangle
(0,0),(4,0),(0,3)(0, 0), (4, 0), (0, 3)121266Right triangle: half of 4 by 3
(2,3),(4,7),(6,11)(2, 3), (4, 7), (6, 11)0000No triangle: one straight line

Read the table. The first row is Example 1. The second row is a right triangle, where base times height over 2 agrees with the determinant. The third row has determinant 0, which means the three points lie on one line.

If three points lie on one straight line, they form a "triangle" with area 0, so the determinant is 0. For (1,2)(1,2), (3,6)(3,6) and (5,10)(5,10): ∣1213615101∣=0\begin{vmatrix} 1 & 2 & 1 \\ 3 & 6 & 1 \\ 5 & 10 & 1 \end{vmatrix} = 0. So the three points are collinear. Determinant zero means the points are collinear.

Here is the same idea as a picture. The points (2,3)(2, 3), (4,7)(4, 7) and (6,11)(6, 11) all satisfy y=2x−1y = 2x - 1, so they sit on one straight line and enclose no area:

Three collinear points enclose no area. Their determinant is 0.

A point (x,y)(x, y) lies on the line through (1,2)(1,2) and (4,8)(4,8) exactly when the three points are collinear, that is, when ∣xy1121481∣=0\begin{vmatrix} x & y & 1 \\ 1 & 2 & 1 \\ 4 & 8 & 1 \end{vmatrix} = 0. Expanding along the first row gives x(2−8)−y(1−4)+(8−8)=0x(2 - 8) - y(1 - 4) + (8 - 8) = 0, that is, −6x+3y=0-6x + 3y = 0, or y=2xy = 2x. Check: both given points satisfy it.

Example 2. The corners of a triangle are (0,0)(0, 0), (6,0)(6, 0) and (0,k)(0, k) and its area is 12. Find kk.

Solution. 12∣∣0016010k1∣∣=12\frac{1}{2}\left| \begin{vmatrix} 0 & 0 & 1 \\ 6 & 0 & 1 \\ 0 & k & 1 \end{vmatrix} \right| = 12. The determinant equals 6k6k, so 12∣6k∣=3∣k∣=12\frac{1}{2}|6k| = 3|k| = 12 and ∣k∣=4|k| = 4. So k=4k = 4 or k=−4k = -4. Both signs work, because flipping the third corner across the xx-axis keeps the area. Verify: with k=4k = 4 the corners (0,0)(0, 0), (6,0)(6, 0), (0,4)(0, 4) give 12∣24∣=12\frac{1}{2}|24| = 12.

The picture below shows the k=4k = 4 case. The triangle covers half of a 6 by 4 rectangle:

A right triangle with legs 8 and 5. Its area is half of $8 \times 5$, namely 20.
Common mistake: forgetting the 12\frac{1}{2} or the absolute value. The determinant alone is twice the signed area, not the area.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Find the area of the triangle with corners (0,0)(0, 0), (4,0)(4, 0) and (0,3)(0, 3). Check it with base times height over 2.
Try answering before revealing!
Question 2
[Board Standard] Show that (1,1)(1, 1), (2,3)(2, 3) and (3,5)(3, 5) are collinear by evaluating a determinant.
Try answering before revealing!
Question 3
[HOTS] The corners of a triangle are (0,0)(0, 0), (5,0)(5, 0) and (0,k)(0, k). Its area is 15. Find kk.
Try answering before revealing!

⚡ Quick Check Flashcards8 questions
Question 1
[Concept] Find the area of the triangle with corners (a) (0,0)(0,0), (5,0)(5,0), (0,4)(0,4) (b) (−1,−1)(-1,-1), (3,1)(3,1), (1,5)(1,5).
Try answering before revealing!
Question 2
[Concept] Show that the points (2,3)(2,3), (4,7)(4,7) and (6,11)(6,11) are collinear.
Try answering before revealing!
Question 3
[Board Standard] Find kk if the points (0,1)(0, 1), (2,5)(2, 5) and (4,k)(4, k) are collinear.
Try answering before revealing!
Question 4
[Board Standard] Find kk if the points (1,2)(1, 2), (3,8)(3, 8) and (5,k)(5, k) are collinear.
Try answering before revealing!
Question 5
[Board Standard] Use a determinant to find the equation of the line through (0,3)(0, 3) and (2,7)(2, 7).
Try answering before revealing!
Question 6
[Board Standard] The corners of a triangle are (0,0)(0, 0), (8,0)(8, 0) and (0,k)(0, k). If its area is 20, find kk.
Try answering before revealing!
Question 7
[HOTS] The corners of a right triangle are (0,0)(0, 0), (6,0)(6, 0) and (0,8)(0, 8). Find its area two ways: with a determinant, and with base times height over 2.
Try answering before revealing!
Question 8
[HOTS] Choose the correct answer. The area of the triangle with corners (1,0)(1, 0), (5,0)(5, 0) and (3,6)(3, 6) is (A) 6 (B) 12 (C) 18 (D) 24.
Try answering before revealing!

4.4 Minors and Cofactors

1,187 words · 5 min read

So far we have covered rows and columns to get 2×22 \times 2 determinants, without giving those pieces names. Now we name them. Naming them lets us write the adjoint and the inverse cleanly in the next section.

  • [Board Standard] The minor MijM_{ij} of the entry aija_{ij} is the determinant left after we delete row ii and column jj.
  • [HOTS] The cofactor of aija_{ij} is Aij=(−1)i+jMijA_{ij} = (-1)^{i+j} M_{ij}. It is the minor with the checkerboard sign attached.

In simple words: the minor says what is left when one entry is removed. The cofactor adds the ++ or −- sign for that position.

Example 1. Let A=[31204−12−35]A = \begin{bmatrix} 3 & 1 & 2 \\ 0 & 4 & -1 \\ 2 & -3 & 5 \end{bmatrix}. Delete row 1 and column 1. The minor M11=∣4−1−35∣=17M_{11} = \begin{vmatrix} 4 & -1 \\ -3 & 5 \end{vmatrix} = 17. Show the work: ∣4−1−35∣=4(5)−(−1)(−3)=20−3=17\begin{vmatrix} 4 & -1 \\ -3 & 5 \end{vmatrix} = 4(5) - (-1)(-3) = 20 - 3 = 17. Delete row 2 and column 3: M23=∣312−3∣=−11M_{23} = \begin{vmatrix} 3 & 1 \\ 2 & -3 \end{vmatrix} = -11, and its cofactor is A23=(−1)2+3(−11)=11A_{23} = (-1)^{2+3}(-11) = 11. The sign for position (2,3)(2, 3) is −-, from the checkerboard.

Covering row 2 and column 3 looks like this. The dashed bands are the deleted row and column. The four uncovered entries form the 2×22 \times 2 determinant M23M_{23}:

31204-12-35312-3
Finding M23: cover row 2 and column 3. The rest is a 2 by 2 determinant.

Doing this for all nine entries gives the matrix of minors and the matrix of cofactors: [Mij]=[172−81111−11−9−312],[Aij]=[17−2−8−111111−9312][M_{ij}] = \begin{bmatrix} 17 & 2 & -8 \\ 11 & 11 & -11 \\ -9 & -3 & 12 \end{bmatrix}, \qquad [A_{ij}] = \begin{bmatrix} 17 & -2 & -8 \\ -11 & 11 & 11 \\ -9 & 3 & 12 \end{bmatrix}

PositionMinorSignCofactor
(1,1)(1, 1)1717++1717
(1,2)(1, 2)22−-−2-2
(1,3)(1, 3)−8-8++−8-8
(2,1)(2, 1)1111−-−11-11
(2,2)(2, 2)1111++1111
(2,3)(2, 3)−11-11−-1111
(3,1)(3, 1)−9-9++−9-9
(3,2)(3, 2)−3-3−-33
(3,3)(3, 3)1212++1212

The determinant equals the sum of (each entry of any one row or column) times (its cofactor). Using row 2 of AA:

∣A∣=a21A21+a22A22+a23A23=0(−11)+4(11)+(−1)(11)=0+44−11=33|A| = a_{21}A_{21} + a_{22}A_{22} + a_{23}A_{23} = 0(-11) + 4(11) + (-1)(11) = 0 + 44 - 11 = 33

If we multiply the entries of one row by the cofactors of another row, the sum is always 0. For example, using the entries of row 1 with the cofactors of row 2: a11A21+a12A22+a13A23=3(−11)+1(11)+2(11)=0a_{11}A_{21} + a_{12}A_{22} + a_{13}A_{23} = 3(-11) + 1(11) + 2(11) = 0

Why is it 0? This sum is the expansion of a copy of AA whose row 2 was replaced by a second copy of row 1. That copy has two identical rows, so its determinant is 0. This fact is the engine behind the adjoint in the next section.

In simple words: the right cofactors with the right row give the determinant. The wrong cofactors with the wrong row give 0. This fact explains why the adjoint works, in the next section.
Common mistake: mixing up the minor and the cofactor. The cofactor includes the checkerboard sign; the minor does not. Also, always pair entries with cofactors from the same row or column.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] For M=[6213]M = \begin{bmatrix} 6 & 2 \\ 1 & 3 \end{bmatrix}, write M11M_{11} and the cofactor A12A_{12}.
Try answering before revealing!
Question 2
[Board Standard] For A=[31204−12−35]A = \begin{bmatrix} 3 & 1 & 2 \\ 0 & 4 & -1 \\ 2 & -3 & 5 \end{bmatrix}, confirm that row 1 with its own cofactors gives ∣A∣|A|: compute a11A11+a12A12+a13A13a_{11}A_{11} + a_{12}A_{12} + a_{13}A_{13}.
Try answering before revealing!
Question 3
[HOTS] Explain in one sentence why entries of row 3 with cofactors of row 1 must sum to 0.
Try answering before revealing!

⚡ Quick Check Flashcards8 questions
Question 1
[Concept] Write the minor and the cofactor of every entry of [52−34]\begin{bmatrix} 5 & 2 \\ -3 & 4 \end{bmatrix}.
Try answering before revealing!
Question 2
[Concept] For A=[102314052]A = \begin{bmatrix} 1 & 0 & 2 \\ 3 & 1 & 4 \\ 0 & 5 & 2 \end{bmatrix}, find the minor and the cofactor of (a) a23a_{23} (b) a31a_{31}.
Try answering before revealing!
Question 3
[Board Standard] Evaluate ∣2−10341125∣\begin{vmatrix} 2 & -1 & 0 \\ 3 & 4 & 1 \\ 1 & 2 & 5 \end{vmatrix} by expanding along the first column.
Try answering before revealing!
Question 4
[Board Standard] For A=[123014560]A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{bmatrix}, show that a11A21+a12A22+a13A23=0a_{11}A_{21} + a_{12}A_{22} + a_{13}A_{23} = 0.
Try answering before revealing!
Question 5
[Board Standard] Evaluate ∣213045006∣\begin{vmatrix} 2 & 1 & 3 \\ 0 & 4 & 5 \\ 0 & 0 & 6 \end{vmatrix} by expanding along the third row. What shortcut does this suggest?
Try answering before revealing!
Question 6
[Board Standard] For A=[2−10341125]A = \begin{bmatrix} 2 & -1 & 0 \\ 3 & 4 & 1 \\ 1 & 2 & 5 \end{bmatrix}, find the cofactor of the entry 4.
Try answering before revealing!
Question 7
[HOTS] For A=[2−10341125]A = \begin{bmatrix} 2 & -1 & 0 \\ 3 & 4 & 1 \\ 1 & 2 & 5 \end{bmatrix}, find the cofactor of the entry 1 in row 3, column 1.
Try answering before revealing!
Question 8
[HOTS] Choose the correct answer. The cofactor of the entry in row 1, column 2 of [1234]\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} is (A) 3 (B) −3-3 (C) 4 (D) −4-4.
Try answering before revealing!

4.5 Adjoint and Inverse of a Matrix

1,548 words · 7 min read

In Chapter 3 we saw that the inverse A−1A^{-1} undoes the matrix AA. If AA stores a recipe, A−1A^{-1} recovers the ingredients from the dish. But we had no method to find it. Determinants give us one.

The plan has three steps. First, build a helper matrix from the cofactors, called the adjoint. Second, learn when a matrix can be undone at all: exactly when its determinant is not zero. Third, divide the adjoint by the determinant to get the inverse. Each step is checked with numbers.

  • Section 4.5.1 builds the adjoint and proves A(adj A)=∣A∣IA(\text{adj}\,A) = |A|I.
  • Singular means ∣A∣=0|A| = 0 (cannot be undone). Non-singular means ∣A∣≠0|A| \neq 0 (can be undone).
  • The inverse is A−1=1∣A∣ adj AA^{-1} = \dfrac{1}{|A|}\,\text{adj}\,A, valid only when ∣A∣≠0|A| \neq 0.

By the end of this section you will invert 2×22 \times 2 and 3×33 \times 3 matrices by hand, and you will know exactly when the attempt must fail.

Definition. The adjoint of a square matrix AA, written adj A\text{adj}\,A, is the transpose of the matrix of cofactors of AA. Two moves: first replace every entry by its cofactor, then flip rows and columns.

Example 1 (order 2). For C=[3524]C = \begin{bmatrix} 3 & 5 \\ 2 & 4 \end{bmatrix} the cofactors are A11=4A_{11} = 4, A12=−2A_{12} = -2, A21=−5A_{21} = -5, A22=3A_{22} = 3. The cofactor matrix is [4−2−53]\begin{bmatrix} 4 & -2 \\ -5 & 3 \end{bmatrix} and its transpose is adj C=[4−5−23]\text{adj}\,C = \begin{bmatrix} 4 & -5 \\ -2 & 3 \end{bmatrix}

Shortcut for order 2: for A=[abcd]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, swap the two diagonal entries aa and dd, and change the signs of bb and cc. Then adj A=[d−b−ca]\text{adj}\,A = \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}.

From definition to inverse in four moves:

matrix of cofactorstranspose itadjoint of Adivide by determinantinverse of A
Road map: cofactors, then transpose, then divide by the determinant.

Read the figure from top to bottom. Each box is one action on the matrix. The first two boxes build the adjoint. The last box needs ∣A∣≠0|A| \neq 0, because division by zero is impossible.

Theorem 1. For every square matrix AA of order nn: A(adj A)=(adj A)A=∣A∣ IA(\text{adj}\,A) = (\text{adj}\,A)A = |A|\,I

Check with Example 1. ∣C∣=2|C| = 2, and C(adj C)=[3524][4−5−23]=[2002]=2IC(\text{adj}\,C) = \begin{bmatrix} 3 & 5 \\ 2 & 4 \end{bmatrix}\begin{bmatrix} 4 & -5 \\ -2 & 3 \end{bmatrix} = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} = 2I.

Why it works. The entry in row ii, column kk of A(adj A)A(\text{adj}\,A) is ai1Ak1+ai2Ak2+…a_{i1}A_{k1} + a_{i2}A_{k2} + \dots If k=ik = i, this is the cofactor expansion of ∣A∣|A| along row ii. If k≠ik \neq i, it multiplies a row by the cofactors of a different row, which gives 0 (Section 4.4). So the diagonal entries are all ∣A∣|A| and every other entry is 0.

Example 2 (order 3). For A=[110011101]A = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \end{bmatrix} we have ∣A∣=2|A| = 2. Its cofactor matrix is [11−1−1111−11]\begin{bmatrix} 1 & 1 & -1 \\ -1 & 1 & 1 \\ 1 & -1 & 1 \end{bmatrix}, and transposing gives adj A=[1−1111−1−111],A(adj A)=[200020002]=2I\text{adj}\,A = \begin{bmatrix} 1 & -1 & 1 \\ 1 & 1 & -1 \\ -1 & 1 & 1 \end{bmatrix}, \qquad A(\text{adj}\,A) = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 2 \end{bmatrix} = 2I

  • [Board Standard] A square matrix AA is singular if ∣A∣=0|A| = 0.
  • [HOTS] A square matrix AA is non-singular if ∣A∣≠0|A| \neq 0.

For example, S=[210111012]S = \begin{bmatrix} 2 & 1 & 0 \\ 1 & 1 & 1 \\ 0 & 1 & 2 \end{bmatrix} has ∣S∣=0|S| = 0, so it is singular. The matrix AA of Example 2 has ∣A∣=2|A| = 2, so it is non-singular. Only non-singular matrices can be undone.

PropertyExampleEffect
∣AB∣=∣A∣ ∣B∣|AB| = |A|\,|B|∣A∣=2|A| = 2, ∣B∣=5|B| = 5, ∣AB∣=10|AB| = 10Multiply determinants instead of matrices
∣adj A∣=∣A∣n−1|\text{adj}\,A| = |A|^{n-1}∣adj A∣=4=22|\text{adj}\,A| = 4 = 2^2Order 3: square the determinant
∣kA∣=kn∣A∣|kA| = k^n|A|∣2A∣=16=23(2)|2A| = 16 = 2^3(2)Scaling every entry scales the determinant
∣A′∣=∣A∣|A'| = |A|∣A∣=2|A| = 2 both waysFlipping rows and columns changes nothing

Also: if AA and BB are non-singular and of the same order, then ABAB is also non-singular, because ∣AB∣=∣A∣∣B∣≠0|AB| = |A||B| \neq 0.

Theorem 2. A square matrix AA is invertible if and only if it is non-singular, and then

A−1=1∣A∣ adj AA^{-1} = \frac{1}{|A|}\,\text{adj}\,A

Proof. If AA is non-singular, divide A(adj A)=∣A∣IA(\text{adj}\,A) = |A|I by ∣A∣|A| to get A(1∣A∣adj A)=IA\left(\frac{1}{|A|}\text{adj}\,A\right) = I, and similarly on the other side. So 1∣A∣adj A\frac{1}{|A|}\text{adj}\,A is an inverse of AA. Conversely, if AA has an inverse BB, then AB=IAB = I gives ∣A∣∣B∣=∣I∣=1|A||B| = |I| = 1, so ∣A∣≠0|A| \neq 0. ■\blacksquare

Example 3. For C=[3524]C = \begin{bmatrix} 3 & 5 \\ 2 & 4 \end{bmatrix}: ∣C∣=2|C| = 2, so C−1=12[4−5−23]=[2−52−132]C^{-1} = \frac{1}{2}\begin{bmatrix} 4 & -5 \\ -2 & 3 \end{bmatrix} = \begin{bmatrix} 2 & -\frac{5}{2} \\ -1 & \frac{3}{2} \end{bmatrix}. Each entry of the adjoint is halved: 44 becomes 22, −5-5 becomes −52-\frac{5}{2}, −2-2 becomes −1-1, and 33 becomes 32\frac{3}{2}.

Example 4. For A=[110011101]A = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \end{bmatrix}: ∣A∣=2|A| = 2, so A−1=12[1−1111−1−111]=[12−12121212−12−121212]A^{-1} = \frac{1}{2}\begin{bmatrix} 1 & -1 & 1 \\ 1 & 1 & -1 \\ -1 & 1 & 1 \end{bmatrix} = \begin{bmatrix} \frac{1}{2} & -\frac{1}{2} & \frac{1}{2} \\ \frac{1}{2} & \frac{1}{2} & -\frac{1}{2} \\ -\frac{1}{2} & \frac{1}{2} & \frac{1}{2} \end{bmatrix}. Again every entry is halved. As a check, ∣A−1∣=1∣A∣=12|A^{-1}| = \frac{1}{|A|} = \frac{1}{2}, which agrees with the product rule ∣A∣∣A−1∣=1|A||A^{-1}| = 1.

Common mistakes: (1) forgetting to transpose the cofactor matrix; (2) forgetting to divide by ∣A∣|A|; (3) trying to invert a matrix whose determinant is zero.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Use the order-2 shortcut to write adj A\text{adj}\,A for A=[5234]A = \begin{bmatrix} 5 & 2 \\ 3 & 4 \end{bmatrix}.
Try answering before revealing!
Question 2
[Board Standard] Find the inverse of the diagonal matrix [2002]\begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}.
Try answering before revealing!
Question 3
[HOTS] Can a matrix with determinant 0 have an inverse? Quote the theorem.
Try answering before revealing!

⚡ Quick Check Flashcards9 questions
Question 1
[Concept] Find adj A\text{adj}\,A and A−1A^{-1} for A=[4311]A = \begin{bmatrix} 4 & 3 \\ 1 & 1 \end{bmatrix}.
Try answering before revealing!
Question 2
[Concept] For A=[2514]A = \begin{bmatrix} 2 & 5 \\ 1 & 4 \end{bmatrix}, verify that A(adj A)=∣A∣IA(\text{adj}\,A) = |A|I, and find A−1A^{-1}.
Try answering before revealing!
Question 3
[Concept] Is [3612]\begin{bmatrix} 3 & 6 \\ 1 & 2 \end{bmatrix} invertible? Give a reason.
Try answering before revealing!
Question 4
[Board Standard] For what value of xx is [x234]\begin{bmatrix} x & 2 \\ 3 & 4 \end{bmatrix} singular?
Try answering before revealing!
Question 5
[Board Standard] Find the inverse of [102010001]\begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}.
Try answering before revealing!
Question 6
[Board Standard] Find the inverse of the diagonal matrix D=[200030004]D = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix}. What pattern do you see?
Try answering before revealing!
Question 7
[HOTS] If AA is a 3×33 \times 3 matrix with ∣A∣=4|A| = 4, find ∣adj A∣|\text{adj}\,A|.
Try answering before revealing!
Question 8
[HOTS] If AA is a 2×22 \times 2 matrix with ∣A∣=2|A| = 2, find ∣adj A∣|\text{adj}\,A|. Explain the difference from the previous question.
Try answering before revealing!
Question 9
[HOTS] Choose the correct answer. For a non-singular matrix AA of order 2 with ∣A∣=5|A| = 5, the value of ∣A−1∣|A^{-1}| is (A) 5 (B) −5-5 (C) 15\frac{1}{5} (D) 25.
Try answering before revealing!

4.6 System of Linear Equations Using Matrix Inverses

1,602 words · 7 min read

Price lists, travel plans and mixture problems all lead to several equations that must hold at the same time. Such a family is called a system of linear equations. Solving it by hand, one variable at a time, is slow and error-prone. Matrices do it in one clean move.

Write the system in matrix form AX=BAX = B. Here AA holds the coefficients, XX holds the unknowns and BB holds the right-hand sides. If AA is non-singular, multiply both sides by A−1A^{-1} to get X=A−1BX = A^{-1}B. One formula gives every unknown.

  • Section 4.6.1 solves 2×22 \times 2 and 3×33 \times 3 systems with the inverse.
  • A non-singular AA always gives exactly one answer.
  • A singular AA gives either no answer or many answers, and (adj A)B(\text{adj}\,A)B tells which.

Write the system in matrix form AX=BAX = B, where AA holds the coefficients, XX holds the unknowns and BB holds the right-hand sides. If AA is non-singular, multiply both sides by A−1A^{-1}:

AX=B  ⟹  X=A−1BAX = B \;\Longrightarrow\; X = A^{-1}B

Three objects, three roles. AA is known numbers. BB is known totals. XX is what we want. The formula X=A−1BX = A^{-1}B finds all unknowns at once.

Example 1 (a shopping problem). 2 notebooks and 3 pens cost 19 in total. 4 notebooks and 1 pen cost 23. Find the price of one notebook (xx) and one pen (yy).

Solution. The equations are 2x+3y=192x + 3y = 19 and 4x+y=234x + y = 23, so [2341]⏟A[xy]⏟X=[1923]⏟B\underbrace{\begin{bmatrix} 2 & 3 \\ 4 & 1 \end{bmatrix}}_{A}\underbrace{\begin{bmatrix} x \\ y \end{bmatrix}}_{X} = \underbrace{\begin{bmatrix} 19 \\ 23 \end{bmatrix}}_{B} ∣A∣=−10≠0|A| = -10 \neq 0, so A−1A^{-1} exists. adj A=[1−3−42]\text{adj}\,A = \begin{bmatrix} 1 & -3 \\ -4 & 2 \end{bmatrix}, so A−1=1(−10)[1−3−42]=[−11031025−15]A^{-1} = \frac{1}{(-10)}\begin{bmatrix} 1 & -3 \\ -4 & 2 \end{bmatrix} = \begin{bmatrix} -\frac{1}{10} & \frac{3}{10} \\ \frac{2}{5} & -\frac{1}{5} \end{bmatrix} and X=A−1B=[53]X = A^{-1}B = \begin{bmatrix} 5 \\ 3 \end{bmatrix} A notebook costs 5 and a pen costs 3. Show the multiplication: x=(−110)(19)+(310)(23)=−19+6910=5x = (-\frac{1}{10})(19) + (\frac{3}{10})(23) = \frac{-19 + 69}{10} = 5 and y=(25)(19)+(−15)(23)=38−235=3y = (\frac{2}{5})(19) + (-\frac{1}{5})(23) = \frac{38 - 23}{5} = 3. Check: 2(5)+3(3)=192(5) + 3(3) = 19 and 4(5)+3=234(5) + 3 = 23. Both equations hold, so the answer is correct.

The two lines meet at (5, 3). One meeting point means one solution.

Read the figure. Each equation draws one straight line. The two lines cross at exactly one point, (5,3)(5, 3). That crossing is the unique answer. When lines are parallel instead, they never meet, and the system has no answer.

Example 2 (three unknowns). Solve x+y+z=6x + y + z = 6, 2x−y+z=62x - y + z = 6, x+2y−z=1x + 2y - z = 1.

Solution. A=[1112−1112−1]A = \begin{bmatrix} 1 & 1 & 1 \\ 2 & -1 & 1 \\ 1 & 2 & -1 \end{bmatrix}, X=[xyz]X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, B=[661]B = \begin{bmatrix} 6 \\ 6 \\ 1 \end{bmatrix}. ∣A∣=7≠0|A| = 7 \neq 0. The adjoint is adj A=[−1323−215−1−3]\text{adj}\,A = \begin{bmatrix} -1 & 3 & 2 \\ 3 & -2 & 1 \\ 5 & -1 & -3 \end{bmatrix}, so X=17[−1323−215−1−3][661]=[213]X = \frac{1}{7}\begin{bmatrix} -1 & 3 & 2 \\ 3 & -2 & 1 \\ 5 & -1 & -3 \end{bmatrix}\begin{bmatrix} 6 \\ 6 \\ 1 \end{bmatrix} = \begin{bmatrix} 2 \\ 1 \\ 3 \end{bmatrix} So x=2x = 2, y=1y = 1 and z=3z = 3. Check every equation: 2+1+3=62 + 1 + 3 = 6, 4−1+3=64 - 1 + 3 = 6, and 2+2−3=12 + 2 - 3 = 1. All three hold.

CaseConditionConclusion
Non-singular∣A∣≠0|A| \neq 0Exactly one answer: X=A−1BX = A^{-1}B
Singular, first kind∣A∣=0|A| = 0 and (adj A)B≠O(\text{adj}\,A)B \neq ONo answer (inconsistent system)
Singular, second kind∣A∣=0|A| = 0 and (adj A)B=O(\text{adj}\,A)B = OMany answers or none: check further

Read the table when ∣A∣=0|A| = 0. The extra test (adj A)B(\text{adj}\,A)B separates "the rules contradict each other" from "one rule repeats another". The two examples below show each kind.

Example 3. x+y=2x + y = 2 and 2x+2y=52x + 2y = 5. Here A=[1122]A = \begin{bmatrix} 1 & 1 \\ 2 & 2 \end{bmatrix} and ∣A∣=0|A| = 0. Also (adj A)B=[2−1−21][25]=[−11]≠O(\text{adj}\,A)B = \begin{bmatrix} 2 & -1 \\ -2 & 1 \end{bmatrix}\begin{bmatrix} 2 \\ 5 \end{bmatrix} = \begin{bmatrix} -1 \\ 1 \end{bmatrix} \neq O. So there is no solution. (Indeed, doubling the first equation gives 2x+2y=42x + 2y = 4, which contradicts 2x+2y=52x + 2y = 5.)

Example 4. x+y=2x + y = 2 and 2x+2y=42x + 2y = 4. Again ∣A∣=0|A| = 0, and (adj A)B=[2−1−21][24]=[00](\text{adj}\,A)B = \begin{bmatrix} 2 & -1 \\ -2 & 1 \end{bmatrix}\begin{bmatrix} 2 \\ 4 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}. Here the second equation is just twice the first, so there are infinitely many solutions, such as (1,1)(1, 1), (2,0)(2, 0) and (0,2)(0, 2). Check: each pair adds to 2, and doubling gives 4.

Common mistake: dividing by ∣A∣|A| without checking it is non-zero, or writing X=BA−1X = BA^{-1} with the factors in the wrong order. Matrix multiplication does not commute.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Solve 2x+y=112x + y = 11 and x+3y=18x + 3y = 18 using the inverse of a matrix. Check your answer by substitution.
Try answering before revealing!
Question 2
[Board Standard] Without solving fully, say how many answers x+2y=3,  2x+4y=8x + 2y = 3,\; 2x + 4y = 8 has. (Hint: compute ∣A∣|A| and (adj A)B(\text{adj}\,A)B.)
Try answering before revealing!
Question 3
[HOTS] True or false? Every system AX=BAX = B with a square AA has exactly one answer. Explain.
Try answering before revealing!

⚡ Quick Check Flashcards9 questions
Question 1
[Concept] Solve 2x+y=72x + y = 7 and x+y=3x + y = 3 using the inverse of a matrix.
Try answering before revealing!
Question 2
[Concept] Solve x+2y=11x + 2y = 11 and 3x+y=133x + y = 13 using the inverse of a matrix. Check by substitution.
Try answering before revealing!
Question 3
[Concept] Solve x+y+z=2x + y + z = 2, x−y+2z=−3x - y + 2z = -3 and 2x+y−z=52x + y - z = 5 using the inverse of a matrix.
Try answering before revealing!
Question 4
[Board Standard] Solve x+2y+z=8x + 2y + z = 8, x+y+2z=9x + y + 2z = 9 and x+y+z=6x + y + z = 6 using the inverse of a matrix.
Try answering before revealing!
Question 5
[Board Standard] A ticket booth sells adult and child tickets. 3 adult tickets and 2 child tickets cost 29. 1 adult ticket and 4 child tickets cost 23. Find the price of each ticket using matrices.
Try answering before revealing!
Question 6
[Board Standard] A stall sells two gift packs. 15 packs are sold for 40 in total. Each pack of the first kind costs 2 and each of the second kind costs 3. How many of each kind were sold?
Try answering before revealing!
Question 7
[HOTS] Without solving, say how many solutions each system has: (a) x+2y=3,  2x+4y=7x + 2y = 3,\; 2x + 4y = 7 (b) x+2y=3,  2x+4y=6x + 2y = 3,\; 2x + 4y = 6 (c) x+2y=3,  3x+4y=5x + 2y = 3,\; 3x + 4y = 5.
Try answering before revealing!
Question 8
[HOTS] A system AX=BAX = B has ∣A∣=0|A| = 0 and (adj A)B≠O(\text{adj}\,A)B \neq O. What can you say about its solutions? Give the reason in one sentence.
Try answering before revealing!
Question 9
[HOTS] Choose the correct answer. The system AX=BAX = B has a unique solution if (A) ∣A∣=0|A| = 0 (B) ∣A∣≠0|A| \neq 0 (C) B=OB = O (D) A=IA = I.
Try answering before revealing!

4.7 Miscellaneous Worked Examples and Problems

1,163 words · 5 min read

Example 1 (scaling a matrix). For a matrix of order nn and a number kk, ∣kA∣=kn∣A∣|kA| = k^n|A|. Check with the 3×33 \times 3 matrix A=[110011101]A = \begin{bmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 1 & 0 & 1 \end{bmatrix} and k=2k = 2: ∣2A∣=16|2A| = 16 and 23∣A∣=8×2=162^3|A| = 8 \times 2 = 16. Why the power nn? Every one of the nn rows is multiplied by kk, and each row contributes one factor kk.

Example 2 (triangular matrices). If all the entries below the diagonal are 0, the determinant is the product of the diagonal entries. For T=[251034006]T = \begin{bmatrix} 2 & 5 & 1 \\ 0 & 3 & 4 \\ 0 & 0 & 6 \end{bmatrix}, ∣T∣=36=2×3×6|T| = 36 = 2 \times 3 \times 6. (Expand along the first column: only the first entry is non-zero. Repeat down the columns.) The same holds if the zeros are above the diagonal.

Example 3 (the determinant of an inverse). From AA−1=IAA^{-1} = I we get ∣A∣∣A−1∣=1|A||A^{-1}| = 1, so ∣A−1∣=1∣A∣|A^{-1}| = \frac{1}{|A|}. Check with C=[3524]C = \begin{bmatrix} 3 & 5 \\ 2 & 4 \end{bmatrix}: ∣C∣=2|C| = 2 and C−1=[2−52−132]C^{-1} = \begin{bmatrix} 2 & -\frac{5}{2} \\ -1 & \frac{3}{2} \end{bmatrix} has determinant 2⋅32−(−52)(−1)=122 \cdot \frac{3}{2} - \left(-\frac{5}{2}\right)(-1) = \frac{1}{2}.

Example 4 (a quarter-turn). For R=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]R = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix}, ∣R∣=cos⁡2θ+sin⁡2θ=1|R| = \cos^2\theta + \sin^2\theta = 1 for every θ\theta. A rotation turns a shape without changing its area, which is exactly what a determinant of 1 means. Take θ=90∘\theta = 90^\circ: R=[0−110]R = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} with ∣R∣=1|R| = 1. The unit square goes to a tilted square of the same area 1:

A quarter-turn moves the unit square but keeps its area 1. The rotation matrix has determinant 1.

Read the figure. The pale square sits on the positive axes. The darker square is its image after the quarter-turn: (1,0)(1, 0) moves to (0,1)(0, 1), (1,1)(1, 1) moves to (−1,1)(-1, 1), and (0,1)(0, 1) moves to (−1,0)(-1, 0). Both cover area 1. ==Motions that preserve area have determinant ±1\pm 1.==

Example 5 (row operations). Start with P=[213041102]P = \begin{bmatrix} 2 & 1 & 3 \\ 0 & 4 & 1 \\ 1 & 0 & 2 \end{bmatrix}, where ∣P∣=5|P| = 5. Three experiments:

OperationNew matrixNew determinantEffect
Swap rows 1 and 2[041213102]\begin{bmatrix} 0 & 4 & 1 \\ 2 & 1 & 3 \\ 1 & 0 & 2 \end{bmatrix}−5-5Sign flips
Add 2 times row 1 to row 3[213041528]\begin{bmatrix} 2 & 1 & 3 \\ 0 & 4 & 1 \\ 5 & 2 & 8 \end{bmatrix}55No change
Multiply row 2 by 3[2130123102]\begin{bmatrix} 2 & 1 & 3 \\ 0 & 12 & 3 \\ 1 & 0 & 2 \end{bmatrix}1515Multiplied by 3

Read the table. Swapping two rows changes the sign, because it reorders the six triple products into their negatives. Adding a multiple of one row to another changes nothing, because the extra terms cancel in pairs. Multiplying one row by kk multiplies the whole determinant by kk, because every triple product gains one factor kk. These three rules explain every sign and zero in this chapter.

Example 6 (a singular matrix and its adjoint). For the singular matrix S=[210111012]S = \begin{bmatrix} 2 & 1 & 0 \\ 1 & 1 & 1 \\ 0 & 1 & 2 \end{bmatrix} with ∣S∣=0|S| = 0, the adjoint is adj S=[1−21−24−21−21]\text{adj}\,S = \begin{bmatrix} 1 & -2 & 1 \\ -2 & 4 & -2 \\ 1 & -2 & 1 \end{bmatrix}. Then S(adj S)=[000000000]=0⋅IS(\text{adj}\,S) = \begin{bmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} = 0 \cdot I. Theorem 1 still holds: both sides are the zero matrix. But division by ∣S∣=0|S| = 0 is impossible, so no inverse exists. ==The formula A(adj A)=∣A∣IA(\text{adj}\,A) = |A|I never breaks; only the division step needs ∣A∣≠0|A| \neq 0.==

⚡ Quick Check Flashcards10 questions
Question 1
[Concept] Verify that ∣adj A∣=∣A∣|\text{adj}\,A| = |A| for the 2×22 \times 2 matrix A=[3122]A = \begin{bmatrix} 3 & 1 \\ 2 & 2 \end{bmatrix}.
Try answering before revealing!
Question 2
[Concept] For what value of kk is the matrix [1k2013241]\begin{bmatrix} 1 & k & 2 \\ 0 & 1 & 3 \\ 2 & 4 & 1 \end{bmatrix} singular?
Try answering before revealing!
Question 3
[Concept] For A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, show that A2−5A−2I=OA^2 - 5A - 2I = O, and use this to find A−1A^{-1}.
Try answering before revealing!
Question 4
[Board Standard] Find the missing entry aa if ∣5a32∣=4\begin{vmatrix} 5 & a \\ 3 & 2 \end{vmatrix} = 4. Check your answer.
Try answering before revealing!
Question 5
[Board Standard] If AA and BB are 3×33 \times 3 matrices with ∣A∣=2|A| = 2 and ∣B∣=−3|B| = -3, find ∣AB∣|AB| and ∣2B∣|2B|.
Try answering before revealing!
Question 6
[Board Standard] The columns of M=[4123]M = \begin{bmatrix} 4 & 1 \\ 2 & 3 \end{bmatrix} span a parallelogram. Find its area using a determinant.
Try answering before revealing!
Question 7
[Board Standard] For A=[210132012]A = \begin{bmatrix} 2 & 1 & 0 \\ 1 & 3 & 2 \\ 0 & 1 & 2 \end{bmatrix}, verify that ∣A2∣=∣A∣2|A^2| = |A|^2 with numbers.
Try answering before revealing!
Question 8
[HOTS] Choose the correct answer. Swapping two rows of a determinant multiplies its value by (A) 0 (B) −1-1 (C) 2 (D) kk.
Try answering before revealing!
Question 9
[HOTS] Choose the correct answer. If AA is a non-singular 3×33 \times 3 matrix with ∣A∣=4|A| = 4, then ∣2A−1∣|2A^{-1}| equals (A) 2 (B) 8 (C) 12\frac{1}{2} (D) 14\frac{1}{4}.
Try answering before revealing!
Question 10
[HOTS] Choose the correct answer. If AA and BB are non-singular matrices of the same order, then ABAB is (A) singular (B) non-singular (C) the zero matrix (D) the identity matrix.
Try answering before revealing!

4.8 Chapter Summary and Determinant Properties Matrix

334 words · 2 min read

The chapter in plain words

  • The determinant ∣A∣|A| is one number attached to a square matrix. For order 1, ∣[a]∣=a|[a]| = a. For order 2, ∣A∣=ad−bc|A| = ad - bc.
  • For order 3, expand along a row or column: each entry times the determinant left after deleting its row and column, with alternating signs +−++ - + (checkerboard). Any row or column gives the same value, so choose the one with the most zeros.
  • Area of a triangle with corners (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), (x3,y3)(x_3, y_3) is 12∣ ∣x1y11x2y21x3y31∣ ∣\frac{1}{2}\left|\,\begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{vmatrix}\,\right|. Three points are collinear exactly when this determinant is 0.
  • The minor MijM_{ij} is the determinant left after deleting row ii and column jj; the cofactor is Aij=(−1)i+jMijA_{ij} = (-1)^{i+j}M_{ij}. Entries of one row times the cofactors of the same row add up to ∣A∣|A|; times the cofactors of a different row they add up to 0.
  • The adjoint adj A\text{adj}\,A is the transpose of the cofactor matrix, and A(adj A)=(adj A)A=∣A∣IA(\text{adj}\,A) = (\text{adj}\,A)A = |A|I.
  • AA is singular if ∣A∣=0|A| = 0 and non-singular if ∣A∣≠0|A| \neq 0. ∣AB∣=∣A∣∣B∣|AB| = |A||B| and ∣adj A∣=∣A∣n−1|\text{adj}\,A| = |A|^{n-1}. Swapping two rows flips the sign; adding a multiple of one row to another changes nothing.
  • AA is invertible exactly when it is non-singular, and then A−1=1∣A∣adj AA^{-1} = \frac{1}{|A|}\text{adj}\,A.
  • A system AX=BAX = B with ∣A∣≠0|A| \neq 0 has exactly one solution, X=A−1BX = A^{-1}B. If ∣A∣=0|A| = 0, check (adj A)B(\text{adj}\,A)B: if it is not OO, there is no solution; if it is OO, there may be infinitely many solutions or none.

How to check your own work. Expand along a second line and compare. Verify every answer to a system by substitution. Test every "find kk" answer by putting it back into the determinant. A second line of defence catches every slip.

Up next
Continue to the next chapter