←
Class 12 Mathematics
3. Matrices · 3 / 13
⌕
Chapter 3 of 13

3. Matrices

9 sections · 11,358 words

3.1 Chapter Opener: Introduction and Matrix Representation

794 words · 4 min read

Chapter 3

Matrices

Big idea: organise a collection of quantities as one object, then use well-defined operations to combine or transform the whole collection.

  • Read a matrix using row and column indices.
  • Compute sums, scalar multiples and compatible products.
  • Explain why product order matters and why ordinary cancellation can fail.
  • Use transpose, symmetric decomposition and two-sided inverses.

A matrix is a table of numbers that is treated as one single object. Tables like this are everywhere:

  • A spreadsheet: every number has a row and a column.
  • A photo on a screen: the screen is a grid of tiny dots (pixels), and every dot has a number for its brightness.
  • A game scoreboard: players go down the side and rounds go across the top.
  • A weather chart: cities go down the side and days go across the top.

For example, here is a tiny 3×33 \times 3 picture. Each number tells how bright a pixel is, from 0 (black) to 255 (white):

[06012060120200120200255]\begin{bmatrix} 0 & 60 & 120 \\ 60 & 120 & 200 \\ 120 & 200 & 255 \end{bmatrix}

A computer stores and changes the whole picture by working with this one table. To make the picture brighter, it changes every number in a single step. This is the power of a matrix: we can work with a whole table at once.

Matrices are used to:

  • store and combine large tables of data (sales, scores, measurements);
  • move, turn and resize shapes in computer graphics and games;
  • solve many equations at the same time;
  • send secret messages in cryptography;
  • describe how a system changes from one step to the next, in science and economics.
In this chapter you will learn: what a matrix is and how to describe its size; the special types of matrices; how to add, subtract and multiply matrices; and how to flip a matrix (transpose) and undo one (inverse).

Think about it: which table of numbers do you use most often in daily life? How many rows and columns does it have?

Three students, A, B and C, take two tests. Their marks are shown in this table:

StudentTest 1Test 2
A7265
B5881
C9077

If we agree that rows are students (in the order A, B, C) and columns are tests (in the order 1, 2), we do not need the labels. We can keep only the numbers and put them inside brackets:

M=[726558819077]M = \begin{bmatrix} 72 & 65 \\ 58 & 81 \\ 90 & 77 \end{bmatrix}

This arrangement is a matrix.

Definition. A matrix is a rectangular arrangement of numbers (or expressions) in rows and columns, written inside brackets. Each number in it is called an element or entry. We name matrices with capital letters such as AA, BB and MM.

In simple words: a matrix is a table of numbers with the labels removed. The position of each number carries the meaning: in MM, the number 81 is in row 2, column 2, so it is student B's mark in Test 2.

  • [Board Standard] A row is a horizontal line of entries. Rows are counted from the top.
  • [HOTS] A column is a vertical line of entries. Columns are counted from the left.

In MM above, row 1 is [72    65][72 \;\; 65] and column 2 is [658177]\begin{bmatrix} 65 \\ 81 \\ 77 \end{bmatrix}.

Common mistake: mixing up rows and columns. Rows go across (like the rows of seats in a cinema). Columns go down (like pillars). When we name a position, we always say the row first and then the column.

A=[2−14037],B=[50−2916],C=[1.5−380]A = \begin{bmatrix} 2 & -1 & 4 \\ 0 & 3 & 7 \end{bmatrix}, \qquad B = \begin{bmatrix} 5 & 0 \\ -2 & 9 \\ 1 & 6 \end{bmatrix}, \qquad C = \begin{bmatrix} 1.5 & -3 & 8 & 0 \end{bmatrix}

AA has 2 rows and 3 columns. BB has 3 rows and 2 columns. CC has 1 row and 4 columns. Entries can be positive, negative, zero, fractions or decimals.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] In matrix MM above, which student got the highest mark in Test 1, and what was it?
Try answering before revealing!
Question 2
[Board Standard] How many rows and columns does [410729358601]\begin{bmatrix} 4 & 1 & 0 \\ 7 & 2 & 9 \\ 3 & 5 & 8 \\ 6 & 0 & 1 \end{bmatrix} have?
Try answering before revealing!
Question 3
[HOTS] Write the marks of the three students in Test 2 as a column.
Try answering before revealing!

This chapter covers the matrices topics of the Class 12 mathematics syllabus. The explanations, examples, figures and exercises were written for this library, and every worked answer was computed and checked by a program.

3.2 Matrix Notation, Order and Elements

644 words · 3 min read

The order of a matrix tells us its size. A matrix with mm rows and nn columns has order m×nm \times n, read "mm by nn". The number of rows always comes first.

For example, [314159]\begin{bmatrix} 3 & 1 & 4 \\ 1 & 5 & 9 \end{bmatrix} has order 2×32 \times 3 and has 2×3=62 \times 3 = 6 entries.

Think of a chocolate bar with 3 rows and 4 columns of squares. It has 3×4=123 \times 4 = 12 pieces. In the same way, a matrix of order m×nm \times n has mnmn entries.

We write aija_{ij} for the entry in row ii and column jj. A matrix of order m×nm \times n can then be written as A=[aij]m×nA = [a_{ij}]_{m \times n}:

A=[a11a12…a1na21a22…a2n⋮⋮⋮am1am2…amn]A = \begin{bmatrix} a_{11} & a_{12} & \dots & a_{1n} \\ a_{21} & a_{22} & \dots & a_{2n} \\ \vdots & \vdots & & \vdots \\ a_{m1} & a_{m2} & \dots & a_{mn} \end{bmatrix}

Reading the address: in aija_{ij}, the first small number (ii) is the row, and the second (jj) is the column. So a23a_{23} is in row 2, column 3. Entries of the form aiia_{ii} (a11,a22,…a_{11}, a_{22}, \dots) lie along the diagonal that runs from the top-left corner downward to the right.

Example 1. Construct a 3×23 \times 2 matrix A=[aij]A = [a_{ij}] whose entries are given by aij=2i−ja_{ij} = 2i - j.

Solution. A 3×23 \times 2 matrix has entries a11,a12,a21,a22,a31,a32a_{11}, a_{12}, a_{21}, a_{22}, a_{31}, a_{32}. Put in the row number ii and the column number jj each time:

a11=2(1)−1=1,a12=2(1)−2=0,a21=2(2)−1=3,a22=2(2)−2=2,a31=2(3)−1=5,a32=2(3)−2=4.\begin{aligned} a_{11} &= 2(1) - 1 = 1, & a_{12} &= 2(1) - 2 = 0, \\ a_{21} &= 2(2) - 1 = 3, & a_{22} &= 2(2) - 2 = 2, \\ a_{31} &= 2(3) - 1 = 5, & a_{32} &= 2(3) - 2 = 4. \end{aligned}

So A=[103254]A = \begin{bmatrix} 1 & 0 \\ 3 & 2 \\ 5 & 4 \end{bmatrix}.

Example 2. A matrix has 12 entries. What orders can it have?

Solution. We need m×n=12m \times n = 12 with mm and nn natural numbers. The pairs are (1,12)(1, 12), (2,6)(2, 6), (3,4)(3, 4), (4,3)(4, 3), (6,2)(6, 2), (12,1)(12, 1). So the possible orders are 1×121 \times 12, 2×62 \times 6, 3×43 \times 4, 4×34 \times 3, 6×26 \times 2, 12×112 \times 1.

Example 3. A matrix can store the corners of a shape. The corners of a four-sided figure PQRS are P(0,0)P(0, 0), Q(4,1)Q(4, 1), R(5,4)R(5, 4) and S(1,3)S(1, 3). Write them as the columns of a matrix, so that the first row holds the xx-coordinates and the second row holds the yy-coordinates.

Solution. X=[04510143]X = \begin{bmatrix} 0 & 4 & 5 & 1 \\ 0 & 1 & 4 & 3 \end{bmatrix} This matrix has order 2×42 \times 4.

The corners of PQRS are the columns of the matrix X. Hover over a corner to read its coordinates.

Computer graphics programs store every shape this way. To move or turn the shape, they change the numbers in this one matrix.

⚡ Quick Check Flashcards4 questions
Question 1
[Concept] What is the order of [12345678]\begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \\ 7 & 8 \end{bmatrix}, and how many entries does it have?
Try answering before revealing!
Question 2
[Board Standard] A matrix has 15 entries. List all possible orders.
Try answering before revealing!
Question 3
[Board Standard] Write the 2×22 \times 2 matrix with aij=i+ja_{ij} = i + j.
Try answering before revealing!
Question 4
[HOTS] In a matrix of order 4×54 \times 5, how many entries lie in row 3?
Try answering before revealing!

3.3 Types of Matrices and Equality

1,809 words · 8 min read

Some matrices have a special shape or a special pattern, and each has its own name. Knowing the names helps us spot shortcuts later.

TypeWhat makes it specialEveryday picture
Column matrixOnly one columnFour file sizes listed one below the other
Row matrixOnly one rowOne player's scores in four rounds, side by side
Square matrixNumber of rows = number of columnsA 3 by 3 tic-tac-toe grid
Diagonal matrixSquare, with 0 everywhere off the diagonalA table where only the diagonal cells are used
Scalar matrixDiagonal matrix with the same number all along the diagonalA diagonal where every cell holds the same value
Identity matrixScalar matrix with 1 on the diagonalThe number 1 of the matrix world
Zero matrixEvery entry is 0An empty score sheet
These names can overlap. An identity matrix is also scalar, diagonal and square. A name adds conditions; it does not erase the conditions already satisfied.
Common mistake: choosing just one label when a question asks for every applicable type.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Does a square matrix have to be diagonal?
Try answering before revealing!
Question 2
[HOTS] Does an identity matrix have to be square?
Try answering before revealing!

