BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Problem Set 1: linear equations, elimination and matrix multiplication

Six problems of our own on Lectures 1 to 3: the row and column pictures of a system, singular and invertible matrices, elimination with multipliers and pivots, back substitution, elimination and permutation matrices, the four ways to multiply matrices, block multiplication, and the idea of the inverse.

You need this first

Full reading path (8 pages)
  1. Vectors (8.01)
  2. Vectors and the dot product (18.02)
  3. Determinants and the cross product (18.02)
  4. Planes through three points, and matrices (18.02)
  5. Equations of planes and square systems (18.02)
  6. The geometry of linear equations (18.06)
  7. Elimination with matrices (18.06)
  8. Matrix multiplication and inverse matrices (18.06)
On this page · 8 sections
  1. How to answer
  2. What you need from the lessons
  3. Problem 1
  4. Problem 2
  5. Problem 3
  6. Problem 4
  7. Problem 5
  8. Problem 6

This set practises three lessons: the geometry of linear equations (Lecture 1), elimination with matrices (Lecture 2) and the first half of matrix multiplication and inverse matrices (Lecture 3): the ways to multiply, and what an inverse is. Computing inverses by Gauss–Jordan elimination belongs to Problem Set 2.

MIT's 18.06 problem sets assign exercises from a textbook that is not openly licensed, so this set is made of our own problems on the same lectures, in MIT's lecture order. No MIT or textbook problem is used: every matrix and every number below is ours, and so are the hints and the solutions. The formulas come from the lessons and from the lecture transcripts they cite.

How to answer#

Work each problem on paper first. Then type or choose your result in the answer box and press Check.

A number box wants a decimal number, not a fraction: write 0.250.25, not 1/41/4. Every number box accepts any value within 0.010.01 of the exact one. A matrix cannot be typed: a box asks for one of its entries, or you choose the matrix from a list. Entries are numbered by row, then column, starting from 1: "the entry in row 2, column 3" is the third number of the second row.

A formula box takes plain typing, for example (2*s - 1)/(s + 4), and accepts every correct way of writing the answer.

Some parts ask you to show something. They have no answer box: write your argument, then open the solution and mark yourself. The points here (100 in all) and their split between the parts are ours. If you are stuck, open the hints one at a time. Each part ends with its full solution. Try before you open it: an answer given after its solution was opened earns no points. Your score is kept in this browser only.

What you need from the lessons#

The two pictures (Lecture 1). A system of linear equations is Ax=bAx = b. In the row picture each equation is a line (in two dimensions) or a plane (in three), and the solution is where they meet. In the column picture, AxAx is a combination of the columns of AA, with the entries of xx as the amounts:

Matrix times vector, by columns
(2513)(12)=1(21)+2(53)=(127)\begin{pmatrix} 2 & 5 \\ 1 & 3 \end{pmatrix}\begin{pmatrix} 1 \\ 2 \end{pmatrix} = 1\begin{pmatrix} 2 \\ 1 \end{pmatrix} + 2\begin{pmatrix} 5 \\ 3 \end{pmatrix} = \begin{pmatrix} 12 \\ 7 \end{pmatrix}
In words

2 5; 1 3 1; 2 equals 1 2; 1 plus 2 5; 3 equals 12; 7

If the combinations of the columns fill the whole space, Ax=bAx = b can be solved for every bb and AA is invertible. If the columns lie in one plane (for a 3×33 \times 3 matrix), only the right-hand sides in that plane can be reached, and AA is singular (pp. 15–16).

Elimination (Lecture 2). Subtract a multiple ℓ\ell of a pivot row from each row below it, to get zeros under the pivot; the result is an upper triangular UU, and the same steps turn bb into cc. Then Ux=cUx = c is solved by back substitution, from the bottom up (pp. 2–9). A zero in a pivot position is cured by a row exchange with a lower row that has a nonzero entry there; when no row below can help, the matrix is not invertible (pp. 5–7). The step "subtract ℓ\ell times row 1 from row 2" is a multiplication by the elimination matrix E21E_{21}, the identity with −ℓ-\ell in row 2, column 1, and all steps together are (pp. 13–16)

Elimination in one line
E32(E21A)=U=(E32E21)AE_{32}(E_{21}A) = U = (E_{32}E_{21})A
In words

E three two ( E two one capital A ) equals capital U equals ( E three two E two one ) capital A

A row exchange is a multiplication by a permutation matrix PP: do the exchange to the identity and use the result. On the left, a matrix acts on the rows; on the right, on the columns; and in general AB≠BAAB \neq BA (pp. 17–18). The inverse of "subtract ℓ\ell times row 1 from row 2" adds it back (p. 20).

Matrix multiplication (Lecture 3). For an m×nm \times n matrix AA and an n×pn \times p matrix BB, the entry in row ii, column jj of ABAB is row ii of AA times column jj of BB (pp. 1–4):

Entry of a product
(AB)ij=∑k=1naik bkj,(m×n)(n×p)=m×p(AB)_{ij} = \sum_{k=1}^{n} a_{ik}\,b_{kj}, \qquad (m \times n)(n \times p) = m \times p
In words

( capital A capital B ) sub i j equals the sum from k equals 1 to n of a sub i k b sub k j, (m times n)(n times p) equals m times p

Each column of ABAB is a combination of the columns of AA, and each row of ABAB a combination of the rows of BB (pp. 4–7). ABAB is also a sum of columns times rows, and matching blocks multiply like entries (pp. 7–11):

Columns times rows
AB=∑k=1n(column k of A)(row k of B)AB = \sum_{k=1}^{n} (\text{column } k \text{ of } A)(\text{row } k \text{ of } B)
In words

capital A capital B equals the sum from k equals 1 to n of ( column k of capital A )( row k of capital B )

The inverse (Lecture 3). A square matrix AA is invertible when some matrix A−1A^{-1} gives (p. 12)

The inverse
A−1A=I=AA−1A^{-1}A = I = AA^{-1}
In words

capital A to the power minus 1 capital A equals capital I equals capital A capital A to the power minus 1

If Ax=0Ax = 0 for some nonzero xx, then AA has no inverse (pp. 14–16).

Problem 1#

Problem

Two pictures of a 2 × 2 system

16 points

Take the system 2x+3y=42x + 3y = 4,   x−y=−3\;x - y = -3.

(a)4 points

Solve the system for xx and yy.

Hint

Eliminate: subtract a multiple of the first equation from the second so that xx drops out. Then substitute back.

Solution

The idea. In the row picture the answer is where the two lines meet; elimination finds that point.

Eliminate and substitute

