Practice: Matrices as Operators

Recognition · Classification

A is 3 × 5 and B is 5 × 2 . Which products are defined?

2 hints available, least help first.

Hint 1: Retrieval cue

Write the shapes side by side and look at the two inner numbers.

Hint 2: Concept cue

A B means do B first. Where does its output land, and can A accept it?

Direct application · Interpretation · Explanation

Let

A = ( 1 3 0 2 1 5 ) , x = ( 2 , 1 , 3 ) .

(a) Compute A x by rows. (b) Write A x as a combination of the columns of A . (c) State which space A x lives in and why it differs from the space x lives in.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

For (b), the entries of x are the weights on the columns.

Hint 2: Strategy cue

Count the columns, then count the entries of x . They must agree, and that tells you both spaces.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

(a) By rows. First entry: ( 1 ) ( 2 ) + ( 3 ) ( 1 ) + ( 0 ) ( 3 ) = 2 + 3 + 0 = 5 . Second entry: ( 2 ) ( 2 ) + ( 1 ) ( 1 ) + ( 5 ) ( 3 ) = 4 + 1 + 15 = 20 . So A x = ( 5 , 20 ) .

(b) By columns. The columns are A 1 = ( 1 , 2 ) , A 2 = ( 3 , 1 ) , A 3 = ( 0 , 5 ) , and the entries of x are the weights:

A x = 2 ( 1 2 ) + 1 ( 3 1 ) + 3 ( 0 5 ) = ( 2 4 ) + ( 3 1 ) + ( 0 15 ) = ( 5 20 ) .

Same answer, as it must be. The two readings group the same sum differently.

(c) The spaces. x ∈ R 3 because A has three columns and each needs a weight. A x ∈ R 2 because each column is a vector in R 2 and a combination of them stays there. The action moves between spaces whenever the matrix is not square: it consumes a vector of length equal to the number of columns and produces one of length equal to the number of rows.

What the column reading adds. It shows ( 5 , 20 ) is reachable by mixing A 's columns, so the system A y = ( 5 , 20 ) has at least one solution. The row computation gives the number without saying anything about reachability.

A complete answer does each of these:

  • computes product
  • checks dimensions

Comparison · Method selection

You need to decide whether A x = b has any solution at all, for a 4 × 2 matrix A . Which reading settles it with least work?

2 hints available, least help first.

Hint 1: Retrieval cue

Restate 'has a solution' without using the word solution.

Hint 2: Concept cue

Which reading is about what the columns can reach?

Error diagnosis · Comparison · Explanation

A student is asked for B v , where B is 2 × 3 and v = ( 1 , 4 ) . They write:

B has three columns and v has two entries, so I transposed B to make it 3 × 2 and computed B T v , which gives a vector in R 3 .

The arithmetic they then performed is correct. Say what is wrong anyway, and what the right response to the original question is.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

What length of vector does a 2 × 3 matrix consume?

Hint 2: Concept cue

If a product is undefined, is that a problem to work around or the answer?

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

What went wrong. B v is not defined, and that is the answer. B is 2 × 3 , so it consumes vectors of length three; v has length two. Nothing rescues that, because the mismatch is the finding.

Why transposing is not a repair. B T v is a different question with a different answer living in a different space. B v would have landed in R 2 ; B T v lands in R 3 . The student did not compute the requested quantity more cleverly. They computed something else and reported it under the original name.

The habit to build. Write the shapes before touching the entries: ( 2 × 3 ) ( 3 × 1 ) works and yields 2 × 1 ; ( 2 × 3 ) ( 2 × 1 ) does not, and you know before any multiplication. The check is cheap precisely because it happens first.

What to answer. " B v is undefined: B has three columns and v has two entries." If the intent was a product that exists, say which one and why, do not silently substitute it.

A complete answer does each of these:

  • checks dimensions
  • computes product

Direct application · Completion

For A = ( 2 1 0 − 1 3 4 ) and x = ( 3 , 2 , − 1 ) , compute A x .

1 hint available, least help first.

Hint 1: Retrieval cue

Each entry of A x is one row of A dotted with x .

Error diagnosis · Explanation · Evaluation

An analyst writes:

Since M = A B and N = B A use the same two matrices, M and N are the same. And from A B = C B I can cancel B to conclude A = C .

Identify every error and state what would have to be true for the final step to hold.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

Try to find two small matrices where A B and B A differ.

Hint 2: Concept cue

What operation is 'cancelling', and what does a matrix need for it to be available?

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

First error: A B and B A are not the same. Matrix multiplication composes actions, A B means do B , then A , and doing two things in the other order is a different thing to do. A concrete case: with A = ( 1 1 0 1 ) and B = ( 1 0 1 1 ) , A B = ( 2 1 1 1 ) while B A = ( 1 1 1 2 ) .

