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 11 of 11

Encode and verify a matrix solution

Keep variable order, inverse existence and original equations visible.

Loading your saved responses…

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

Try

Three balances give x+y=4, y+z=6 and x+z=6. Adding the first and third and subtracting the second leaves 2x=4, so x=2. Then y=2 and z=4. Check: the three sums are 4, 6 and 6. This small calculation is the reference case; it is separate from the live tool’s starting values.

A matrix records the same equations compactly. Choose the unknown order (x,y,z). The coefficient rows are (1,1,0), (0,1,1), (1,0,1), and the right-side column is (4,6,6). A zero records an absent variable; it must not be omitted and shift the remaining columns.

Predict

Write this as Ax=b. Here A is a 3×3 coefficient matrix, x denotes the three-entry unknown column in this notation, and b is the right-side column. The scalar x in the first equation is the first entry of that column; keep the surrounding notation clear.

An inverse B=A⁻¹ must satisfy AB=BA=I, where I has ones on its main diagonal and zeros elsewhere. Predict the consequence of multiplying Ax=b on the left by B. It gives x=Bb. Matrix multiplication follows row-by-column rules; changing the variable order without changing the coefficient columns changes the problem.

Experiment

Use the exact-fraction tool. Its first preset has a different right side from the worked example, and editable entries have bounded integer menus. Predict whether the current system has one solution before calculating. Then inspect the inverse, determinant, solution and equation residuals. Changes are temporary exploration; retain the reasoning in the practice answers if you want a reviewable record.

Encode, invert, then verify a three-variable system

Write the unknowns in the order x, y, z. In Ax=b, the x in the matrix notation denotes the column vector of all three unknowns. Each row below is one equation, with its right side in the last column. Predict whether the equations determine one solution before calculating. The tool uses exact fractions for these small integer inputs.

Ax=b: A has three coefficient columns; b is the right-side column.
Equationx coefficienty coefficientz coefficientRight side b
1
2
3
  1. 1x + (1)y + (0)z = 3
  2. 0x + (1)y + (1)z = 5
  3. 1x + (0)y + (1)z = 4

Results are hidden until you calculate. Editing any coefficient or right-side entry clears the previous result.

Use these outputs as calculation evidence, then explain your encoding and verification in the lesson task. This bounded tool handles 3×3 integer matrices only; it is not a general numerical solver. Inputs and results are temporary and never count as mastery.

Change one row to be dependent on another, first with a compatible right side and then with an incompatible one. Compare the reported classifications. A zero determinant means an inverse is unavailable; it does not decide by itself whether the system has no solutions or infinitely many.

Understand

For the worked matrix, an inverse is one half of the array with rows (1,−1,1), (1,1,−1), (−1,1,1). Verify it by multiplication. The first row of A selects the first two rows of B, whose sum is (1,0,0). The second selects rows two and three, producing (0,1,0). The third selects rows one and three, producing (0,0,1). Thus AB=I. Checking BA in the same way also gives I.

ComputationFirst coordinateSecond coordinateThird coordinate
Bb(4−6+6)/2=2(4+6−6)/2=2(−4+6+6)/2=4
A(Bb)2+2=42+4=62+4=6
A(Bb)−b000

Why does this establish a unique solution? Any solution must satisfy B(Ax)=Bb, hence x=Bb because BA=I. Conversely the candidate Bb satisfies A(Bb)=b because AB=I. These are necessity and sufficiency, so they establish both existence and uniqueness.

A singular system behaves differently. If one equation is twice another and its right side is also doubled, that row adds no new restriction. If its right side differs from the doubled value, the equations contradict. A tool may describe this using rank, the number of independent rows after reversible elimination; the concrete row comparison already explains the distinction without a prior linear-algebra course.

Apply

The fresh matrix task stays within the tool’s input limits and asks for an independent product check, not only a copied screen. Record the variable order, entered A and b, inverse and candidate solution. Multiply at least one complete row of AB and substitute the candidate into every original equation. A residual of zero means those equations are satisfied; it does not establish that your original contextual model was appropriate.

Practice also supplies a plausible but wrong inverse. A single failed identity entry disproves it. Conversely, one successful right-side test is not enough to prove an inverse: a wrong matrix can agree on one special vector. The identity check examines the operation itself.

Elimination remains useful when no inverse exists. It can expose a contradiction or identify free variables, while an “inverse unavailable” message alone cannot describe all solutions.

Continue

Matrix encoding connects school systems to later linear maps and least-squares models. It is optional machinery for many small systems, not a reason to stop checking equations. Preserve the distinction between a numerical answer, an equation solution and a justified contextual decision.

For further study, ask why adding a multiple of one equation to another preserves the solution set. The operation can be undone by subtracting the same multiple. That reversibility is the common idea behind ordinary algebra, elimination and inverse verification; the compact notation does not replace it.

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.

Write the row for 2x−y+3z=4 using unknown order (z,x,y). What is the second coefficient?

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

Use the exact inverse tool or elimination for x+y=2, y+z=4, x+z=0. What is x? Verify all three equations in the feedback.

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

Enter A=[[1,0,1],[1,1,0],[0,1,1]] and b=(3,1,2) into the inverse tool. Record A inverse and the solution, and independently check one full row of A times A inverse and all three original equations.

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.

Compare x+y+z=2, 2x+2y+2z=4, x−y=0 with the system obtained by replacing the second right side with 5. Explain the inverse status and describe all solutions or prove none exist.

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=[[1,1,0],[0,1,1],[1,0,1]], a learner proposes B=(1/2)[[1,1,−1],[−1,1,1],[1,−1,1]]. Test the first row of AB. Explain why a plausible-looking array or a solution for one right side does not prove that B is A inverse.

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.

Suppose a square matrix B satisfies BA=AB=I. Explain why Ax=b has exactly the solution x=Bb. In school language, state what goes wrong with this argument when an inverse is unavailable.

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.