Subtract 12\frac12 of the first equation from the second: (1−1)x+(−1−32)y=−3−2(1 - 1)x + (-1 - \frac32)y = -3 - 2, so −52y=−5-\frac52y = -5 and y=2y = 2. Then 2x+6=42x + 6 = 4 gives x=−1x = -1.

Check

Both equations: 2(−1)+3(2)=42(-1) + 3(2) = 4 and −1−2=−3-1 - 2 = -3. In the column picture, −1-1 times the column (2,1)(2, 1) plus 22 times the column (3,−1)(3, -1) is (−2+6,−1−2)=(4,−3)(-2 + 6, -1 - 2) = (4, -3), which is bb.

(b)3 points

Keep the same left-hand sides. Which right-hand side b=(b1,b2)b = (b_1, b_2) has the solution x=2x = 2, y=1y = 1?

Hint

Read the system as xx times column 1 plus yy times column 2 of the matrix. Here you know the amounts.

Solution

The idea. AxAx is a combination of the columns of AA: here, two of the first column and one of the second.

By columns

The combination
2(21)+1(3−1)=(71)2\begin{pmatrix} 2 \\ 1 \end{pmatrix} + 1\begin{pmatrix} 3 \\ -1 \end{pmatrix} = \begin{pmatrix} 7 \\ 1 \end{pmatrix}
In words

2 2; 1 plus 1 3; minus 1 equals 7; 1

Source: 18.06 Lecture 1 transcript (Prof. Strang), p. 19 (multiplication by columns; the numbers are our own)

Check

By rows, the two dot products are (2,3)⋅(2,1)=7(2, 3)\cdot(2, 1) = 7 and (1,−1)⋅(2,1)=1(1, -1)\cdot(2, 1) = 1: the same bb.

(c)5 points

Now replace the coefficient −1-1 of yy in the second equation by a number aa, so that the matrix becomes (231a)\begin{pmatrix} 2 & 3 \\ 1 & a \end{pmatrix}. For which aa is this matrix singular? For that aa, and the right-hand side (4,−3)(4, -3) of the original system, what does the row picture show?

Hint

The matrix is singular when its two columns lie on one line through the origin: when one column is a multiple of the other.

Hint

For the row picture, compare the two equations: is the second one a multiple of the first, left side and right side?

Solution

The idea. Singular means the columns are parallel. Then the two lines of the row picture have the same slope, and the right-hand side decides whether they coincide.

Parallel columns

The column (3,a)(3, a) is a multiple of (2,1)(2, 1) only if it is 32\frac32 times it: a=32=1.5a = \frac32 = 1.5. Then every combination of the columns lies on the line through (2,1)(2, 1), so most right-hand sides cannot be reached.

The row picture

With a=1.5a = 1.5 the equations are 2x+3y=42x + 3y = 4 and x+1.5y=−3x + 1.5y = -3. Twice the second is 2x+3y=−62x + 3y = -6: the same left side as the first equation with a different right side. The two lines are parallel and never meet, so there is no solution.

Check

In the column picture: (4,−3)(4, -3) is not a multiple of (2,1)(2, 1), so it cannot be reached. A right-hand side such as (4,2)(4, 2), on the line through (2,1)(2, 1), would give one line drawn twice and infinitely many solutions.

(d)4 points

Keep the right-hand side (4,−3)(4, -3) and the matrix of part (c), with a≠1.5a \neq 1.5. Solve by elimination and give yy as a formula in aa.

Hint

Subtract 12\frac12 of row 1 from row 2, on both sides. The second pivot then depends on aa.

Solution

The idea. One elimination step leaves a triangular system; its second pivot is a−32a - \frac32.

Eliminate

Row 2 minus 12\frac12 row 1 gives (a−32)y=−3−2=−5(a - \frac32)y = -3 - 2 = -5. So

y as a function of a
y=−5a−32=−102a−3y = \frac{-5}{a - \frac32} = -\frac{10}{2a - 3}
In words

y equals minus 5 over the quantity a minus three halves, equals minus 10 over the quantity 2 a minus 3

Source: MIT 18.06 Lecture 3: Multiplication and inverse matrices, Problem 1(d) (our own solution)

Check

For a=−1a = -1: y=−10/(−5)=2y = -10/(-5) = 2, as in part (a). As aa approaches 1.51.5 the second pivot goes to zero and yy grows without bound: the two lines turn parallel and their crossing point runs away, as part (c) found.

Problem 2#

Problem

Columns in three dimensions

14 points

Take the matrix with columns (1,0,1)(1, 0, 1), (2,1,0)(2, 1, 0) and (0,1,3)(0, 1, 3):

A 3 × 3 matrix
A=(120011103)A = \begin{pmatrix} 1 & 2 & 0 \\ 0 & 1 & 1 \\ 1 & 0 & 3 \end{pmatrix}
In words

capital A equals 1 2 0; 0 1 1; 1 0 3

Source: 18.06 Lecture 1 transcript (Prof. Strang), pp. 9–12 (the column picture; the matrix is our own)

(a)5 points

Find the combination x=(x1,x2,x3)x = (x_1, x_2, x_3) of the columns that gives b=(5,3,4)b = (5, 3, 4).

Hint

Write out the three equations: the second row has only x2x_2 and x3x_3, the third only x1x_1 and x3x_3. Express x1x_1 and x2x_2 through x3x_3 and put them into the first row.

Solution

The idea. The column picture asks for the amounts of each column; the three equations say the same thing row by row.

Solve

The rows are x1+2x2=5x_1 + 2x_2 = 5, x2+x3=3x_2 + x_3 = 3 and x1+3x3=4x_1 + 3x_3 = 4. From the last two, x2=3−x3x_2 = 3 - x_3 and x1=4−3x3x_1 = 4 - 3x_3. The first row becomes 4−3x3+6−2x3=54 - 3x_3 + 6 - 2x_3 = 5, so 5x3=55x_3 = 5 and x3=1x_3 = 1. Then x2=2x_2 = 2 and x1=1x_1 = 1.

Check

The combination
1(101)+2(210)+1(013)=(534)1\begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix} + 2\begin{pmatrix} 2 \\ 1 \\ 0 \end{pmatrix} + 1\begin{pmatrix} 0 \\ 1 \\ 3 \end{pmatrix} = \begin{pmatrix} 5 \\ 3 \\ 4 \end{pmatrix}
In words

1 1; 0; 1 plus 2 2; 1; 0 plus 1 0; 1; 3 equals 5; 3; 4

Source: 18.06 Lecture 1 transcript (Prof. Strang), p. 12 (the column picture; the numbers are our own)

(b)5 points

Now replace the third column by (4,3,−2)(4, 3, -2). Show that the new third column is a combination α (1,0,1)+β (2,1,0)\alpha\,(1, 0, 1) + \beta\,(2, 1, 0) of the first two, and give α\alpha and β\beta.