Second error: 'the same two matrices' is about inputs, not results. The same ingredients combined in a different order give a different product. For non-square shapes the point is sharper still, A of size 2 × 3 and B of size 3 × 4 make A B defined and B A meaningless, so they cannot be compared at all.

Third error: cancelling is division, which matrices do not support. From A B = C B it does not follow that A = C . Take B to be a matrix of zeros: then A B = C B holds for every A and C whatsoever.

What would make the final step valid. If B is square and invertible, right-multiplying both sides by B − 1 gives A B B − 1 = C B B − 1 , hence A = C . That is a legitimate operation, not cancellation, but multiplication by a matrix that exists only under that condition. Whether it exists is settled by the independence of B 's columns.

A complete answer does each of these:

  • column reading

Transfer · Evaluation · Explanation

A factory's resource usage is described by a matrix A whose columns are the resource requirements of each product, and a plan x giving how many of each product to make.

A manager asks: "Can we hit a target resource profile b exactly?" Another asks: "What does A applied to our current plan consume?"

Say which reading of A x answers each question, answer them in general terms, and explain what it would mean for one product's column to be a multiple of another's.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

One question asks for a number; the other asks whether something is possible.

Hint 2: Strategy cue

Ask what the columns can reach between them if one is a multiple of another.

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

The second question first, as it is the simpler. "What does the current plan consume?" is answered by computing A x , either reading gives the number, and the row reading is the natural way to execute it: each row is a resource, and dotting it with the plan gives how much of that resource the plan uses.

The first question is a column question. "Can we hit b exactly?" asks whether b can be written as x 1 A 1 + ⋯ + x n A n , whether the target profile is reachable by mixing the products' requirement columns. That is precisely the column reading, and it is a question about existence rather than about arithmetic.

One column a multiple of another. Suppose A 2 = 3 A 1 : the second product uses exactly three times the resources of the first, in the same proportions. Then the two columns reach only a single line of profiles between them, and they add no independent flexibility, anything achievable with the pair is achievable with the first product alone, at a different quantity. In planning terms the second product is redundant as a means of hitting a resource profile, and in linear-algebra terms the columns are dependent, which is what makes some targets unreachable.

A practical consequence. If the manager's target b is not on the span of the columns, no plan hits it exactly, however the quantities are adjusted. The right response is not to search harder but to recognise the target as unreachable and either relax it or change what the factory can make.

A complete answer does each of these:

  • column reading

Direct application · Classification

For A = ( 2 0 1 1 3 − 2 ) , x = ( 1 , 2 , 4 ) , y = ( 3 , − 1 ) :

(a) Compute A x , or say why it is not defined.

(b) Compute A y , or say why it is not defined.

(c) Compute A T y , or say why it is not defined.

State the dimension check you applied in each case before computing anything.

Write your answer, then compare it with the worked solution.

2 hints available, least help first.

Hint 1: Retrieval cue

Write the shape of each object before multiplying anything.

Hint 2: Concept cue

Inner dimensions must agree: ( m × n ) ( n × 1 ) .

Compare with the worked solution

Comparing does not record a result. Judging your own written answer cannot show that you can do this without help.

The check, first. A x is defined when the number of COLUMNS of A matches the length of x . A is 2 × 3 .

(a) x has three entries, so A x is defined and lands in R 2 :

A x = ( 2 ( 1 ) + 0 ( 2 ) + 1 ( 4 ) 1 ( 1 ) + 3 ( 2 ) − 2 ( 4 ) ) = ( 6 − 1 )

(b) y has two entries and A has three columns, so A y is not defined. The mismatch is decidable before any arithmetic, which is the point of checking first.

(c) A T is 3 × 2 , so it takes a vector of length two. y qualifies, and the result lands in R 3 :

A T y = ( 2 ( 3 ) + 1 ( − 1 ) 0 ( 3 ) + 3 ( − 1 ) 1 ( 3 ) − 2 ( − 1 ) ) = ( 5 − 3 5 )

Note. (b) and (c) use the same two objects and only one product exists. Transposing is not a formality for making shapes agree. It changes which vector space the result lives in.

A complete answer does each of these:

  • computes product
  • checks dimensions

Direct application · Classification

Let

A = ( 2 1 0 − 1 3 4 ) , x = ( 3 , 2 , − 1 ) , B = ( 1 0 2 1 ) .

Select every statement that is true.

Select every option that applies

Every option that applies, and only those. The set is checked as a whole.

Practice data

Your practice record is stored in this browser only. Clearing it removes every answer and every scheduled review, and cannot be undone.

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.