LINEAR-ALGEBRA Β· Unit 2 Β· Video 2 Β· Interactive Practice

Elimination Matrices: How Matrix Multiplication Encodes Row Operations

IKey Formulas

Concept Formula / Rule Description
Column view Ax=x1c1+x2c2+x3c3A\mathbf{x} = x_1\mathbf{c}_1 + x_2\mathbf{c}_2 + x_3\mathbf{c}_3 Matrix Γ— column = linear combination of columns
Row view xTA=x1r1+x2r2+x3r3\mathbf{x}^T A = x_1\mathbf{r}_1 + x_2\mathbf{r}_2 + x_3\mathbf{r}_3 Row Γ— matrix = linear combination of rows
Elimination matrix Start from II, place βˆ’β„“-\ell at position (i,j)(i,j) Subtracts β„“\ell times row jj from row ii
Full elimination E32 E21 A=UE_{32}\,E_{21}\,A = U Product of elimination matrices β†’\to upper triangular

IIVisualization 1 β€” Rows Combine on the Left

A row vector times AA mixes the rows of AA β€” so what does [c1,c2,c3] A[c_1, c_2, c_3]\,A produce?

IIIVisualization 2 β€” Building E from the Identity

Drop a single βˆ’β„“-\ell into II at position (i,j)(i,j): which row operation does EE then perform on AA?

IVVisualization 3 β€” Order Matters

Does E32E21E_{32}E_{21} give the same result as E21E32E_{21}E_{32}? Watch position (3,1)(3,1) and the final shape.

πŸ’‘ Associativity lets you regroup β€” (E32E21)A=E32(E21A)(E_{32}E_{21})A = E_{32}(E_{21}A) β€” but commutativity fails, so the order of elimination matrices matters.

VQuiz Questions

Question 1

The elimination matrix E21E_{21} has the entry βˆ’3-3 in position (2,1)(2, 1):

E21=[100βˆ’310001]E_{21} = \begin{bmatrix} 1 & 0 & 0 \\ -3 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}

What row operation does left-multiplying by E21E_{21} perform?

βœ… Correct! E₂₁ targets row 2 using pivot row 1, and the negative entry means subtraction.

❌ Not quite. The subscript (2,1) tells you: target row 2, pivot row 1. The negative entry means subtraction, not addition.

Show solution

Solution: Replace row 2 with row 2 βˆ’ 3Β·(row 1).

The subscript E21E_{21}: target = row 2, pivot = row 1. The entry βˆ’3-3 sits in position (2,1)(2,1).

Row 2 of E21E_{21} is [βˆ’3,1,0][-3, 1, 0]. Left-multiplying gives: (βˆ’3)β‹…row1+(1)β‹…row2+(0)β‹…row3=row2βˆ’3β‹…row1(-3)\cdot\text{row}_1 + (1)\cdot\text{row}_2 + (0)\cdot\text{row}_3 = \text{row}_2 - 3\cdot\text{row}_1

The multiplier is 33, so we placed βˆ’3-3 (always negative) in the matrix. The operation subtracts.

Question 2 Β· True or False

Matrix multiplication is associative but not commutative. This means (E32 E21) A=E32 (E21 A)(E_{32}\,E_{21})\,A = E_{32}\,(E_{21}\,A) always holds, but E32 E21β‰ E21 E32E_{32}\,E_{21} \neq E_{21}\,E_{32} in general.

βœ… Correct! Associativity lets you regroup freely. Commutativity fails β€” order matters in matrix multiplication.

❌ Not quite. Read carefully: the statement claims associativity holds AND commutativity fails. Both of these claims are true!

Show solution

Solution: True.

Associativity means we can regroup parentheses freely: (E32 E21) A=E32 (E21 A)(E_{32}\,E_{21})\,A = E_{32}\,(E_{21}\,A) Both produce the same result UU. βœ…

Commutativity would mean we could swap the order. But: E32E21=[100βˆ’3106βˆ’21]β‰ [100βˆ’3100βˆ’21]=E21E32E_{32}E_{21} = \begin{bmatrix} 1 & 0 & 0 \\ -3 & 1 & 0 \\ 6 & -2 & 1 \end{bmatrix} \neq \begin{bmatrix} 1 & 0 & 0 \\ -3 & 1 & 0 \\ 0 & -2 & 1 \end{bmatrix} = E_{21}E_{32}

Position (3,1)(3,1): 6β‰ 06 \neq 0. Order matters! ❌

Question 3

You need to subtract 55 times row 1 from row 3. Which elimination matrix accomplishes this when left-multiplied?

βœ… Correct! The negative of the multiplier goes in the (i,j)(i, j) position of the identity matrix.

❌ Not quite. Remember: the negative of the multiplier goes in the position (target row,source row)(\text{target row}, \text{source row}) of the identity matrix.

Show solution

Solution: The correct matrix has βˆ’5-5 in position (3,1)(3, 1):

E31=[100010βˆ’501]E_{31} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ -5 & 0 & 1 \end{bmatrix}

The negative of the multiplier (βˆ’5-5) goes in position (3,1)(3, 1) because we are subtracting 55 times row 1 from row 3. The rest of the matrix is the identity.

Solved: 0 / 3