Hint

The middle component of α(1,0,1)+β(2,1,0)\alpha(1, 0, 1) + \beta(2, 1, 0) involves only β\beta, the last one only α\alpha.

Solution

The idea. Match the components one at a time, starting with those that contain only one unknown.

Match components

The middle components give β=3\beta = 3, the last ones α=−2\alpha = -2. The first component is then α+2β=−2+6=4\alpha + 2\beta = -2 + 6 = 4, which agrees with the first entry of (4,3,−2)(4, 3, -2). So the new third column is −2-2 times column 1 plus 33 times column 2.

Check

−2(1,0,1)+3(2,1,0)=(−2+6,3,−2)=(4,3,−2)-2(1, 0, 1) + 3(2, 1, 0) = (-2 + 6, 3, -2) = (4, 3, -2). All three columns now lie in one plane through the origin: the new matrix is singular (Lecture 1 transcript, p. 16).

(c)4 points

With the new third column of part (b), the right-hand side b=(5,3,b3)b = (5, 3, b_3) can be reached for only one value of b3b_3. Find it. How many solutions xx does Ax=bAx = b then have?

Hint

Every combination of the three columns is a combination of the first two. Which b3b_3 makes (5,3,b3)(5, 3, b_3) a combination of (1,0,1)(1, 0, 1) and (2,1,0)(2, 1, 0)?

Hint

For the count: start from one solution and add a combination of the columns that gives the zero vector.

Solution

The idea. The reachable right-hand sides form the plane of the first two columns; inside that plane there are many ways to reach a point, because the third column adds nothing new.

The reachable b

Of the first two columns, only (2,1,0)(2, 1, 0) has a middle component, so it is taken 33 times to make the middle 33. The first component then needs 5−6=−15 - 6 = -1 of (1,0,1)(1, 0, 1), and that fixes the last component: b3=−1b_3 = -1. Any other b3b_3 lies off the plane.

How many solutions

One solution is x=(−1,3,0)x = (-1, 3, 0). By part (b), x=(−2,3,−1)x = (-2, 3, -1) gives Ax=0Ax = 0, so adding any multiple of (−2,3,−1)(-2, 3, -1) to (−1,3,0)(-1, 3, 0) gives another solution: infinitely many.

Check

−1(1,0,1)+3(2,1,0)=(5,3,−1)-1(1, 0, 1) + 3(2, 1, 0) = (5, 3, -1). With t=1t = 1: x=(−3,6,−1)x = (-3, 6, -1) gives −3(1,0,1)+6(2,1,0)−(4,3,−2)=(−3+12−4,6−3,−3+2)=(5,3,−1)-3(1, 0, 1) + 6(2, 1, 0) - (4, 3, -2) = (-3 + 12 - 4, 6 - 3, -3 + 2) = (5, 3, -1) as well.

Problem 3#

Problem

Elimination and back substitution

20 points

Solve by elimination:

The system
2x+y+z=3,4x−y+3z=11,−2x+5y+z=−52x + y + z = 3, \qquad 4x - y + 3z = 11, \qquad -2x + 5y + z = -5
In words

2 x plus y plus z equals 3, 4 x minus y plus 3 z equals 11, minus 2 x plus 5 y plus z equals minus 5

Source: 18.06 Lecture 2 transcript (Prof. Strang), pp. 1–2 (the method; the system is our own)

Its matrix is A=(2114−13−251)A = \begin{pmatrix} 2 & 1 & 1 \\ 4 & -1 & 3 \\ -2 & 5 & 1 \end{pmatrix} and its right-hand side b=(3,11,−5)b = (3, 11, -5). The multiplier ℓ21\ell_{21} is the number of times row 1 is subtracted from row 2, and so on.

(a)7 points

Find the three multipliers ℓ21\ell_{21}, ℓ31\ell_{31}, ℓ32\ell_{32} and the second and third pivots. (The first pivot is the 22 in the top left.)

Hint

A multiplier is the entry to be removed divided by the pivot above it. A multiplier can be negative: subtracting a negative multiple of row 1 means adding.

Hint

After the first column is cleared, the second pivot is the new entry in row 2, column 2; ℓ32\ell_{32} uses that new entry, not the old −1-1.

Solution

The idea. Clear column 1 below the first pivot, then column 2 below the second pivot.

Column 1

ℓ21=4/2=2\ell_{21} = 4/2 = 2: row 2 minus 2 times row 1 is (0,−3,1)(0, -3, 1). ℓ31=−2/2=−1\ell_{31} = -2/2 = -1: row 3 minus (−1)(-1) times row 1, that is row 3 plus row 1, is (0,6,2)(0, 6, 2). The second pivot is −3-3.

Column 2

ℓ32=6/(−3)=−2\ell_{32} = 6/(-3) = -2: the new row 3 minus (−2)(-2) times the new row 2 is (0,6−6,2+2)=(0,0,4)(0, 6 - 6, 2 + 2) = (0, 0, 4). The third pivot is 44:

The upper triangular U
A→(2110−31062)→(2110−31004)=UA \to \begin{pmatrix} 2 & 1 & 1 \\ 0 & -3 & 1 \\ 0 & 6 & 2 \end{pmatrix} \to \begin{pmatrix} 2 & 1 & 1 \\ 0 & -3 & 1 \\ 0 & 0 & 4 \end{pmatrix} = U
In words

capital A goes to 2 1 1; 0 minus 3 1; 0 6 2 goes to 2 1 1; 0 minus 3 1; 0 0 4 equals capital U

Source: 18.06 Lecture 2 transcript (Prof. Strang), pp. 3–5 (the steps; the numbers are our own)

Check

No pivot is zero, so no row exchange was needed and AA is invertible. The lesson's rule that the product of the pivots is the determinant gives 2⋅(−3)⋅4=−242 \cdot (-3) \cdot 4 = -24; a later set computes determinants directly.

(b)6 points

Apply the same steps to the right-hand side to get cc, with Ux=cUx = c. Give the last entry of cc, then solve by back substitution.

Hint

Carry bb along as a fourth column (the augmented matrix): every row operation of part (a) acts on it too.

Solution

The idea. The right-hand side goes through the same steps; then the triangular system is solved from the bottom up.

The right-hand side

11−2⋅3=511 - 2 \cdot 3 = 5 and −5+3=−2-5 + 3 = -2 after column 1; then −2+2⋅5=8-2 + 2 \cdot 5 = 8 after column 2. So c=(3,5,8)c = (3, 5, 8) and

The triangular system
2x+y+z=3,−3y+z=5,4z=82x + y + z = 3, \qquad -3y + z = 5, \qquad 4z = 8
In words