A matrix with only one column is a column matrix. Its order is m×1m \times 1.

Example: four file sizes in the same unit form the column matrix [2504075190]\begin{bmatrix} 250 \\ 40 \\ 75 \\ 190 \end{bmatrix}, of order 4×14 \times 1.

The entries can have different values; it is the single-column shape that defines the type.
Common mistake: calling a column matrix a row matrix because its entries were typed on one line. Read the bracketed arrangement.

⚡ Quick Check Flashcards1 question
Question 1
[HOTS] Give the order and the second entry of [80−3]\begin{bmatrix} 8 \\ 0 \\ -3 \end{bmatrix}.
Try answering before revealing!

A matrix with only one row is a row matrix. Its order is 1×n1 \times n.

Example: one player's scores in five rounds, written side by side, form the row matrix [60947]\begin{bmatrix} 6 & 0 & 9 & 4 & 7 \end{bmatrix}, of order 1×51 \times 5.

A row matrix describes one ordered list, such as one player across several rounds. Changing that order changes the meaning of positions.
Common mistake: writing order as entries by one. A row matrix has one row, so the first size is 1.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Give the order of [4−29]\begin{bmatrix} 4 & -2 & 9 \end{bmatrix}.
Try answering before revealing!
Question 2
[HOTS] Can a matrix with one entry be both a row and a column matrix?
Try answering before revealing!

A matrix with the same number of rows and columns is a square matrix. If it has nn rows and nn columns, we say it is a square matrix of order nn.

Example: S=[4−2705138−6]S = \begin{bmatrix} 4 & -2 & 7 \\ 0 & 5 & 1 \\ 3 & 8 & -6 \end{bmatrix} is a square matrix of order 3. A tic-tac-toe board and a sudoku grid are square.

The entries a11,a22,…,anna_{11}, a_{22}, \dots, a_{nn} of a square matrix form its diagonal. In SS the diagonal entries are 4, 5 and −6.

Remember: a rectangular matrix can also have entries with matching row and column indices. However, the special types called diagonal, scalar and identity matrices in this chapter are defined to be square.
Common mistake: assuming that equal numbers of rows and columns force equal entries. Square describes shape, not the values.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] A matrix has 4 rows and 4 columns. Give its full order and number of entries.
Try answering before revealing!
Question 2
[HOTS] Is every row matrix square?
Try answering before revealing!

A square matrix in which every entry off the diagonal is 0 is a diagonal matrix. In symbols, aij=0a_{ij} = 0 whenever i≠ji \neq j.

Example: D=[3000−10006]D = \begin{bmatrix} 3 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & 6 \end{bmatrix} is a diagonal matrix of order 3.

In simple words: the diagonal entries may be any numbers, even 0. Only the entries off the diagonal must be 0.
Common mistake: insisting that every diagonal entry must be non-zero. The definition restricts the entries away from the diagonal.

⚡ Quick Check Flashcards1 question
Question 1
[HOTS] Is [0005]\begin{bmatrix} 0 & 0 \\ 0 & 5 \end{bmatrix} diagonal? Is [2103]\begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} diagonal? Explain.
Try answering before revealing!

A diagonal matrix whose diagonal entries are all equal is a scalar matrix. So aij=0a_{ij} = 0 for i≠ji \neq j and aii=ka_{ii} = k for one fixed number kk.

Example: [700070007]\begin{bmatrix} 7 & 0 & 0 \\ 0 & 7 & 0 \\ 0 & 0 & 7 \end{bmatrix} is a scalar matrix with k=7k = 7.

A scalar matrix can be written kIkI. Multiplying a compatible vector by it scales every coordinate by the same factor.

Common mistake: treating a matrix with the same number in every position as scalar. The off-diagonal positions must be zero.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Which is scalar: [4004]\begin{bmatrix} 4 & 0 \\ 0 & 4 \end{bmatrix} or [4444]\begin{bmatrix} 4 & 4 \\ 4 & 4 \end{bmatrix}?
Try answering before revealing!
Question 2
[HOTS] Can the square zero matrix be scalar?
Try answering before revealing!

A scalar matrix with k=1k = 1, that is, with 1 on the diagonal and 0 elsewhere, is an identity matrix. We write InI_n for the identity matrix of order nn, or simply II when the order is clear.

I2=[1001],I3=[100010001]I_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}, \qquad I_3 = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}

Why it matters: multiplying an ordinary number by 1 leaves it unchanged. Multiplying a matrix by an identity matrix of the right size leaves it unchanged too. You will see this in 3.4.6.

Every identity matrix is a scalar matrix, but a scalar matrix is an identity matrix only when k=1k = 1.

For a rectangular matrix, the identity on the left and the identity on the right may have different sizes: ImA=A=AInI_m A=A=A I_n when AA has order m×nm \times n.

Common mistake: using an identity of the wrong order. It must fit the side on which it is multiplied.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If AA has order 2×32 \times 3, which identity sizes fit IAIA and AIAI?
Try answering before revealing!
Question 2
[HOTS] Is a diagonal matrix with every diagonal entry equal to 2 an identity?
Try answering before revealing!

A matrix whose entries are all 0 is a zero matrix (or null matrix). We write OO for it; its order is understood from the situation.

O2×2=[0000],O1×3=[000]O_{2 \times 2} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}, \qquad O_{1 \times 3} = \begin{bmatrix} 0 & 0 & 0 \end{bmatrix}

Why it matters: adding 0 to an ordinary number leaves it unchanged. Adding the zero matrix to a matrix of the same order leaves it unchanged too.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Name the type of each matrix: (a) [0000]\begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} (b) [52]\begin{bmatrix} 5 \\ 2 \end{bmatrix} (c) [2002]\begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} (d) [1001]\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} (e) [3104]\begin{bmatrix} 3 & 1 \\ 0 & 4 \end{bmatrix}.
Try answering before revealing!
Question 2
[HOTS] Is every diagonal matrix a square matrix? Is every square matrix a diagonal matrix?
Try answering before revealing!

Two matrices AA and BB are equal (we write A=BA = B) when both of these are true:

  1. [Board Standard] they have the same order, and
  2. [HOTS] every entry of AA equals the entry of BB in the same position, that is, aij=bija_{ij} = b_{ij} for all ii and jj.
In simple words: two matrices are equal only if they have the same size and every number matches its partner in the same position. The same numbers in a different order do not make equal matrices. It is like comparing two score tables cell by cell.

For example, [1234]=[1234]\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, but [1234]≠[2134]\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \neq \begin{bmatrix} 2 & 1 \\ 3 & 4 \end{bmatrix}, because the entries in row 1 are swapped. Also, [1    2]≠[12][1 \;\; 2] \neq \begin{bmatrix} 1 \\ 2 \end{bmatrix} because their orders differ.

  1. [Concept] Pair up the entries that sit in the same position.
  2. [Board Standard] Write one small equation for each pair.
  3. [HOTS] Solve each equation.

Example 1. Find xx and yy if [x+253y−1]=[7534]\begin{bmatrix} x + 2 & 5 \\ 3 & y - 1 \end{bmatrix} = \begin{bmatrix} 7 & 5 \\ 3 & 4 \end{bmatrix}.

Solution. Compare the entries in the same positions. Row 1, column 1 gives x+2=7x + 2 = 7, so x=5x = 5. Row 2, column 2 gives y−1=4y - 1 = 4, so y=5y = 5. The other two pairs (5=55 = 5 and 3=33 = 3) already match. Hence x=5x = 5 and y=5y = 5.

Example 2. Find xx, yy and zz if [2x+y4zx−y]=[74−1−1]\begin{bmatrix} 2x + y & 4 \\ z & x - y \end{bmatrix} = \begin{bmatrix} 7 & 4 \\ -1 & -1 \end{bmatrix}.

Solution. Comparing entries gives three equations: 2x+y=72x + y = 7, z=−1z = -1 and x−y=−1x - y = -1. Adding the first and third equations gives 3x=63x = 6, so x=2x = 2. Then y=x+1=3y = x + 1 = 3. Check: 2(2)+3=72(2) + 3 = 7 and 2−3=−12 - 3 = -1. Hence x=2x = 2, y=3y = 3, z=−1z = -1.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Are [1001]\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} and [100010]\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \end{bmatrix} equal? Why or why not?
Try answering before revealing!
Question 2
[HOTS] Find aa and bb if [a+b30a−b]=[8302]\begin{bmatrix} a + b & 3 \\ 0 & a - b \end{bmatrix} = \begin{bmatrix} 8 & 3 \\ 0 & 2 \end{bmatrix}.
Try answering before revealing!

3.4 Exercise 3.1: Matrix Construction and Equality

274 words · 1 min read

