Recent chats

How can a matrix represent a transformation of a vector?

Quick answer

A matrix represents a linear transformation by specifying how to calculate a new vector from an input vector. For a 2D column vector, each matrix row is multiplied by the input coordinates and summed to produce one output coordinate. For example, [[1, 2], [3, 4]] times (5, 6) gives (17, 39). The columns show where the two standard basis vectors are mapped. [S1]

LET’S WORK THROUGH IT

The question, the details, the next step.

Question

How can I read a matrix as a transformation of a vector, rather than just a set of numbers?

Geez

Think of the matrix as a rule that takes an input vector and returns an output vector. With a 2D column vector, each row tells you how to calculate one output coordinate: multiply the row’s entries by the input coordinates, then add.

For example, let A = [[1, 2], [3, 4]] and v = (5, 6). Then

A v = (1·5 + 2·6, 3·5 + 4·6) = (17, 39).

So this transformation sends the input coordinates (5, 6) to the output coordinates (17, 39). Each output coordinate is a row’s dot product with the input. [S1] The calculation describes coordinates in the chosen basis; changing the basis can change the matrix used to describe the same transformation. [S1]

Follow-up question

Can you show what each row contributes in that example?

Geez

Yes. Keep the same input, (5, 6), and separate the calculation by rows:

  1. First row, (1, 2): 1·5 + 2·6 = 17. This becomes the first output coordinate.
  2. Second row, (3, 4): 3·5 + 4·6 = 39. This becomes the second output coordinate.

The output is therefore (17, 39). A useful way to check yourself is to match each row with exactly one output coordinate, in order. The first row does not produce the whole vector; it produces its first component. The second row produces its second component. This row-by-row method works for other matrix-vector examples when the dimensions are compatible.

Follow-up question

What do the columns tell me geometrically, and how is that related to the row calculations?

Geez

The columns show where the standard basis vectors go. For A = [[1, 2], [3, 4]], the first column is (1, 3), and the second is (2, 4). Under this matrix transformation, the basis vectors (1, 0) and (0, 1) map to those respective columns. [S1]

Your input (5, 6) can be written as 5(1, 0) + 6(0, 1). Its transformed vector is consequently 5(1, 3) + 6(2, 4) = (17, 39). [S1] That column-based view and the row-by-row calculation describe the same multiplication in two ways. Geometrically, applying a matrix can move the corners of the unit square into a parallelogram; the matrix columns give the transformed directions of its sides. [S2] These explanations use the stated column-vector convention; another convention for writing vectors may require different notation. [S2]

Follow-up question

What short method can I reuse, and what should I check if my answer looks wrong?

Geez

Use this sequence:

  1. Write the input as a column vector and copy the matrix clearly.
  2. Take one matrix row at a time; multiply corresponding entries and add.
  3. Put each row’s sum in the matching position of the output vector.
  4. Check that you used every row once and kept the output coordinates in order.
  5. For a geometric sense-check, compare the matrix columns with the images of the two standard basis vectors. [S1]

For the worked example, the reusable layout is:

[[1, 2], [3, 4]] · (5, 6) = (1·5 + 2·6, 3·5 + 4·6) = (17, 39)

This gives the coordinate calculation and its result, not a sketch of the transformed vector. The sources establish the row-dot-product calculation and the basis-column interpretation for the stated conventions; they do not determine a particular application’s coordinate system or how to draw a graph to scale. [S1][S2]

A practical checklist

  • Write the vector as a column and keep its coordinate order consistent.

  • Pair each matrix row with one output coordinate.

  • Multiply matching entries, then add within each row.

  • Check that the number of output coordinates matches the number of matrix rows.

  • If using a geometric interpretation, identify the basis and read its transformed vectors from the matrix columns.

A few more useful answers

Why does each matrix row produce one output coordinate?

In matrix-vector multiplication, a row’s entries are multiplied by the corresponding input coordinates and summed. Each row’s sum occupies the matching position in the output vector. [S1]

What do the columns of a transformation matrix represent?

With the stated column-vector convention and standard basis, each column gives the transformed image of one basis vector. [S1]

Does the same transformation always have the same matrix?

Not necessarily: its matrix representation depends on the chosen basis. Keep the basis clear when interpreting coordinates. [S1]

Sources

References used for this guide.

  1. [S1] MIT OpenCourseWare 18.013A: Matrices and Transformations
    ocw.mit.edu · Checked
  2. [S2] MIT OpenCourseWare 18.02SC: Meaning of Matrix Multiplication
    ocw.mit.edu · Checked

YOUR QUESTION. YOUR DETAILS.

Let’s work through your situation.

Get a tailored answer or help with your next task. Starts at $1, with a quote before you pay.

Ask your own question
← Back to Geez at Work