2 x plus y plus z equals 3, minus 3 y plus z equals 5, 4 z equals 8

Source: 18.06 Lecture 2 transcript (Prof. Strang), p. 9 (back substitution; the numbers are our own)

Back substitution

4z=84z = 8 gives z=2z = 2. Then −3y+2=5-3y + 2 = 5 gives y=−1y = -1. Then 2x−1+2=32x - 1 + 2 = 3 gives x=1x = 1.

Check

Put (1,−1,2)(1, -1, 2) into the original equations: 2−1+2=32 - 1 + 2 = 3, 4+1+6=114 + 1 + 6 = 11, −2−5+2=−5-2 - 5 + 2 = -5.

(c)7 points

Two changes to AA, one at a time. First change the entry in row 3, column 3 (the coefficient of zz in the third equation) from 11 to a number qq: for which qq does elimination break down for good? Then go back to AA and change the entry in row 2, column 2 from −1-1 to a number ss: for which ss is there a zero in the second pivot position, and what happens then?

Hint

Redo part (a) with the letter in place of the number. Only some of the entries it produces change.

Hint

A zero in a pivot position is harmless if some row below has a nonzero entry in that column.

Solution

The idea. Follow the changed entry through the elimination steps and see which pivot it lands in.

The entry q

The steps of part (a) do not depend on the entry in row 3, column 3; they only add to it. After column 1 it is q+1q + 1; after column 2 it is q+1+2⋅1=q+3q + 1 + 2 \cdot 1 = q + 3. That is the third pivot, and nothing lies below it to exchange with: elimination fails for good at q=−3q = -3, and the matrix is then singular.

The entry s

After column 1, row 2 is (4,s,3)−2(2,1,1)=(0,s−2,1)(4, s, 3) - 2(2, 1, 1) = (0, s - 2, 1), while row 3 is still (0,6,2)(0, 6, 2). So s=2s = 2 puts a zero in the second pivot position. Row 3 has a 66 there, so exchange rows 2 and 3:

After the exchange
(211062001)\begin{pmatrix} 2 & 1 & 1 \\ 0 & 6 & 2 \\ 0 & 0 & 1 \end{pmatrix}
In words

2 1 1; 0 6 2; 0 0 1

Source: 18.06 Lecture 2 transcript (Prof. Strang), pp. 5–6 (a row exchange; the numbers are our own)

This is already upper triangular, with the pivots 22, 66, 11: the changed matrix is invertible.

Check

With q=−3q = -3 the changed matrix sends x=(−2,1,3)x = (-2, 1, 3) to (−4+1+3,−8−1+9,4+5−9)=(0,0,0)(-4 + 1 + 3, -8 - 1 + 9, 4 + 5 - 9) = (0, 0, 0): a nonzero xx with zero output, so that matrix has no inverse (Lecture 3 transcript, p. 16).

Problem 4#

Problem

Elimination and permutation matrices

16 points

Use the matrix AA of Problem 3 and the elimination matrices E21E_{21}, E31E_{31}, E32E_{32} of its elimination: each is the 3×33 \times 3 identity with −ℓ-\ell in the place of its multiplier, so that E32E31E21A=UE_{32}E_{31}E_{21}A = U.

(a)5 points

Multiply the three into one matrix E=E32E31E21E = E_{32}E_{31}E_{21}, with EA=UEA = U. What is the entry of EE in row 3, column 1?

Hint

Write the three matrices out first. Then compute E31E21E_{31}E_{21}, and let E32E_{32} act on its rows: on the left, E32E_{32} changes row 3 only.

Hint

The entry is not one of the multipliers. Row 3 of EE records everything that happened to row 3, including the copy of row 1 that came in with row 2.

Solution

The idea. Each elimination matrix is the identity with one changed entry, and a matrix on the left combines rows.

The three matrices

With ℓ21=2\ell_{21} = 2, ℓ31=−1\ell_{31} = -1, ℓ32=−2\ell_{32} = -2 from Problem 3:

The elimination matrices
E21=(100−210001),E31=(100010101),E32=(100010021)E_{21} = \begin{pmatrix} 1 & 0 & 0 \\ -2 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}, \quad E_{31} = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 1 & 0 & 1 \end{pmatrix}, \quad E_{32} = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 2 & 1 \end{pmatrix}
In words

E two one equals 1 0 0; minus 2 1 0; 0 0 1, E three one equals 1 0 0; 0 1 0; 1 0 1, E three two equals 1 0 0; 0 1 0; 0 2 1

Source: 18.06 Lecture 2 transcript (Prof. Strang), pp. 13–14 (the form; the numbers are our own)

The product

E31E21E_{31}E_{21} is the identity with −2-2 in row 2, column 1 and 11 in row 3, column 1. Then E32E_{32} adds 2 times row 2 to row 3: (1,0,1)+2(−2,1,0)=(−3,2,1)(1, 0, 1) + 2(-2, 1, 0) = (-3, 2, 1). So

All of elimination in one matrix
E=E32E31E21=(100−210−321)E = E_{32}E_{31}E_{21} = \begin{pmatrix} 1 & 0 & 0 \\ -2 & 1 & 0 \\ -3 & 2 & 1 \end{pmatrix}
In words

E equals E three two E three one E two one equals 1 0 0; minus 2 1 0; minus 3 2 1

Source: MIT 18.06 Lecture 3: Multiplication and inverse matrices, Problem 4(a) (our own solution)

Check

Row 3 of EAEA is −3(2,1,1)+2(4,−1,3)+1(−2,5,1)=(−6+8−2,−3−2+5,−3+6+1)=(0,0,4)-3(2, 1, 1) + 2(4, -1, 3) + 1(-2, 5, 1) = (-6 + 8 - 2, -3 - 2 + 5, -3 + 6 + 1) = (0, 0, 4), the last row of UU. And EE applied to b=(3,11,−5)b = (3, 11, -5) gives the last entry −9+22−5=8-9 + 22 - 5 = 8, as in Problem 3(b).

(b)4 points

Does the order of two elimination matrices matter? Find the entry in row 3, column 1 of E32E21E_{32}E_{21}, and of E21E32E_{21}E_{32}.

Hint

In E32E21E_{32}E_{21}, the matrix E32E_{32} acts on the rows of E21E_{21}; in E21E32E_{21}E_{32}, the matrix E21E_{21} acts on the rows of E32E_{32}. Which row does each one change?

Solution

The idea. A matrix on the left changes rows: the result depends on what is already in the rows it uses.

E₃₂E₂₁

E32E_{32} adds 2 times row 2 of E21E_{21} to row 3 of E21E_{21}: (0,0,1)+2(−2,1,0)=(−4,2,1)(0, 0, 1) + 2(-2, 1, 0) = (-4, 2, 1). The entry is −4-4.