⚡ Quick Check Flashcards8 questions
Question 1
[Concept] For A=[3−28105−49726−1]A = \begin{bmatrix} 3 & -2 & 8 & 1 \\ 0 & 5 & -4 & 9 \\ 7 & 2 & 6 & -1 \end{bmatrix} write: (a) the order of AA, (b) the number of entries, (c) the entries a13a_{13}, a22a_{22} and a34a_{34}.
Try answering before revealing!
Question 2
[Concept] List all possible orders of a matrix with (a) 18 entries (b) 7 entries.
Try answering before revealing!
Question 3
[Board Standard] Construct the 2×32 \times 3 matrix with aij=ij+1a_{ij} = ij + 1.
Try answering before revealing!
Question 4
[Board Standard] Construct the 3×23 \times 2 matrix with aij=(i−j)2a_{ij} = (i - j)^2.
Try answering before revealing!
Question 5
[Board Standard] Find xx and yy if [x+y24x−y]=[9243]\begin{bmatrix} x + y & 2 \\ 4 & x - y \end{bmatrix} = \begin{bmatrix} 9 & 2 \\ 4 & 3 \end{bmatrix}.
Try answering before revealing!
Question 6
[Board Standard] Find pp, qq and rr if [pq+12r5]=[48105]\begin{bmatrix} p & q + 1 \\ 2r & 5 \end{bmatrix} = \begin{bmatrix} 4 & 8 \\ 10 & 5 \end{bmatrix}.
Try answering before revealing!
Question 7
[HOTS] Choose the correct answer. A matrix [aij]m×n[a_{ij}]_{m \times n} is a square matrix if (A) m<nm < n (B) m>nm > n (C) m=nm = n (D) none of these.
Try answering before revealing!
Question 8
[HOTS] How many different 2×22 \times 2 matrices can be made if every entry must be 0 or 1?
Try answering before revealing!

3.5 Operations on Matrices: Addition and Scalar Multiplication

1,944 words · 9 min read

Just as we add, subtract and multiply numbers, we can combine matrices. In this section we learn four operations:

  • Addition of matrices
  • Multiplication of a matrix by a scalar (a scalar is an ordinary number)
  • Subtraction of matrices
  • Multiplication of two matrices
Real-life view: adding matrices is like merging two sales reports. Multiplying by a number is like doubling a recipe. Subtracting is like comparing this week with last week. Multiplying two matrices is like turning a list of quantities and a list of prices into a bill.

A warehouse supplies laptops, tablets and phones to two shops, Shop 1 and Shop 2. The tables show the number of devices delivered in Week 1 and in Week 2 (rows: shops; columns: laptops, tablets, phones):

Week 1: W1=[12857149],Week 2: W2=[61039411]\text{Week 1: } W_1 = \begin{bmatrix} 12 & 8 & 5 \\ 7 & 14 & 9 \end{bmatrix}, \qquad \text{Week 2: } W_2 = \begin{bmatrix} 6 & 10 & 3 \\ 9 & 4 & 11 \end{bmatrix}

To find the total delivered over the two weeks, we add the numbers that are in the same position:

W1+W2=[12+68+105+37+914+49+11]=[18188161820]W_1 + W_2 = \begin{bmatrix} 12 + 6 & 8 + 10 & 5 + 3 \\ 7 + 9 & 14 + 4 & 9 + 11 \end{bmatrix} = \begin{bmatrix} 18 & 18 & 8 \\ 16 & 18 & 20 \end{bmatrix}

So Shop 1 received 18, 18, 8 laptops, tablets and phones in total, and Shop 2 received 16, 18, 20.

Rule: to add two matrices, add the entries in the same position. This is possible only when both matrices have the same order. If A=[aij]A = [a_{ij}] and B=[bij]B = [b_{ij}] both have order m×nm \times n, then A+B=[aij+bij]A + B = [a_{ij} + b_{ij}], which also has order m×nm \times n.

Matrices of different orders cannot be added. A 2×32 \times 3 table and a 3×23 \times 2 table do not line up cell by cell, so their sum is not defined.

Example 1. Find A+BA + B if A=[2−3504−1]A = \begin{bmatrix} 2 & -3 & 5 \\ 0 & 4 & -1 \end{bmatrix} and B=[71−2−638]B = \begin{bmatrix} 7 & 1 & -2 \\ -6 & 3 & 8 \end{bmatrix}.

Solution. Both matrices have order 2×32 \times 3, so A+BA + B is defined: A+B=[2+7−3+15+(−2)0+(−6)4+3−1+8]=[9−23−677]A + B = \begin{bmatrix} 2 + 7 & -3 + 1 & 5 + (-2) \\ 0 + (-6) & 4 + 3 & -1 + 8 \end{bmatrix} = \begin{bmatrix} 9 & -2 & 3 \\ -6 & 7 & 7 \end{bmatrix}

Example 2. Can [1234]\begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and [123456]\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix} be added?

Solution. No. The first has order 2×22 \times 2 and the second has order 2×32 \times 3. The orders are different, so the sum is not defined.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Find [40−27]+[152−3]\begin{bmatrix} 4 & 0 \\ -2 & 7 \end{bmatrix} + \begin{bmatrix} 1 & 5 \\ 2 & -3 \end{bmatrix}.
Try answering before revealing!
Question 2
[Board Standard] Find [1.520−1]+[0.5−241]\begin{bmatrix} 1.5 & 2 \\ 0 & -1 \end{bmatrix} + \begin{bmatrix} 0.5 & -2 \\ 4 & 1 \end{bmatrix}.
Try answering before revealing!
Question 3
[HOTS] A 3×43 \times 4 matrix is added to a 4×34 \times 3 matrix. Is the sum defined?
Try answering before revealing!

A scalar is an ordinary number. Suppose a recipe table RR lists the amount of each of three ingredients needed for two dishes when cooking for 2 people. To cook for 6 people we need 3 times as much of everything:

R=[214302],3R=[3⋅23⋅13⋅43⋅33⋅03⋅2]=[6312906]R = \begin{bmatrix} 2 & 1 & 4 \\ 3 & 0 & 2 \end{bmatrix}, \qquad 3R = \begin{bmatrix} 3 \cdot 2 & 3 \cdot 1 & 3 \cdot 4 \\ 3 \cdot 3 & 3 \cdot 0 & 3 \cdot 2 \end{bmatrix} = \begin{bmatrix} 6 & 3 & 12 \\ 9 & 0 & 6 \end{bmatrix}

Rule: to multiply a matrix by a scalar kk, multiply every entry by kk. If A=[aij]A = [a_{ij}], then kA=[k aij]kA = [k\,a_{ij}]. The order of the matrix does not change.

We define −A=(−1)A-A = (-1)A. It is AA with the sign of every entry changed.

A=[5−204−31],−A=[−520−43−1]A = \begin{bmatrix} 5 & -2 \\ 0 & 4 \\ -3 & 1 \end{bmatrix}, \qquad -A = \begin{bmatrix} -5 & 2 \\ 0 & -4 \\ 3 & -1 \end{bmatrix}

For two matrices of the same order, A−BA - B means subtract entry by entry. This is the same as A+(−B)A + (-B).

A−B=[5−1−2−30−(−4)4−2−3−61−(−5)]=[4−542−96]A - B = \begin{bmatrix} 5 - 1 & -2 - 3 \\ 0 - (-4) & 4 - 2 \\ -3 - 6 & 1 - (-5) \end{bmatrix} = \begin{bmatrix} 4 & -5 \\ 4 & 2 \\ -9 & 6 \end{bmatrix}

where B=[13−426−5]B = \begin{bmatrix} 1 & 3 \\ -4 & 2 \\ 6 & -5 \end{bmatrix}. Real-life use: this week's sales minus last week's sales shows how each number has changed.

Example. With AA and BB as above, find 2A−B2A - B.

Solution. First multiply, then subtract: 2A=[10−408−62],2A−B=[10−1−4−30−(−4)8−2−6−62−(−5)]=[9−746−127]2A = \begin{bmatrix} 10 & -4 \\ 0 & 8 \\ -6 & 2 \end{bmatrix}, \qquad 2A - B = \begin{bmatrix} 10 - 1 & -4 - 3 \\ 0 - (-4) & 8 - 2 \\ -6 - 6 & 2 - (-5) \end{bmatrix} = \begin{bmatrix} 9 & -7 \\ 4 & 6 \\ -12 & 7 \end{bmatrix}

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] Find 4[1−203]4\begin{bmatrix} 1 & -2 \\ 0 & 3 \end{bmatrix}.
Try answering before revealing!
Question 2
[Board Standard] If P=[2468]P = \begin{bmatrix} 2 & 4 \\ 6 & 8 \end{bmatrix}, find 12P\frac{1}{2}P.
Try answering before revealing!
Question 3
[HOTS] Find [9521]−[45−13]\begin{bmatrix} 9 & 5 \\ 2 & 1 \end{bmatrix} - \begin{bmatrix} 4 & 5 \\ -1 & 3 \end{bmatrix}.
Try answering before revealing!

Matrix addition obeys the same friendly rules as addition of numbers. Take AA, BB and CC of the same order.

  • [Concept] Commutative law: A+B=B+AA + B = B + A. The order does not matter.
  • [Board Standard] Associative law: (A+B)+C=A+(B+C)(A + B) + C = A + (B + C). The grouping does not matter.
  • [Board Standard] Additive identity: A+O=O+A=AA + O = O + A = A, where OO is the zero matrix of the same order.
  • [HOTS] Additive inverse: A+(−A)=(−A)+A=OA + (-A) = (-A) + A = O.

Let A=[2−130]A = \begin{bmatrix} 2 & -1 \\ 3 & 0 \end{bmatrix}, B=[45−21]B = \begin{bmatrix} 4 & 5 \\ -2 & 1 \end{bmatrix} and C=[067−3]C = \begin{bmatrix} 0 & 6 \\ 7 & -3 \end{bmatrix}.

A+B=[6411],B+A=[6411]A + B = \begin{bmatrix} 6 & 4 \\ 1 & 1 \end{bmatrix}, \qquad B + A = \begin{bmatrix} 6 & 4 \\ 1 & 1 \end{bmatrix}

