Matrix × vector

Use this when a matrix acts on a column vector of compatible size.

0/5 marked as readthis browser

What’s happening here?

A matrix transforms the input vector into a new vector. Each row forms one output coordinate. Equivalently, the output combines the matrix’s columns using the input coordinates as weights. Keep the order of coordinates consistent.

KEEP THIS RELATIONSHIP

Each coordinate of Av is the dot product of the corresponding row of A with v.

A worked example.

A = [2 1; 3 4], v = (1, 2)
  1. 1

    First coordinate: 2(1) + 1(2) = 4.

  2. 2

    Second coordinate: 3(1) + 4(2) = 11.

A common wrong turn.

Use a row of A with the entire input vector, rather than multiplying columns by each other.

Why this works.

Each matrix row produces one output coordinate through a dot product. Equivalently, the input coordinates weight the matrix’s columns. Check dimensions first: an m×n matrix acts on an n-entry column vector and returns m entries.

Check it. Apply it. Explain it.

Three questions, with hints and worked feedback. Your score counts your first submitted answer. Practice only · scores stay in this session and do not enter your account history.

Question 1 of 30 correct / 0 answered

Matrix × vector

For A = [1 2; 0 3], what is A(2, 1)?

Videos and further reading

These resources open in a new tab on the publisher’s website.

Finished reading?Stored in this browser; separate from practice grades.

Put the idea to work.

Try a generated question and get a worked explanation after checking your answer.

Go to practice Explore the visual lab