E₂₁E₃₂

E21E_{21} subtracts 2 times row 1 of E32E_{32} from row 2, and leaves row 3 of E32E_{32} alone: row 3 stays (0,2,1)(0, 2, 1). The entry is 00.

Check

So E32E21≠E21E32E_{32}E_{21} \neq E_{21}E_{32}: the commutative law fails even for these simple matrices (Lecture 2 transcript, p. 18). In E32E21E_{32}E_{21} the step on row 2 comes first, and its row 1 part is carried into row 3; in the other order row 3 is changed before row 2 has taken anything from row 1.

(c)4 points

Let PP be the permutation matrix that exchanges rows 2 and 3 of the 3×33 \times 3 identity. Find the entry in row 2, column 3 of PAPA, and of APAP.

Hint

PP on the left acts on the rows of AA; PP on the right acts on its columns.

Solution

The idea. On the left PP exchanges rows, on the right it exchanges columns.

PA

PAPA is AA with rows 2 and 3 exchanged: its row 2 is (−2,5,1)(-2, 5, 1), and the entry in column 3 is 11.

AP

APAP is AA with columns 2 and 3 exchanged: its row 2 is (4,3,−1)(4, 3, -1), and the entry in column 3 is −1-1.

Check

By the entry rule: row 2 of PP is (0,0,1)(0, 0, 1), and its dot product with column 3 of AA, (1,3,1)(1, 3, 1), is 11. Row 2 of AA, (4,−1,3)(4, -1, 3), with column 3 of PP, (0,1,0)(0, 1, 0), gives −1-1. This is the rule of the lecture: rows on the left, columns on the right (Lecture 2 transcript, pp. 17–18).

(d)3 points

Which matrix undoes E32E_{32}, so that it times E32E_{32} is the identity?

Hint

Say in words what E32E_{32} does to the rows. The inverse step does the opposite.

Solution

The idea. What one step subtracts, the inverse step adds back (Lecture 2 transcript, p. 20).

Undo the step

E32E_{32} adds 2 times row 2 to row 3 (it subtracts ℓ32=−2\ell_{32} = -2 times row 2). To undo it, subtract 2 times row 2 from row 3: the identity with −2-2 in row 3, column 2.

Check

Row 3 of the product is −2-2 times row 2 of E32E_{32} plus row 3 of E32E_{32}: −2(0,1,0)+(0,2,1)=(0,0,1)-2(0, 1, 0) + (0, 2, 1) = (0, 0, 1). Rows 1 and 2 are unchanged, so the product is II.

Problem 5#

Problem

Four ways to multiply, and blocks

18 points

Take

Two rectangular matrices
A=(120−113),B=(210−114)A = \begin{pmatrix} 1 & 2 & 0 \\ -1 & 1 & 3 \end{pmatrix}, \qquad B = \begin{pmatrix} 2 & 1 \\ 0 & -1 \\ 1 & 4 \end{pmatrix}
In words

capital A equals 1 2 0; minus 1 1 3, capital B equals 2 1; 0 minus 1; 1 4

Source: 18.06 Lecture 3 transcript (Prof. Strang), pp. 3–4 (the shapes; the matrices are our own)

(a)4 points

Computed entry by entry, each entry of a product is a sum of products of numbers. How many multiplications of numbers does ABAB take, and how many does BABA take?

Hint

Find the shape of each product first, then count the terms in the sum for one entry.

Solution

The idea. An (m×n)(n×p)(m \times n)(n \times p) product has mpmp entries, each a sum of nn products.

Count

AA is 2×32 \times 3 and BB is 3×23 \times 2. ABAB is 2×22 \times 2: 44 entries of 33 products each, 1212 in all. BABA is 3×33 \times 3: 99 entries of 22 products each, 1818 in all.

Check

Both counts are m⋅n⋅pm \cdot n \cdot p: 2⋅3⋅2=122 \cdot 3 \cdot 2 = 12 and 3⋅2⋅3=183 \cdot 2 \cdot 3 = 18. The two products are not even the same size, let alone equal.

(b)4 points

Find the entry in row 2, column 2 of ABAB, and the entry in row 3, column 1 of BABA.

Hint

One entry needs one row of the left factor and one column of the right factor.

Solution

The idea. Entry (i,j)(i, j) of a product is row ii of the left factor times column jj of the right factor.

The two entries

Row 2 of AA, (−1,1,3)(-1, 1, 3), times column 2 of BB, (1,−1,4)(1, -1, 4): −1−1+12=10-1 - 1 + 12 = 10. Row 3 of BB, (1,4)(1, 4), times column 1 of AA, (1,−1)(1, -1): 1−4=−31 - 4 = -3.

Check by rows

Row 3 of BABA is a combination of the rows of AA, with the amounts in row 3 of BB: 1(1,2,0)+4(−1,1,3)=(−3,6,12)1(1, 2, 0) + 4(-1, 1, 3) = (-3, 6, 12). Its first entry is −3-3 again.

(c)3 points

Write ABAB as a sum of three columns times rows. What is the entry in row 1, column 2 of the second of them, (column 2 of AA)(row 2 of BB)?

Hint

A column with two entries times a row with two entries is a 2×22 \times 2 matrix: entry (i,j)(i, j) is entry ii of the column times entry jj of the row.

Solution

The idea. Each term of the sum is a full matrix; adding the three gives ABAB.

The three terms

AB as columns times rows
(1−1)(21)+(21)(0−1)+(03)(14)=(21−2−1)+(0−20−1)+(00312)\begin{pmatrix} 1 \\ -1 \end{pmatrix}\begin{pmatrix} 2 & 1 \end{pmatrix} + \begin{pmatrix} 2 \\ 1 \end{pmatrix}\begin{pmatrix} 0 & -1 \end{pmatrix} + \begin{pmatrix} 0 \\ 3 \end{pmatrix}\begin{pmatrix} 1 & 4 \end{pmatrix} = \begin{pmatrix} 2 & 1 \\ -2 & -1 \end{pmatrix} + \begin{pmatrix} 0 & -2 \\ 0 & -1 \end{pmatrix} + \begin{pmatrix} 0 & 0 \\ 3 & 12 \end{pmatrix}
In words

1; minus 1 2 1 plus 2; 1 0 minus 1 plus 0; 3 1 4 equals 2 1; minus 2 minus 1 plus 0 minus 2; 0 minus 1 plus 0 0; 3 12

Source: 18.06 Lecture 3 transcript (Prof. Strang), pp. 8–9 (the rule; the numbers are our own)

The second term has 2⋅(−1)=−22 \cdot (-1) = -2 in row 1, column 2.

Check