They are equal, as the commutative law says. For the associative law: (A+B)+C=[6108−2],A+(B+C)=[6108−2](A + B) + C = \begin{bmatrix} 6 & 10 \\ 8 & -2 \end{bmatrix}, \qquad A + (B + C) = \begin{bmatrix} 6 & 10 \\ 8 & -2 \end{bmatrix}

Also A+O=[2−130]=AA + O = \begin{bmatrix} 2 & -1 \\ 3 & 0 \end{bmatrix} = A and A+(−A)=[0000]=OA + (-A) = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} = O.

Matrices are added entry by entry, so each rule for matrices comes from the same rule for the numbers inside them. For example, the entry in row ii, column jj of A+BA + B is aij+bija_{ij} + b_{ij}. For B+AB + A it is bij+aijb_{ij} + a_{ij}. These are equal because adding numbers can be done in either order. Since this is true for every position, A+B=B+AA + B = B + A.

Remember: a number check is an example, not a proof. The entry-by-entry argument above works for every matrix, which is why it proves the law.
Common mistake: applying a matrix sum law before checking that all matrices have the same order.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Does A+B=B+AA+B=B+A justify adding a 2×32 \times 3 matrix to a 3×23 \times 2 matrix?
Try answering before revealing!
Question 2
[HOTS] Which matrix must be added to AA to obtain the zero matrix?
Try answering before revealing!

Let AA and BB be matrices of the same order and let kk and ll be scalars. Then:

  • [Board Standard] k(A+B)=kA+kBk(A + B) = kA + kB
  • [HOTS] (k+l)A=kA+lA(k + l)A = kA + lA
In simple words: it does not matter whether you add two tables first and then multiply by a number, or multiply each table first and then add. Tripling the total of two shopping lists gives the same result as tripling each list and adding.

Check. Let A=[14−23]A = \begin{bmatrix} 1 & 4 \\ -2 & 3 \end{bmatrix}, B=[502−1]B = \begin{bmatrix} 5 & 0 \\ 2 & -1 \end{bmatrix}, k=3k = 3 and l=2l = 2. k(A+B)=[181206],kA+kB=[181206]k(A + B) = \begin{bmatrix} 18 & 12 \\ 0 & 6 \end{bmatrix}, \qquad kA + kB = \begin{bmatrix} 18 & 12 \\ 0 & 6 \end{bmatrix} (k+l)A=[520−1015],kA+lA=[520−1015](k + l)A = \begin{bmatrix} 5 & 20 \\ -10 & 15 \end{bmatrix}, \qquad kA + lA = \begin{bmatrix} 5 & 20 \\ -10 & 15 \end{bmatrix} Each pair matches.

For equations involving addition and scalar multiplication, we may add or subtract the same matrix on both sides and multiply both sides by the same number. Matrix products need more care: changing factor order or cancelling a non-invertible matrix can give a wrong result.

Example 1. Find the matrix XX if 2A+3X=B2A + 3X = B, where A=[2103]A = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} and B=[16−1621]B = \begin{bmatrix} 16 & -1 \\ 6 & 21 \end{bmatrix}.

Solution. Subtract 2A2A from both sides: 3X=B−2A3X = B - 2A. Then multiply both sides by 13\frac{1}{3}: X=13(B−2A)X = \frac{1}{3}(B - 2A). Now 2A=[4206]2A = \begin{bmatrix} 4 & 2 \\ 0 & 6 \end{bmatrix}, so B−2A=[12−3615]B - 2A = \begin{bmatrix} 12 & -3 \\ 6 & 15 \end{bmatrix} and X=13[12−3615]=[4−125]X = \frac{1}{3}\begin{bmatrix} 12 & -3 \\ 6 & 15 \end{bmatrix} = \begin{bmatrix} 4 & -1 \\ 2 & 5 \end{bmatrix}

Example 2. Find XX and YY if X+Y=[8644]X + Y = \begin{bmatrix} 8 & 6 \\ 4 & 4 \end{bmatrix} and X−Y=[4−2−62]X - Y = \begin{bmatrix} 4 & -2 \\ -6 & 2 \end{bmatrix}.

Solution. Adding the two equations cancels YY: 2X=[124−26]2X = \begin{bmatrix} 12 & 4 \\ -2 & 6 \end{bmatrix}, so X=[62−13]X = \begin{bmatrix} 6 & 2 \\ -1 & 3 \end{bmatrix}. Subtracting the second equation from the first cancels XX: 2Y=[48102]2Y = \begin{bmatrix} 4 & 8 \\ 10 & 2 \end{bmatrix}, so Y=[2451]Y = \begin{bmatrix} 2 & 4 \\ 5 & 1 \end{bmatrix}.

Example 3. Two stores sell three products. The numbers of units sold in two consecutive periods are MM and NN (rows: stores; columns: products): M=[12008005009001100700],N=[150060080010001300400]M = \begin{bmatrix} 1200 & 800 & 500 \\ 900 & 1100 & 700 \end{bmatrix}, \qquad N = \begin{bmatrix} 1500 & 600 & 800 \\ 1000 & 1300 & 400 \end{bmatrix} (a) Find the total quantities for the two periods. (b) Find the change from the first period to the second. (c) The stores plan to handle three times the first period's quantities. Find that matrix.

Solution. (a) M+N=[270014001300190024001100]M + N = \begin{bmatrix} 2700 & 1400 & 1300 \\ 1900 & 2400 & 1100 \end{bmatrix}. (b) N−M=[300−200300100200−300]N - M = \begin{bmatrix} 300 & -200 & 300 \\ 100 & 200 & -300 \end{bmatrix}; a negative entry means sales fell. (c) 3M=[360024001500270033002100]3M = \begin{bmatrix} 3600 & 2400 & 1500 \\ 2700 & 3300 & 2100 \end{bmatrix}.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, find 2A+3A2A + 3A and 5A5A. What do you notice?
Try answering before revealing!
Question 2
[HOTS] Find XX if X+[1122]=[5439]X + \begin{bmatrix} 1 & 1 \\ 2 & 2 \end{bmatrix} = \begin{bmatrix} 5 & 4 \\ 3 & 9 \end{bmatrix}.
Try answering before revealing!

3.6 Matrix Multiplication and Its Properties

2,011 words · 9 min read

Two production lines handle three kinds of batch. Each kind needs a different combination of materials. We want one table showing the total material requirement of each line. This requires combining information across two tables, rather than multiplying entries in matching positions.

LineBatch A countBatch B countBatch C count
Line 1423
Line 2152
Batch typeSheets per batchSleeves per batch
A21
B30
C14

Write the counts as Q=[423152]Q = \begin{bmatrix} 4 & 2 & 3 \\ 1 & 5 & 2 \end{bmatrix} and the material requirements as R=[213014]R = \begin{bmatrix} 2 & 1 \\ 3 & 0 \\ 1 & 4 \end{bmatrix}. The columns of QQ and the rows of RR use the same batch order. That shared meaning is what lets us combine the tables.

For Line 1 sheets, multiply each batch count by its sheets-per-batch requirement and add. The first row of QQ meets the first column of RR: 4(2)+2(3)+3(1)=174(2) + 2(3) + 3(1) = 17. The same row with the second column gives 4(1)+2(0)+3(4)=164(1) + 2(0) + 3(4) = 16 sleeves.

Repeat for Line 2. The complete result is QR=[4⋅2+2⋅3+3⋅14⋅1+2⋅0+3⋅41⋅2+5⋅3+2⋅11⋅1+5⋅0+2⋅4]=[1716199]QR = \begin{bmatrix} 4 \cdot 2 + 2 \cdot 3 + 3 \cdot 1 & 4 \cdot 1 + 2 \cdot 0 + 3 \cdot 4 \\ 1 \cdot 2 + 5 \cdot 3 + 2 \cdot 1 & 1 \cdot 1 + 5 \cdot 0 + 2 \cdot 4 \end{bmatrix} = \begin{bmatrix} 17 & 16 \\ 19 & 9 \end{bmatrix} Rows still identify the lines; columns now identify sheets and sleeves. Multiplying a count of batches by materials per batch gives a count of materials.

In simple words: choose one row from the first matrix and one column from the second. Multiply corresponding entries, then add. Put the result where that row and column meet in the answer.

If AA has order m×nm \times n and BB has order n×pn \times p, the product ABAB exists and has order m×pm \times p. The inner sizes must agree because each row–column calculation needs the same number of paired entries. The outer sizes give the order of the answer.

In the batch example, a 2×32 \times 3 matrix multiplies a 3×23 \times 2 matrix to produce a 2×22 \times 2 matrix. A 2×32 \times 3 matrix cannot multiply a 2×22 \times 2 matrix in that order: a row would have three entries but the chosen column only two.

For the general entry of C=ABC=AB, the rule is cij=ai1b1j+ai2b2j+⋯+ainbnj=∑k=1naikbkjc_{ij}=a_{i1}b_{1j}+a_{i2}b_{2j}+\cdots+a_{in}b_{nj}=\sum_{k=1}^{n}a_{ik}b_{kj}. The index kk moves across the shared dimension; ii and jj locate the result.

