Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 12 of 12

Which number laws survive for matrices?

Compute dimension-compatible products and demonstrate noncommutativity with a small example.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

Two workshops assemble two kinds of kits. Matrix A=[[2,1],[1,3]] records kit counts, with rows workshops and columns kit types. Matrix B=[[3,2],[1,4]] records parts per kit, with rows those same kit types and columns screws, clips. How many parts does each workshop need?

For the first workshop’s screws, multiply and add: 2·3+1·1=7. Doing this for every workshop and part gives AB=[[7,8],[6,14]]. The inner labels match: A’s kit columns align with B’s kit rows. The output rows are workshops and output columns are parts.

Predict

Predict whether BA describes the same thing. Even if both arrays are 2×2 and the reversed product is algebraically defined, the reversed labels do not express the same contextual calculation. In general, order changes the matrix product.

Predict which matrix preserves every column vector when multiplied by it. The zero matrix cannot: it sends every vector to zero. The identity matrix I=[[1,0],[0,1]] selects and preserves the original coordinates.

Experiment

Use a row/column ledger to compute every entry of the fixed product.

Output entryCalculationValue
Workshop 1, screws2·3+1·17
Workshop 1, clips2·2+1·48
Workshop 2, screws1·3+3·16
Workshop 2, clips1·2+3·414

Now compute BA as bare number arrays: [[8,9],[6,13]]. It differs from AB exactly, with no rounding involved. Then calculate AI and IA separately. Contrast both with A+0 and A0. The additive identity is the zero matrix of matching shape, while the multiplicative identity is the appropriately sized square identity matrix.

Understand

If A is m×n and B is n×p, then AB is m×p. Entry (i,j) is the sum, over k from 1 to n, of A(i,k)B(k,j). The matching inner dimension counts terms in the row/column pairing. For addition, both dimensions must match instead.

Distributivity follows from real arithmetic entry by entry. For B,C both n×p, each term A(i,k)(B(k,j)+C(k,j)) distributes, giving A(B+C)=AB+AC. If D,E are m×n and F is n×p, distribute the first factor instead to get (D+E)F=DF+EF. For associativity, let C additionally have size p×q. Both ((AB)C)(i,j) and (A(BC))(i,j) sum the same products A(i,k)B(k,l)C(l,j) over k and l; only the order of the finite sums changes. Thus regrouping is valid. It does not authorize reordering A,B,C.

For a square matrix [[a,b],[c,d]], define determinant Δ=ad−bc. If Δ≠0, multiplication on both sides verifies the inverse (1/Δ)[[d,−b],[−c,a]]. If Δ=0 and the first row is nonzero, the nonzero column (−b,a) is sent to (0,Δ)=(0,0). If the first row is zero but the second is nonzero, the column (−d,c) is sent to zero. If the whole matrix is zero, use (1,0). In each singular case an inverse would send the equality Av=0 back to v=0, a contradiction. This proves the determinant criterion for 2×2 matrices; higher sizes require further definitions.

A nonzero matrix can therefore fail to be invertible. For A=diag(1,0) and B=diag(0,1), AB=0 even though neither factor is zero. Cancellation laws for nonzero real numbers cannot be transferred to all nonzero matrices.

Apply

State shapes before multiplying and check both products when proposing a 2×2 inverse. Keep an exact noncommuting example beside a general distributivity argument: a counterexample refutes a universal claim, while one matching numerical example cannot prove a universal law.

For a data product, also identify the summed-over label and the two surviving labels. A row-by-column answer without those meanings may be algebraically correct but contextually inappropriate.

Continue

This entry-level bridge develops N-VM.C.8–10. Continue to matrix products and composition and determinants and volume for further transformation and area reasoning; these direct links do not require completing the whole linear algebra course first.

The mixed assessment asks for fresh constructions and proofs across this unit. Its public worked guidance supports practice. Completion and saved answers do not by themselves establish independently reviewed mathematical understanding.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

For A=[[1,2],[0,1]] and B=[[2,0],[3,1]], find entry (1,1) of AB.

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

For A=[[3,1],[2,1]], find entry (1,1) of A inverse.

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

Compute AB and BA for A=[[1,2],[0,1]], B=[[2,0],[3,1]]. Why does this disprove a universal commutative law rather than merely showing a rounding discrepancy?

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Let A be m×n and B,C be n×p. Prove A(B+C)=AB+AC entry by entry. Also state the compatible shapes and argument for (D+E)F.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

For A of size m×n, B of size n×p and C of size p×q, justify (AB)C=A(BC). Explain why this allows regrouping but not reordering.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Explain A+0=A and AI=IA=A for a 2×2 matrix. Prove a 2×2 matrix [[a,b],[c,d]] is invertible exactly when ad−bc≠0. Include a nonzero singular example and show why cancellation can fail.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.