The sum is (2−1110)\begin{pmatrix} 2 & -1 \\ 1 & 10 \end{pmatrix}, which is ABAB entry by entry: for example row 1 of AA times column 2 of BB is 1−2+0=−11 - 2 + 0 = -1, and the entry in row 2, column 2 is the 1010 of part (b).

(d)3 points

Let uu be a nonzero column with mm entries and vv a nonzero row with pp entries. Show that every row of the m×pm \times p matrix uvuv is a multiple of vv, and every column a multiple of uu. What does this say about the rows of each of the three terms in part (c)?

This part has no answer box. Write your argument, then open the solution and mark yourself.

Hint

Write out the entry in row ii, column jj of uvuv. Keep ii fixed and let jj run.

Solution

The idea. The entry of uvuv in row ii, column jj is entry ii of uu times entry jj of vv.

Rows and columns

Keep ii fixed: row ii of uvuv is entry ii of uu times each entry of vv in turn, so it is that number times vv, a multiple of vv. Keep jj fixed: column jj is entry jj of vv times uu, a multiple of uu. So all rows lie on the line through vv and all columns on the line through uu, as for the lecture's column times row (Lecture 3 transcript, pp. 8–9).

The three terms

In part (c) the rows of the first term are multiples of (2,1)(2, 1), those of the second multiples of (0,−1)(0, -1), those of the third multiples of (1,4)(1, 4). ABAB is a sum of three such matrices, each as simple as a matrix can be without being zero.

Check

The second term has rows (0,−2)=2(0,−1)(0, -2) = 2(0, -1) and (0,−1)=1(0,−1)(0, -1) = 1(0, -1), the amounts 22 and 11 being the entries of column 2 of AA.

(e)4 points

Blocks. Let C=(1234)C = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} and let MM be the 4×44 \times 4 matrix with the blocks (I0CI)\begin{pmatrix} I & 0 \\ C & I \end{pmatrix}, where II and 00 are the 2×22 \times 2 identity and zero matrices. Find the entry in row 4, column 1 of M2=MMM^2 = MM. Then show that the block matrix N=(I0−CI)N = \begin{pmatrix} I & 0 \\ -C & I \end{pmatrix} satisfies NM=INM = I (this last step has no box).

Hint

Multiply block rows by block columns, as if the blocks were numbers, but keep their order in each product. Row 4, column 1 of M2M^2 lies in the lower-left block.

Solution

The idea. Blocks multiply like entries (Lecture 3 transcript, pp. 10–11).

M squared

The square by blocks
M2=(I0CI)(I0CI)=(I⋅I+0⋅CI⋅0+0⋅IC⋅I+I⋅CC⋅0+I⋅I)=(I02CI)M^2 = \begin{pmatrix} I & 0 \\ C & I \end{pmatrix}\begin{pmatrix} I & 0 \\ C & I \end{pmatrix} = \begin{pmatrix} I \cdot I + 0 \cdot C & I \cdot 0 + 0 \cdot I \\ C \cdot I + I \cdot C & C \cdot 0 + I \cdot I \end{pmatrix} = \begin{pmatrix} I & 0 \\ 2C & I \end{pmatrix}
In words

capital M squared equals capital I 0; capital C capital I capital I 0; capital C capital I equals capital I times capital I plus 0 times capital C capital I times 0 plus 0 times capital I; capital C times capital I plus capital I times capital C capital C times 0 plus capital I times capital I equals capital I 0; 2 capital C capital I

Source: 18.06 Lecture 3 transcript (Prof. Strang), pp. 10–11 (block multiplication; the matrices are our own)

Row 4 of M2M^2 is the second row of its lower blocks, and column 1 the first column of its left blocks: the entry is 2⋅3=62 \cdot 3 = 6, the entry of 2C2C in row 2, column 1.

The inverse

In the same way, NMNM has the lower-left block −C⋅I+I⋅C=0-C \cdot I + I \cdot C = 0, and the other blocks II, 00, II as before. So NMNM is the 4×44 \times 4 identity, and MNMN is too. NN is the inverse of MM: what MM adds to the lower rows, NN takes away, just as for the elimination matrices of Problem 4.

Check

Entry by entry: row 4 of MM is (3,4,0,1)(3, 4, 0, 1) and column 1 of MM is (1,0,1,3)(1, 0, 1, 3), so the entry is 3+0+0+3=63 + 0 + 0 + 3 = 6.

Problem 6#

Problem

Which matrices have an inverse?

16 points

(a)3 points

Take A=(3−6−12)A = \begin{pmatrix} 3 & -6 \\ -1 & 2 \end{pmatrix}. Find a nonzero x=(x1,1)x = (x_1, 1) with Ax=0Ax = 0: give x1x_1.

Hint

Look for a combination of the two columns that gives the zero column. How is column 2 related to column 1?

Solution

The idea. Ax=x1(column 1)+1 (column 2)Ax = x_1(\text{column } 1) + 1\,(\text{column } 2), and column 2 is −2-2 times column 1.

Solve

x1(3,−1)+(−6,2)=(3x1−6,−x1+2)x_1(3, -1) + (-6, 2) = (3x_1 - 6, -x_1 + 2) is zero for x1=2x_1 = 2.

Check

A(2,1)=(6−6,−2+2)=(0,0)A(2, 1) = (6 - 6, -2 + 2) = (0, 0).

(b)4 points

Show in two ways that this AA has no inverse: first with the columns of a product ABAB, then with the vector xx of part (a).

This part has no answer box. Write your argument, then open the solution and mark yourself.

Hint

Every column of ABAB is a combination of the columns of AA. Where do those combinations lie, and where is (1,0)(1, 0)?

Hint

If A−1A^{-1} existed, multiply both sides of Ax=0Ax = 0 by it.

Solution

The idea. Both arguments are the ones of the lecture, here for our matrix (Lecture 3 transcript, pp. 13–16).

By columns

Both columns of AA are multiples of (3,−1)(3, -1), so every combination of them lies on the line through (3,−1)(3, -1). Every column of ABAB is such a combination. But the first column of II, (1,0)(1, 0), is not a multiple of (3,−1)(3, -1). So no BB gives AB=IAB = I.

By Ax = 0

If A−1A=IA^{-1}A = I, multiply Ax=0Ax = 0 on the left by A−1A^{-1}:

An inverse would force x=0x = 0
A−1(Ax)=(A−1A)x=Ix=x,A−10=0A^{-1}(Ax) = (A^{-1}A)x = Ix = x, \qquad A^{-1}0 = 0
In words

capital A to the power minus 1 ( capital A x) equals ( capital A to the power minus 1 capital A )x equals capital I x equals x, capital A to the power minus 1 0 equals 0