Let A=[1−230]A = \begin{bmatrix} 1 & -2 \\ 3 & 0 \end{bmatrix} and B=[41−12]B = \begin{bmatrix} 4 & 1 \\ -1 & 2 \end{bmatrix}. Both have order 2×22 \times 2, so AB=[1⋅4+(−2)⋅(−1)1⋅1+(−2)⋅23⋅4+0⋅(−1)3⋅1+0⋅2]=[6−3123]AB = \begin{bmatrix} 1 \cdot 4 + (-2) \cdot (-1) & 1 \cdot 1 + (-2) \cdot 2 \\ 3 \cdot 4 + 0 \cdot (-1) & 3 \cdot 1 + 0 \cdot 2 \end{bmatrix} = \begin{bmatrix} 6 & -3 \\ 12 & 3 \end{bmatrix} Work through all four row–column calculations. The top-right entry comes from the first row of AA and the second column of BB, not from the two top-right entries.

Common mistake: multiplying matching entries. That is a different operation. For ordinary matrix multiplication, use a whole row and a whole column. Also write the product order before starting: ABAB and BABA need separate checks.

The product [2−13][45−2]=[−3]\begin{bmatrix} 2 & -1 & 3 \end{bmatrix}\begin{bmatrix} 4 \\ 5 \\ -2 \end{bmatrix} = \begin{bmatrix} -3 \end{bmatrix} has order 1×11 \times 1: its single entry is a sum. Reversing the factors gives [45−2][2−13]=[8−41210−515−42−6]\begin{bmatrix} 4 \\ 5 \\ -2 \end{bmatrix}\begin{bmatrix} 2 & -1 & 3 \end{bmatrix} = \begin{bmatrix} 8 & -4 & 12 \\ 10 & -5 & 15 \\ -4 & 2 & -6 \end{bmatrix}, with order 3×33 \times 3. Neither multiplication is wrong; they answer different questions.

Store point coordinates as columns of V=[02000010]V = \begin{bmatrix} 0 & 2 & 0 & 0 \\ 0 & 0 & 1 & 0 \end{bmatrix}. The repeated last column closes the triangle. Multiplication by J=[0−110]J = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} sends each point (x,y)(x,y) to (−y,x)(-y,x): JV=[00−100200]JV = \begin{bmatrix} 0 & 0 & -1 & 0 \\ 0 & 2 & 0 & 0 \end{bmatrix} This is a quarter-turn anticlockwise about the origin. Each output column comes from applying the same rule to one input point.

Matrix multiplication applies one coordinate rule to all point columns. The origin stays fixed.

⚡ Quick Check Flashcards3 questions
Question 1
[Concept] If AA has order 2×32 \times 3 and BB has order 3×43 \times 4, give the order of ABAB and explain whether BABA exists.
Try answering before revealing!
Question 2
[Board Standard] Find [3102][2−4]\begin{bmatrix} 3 & 1 \\ 0 & 2 \end{bmatrix}\begin{bmatrix} 2 \\ -4 \end{bmatrix}.
Try answering before revealing!
Question 3
[HOTS] In the batch example, what does the lower-right entry count?
Try answering before revealing!

With numbers, 3×5=5×33 \times 5 = 5 \times 3. With matrices, ABAB and BABA are usually different, even when both can be calculated.

Think of it like this: putting on socks and then shoes is not the same as putting on shoes and then socks. Order matters. In matrix multiplication the order of the factors matters in the same way.

Example 1 (the orders differ). Let A=[20113−1]A = \begin{bmatrix} 2 & 0 & 1 \\ 1 & 3 & -1 \end{bmatrix} and B=[14025−3]B = \begin{bmatrix} 1 & 4 \\ 0 & 2 \\ 5 & -3 \end{bmatrix}. AA is 2×32 \times 3 and BB is 3×23 \times 2, so both ABAB and BABA are defined, but ABAB has order 2×22 \times 2 and BABA has order 3×33 \times 3.

AB=[75−413],BA=[612−326−27−98]AB = \begin{bmatrix} 7 & 5 \\ -4 & 13 \end{bmatrix}, \qquad BA = \begin{bmatrix} 6 & 12 & -3 \\ 2 & 6 & -2 \\ 7 & -9 & 8 \end{bmatrix}

They cannot be equal, because they are different sizes.

Example 2 (same order, still different). Let C=[2103]C = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} and D=[1042]D = \begin{bmatrix} 1 & 0 \\ 4 & 2 \end{bmatrix}. CD=[2⋅1+1⋅42⋅0+1⋅20⋅1+3⋅40⋅0+3⋅2]=[62126],DC=[1⋅2+0⋅01⋅1+0⋅34⋅2+2⋅04⋅1+2⋅3]=[21810]CD = \begin{bmatrix} 2 \cdot 1 + 1 \cdot 4 & 2 \cdot 0 + 1 \cdot 2 \\ 0 \cdot 1 + 3 \cdot 4 & 0 \cdot 0 + 3 \cdot 2 \end{bmatrix} = \begin{bmatrix} 6 & 2 \\ 12 & 6 \end{bmatrix}, \qquad DC = \begin{bmatrix} 1 \cdot 2 + 0 \cdot 0 & 1 \cdot 1 + 0 \cdot 3 \\ 4 \cdot 2 + 2 \cdot 0 & 4 \cdot 1 + 2 \cdot 3 \end{bmatrix} = \begin{bmatrix} 2 & 1 \\ 8 & 10 \end{bmatrix} Both are 2×22 \times 2, yet CD≠DCCD \neq DC.

Common mistake: assuming AB=BAAB = BA. Always keep the factors in the order given.

Sometimes AB=BAAB = BA. Two examples:

  • [Board Standard] Diagonal matrices of the same order: [2003][5004]=[100012]=[5004][2003]\begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix}\begin{bmatrix} 5 & 0 \\ 0 & 4 \end{bmatrix} = \begin{bmatrix} 10 & 0 \\ 0 & 12 \end{bmatrix} = \begin{bmatrix} 5 & 0 \\ 0 & 4 \end{bmatrix}\begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix}.
  • [HOTS] Any square matrix and the identity matrix of the same order: CI=IC=CC I = I C = C.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Find ABAB and BABA for A=[1201]A = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix} and B=[1031]B = \begin{bmatrix} 1 & 0 \\ 3 & 1 \end{bmatrix}.
Try answering before revealing!
Question 2
[HOTS] If AA is 2×32 \times 3 and BB is 3×23 \times 2, what are the orders of ABAB and BABA?
Try answering before revealing!

For numbers, if ab=0ab = 0 then a=0a = 0 or b=0b = 0. For matrices this is not true.

Example. Let A=[1224]A = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix} and B=[2−4−12]B = \begin{bmatrix} 2 & -4 \\ -1 & 2 \end{bmatrix}. Neither is the zero matrix, but AB=[1⋅2+2⋅(−1)1⋅(−4)+2⋅22⋅2+4⋅(−1)2⋅(−4)+4⋅2]=[0000]AB = \begin{bmatrix} 1 \cdot 2 + 2 \cdot (-1) & 1 \cdot (-4) + 2 \cdot 2 \\ 2 \cdot 2 + 4 \cdot (-1) & 2 \cdot (-4) + 4 \cdot 2 \end{bmatrix} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}

Interestingly, BA=[−6−1236]BA = \begin{bmatrix} -6 & -12 \\ 3 & 6 \end{bmatrix} is not the zero matrix, which is another example of AB≠BAAB \neq BA.

In simple words: a product of matrices can be the zero matrix even when neither factor is. So from AB=OAB = O we cannot conclude that A=OA = O or B=OB = O.

This also explains why ordinary cancellation can fail. In the example, AB=AOAB=AO, but BB is not OO. Knowing AA is non-zero is insufficient to cancel it. Cancellation becomes valid when an appropriate inverse exists.

Common mistake: dividing by a matrix without showing that it has an inverse. Matrix division is not an operation defined by the notation used here.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If AB=ACAB=AC and AA is non-zero, must B=CB=C?
Try answering before revealing!
Question 2
[HOTS] If AA is invertible, how can you justify cancellation from AB=ACAB=AC?
Try answering before revealing!

Matrix multiplication follows most of the rules we know, with one big exception: order matters. Whenever the products are defined:

  1. [Concept] Associative law: (AB)C=A(BC)(AB)C = A(BC). We may regroup, but we may not reorder.
  2. [Board Standard] Distributive laws: A(B+C)=AB+ACA(B + C) = AB + AC and (A+B)C=AC+BC(A + B)C = AC + BC.
  3. [HOTS] Multiplicative identity: IA=AI=AIA = AI = A for a square matrix AA and the identity matrix II of the same order.

Let A=[1201]A = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}, B=[2013]B = \begin{bmatrix} 2 & 0 \\ 1 & 3 \end{bmatrix} and C=[1120]C = \begin{bmatrix} 1 & 1 \\ 2 & 0 \end{bmatrix}. (AB)C=[16471],A(BC)=[16471](AB)C = \begin{bmatrix} 16 & 4 \\ 7 & 1 \end{bmatrix}, \qquad A(BC) = \begin{bmatrix} 16 & 4 \\ 7 & 1 \end{bmatrix} A(B+C)=[9733],AB+AC=[9733]A(B + C) = \begin{bmatrix} 9 & 7 \\ 3 & 3 \end{bmatrix}, \qquad AB + AC = \begin{bmatrix} 9 & 7 \\ 3 & 3 \end{bmatrix} In each case the two sides agree.

For a square matrix MM, we write M2=MMM^2 = MM and M3=MMMM^3 = MMM. For M=[1101]M = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}: M2=[1201],M3=[1301]M^2 = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}, \qquad M^3 = \begin{bmatrix} 1 & 3 \\ 0 & 1 \end{bmatrix} Do you see the pattern? The top-right entry equals the power.

Example. For N=[2101]N = \begin{bmatrix} 2 & 1 \\ 0 & 1 \end{bmatrix}, show that N2−3N+2I=ON^2 - 3N + 2I = O.

