Lesson overview
Use matrices as structured transformations of vectors.
Starter: make the model explicit
Before reading the worked example, write down the objects involved, the claim being made and the notation you expect to use. This prevents the common error of calculating before modelling.
Learning objectives
- Read the dimensions of a matrix.
- Multiply a small matrix by a vector.
- Explain matrix transformation as a repeatable rule.
Learning outcomes
- By the end of this lesson, you can read the dimensions of a matrix.
- By the end of this lesson, you can multiply a small matrix by a vector.
- By the end of this lesson, you can explain matrix transformation as a repeatable rule.
Key vocabulary
What this lesson is about
A matrix is a rectangular arrangement of numbers. When used as a transformation, it takes an input vector and produces an output vector by combining components in a structured way.
This is why matrices appear in graphics, machine learning, networks and data processing: they provide a compact formal way to describe repeatable transformations.
Terms, acronyms and named methods
These are the phrases and named techniques used in this lesson. Read this section before the worked example so the notation and examples have a clear meaning.
Formal notation and definitions
How to read the symbols
Use matrix dimensions to check whether a multiplication is legal before calculating. The row-by-column calculation defines each output component.
Degree-level reasoning
Vectors and matrices encode structure. The dimensions, units and component meanings are part of the model, not incidental presentation.
A correct matrix calculation should also say what the transformed vector or product represents.
Do not stop at a correct-looking answer. State why the method is valid, whether the result depends on a hidden assumption, and what would count as a counterexample.
Worked formal model
This section shows the model, notation, calculation and interpretation as one worked answer. The notation is part of the reasoning, not decoration.
1. Context and objects
A 2 by 2 matrix can transform a 2D vector by combining its x and y components into a new position.
Objects: matrix A, input vector x, output vector Ax, and the coordinate meanings of each component.
Model cue: Use a matrix-vector multiplication layout: each output component is a row of the matrix dotted with the input vector.
2. Mathematical working
Plain text version
A = [[2, 0], [0, 1]], x = [3, 5] Ax = [2*3 + 0*5, 0*3 + 1*5] Ax = [6, 5]
3. How to read the working
- Read the input vector as an ordered pair of components, not as two unrelated numbers.
- Each row of the matrix defines one output component.
- The first output component is row 1 dotted with the input vector; the second output component is row 2 dotted with the input vector.
- Interpret the result as a transformation of state or geometry.
4. Computing meaning and check
The matrix is a reusable rule for transforming vectors. The row-by-column calculation shows exactly how each output coordinate is produced.
Now check: Write a 2 by 2 matrix that doubles both coordinates of a vector. Then apply it to (3, 5).
Worked example
From scenario to formal reasoning
Scenario: A 2 by 2 matrix can transform a 2D vector by combining its x and y components into a new position.
Method: Use the definitions and notation introduced above, then state what the result means in this computing scenario.
Reveal model answer
Let A = [[2, 0], [0, 1]] and x = [3, 5]. Then Ax = [2*3 + 0*5, 0*3 + 1*5] = [6, 5]. The matrix doubles the first coordinate and leaves the second coordinate unchanged, so the calculation is formal evidence for the geometric transformation.
Worked solution structure
How a strong answer should be written
- Define: State the domain and the objects under discussion. For this lesson, begin from A ∈ ℝᵐˣⁿ has m rows and n columns.
- Apply: Use the relevant definition from vectors and matrices; do not rely on the diagram, wording or intuition alone.
- Check: Test a boundary case, counterexample candidate or representation limit.
- Conclude: Write one sentence that connects the formal result back to the computing scenario.
Common misconception
A common mistake is multiplying dimensions mechanically without asking what the transformation means.
Guided practice
- Write the 2 by 2 matrix that doubles both coordinates, then apply it to (3, 5).
- Explain the row-by-column calculation for the first output component.
- Give a matrix that leaves x unchanged and negates y, then interpret it geometrically.
- State the dimension rule that allows a 2 by 2 matrix to multiply a 2-component vector.
Quick checks
1. Which matrix doubles both coordinates?
2. Before multiplying a matrix by a vector, what should you check?
Digital exam practice
Example exam task
Use a 2 by 2 matrix to double both coordinates of x = (3,5). Show the matrix-vector product and interpret the transformation.
Notation toolkit
Means: a matrix transformation applied to a vector
How to use: Use it when a rule changes a vector state.
Means: matrix dimensions: rows by columns
How to use: Use it before checking multiplication compatibility.
Means: a 2 by 2 matrix written by rows
How to use: Use it to organise coefficients for a two-component transformation.
What a good answer is expected to show
A strong answer for this lesson defines matrix A, input vector x, output vector Ax, and the coordinate meanings of each component, applies the vectors and matrices method with visible working, and finishes by interpreting the result in the computing scenario.
How to solve it
- Read the input vector as an ordered pair of components, not as two unrelated numbers.
- Each row of the matrix defines one output component.
- The first output component is row 1 dotted with the input vector; the second output component is row 2 dotted with the input vector.
- Interpret the result as a transformation of state or geometry.
Model answer
Reveal model answer
A matrix that doubles both coordinates is A = [[2,0],[0,2]]. For x = (3,5), Ax = (2·3 + 0·5, 0·3 + 2·5) = (6,10). The matrix is compatible with the 2-component vector and represents a scaling transformation.
Practise next
- Write the 2 by 2 matrix that doubles both coordinates, then apply it to (3, 5).
- Explain the row-by-column calculation for the first output component.
Self-marking criteria
- Writes a compatible 2 by 2 matrix.
- Shows row-by-column working.
- Calculates (6,10).
- Explains the repeated transformation rule.
- Mentions dimension compatibility.
Extension
Change one assumption in the worked scenario and decide whether the same method still applies. If it does not, name the exact point where the reasoning breaks.
Study route
Save one clean worked answer from this lesson. Include the problem statement, notation, working, final answer and a short note explaining the computing meaning of the result.
Next lesson: Matrix Operations and Computing Applications.