so x=0x = 0. But x=(2,1)x = (2, 1) is not zero. So A−1A^{-1} cannot exist.

Check

Elimination agrees: subtracting −13-\frac13 times row 1 from row 2 gives the row (0,2−2)=(0,0)(0, 2 - 2) = (0, 0), a zero in the second pivot position with no row below to exchange with.

(c)5 points

For a number tt, take At=(12t011210)A_t = \begin{pmatrix} 1 & 2 & t \\ 0 & 1 & 1 \\ 2 & 1 & 0 \end{pmatrix}. Find the tt for which AtA_t has no inverse. For that tt, find the nonzero xx with Atx=0A_tx = 0 whose third entry is 22, and give its second entry.

Hint

Eliminate, keeping tt as a letter. The matrix is not invertible when a pivot turns out zero with nothing below to exchange with.

Hint

For xx: with the third entry fixed, the second row of UU gives the second entry, and the first row the first.

Solution

The idea. Elimination shows the pivots; a zero third pivot means the third column is a combination of the first two, and that combination is xx.

Eliminate

ℓ31=2\ell_{31} = 2: row 3 minus 2 times row 1 is (0,−3,−2t)(0, -3, -2t). ℓ32=−3\ell_{32} = -3: adding 3 times row 2 gives (0,0,3−2t)(0, 0, 3 - 2t). The third pivot is 3−2t3 - 2t, zero for t=32=1.5t = \frac32 = 1.5.

The vector x

For t=1.5t = 1.5, solve Ux=0Ux = 0 with the third entry 22. Row 2 of UU, (0,1,1)(0, 1, 1), gives x2+2=0x_2 + 2 = 0, so x2=−2x_2 = -2. Row 1, (1,2,1.5)(1, 2, 1.5), gives x1−4+3=0x_1 - 4 + 3 = 0, so x1=1x_1 = 1. So x=(1,−2,2)x = (1, -2, 2).

Check

A nonzero solution of Ax = 0
(121.5011210)(1−22)=(1−4+3−2+22−2+0)=(000)\begin{pmatrix} 1 & 2 & 1.5 \\ 0 & 1 & 1 \\ 2 & 1 & 0 \end{pmatrix}\begin{pmatrix} 1 \\ -2 \\ 2 \end{pmatrix} = \begin{pmatrix} 1 - 4 + 3 \\ -2 + 2 \\ 2 - 2 + 0 \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}
In words

1 2 1.5; 0 1 1; 2 1 0 1; minus 2; 2 equals 1 minus 4 plus 3; minus 2 plus 2; 2 minus 2 plus 0 equals 0; 0; 0

Source: 18.06 Lecture 3 transcript (Prof. Strang), pp. 14–16 (the test; the numbers are our own)

So for t=1.5t = 1.5 the matrix has no inverse, by the argument of part (b).

(d)4 points

Let PP now be the permutation matrix (001100010)\begin{pmatrix} 0 & 0 & 1 \\ 1 & 0 & 0 \\ 0 & 1 & 0 \end{pmatrix}. Which matrix is its inverse?

Hint

Say in words what PP does to the rows of a matrix it multiplies on the left. How many times must you do it to get every row back in its place?

Solution

The idea. A permutation can always be undone by another permutation; here, by doing the same one twice more.

What P does

PAPA has row 3 of AA on top, then row 1, then row 2: the rows move down one place, the last coming round to the top. Doing this three times brings every row back, so P3=IP^3 = I, which says P2⋅P=I=P⋅P2P^2 \cdot P = I = P \cdot P^2. The inverse is P2P^2.

Check

P2=(010001100)P^2 = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 1 & 0 & 0 \end{pmatrix}, and P2PP^2P: row 1 of P2P^2 picks row 2 of PP, (1,0,0)(1, 0, 0); row 2 picks row 3, (0,1,0)(0, 1, 0); row 3 picks row 1, (0,0,1)(0, 0, 1). That is II. PP is not its own inverse, because PP=P2PP = P^2 is not II.

Symbols on this page