Solution. N2=[4301]N^2 = \begin{bmatrix} 4 & 3 \\ 0 & 1 \end{bmatrix}, 3N=[6303]3N = \begin{bmatrix} 6 & 3 \\ 0 & 3 \end{bmatrix} and 2I=[2002]2I = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}. So N2−3N+2I=[−200−2]+[2002]=[0000]N^2 - 3N + 2I = \begin{bmatrix} -2 & 0 \\ 0 & -2 \end{bmatrix} + \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}.

Example. A course has three tests worth 1, 2 and 3 points per mark. Two students scored S=[706080559065]S = \begin{bmatrix} 70 & 60 & 80 \\ 55 & 90 & 65 \end{bmatrix} (rows: students; columns: tests). Find each student's weighted total.

Solution. Put the weights in a column w=[123]w = \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}. Then SwSw is 2×12 \times 1: Sw=[70⋅1+60⋅2+80⋅355⋅1+90⋅2+65⋅3]=[430430]Sw = \begin{bmatrix} 70 \cdot 1 + 60 \cdot 2 + 80 \cdot 3 \\ 55 \cdot 1 + 90 \cdot 2 + 65 \cdot 3 \end{bmatrix} = \begin{bmatrix} 430 \\ 430 \end{bmatrix} The weighted totals are 430 and 430.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If A=[2103]A = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix}, find A2A^2.
Try answering before revealing!
Question 2
[HOTS] Is (A+B)2=A2+2AB+B2(A + B)^2 = A^2 + 2AB + B^2 always true for matrices? (Hint: expand (A+B)(A+B)(A+B)(A+B) and remember that AB≠BAAB \neq BA in general.)
Try answering before revealing!

3.7 Exercise 3.2: Multiplication and Matrix Polynomials

471 words · 2 min read

⚡ Quick Check Flashcards9 questions
Question 1
[Concept] Let A=[3124]A = \begin{bmatrix} 3 & 1 \\ 2 & 4 \end{bmatrix} and B=[051−2]B = \begin{bmatrix} 0 & 5 \\ 1 & -2 \end{bmatrix}. Find (i) A+BA + B (ii) A−BA - B (iii) 2A+B2A + B (iv) ABAB (v) BABA.
Try answering before revealing!
Question 2
[Concept] Let x=2x = 2 and y=3y = 3. Find [xy−yx][x−yyx]\begin{bmatrix} x & y \\ -y & x \end{bmatrix}\begin{bmatrix} x & -y \\ y & x \end{bmatrix} and describe the answer.
Try answering before revealing!
Question 3
[Concept] Find the products (i) [123][456]\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}\begin{bmatrix} 4 & 5 & 6 \end{bmatrix} (ii) [456][123]\begin{bmatrix} 4 & 5 & 6 \end{bmatrix}\begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}.
Try answering before revealing!
Question 4
[Board Standard] Find XX if 3X+A=B3X + A = B, where A=[1102]A = \begin{bmatrix} 1 & 1 \\ 0 & 2 \end{bmatrix} and B=[107314]B = \begin{bmatrix} 10 & 7 \\ 3 & 14 \end{bmatrix}.
Try answering before revealing!
Question 5
[Board Standard] For A=[1234]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} and B=[2015]B = \begin{bmatrix} 2 & 0 \\ 1 & 5 \end{bmatrix}, find (A+B)2(A + B)^2 and A2+2AB+B2A^2 + 2AB + B^2. Are they equal? Why not?
Try answering before revealing!
Question 6
[Board Standard] Find xx and yy if x[12]+y[3−1]=[111]x\begin{bmatrix} 1 \\ 2 \end{bmatrix} + y\begin{bmatrix} 3 \\ -1 \end{bmatrix} = \begin{bmatrix} 11 \\ 1 \end{bmatrix}.
Try answering before revealing!
Question 7
[HOTS] A print room completed three job types on two days: Q=[1510612149]Q = \begin{bmatrix} 15 & 10 & 6 \\ 12 & 14 & 9 \end{bmatrix} (rows: days). Each job takes 2, 3 or 1 machine-minutes respectively. Use matrix multiplication to find the total machine-time on each day. Which day used more?
Try answering before revealing!
Question 8
[HOTS] Let J=[01−10]J = \begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}. Find J2J^2 and J4J^4.
Try answering before revealing!
Question 9
[HOTS] Choose the correct answer. If XX has order 2×32 \times 3 and YY has order 3×43 \times 4, then (A) only XYXY is defined (B) only YXYX is defined (C) both are defined (D) neither is defined.
Try answering before revealing!

3.8 Transpose of a Matrix, Symmetric and Skew-Symmetric Matrices

1,492 words · 7 min read

The transpose of a matrix is the matrix you get by turning its rows into columns. We write the transpose of AA as A′A' or ATA^T.

If A=[314270]A = \begin{bmatrix} 3 & 1 & 4 \\ 2 & 7 & 0 \end{bmatrix} (order 2×32 \times 3), then the first row of AA becomes the first column of A′A', and the second row becomes the second column: A′=[321740]A' = \begin{bmatrix} 3 & 2 \\ 1 & 7 \\ 4 & 0 \end{bmatrix} which has order 3×23 \times 2.

In simple words: if AA has order m×nm \times n, then A′A' has order n×mn \times m, and the entry in row ii, column jj of AA moves to row jj, column ii of A′A'. Picture a spreadsheet with students down the side and subjects across the top. Its transpose has subjects down the side and students across the top. The data is the same; only the layout is turned.

The transpose of a row matrix is a column matrix, and vice versa: [4    9    1]′=[491][4 \;\; 9 \;\; 1]' = \begin{bmatrix} 4 \\ 9 \\ 1 \end{bmatrix}.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Find the transpose of [50−1238]\begin{bmatrix} 5 & 0 \\ -1 & 2 \\ 3 & 8 \end{bmatrix}.
Try answering before revealing!
Question 2
[HOTS] What is the order of the transpose of a 4×74 \times 7 matrix?
Try answering before revealing!

For matrices AA and BB of suitable orders and a scalar kk:

  1. [Concept] (A′)′=A(A')' = A: flipping a table twice brings you back.
  2. [Board Standard] (kA)′=kA′(kA)' = kA': multiplying by a number before or after flipping gives the same matrix.
  3. [Board Standard] (A+B)′=A′+B′(A + B)' = A' + B': the flip of a sum is the sum of the flips.
  4. [HOTS] (AB)′=B′A′(AB)' = B'A': the flip of a product is the product of the flips in reverse order.

Let A=[123456]A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix} and B=[20113−1]B = \begin{bmatrix} 2 & 0 & 1 \\ 1 & 3 & -1 \end{bmatrix}. Then (A+B)′=[352845]=A′+B′(A + B)' = \begin{bmatrix} 3 & 5 \\ 2 & 8 \\ 4 & 5 \end{bmatrix} = A' + B'.

For the product rule, let C=[102103]C = \begin{bmatrix} 1 & 0 \\ 2 & 1 \\ 0 & 3 \end{bmatrix}. Then AC=[5111423]AC = \begin{bmatrix} 5 & 11 \\ 14 & 23 \end{bmatrix}, so (AC)′=[5141123](AC)' = \begin{bmatrix} 5 & 14 \\ 11 & 23 \end{bmatrix}. Also C′A′=[5141123]C'A' = \begin{bmatrix} 5 & 14 \\ 11 & 23 \end{bmatrix}. They match.

Why the order must reverse: A′C′A'C' would be a product of a 3×23 \times 2 and a 2×32 \times 3 matrix, which has order 3×33 \times 3. But (AC)′(AC)' has order 2×22 \times 2. The orders differ, so A′C′A'C' cannot be the answer. Only C′A′C'A' fits.
Common mistake: writing (AB)′=A′B′(AB)' = A'B'. The order of the factors must be reversed.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If AA has order 2×32 \times 3 and BB has order 3×43 \times 4, what is the order of (AB)T(AB)^T?
Try answering before revealing!
Question 2
[HOTS] In which order must their transposes be multiplied to obtain that result?
Try answering before revealing!

A square matrix AA is symmetric if A′=AA' = A, that is, aji=aija_{ji} = a_{ij} for all ii and jj.

Real-life picture. A table of distances between three towns is symmetric, because the distance from town 1 to town 2 equals the distance from town 2 to town 1. D=[01271209790]=D′D = \begin{bmatrix} 0 & 12 & 7 \\ 12 & 0 & 9 \\ 7 & 9 & 0 \end{bmatrix} = D'

A square matrix AA is skew symmetric if A′=−AA' = -A, that is, aji=−aija_{ji} = -a_{ij} for all ii and jj. Putting i=ji = j gives aii=−aiia_{ii} = -a_{ii}, so aii=0a_{ii} = 0: all diagonal entries of a skew symmetric matrix are 0.

Real-life picture. A table of points differences between three teams is skew symmetric: if team 1 is 3 points ahead of team 2, then team 2 is −3-3 ahead of team 1, and each team is 0 ahead of itself. K=[03−2−3052−50],K′=[0−3230−5−250]=−KK = \begin{bmatrix} 0 & 3 & -2 \\ -3 & 0 & 5 \\ 2 & -5 & 0 \end{bmatrix}, \qquad K' = \begin{bmatrix} 0 & -3 & 2 \\ 3 & 0 & -5 \\ -2 & 5 & 0 \end{bmatrix} = -K

Theorem 1. For any square matrix AA, the matrix A+A′A + A' is symmetric and A−A′A - A' is skew symmetric.

Proof. (A+A′)′=A′+(A′)′=A′+A=A+A′(A + A')' = A' + (A')' = A' + A = A + A', so A+A′A + A' is symmetric. Also (A−A′)′=A′−A=−(A−A′)(A - A')' = A' - A = -(A - A'), so A−A′A - A' is skew symmetric. ■\blacksquare

Theorem 2. Every square matrix is the sum of a symmetric matrix and a skew symmetric matrix.

Proof. Write A=12(A+A′)+12(A−A′)A = \frac{1}{2}(A + A') + \frac{1}{2}(A - A'). By Theorem 1 and the rule (kA)′=kA′(kA)' = kA', the first part is symmetric and the second part is skew symmetric. ■\blacksquare

Example. Express B=[152346027]B = \begin{bmatrix} 1 & 5 & 2 \\ 3 & 4 & 6 \\ 0 & 2 & 7 \end{bmatrix} as the sum of a symmetric and a skew symmetric matrix.

Solution. B′=[130542267]B' = \begin{bmatrix} 1 & 3 & 0 \\ 5 & 4 & 2 \\ 2 & 6 & 7 \end{bmatrix}. Then B+B′=[2828882814]B + B' = \begin{bmatrix} 2 & 8 & 2 \\ 8 & 8 & 8 \\ 2 & 8 & 14 \end{bmatrix} and B−B′=[022−204−2−40]B - B' = \begin{bmatrix} 0 & 2 & 2 \\ -2 & 0 & 4 \\ -2 & -4 & 0 \end{bmatrix}. So P=12(B+B′)=[141444147],Q=12(B−B′)=[011−102−1−20]P = \tfrac{1}{2}(B + B') = \begin{bmatrix} 1 & 4 & 1 \\ 4 & 4 & 4 \\ 1 & 4 & 7 \end{bmatrix}, \qquad Q = \tfrac{1}{2}(B - B') = \begin{bmatrix} 0 & 1 & 1 \\ -1 & 0 & 2 \\ -1 & -2 & 0 \end{bmatrix} PP is symmetric, QQ is skew symmetric, and P+Q=[152346027]=BP + Q = \begin{bmatrix} 1 & 5 & 2 \\ 3 & 4 & 6 \\ 0 & 2 & 7 \end{bmatrix} = B.

Common mistake: calling every square matrix symmetric. Matching entries across the diagonal are required, not just matching dimensions.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Can a skew symmetric matrix over the real numbers have a non-zero diagonal entry?
Try answering before revealing!
Question 2
[HOTS] Why is a symmetric decomposition written with halves rather than simply B+BTB+B^T and B−BTB-B^T?
Try answering before revealing!

⚡ Quick Check Flashcards8 questions
Question 1
[Concept] Find the transpose of (i) [72−5]\begin{bmatrix} 7 \\ 2 \\ -5 \end{bmatrix} (ii) [1−234]\begin{bmatrix} 1 & -2 \\ 3 & 4 \end{bmatrix} (iii) [4−12703]\begin{bmatrix} 4 & -1 \\ 2 & 7 \\ 0 & 3 \end{bmatrix}.
Try answering before revealing!
Question 2
[Concept] Let A=[4−12703]A = \begin{bmatrix} 4 & -1 \\ 2 & 7 \\ 0 & 3 \end{bmatrix} and B=[125−430]B = \begin{bmatrix} 1 & 2 \\ 5 & -4 \\ 3 & 0 \end{bmatrix}. Verify that (A+B)′=A′+B′(A + B)' = A' + B'.
Try answering before revealing!
Question 3
[Board Standard] Let A=[2135]A = \begin{bmatrix} 2 & 1 \\ 3 & 5 \end{bmatrix} and B=[0412]B = \begin{bmatrix} 0 & 4 \\ 1 & 2 \end{bmatrix}. Verify that (AB)′=B′A′(AB)' = B'A'.
Try answering before revealing!
Question 4
[Board Standard] Show that [147425753]\begin{bmatrix} 1 & 4 & 7 \\ 4 & 2 & 5 \\ 7 & 5 & 3 \end{bmatrix} is symmetric and [03−2−3052−50]\begin{bmatrix} 0 & 3 & -2 \\ -3 & 0 & 5 \\ 2 & -5 & 0 \end{bmatrix} is skew symmetric.
Try answering before revealing!
Question 5
[Board Standard] For E=[2468]E = \begin{bmatrix} 2 & 4 \\ 6 & 8 \end{bmatrix}, verify that E+E′E + E' is symmetric and E−E′E - E' is skew symmetric.
Try answering before revealing!
Question 6
[Board Standard] Express [312054769]\begin{bmatrix} 3 & 1 & 2 \\ 0 & 5 & 4 \\ 7 & 6 & 9 \end{bmatrix} as the sum of a symmetric and a skew symmetric matrix.
Try answering before revealing!
Question 7
[HOTS] Choose the correct answer. If AA and BB are symmetric matrices of the same order, then AB−BAAB - BA is (A) symmetric (B) skew symmetric (C) the zero matrix (D) the identity matrix.
Try answering before revealing!
Question 8
[HOTS] Prove that the diagonal entries of a skew symmetric matrix are all 0.
Try answering before revealing!

3.9 Invertible Matrices, Miscellaneous Review and Chapter Summary

1,919 words · 9 min read

With numbers, the reciprocal of 5 is 15\frac{1}{5}, because 5×15=15 \times \frac{1}{5} = 1. The matrix version of "1" is the identity matrix, so we define:

A square matrix AA of order nn is invertible if there is a square matrix BB of the same order with AB=BA=IAB = BA = I. Then BB is called the inverse of AA and is written A−1A^{-1}.

In simple words: the inverse undoes the action of AA on compatible vectors or matrices. If vv is a column vector of the right size, A−1(Av)=vA^{-1}(Av)=v. The order and dimensions still matter.

Example 1. Show that B=[3−1−52]B = \begin{bmatrix} 3 & -1 \\ -5 & 2 \end{bmatrix} is the inverse of A=[2153]A = \begin{bmatrix} 2 & 1 \\ 5 & 3 \end{bmatrix}.

Solution. AB=[2⋅3+1⋅(−5)2⋅(−1)+1⋅25⋅3+3⋅(−5)5⋅(−1)+3⋅2]=[1001]=IAB = \begin{bmatrix} 2 \cdot 3 + 1 \cdot (-5) & 2 \cdot (-1) + 1 \cdot 2 \\ 5 \cdot 3 + 3 \cdot (-5) & 5 \cdot (-1) + 3 \cdot 2 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I and BA=[1001]=IBA = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I. Since AB=BA=IAB = BA = I, B=A−1B = A^{-1}.

Example 2. Is [31−52]\begin{bmatrix} 3 & 1 \\ -5 & 2 \end{bmatrix} the inverse of AA above? Solution. A[31−52]=[14011]≠IA\begin{bmatrix} 3 & 1 \\ -5 & 2 \end{bmatrix} = \begin{bmatrix} 1 & 4 \\ 0 & 11 \end{bmatrix} \neq I, so no.

  • [Concept] Only square matrices can have inverses. A rectangular matrix has none, because ABAB and BABA would have different orders.
  • [Board Standard] If BB is the inverse of AA, then AA is the inverse of BB.
  • [HOTS] Not every square matrix has an inverse, just as the number 0 has no reciprocal. For example, the zero matrix has none.

Theorem 3 (the inverse is unique). A square matrix has at most one inverse.

Proof. Suppose BB and CC are both inverses of AA. Then B=BI=B(AC)=(BA)C=IC=CB = BI = B(AC) = (BA)C = IC = C. ■\blacksquare

Theorem 4. If AA and BB are invertible matrices of the same order, then ABAB is invertible and (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1}.

Proof. (AB)(B−1A−1)=A(BB−1)A−1=AIA−1=AA−1=I(AB)(B^{-1}A^{-1}) = A(BB^{-1})A^{-1} = AIA^{-1} = AA^{-1} = I, and similarly (B−1A−1)(AB)=I(B^{-1}A^{-1})(AB) = I. ■\blacksquare

Memory aid: to undo "put on socks, then put on shoes", you must first take off the shoes and then the socks. The order reverses.

Check. Let AA be as above and B=[1201]B = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix} with B−1=[1−201]B^{-1} = \begin{bmatrix} 1 & -2 \\ 0 & 1 \end{bmatrix}. Then AB=[25513]AB = \begin{bmatrix} 2 & 5 \\ 5 & 13 \end{bmatrix} and B−1A−1=[13−5−52]B^{-1}A^{-1} = \begin{bmatrix} 13 & -5 \\ -5 & 2 \end{bmatrix}. Multiplying gives (AB)[13−5−52]=[1001]=I(AB)\begin{bmatrix} 13 & -5 \\ -5 & 2 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I, so (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1}.

Represent a message by numbers, m=[74]m = \begin{bmatrix} 7 \\ 4 \end{bmatrix}, and apply a coding matrix AA: Am=[1847]Am = \begin{bmatrix} 18 \\ 47 \end{bmatrix}. Its inverse recovers the input: A−1(Am)=[74]A^{-1}(Am) = \begin{bmatrix} 7 \\ 4 \end{bmatrix}. This is a learning model for reversible encoding. A simple linear transformation does not provide modern cryptographic security; known input–output pairs can reveal the transformation.

Common mistake: trying to divide individual entries to find a matrix inverse. Verify both ordered products against the identity of the correct size.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] If AB=BA=IAB=BA=I, what is the inverse of BB?
Try answering before revealing!
Question 2
[HOTS] Why does a square zero matrix have no inverse?
Try answering before revealing!