Show the 49 symbols used here
α\alpha alpha.
The amount of column 1 in the combination of the first two columns that is asked for in Problem 2(b). Say it: “alpha”.
β\beta beta.
The amount of column 2 in the combination of the first two columns that is asked for in Problem 2(b). Say it: “beta” (sounds like “bay-ta or bee-ta”).
ℓ\ell script l.
A multiplier of elimination: the number of times a pivot row is subtracted from a row below it; ℓ₂₁, ℓ₃₁, ℓ₃₂ are the three of Problem 3. Say it: “ell”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
aa a.
In Problem 1(c) and (d), the number that replaces the coefficient −1 of y in the second equation. Say it: “a”.
zz z.
The third unknown of the system in Problem 3. Say it: “z”.
cc c.
The right-hand side after elimination: the same steps turn b into c, and Ux = c. Say it: “c”.
kk k.
The index summed over in an entry of AB, running from 1 to n: column k of A meets row k of B. Say it: “k”.
xx x.
In Ax = b, the vector of unknowns (or of the amounts of each column); in Problems 1 and 3, x is also the first unknown, with y and z. Say it: “x”.
yy y.
The second unknown of the systems in Problems 1 and 3. Say it: “y”.
tt t.
In Problem 6(c), the number in row 1, column 3 of the matrix Aₜ. Say it: “t”.
ii i.
The number of a row: entry (i, j) of AB comes from row i of A. Say it: “i”.
jj j.
The number of a column: entry (i, j) of AB comes from column j of B. Say it: “j”.
nn n.
The number of columns of A and of rows of B, the length of the sum in each entry of AB. Say it: “n”.
mm m.
The number of rows of A (an m × n matrix); in Problem 5(d), the number of entries of the column u. Say it: “m”.
vv v.
A nonzero row with p entries (Problem 5(d)). Say it: “v”.
PP P.
A permutation matrix, the identity with its rows reordered: in Problem 4 the one that exchanges rows 2 and 3, in Problem 6(d) the 3 × 3 one given there. Say it: “capital P”.
AA A.
The matrix of each problem: in Problem 1 the 2 × 2 coefficient matrix, in Problem 2 the 3 × 3 matrix of the column picture, in Problems 3 and 4 the matrix of the system of Problem 3, in Problem 5 a 2 × 3 matrix, in Problem 6(a) and (b) a 2 × 2 matrix; in What you need, any matrix. Say it: “capital A”.
BB B.
A second matrix, multiplied with A; in Problem 5 a 3 × 2 matrix. Say it: “capital B”.
CC C.
The 2 × 2 matrix in the lower-left block of M (Problem 5(e)). Say it: “capital C”.
bb b.
The right-hand side vector of Ax = b. Say it: “b”.
qq q.
The number that replaces the entry in row 3, column 3 of A (Problem 3(c)). Say it: “q”.
ss s.
The number that replaces the entry in row 2, column 2 of A (Problem 3(c)). Say it: “s”.
NN N.
The 4 × 4 block matrix of Problem 5(e), with the blocks I and 0 on top and −C and I below. Say it: “capital N”.
pp p.
The number of columns of B; in Problem 5(d), the number of entries of the row v. Say it: “p”.
MM M.
The 4 × 4 block matrix of Problem 5(e), with the blocks I and 0 on top and C and I below. Say it: “capital M”.
uu u.
A nonzero column with m entries (Problem 5(d)). Say it: “u”.
EE E.
The product E₃₂E₃₁E₂₁ of the three elimination matrices, with EA = U. Say it: “E”.
x1x_{1} x 1.
The first component of x: the amount of column 1 in the combination Ax. Say it: “x one”.
x2x_{2} x 2.
The second component of x: the amount of column 2 in the combination Ax. Say it: “x two”.
UU U.
The upper triangular matrix that elimination produces from A. Say it: “capital U”.
x3x_{3} x three.
The third component of x: the amount of column 3 in the combination Ax. Say it: “x three”.
II I.
The identity matrix: ones on the diagonal, zeros elsewhere; in Problem 5(e), the 2 × 2 identity blocks (and the 4 × 4 identity). Say it: “capital I”.
b1b_{1} b 1.
The first component of the right-hand side b. Say it: “b one”.
b2b_{2} b 2.
The second component of the right-hand side b. Say it: “b two”.
b3b_{3} b 3.
The third component of the right-hand side b (Problem 2(c)). Say it: “b three”.
E21E_{21} E two one.
The elimination matrix that subtracts ℓ₂₁ times row 1 from row 2: the identity with −ℓ₂₁ in row 2, column 1. Say it: “E two one”.
E31E_{31} E three one.
The elimination matrix that subtracts ℓ₃₁ times row 1 from row 3: the identity with −ℓ₃₁ in row 3, column 1. Say it: “E three one”.
E32E_{32} E three two.
The elimination matrix that subtracts ℓ₃₂ times row 2 from row 3: the identity with −ℓ₃₂ in row 3, column 2. Say it: “E three two”.
ℓ21\ell_{21} ell 2 1.
The multiplier for row 2, column 1: the number of times row 1 is subtracted from row 2. Say it: “ell 2 1”.
ℓ31\ell_{31} ell 3 1.
The multiplier for row 3, column 1: the number of times row 1 is subtracted from row 3. Say it: “ell 3 1”.
ℓ32\ell_{32} ell 3 2.
The multiplier for row 3, column 2: the number of times the new row 2 is subtracted from row 3. Say it: “ell 3 2”.
AtA_{t} A t.
The 3 × 3 matrix of Problem 6(c), with the number t in row 1, column 3. Say it: “capital A sub t”.
aika_{\text{ik}} a i k.
The entry of A in row i, column k. Say it: “a sub i k”.
bkjb_{\text{kj}} b k j.
The entry of B in row k, column j. Say it: “b sub k j”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 33 words used here

Also used

linear.
Of a map, operator or equation: respecting sums and multiples, so that L(au + bv) = aL(u) + bL(v). Explained in The geometry of linear equations.
elimination.
Solving equations by subtracting multiples of one from another until each unknown can be found in turn. Explained in The geometry of linear equations.
matrix.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
inverse.
The thing that undoes another: a matrix times its inverse gives the identity matrix, as a function followed by its inverse gives back the start. Explained in Planes through three points, and matrices.
Gauss–Jordan.
A method that continues elimination upwards as well as downwards until the matrix becomes the identity, which finds the inverse. Explained in The four fundamental subspaces.
MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
row picture.
Seeing a system of linear equations as lines, planes or higher-dimensional planes, one per equation, that meet at the solution. Explained in The geometry of linear equations.
dimension.
The number of vectors in any basis of a vector space or subspace. Explained in Independence, basis and dimension.
column picture.
Seeing a system Ax = b as the question of which combination of the columns of A gives b. Explained in The geometry of linear equations.
invertible.
Of a square matrix or operator: having an inverse that undoes it; for a matrix this happens exactly when its determinant is not zero. Explained in The geometry of linear equations.
singular.
Of a square matrix: having no inverse, because its determinant is zero and some nonzero vector is sent to zero. Explained in The geometry of linear equations.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
pivot.
In elimination, the first nonzero number in a row, used to clear out the entries below it. Explained in Positive definite matrices and minima.
triangular matrix.
A square matrix with only zeros below its diagonal (upper triangular) or only zeros above it (lower triangular). Explained in Elimination with matrices.
back substitution.
Solving a triangular system from the bottom up: the last equation gives the last unknown, which is put into the one above, and so on.
row exchange.
Swapping two rows of a matrix, needed in elimination when a zero sits where a pivot should be.
elimination matrix.
A matrix that carries out one step of elimination, subtracting a multiple of one row from another, when it multiplies a matrix. Explained in Elimination with matrices.
permutation matrix.
A matrix made by reordering the rows of the identity matrix; multiplying by it reorders the rows of another matrix the same way. Explained in Elimination with matrices.
dot product.
A way of multiplying two vectors that gives a number: multiply matching components and add, or lengths times the cosine of the angle between them. Explained in Vectors and the dot product.
zero vector.
The vector whose components are all zero; adding it to any vector changes nothing. Explained in Transposes, permutations and vector spaces.
determinant.
A single number worked out from a square array of numbers (a matrix), which measures how the matrix stretches areas or volumes. Explained in Determinants and the cross product.
augmented matrix.
A matrix with an extra column, the right-hand side b, added to it, so that elimination works on the equations and b together. Explained in Elimination with matrices.
commutative.
Of an operation: giving the same result in either order, as in a + b = b + a. Explained in Vectors.
vector.
A list of numbers written as a column, or more generally anything that can be added and multiplied by numbers. Explained in Orthogonal vectors and subspaces.
permutation.
A rearrangement of a list of things into a new order. Explained in Elimination with matrices.

Academic

problem set.
A weekly sheet of exercises that students work through and hand in, to practise what the lectures taught.
transcript.
A written record of exactly what was said in a recorded lecture, word for word.
citation.
A note saying exactly where a statement, number or formula comes from, so readers can check it.
on paper.
In theory or in a calculation, as opposed to in a real experiment or in reality.
argument.
A chain of reasoning that leads to a conclusion; in maths also the input of a function, such as x in sin x.
drops out.
Disappears from an equation, usually because it cancels or appears on both sides.
in turn.
One after another, in order; or as the next link in a chain of causes.
satisfy.
To make an equation or condition true.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).