⚡ Quick Check Flashcards5 questions
Question 1
[Concept] Show that [1−2−13]\begin{bmatrix} 1 & -2 \\ -1 & 3 \end{bmatrix} is the inverse of [3211]\begin{bmatrix} 3 & 2 \\ 1 & 1 \end{bmatrix}.
Try answering before revealing!
Question 2
[Board Standard] Show that [2412]\begin{bmatrix} 2 & 4 \\ 1 & 2 \end{bmatrix} and [1001]\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} are not inverses of each other.
Try answering before revealing!
Question 3
[Board Standard] The coding matrix is E=[1213]E = \begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix} and its inverse is E−1=[3−2−11]E^{-1} = \begin{bmatrix} 3 & -2 \\ -1 & 1 \end{bmatrix}. Code the message m=[52]m = \begin{bmatrix} 5 \\ 2 \end{bmatrix}, then decode it again.
Try answering before revealing!
Question 4
[HOTS] If AA and BB are invertible matrices of the same order, simplify (AB)−1A(AB)^{-1}A.
Try answering before revealing!
Question 5
[HOTS] Choose the correct answer. Matrices AA and BB are inverses of each other only if (A) AB=BAAB = BA (B) AB=BA=OAB = BA = O (C) AB=OAB = O, BA=IBA = I (D) AB=BA=IAB = BA = I.
Try answering before revealing!

Example 1. Let T=[1201]T = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}. Show that Tn=[12n01]T^n = \begin{bmatrix} 1 & 2n \\ 0 & 1 \end{bmatrix} for every natural number nn.

Solution. First look at small cases: T2=[1401]T^2 = \begin{bmatrix} 1 & 4 \\ 0 & 1 \end{bmatrix}, T3=[1601]T^3 = \begin{bmatrix} 1 & 6 \\ 0 & 1 \end{bmatrix}, T4=[1801]T^4 = \begin{bmatrix} 1 & 8 \\ 0 & 1 \end{bmatrix}. The pattern suggests the formula, so we prove it by induction.

  • [Board Standard] Start: for n=1n = 1, T1=[1201]T^1 = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix} matches the formula.
  • [HOTS] Step: assume Tk=[12k01]T^k = \begin{bmatrix} 1 & 2k \\ 0 & 1 \end{bmatrix} for some kk. Then Tk+1=TkT=[12k01][1201]=[12k+201]=[12(k+1)01]T^{k+1} = T^kT = \begin{bmatrix} 1 & 2k \\ 0 & 1 \end{bmatrix}\begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 2k + 2 \\ 0 & 1 \end{bmatrix} = \begin{bmatrix} 1 & 2(k+1) \\ 0 & 1 \end{bmatrix}, which is the formula for n=k+1n = k + 1.
Idea of induction: think of a line of dominoes. If the first domino falls, and every falling domino knocks over the next, then they all fall. Here "falls" means "the formula is true".

Example 2. If AA and BB are symmetric matrices of the same order, show that ABAB is symmetric if and only if AB=BAAB = BA.

Solution. Since A′=AA' = A and B′=BB' = B, we have (AB)′=B′A′=BA(AB)' = B'A' = BA. Now ABAB is symmetric exactly when (AB)′=AB(AB)' = AB, that is, exactly when BA=ABBA = AB. ■\blacksquare

For instance, A=[1223]A = \begin{bmatrix} 1 & 2 \\ 2 & 3 \end{bmatrix} and B=[0112]B = \begin{bmatrix} 0 & 1 \\ 1 & 2 \end{bmatrix} are symmetric, but AB=[2538]AB = \begin{bmatrix} 2 & 5 \\ 3 & 8 \end{bmatrix} is not symmetric, and indeed BA=[2358]≠ABBA = \begin{bmatrix} 2 & 3 \\ 5 & 8 \end{bmatrix} \neq AB.

Example 3. Find the matrix DD such that CD=ECD = E, where C=[1235]C = \begin{bmatrix} 1 & 2 \\ 3 & 5 \end{bmatrix} and E=[27617]E = \begin{bmatrix} 2 & 7 \\ 6 & 17 \end{bmatrix}.

Solution. DD must be 2×22 \times 2. Let D=[abcd]D = \begin{bmatrix} a & b \\ c & d \end{bmatrix}. Then CD=[a+2cb+2d3a+5c3b+5d]CD = \begin{bmatrix} a + 2c & b + 2d \\ 3a + 5c & 3b + 5d \end{bmatrix}. Equating entries with EE gives a+2c=2a + 2c = 2, 3a+5c=63a + 5c = 6, b+2d=7b + 2d = 7, 3b+5d=173b + 5d = 17. From the first pair, a=2−2ca = 2 - 2c, so 3(2−2c)+5c=63(2 - 2c) + 5c = 6 gives c=0c = 0 and a=2a = 2. From the second pair, b=7−2db = 7 - 2d, so 3(7−2d)+5d=173(7 - 2d) + 5d = 17 gives d=4d = 4 and b=−1b = -1. Hence D=[2−104]D = \begin{bmatrix} 2 & -1 \\ 0 & 4 \end{bmatrix}.

Common mistake: treating a pattern seen in a few powers as a proof for every power. The induction step is what connects all natural numbers.

⚡ Quick Check Flashcards2 questions
Question 1
[Board Standard] Use the proved formula to write the fifth power of TT without expanding five factors.
Try answering before revealing!
Question 2
[HOTS] If AA and BB are symmetric, what extra condition makes ABAB symmetric?
Try answering before revealing!

⚡ Quick Check Flashcards7 questions
Question 1
[Concept] If AA and BB are symmetric matrices of the same order, prove that AB−BAAB - BA is skew symmetric.
Try answering before revealing!
Question 2
[Concept] If N=[2−112]N = \begin{bmatrix} 2 & -1 \\ 1 & 2 \end{bmatrix}, show that N2−4N+5I=ON^2 - 4N + 5I = O.
Try answering before revealing!
Question 3
[Board Standard] Find xx if [ x    1 ][1223][x1]=[0][\,x \;\; 1\,]\begin{bmatrix} 1 & 2 \\ 2 & 3 \end{bmatrix}\begin{bmatrix} x \\ 1 \end{bmatrix} = [0].
Try answering before revealing!
Question 4
[Board Standard] Two production lines complete three job types. Their job counts are [400300200250500350]\begin{bmatrix} 400 & 300 & 200 \\ 250 & 500 & 350 \end{bmatrix} (rows: lines). Planned times are 5, 4 and 3 minutes per job; improved times are 3, 3 and 2 minutes. Use matrix multiplication to find the planned time, improved time and minutes saved for each line.
Try answering before revealing!
Question 5
[Board Standard] Find the matrix XX such that XA=BXA = B, where A=[1201]A = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}, B=[3456]B = \begin{bmatrix} 3 & 4 \\ 5 & 6 \end{bmatrix} and A−1=[1−201]A^{-1} = \begin{bmatrix} 1 & -2 \\ 0 & 1 \end{bmatrix}.
Try answering before revealing!
Question 6
[HOTS] Choose the correct answer. If AA is a square matrix with A2=AA^2 = A, then A3A^3 equals (A) AA (B) II (C) OO (D) 2A2A.
Try answering before revealing!
Question 7
[HOTS] Choose the correct answer. If AA is a 2×22 \times 2 skew symmetric matrix with a12=5a_{12} = 5, then AA is (A) [0550]\begin{bmatrix} 0 & 5 \\ 5 & 0 \end{bmatrix} (B) [05−50]\begin{bmatrix} 0 & 5 \\ -5 & 0 \end{bmatrix} (C) [5005]\begin{bmatrix} 5 & 0 \\ 0 & 5 \end{bmatrix} (D) [0−550]\begin{bmatrix} 0 & -5 \\ 5 & 0 \end{bmatrix}.
Try answering before revealing!

The chapter in plain words

  • A matrix is a rectangular table of numbers. Its order is "rows × columns", and aija_{ij} is the entry in row ii, column jj.
  • Special matrices: column, row, square, diagonal, scalar, identity (II) and zero (OO).
  • Two matrices are equal if they have the same order and equal entries in every position.
  • Addition and subtraction work entry by entry and need the same order. Scalar multiplication multiplies every entry.
  • Addition is commutative and associative; OO is the additive identity and −A-A is the additive inverse. Also k(A+B)=kA+kBk(A + B) = kA + kB and (k+l)A=kA+lA(k + l)A = kA + lA.
  • Multiplication ABAB needs (columns of AA) = (rows of BB). Each entry is a row of AA times a column of BB. In general AB≠BAAB \neq BA, and AB=OAB = O does not force A=OA = O or B=OB = O. It is associative and distributive, and IA=AI=AIA = AI = A.
  • The transpose A′A' swaps rows and columns. (A′)′=A(A')' = A, (kA)′=kA′(kA)' = kA', (A+B)′=A′+B′(A + B)' = A' + B' and (AB)′=B′A′(AB)' = B'A'.
  • AA is symmetric if A′=AA' = A and skew symmetric if A′=−AA' = -A (diagonal all 0). Every square matrix is the sum of a symmetric and a skew symmetric matrix: A=12(A+A′)+12(A−A′)A = \frac{1}{2}(A + A') + \frac{1}{2}(A - A').
  • The inverse A−1A^{-1} satisfies AA−1=A−1A=IAA^{-1} = A^{-1}A = I. It exists only for some square matrices, it is unique, and (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1}.
Up next
Continue to the next chapter