Why Can Changing the Order of Two Transformations Change the Result? Describe each transformation as a rule acting on a column vector, then preserve the order in which the rules are applied. A rotation followed by unequal stretching can give a different result from stretching followed by rotation. Learners need to reconstruct the intermediate coordinates and check what the combined transformation preserves.
This international coursework lab uses an original fictional grid and two exact two-dimensional rules. It extends Vector Components and Symmetry and Invariance by examining composition rather than individual directions or equivalence classes. AI can help calculate matrices; students verify the coordinate convention and intermediate steps. The activities are proposed coursework, not validated interventions; future superintelligence remains hypothetical.
- Specify the column-vector and coordinate convention.
- Construct a matrix from its action on basis vectors.
- Calculate two different orders of composition.
- Compare length, area, orientation and invertibility.
- Distinguish a linear map from a translation.
- Verify an independent transformation and undo it in reverse order.
Choose your reading route
Coursework series: Vector Components Lab · Symmetry and Invariance Lab · Function and Inverse Mapping Lab · Geometric Scaling Lab · Vocabulary Coding and Engineering
Continue this coursework series: Matrix Transformations Lab (this article) · Loop Invariants Lab · Confidence Interval Coverage Lab · Lexical Entailment Studio
Full chapter index
Chapters 1–5
Chapters 6–10
Chapters 11–15
Chapters 16–20
Chapters 21–25
Chapter 26
1. The capability: preserve the sequence of operations
A transformation changes a representation according to a rule. If a second transformation acts on the first result, its input is not necessarily the original object. The order can change the final coordinates even when the same two rules appear in the description.
This lab requires a coordinate register, explicit matrices, both composition orders, an inverse check and a fresh transfer exercise. The learner should be able to replay the calculation without the original AI conversation. A single final picture is not adequate evidence of the sequence.
2. Declare the representation
Use an ordinary flat Cartesian plane, x increasing rightwards and y upwards, with equal units on the two axes. Represent an input as a column vector with x above y. A two-by-two matrix with rows (a,b) and (c,d) maps it to (ax+by,cx+dy).
If the first operation has matrix A and the second matrix B, their combined action on a column vector is B(Ax)=(BA)x. The rightmost matrix acts first. Row-vector conventions exist, but must not be mixed into this lab without adapting the multiplication rules.
Background reading: Interactive Linear Algebra: matrix multiplication and composition.
3. Vocabulary Coding and Engineering for transformations
Within eduKate’s proposed VCE framework, separate input vector, image, transformation, composition, basis, inverse and determinant. The word image here means the output of a mathematical map, not necessarily a photograph. A transformation is a rule, not merely the particular point produced by one application.
Write the declared order beside the product. The phrase rotate then stretch should be traceable to a matrix expression and a sequence of coordinates. Do not let a convenient spoken order silently reverse the algebraic operation.
Related framework: Vocabulary Coding and Engineering.
4. The fictional grid and two transformation cards
Begin with the point P=(1,2) on a paper grid, considered as a vector from the origin. Let R be a quarter-turn anticlockwise around the origin: R(x,y)=(−y,x). Let D stretch the horizontal coordinate by two while keeping the vertical coordinate unchanged: D(x,y)=(2x,y).
The matrix rows of R are (0,−1) and (1,0); the rows of D are (2,0) and (0,1). All values and drawings are invented exact classroom objects. There are no physical materials whose deformation, forces or safety conditions are being modelled.
5. Construct the matrices from the basis images
The standard basis vectors are e₁=(1,0) and e₂=(0,1). R sends e₁ to (0,1) and e₂ to (−1,0). Put those two outputs in the first and second columns of R. D sends them to (2,0) and (0,1), giving the stated diagonal matrix.
This provides an independent way to build a matrix rather than memorise its entries. For a linear map, any (x,y) is x times e₁ plus y times e₂, so the two basis images determine the output. The original coordinate frame is unchanged in both transformations.
6. Apply the rotation before the stretch
Rotation sends P=(1,2) to (−2,1). Stretching that output sends it to (−4,1). The combined matrix is DR, with rows (0,−2) and (1,0), so it maps any input (x,y) to (−2y,x).
Verify the product by multiplying rows and columns or applying D to the two basis images of R. Substituting P into the combined rule gives (−4,1), agreeing with the sequential trace. The intermediate point is retained as an audit witness.
7. Apply the stretch before the rotation
Stretching P first gives (2,2). Rotation then gives (−2,2). The combined matrix RD has rows (0,−1) and (2,0), mapping (x,y) to (−y,2x). Substituting (1,2) gives (−2,2).
Both operations are the same named transformations as before, but their order has changed. Since the two outputs differ on P, the two composite transformations are not equal. This is a concrete counterexample to assuming matrix multiplication is commutative.
| Order | Intermediate point | Final point | Product |
|---|---|---|---|
| R then D | (−2,1) | (−4,1) | DR |
| D then R | (2,2) | (−2,2) | RD |
8. Distinguish associativity from commutativity
Associativity lets a product of compatible matrices be grouped differently without changing the fixed order: A(BC)=(AB)C. Commutativity would permit swapping A and B. The example establishes that this swapping is not generally valid.
Some matrix pairs do commute. For instance, a uniform stretch by a factor of two acts as twice the identity and commutes with R. Do not replace the false rule that all pairs commute with an equally false rule that none do.
9. Compare the transformed triangle
Use the triangle with vertices O=(0,0), U=(1,0), V=(0,1). Initially its area is one half. Under DR the two nonzero vertices become (0,1) and (−2,0). Under RD they become (0,2) and (−1,0).
Each transformed triangle has perpendicular legs of lengths one and two, hence area one. The ordered vertex coordinates differ although the areas agree. An area measurement alone can conceal which transformation was performed, even when the original shape and the two possible operations are known.
| Map | Image of U | Image of V | Triangle area |
|---|---|---|---|
| Identity | (1,0) | (0,1) | 1/2 |
| DR | (0,1) | (−2,0) | 1 |
| RD | (0,2) | (−1,0) | 1 |
10. Detect a product written in the wrong order
A generated answer calls RD the matrix for rotation followed by stretching. Under the declared column convention, RD acts with D first. Testing P immediately reveals the mismatch: the claimed matrix gives (−2,2) rather than the required (−4,1).
Repair the expression to DR. Then verify the basis images and sequential trace. Changing only the final coordinate without correcting the matrix convention would leave the original reasoning error unresolved.
11. Use a determinant to examine area and orientation
For a two-by-two matrix with rows (a,b) and (c,d), the determinant is ad−bc. R has determinant one, D has determinant two, and both DR and RD have determinant two. The absolute determinant gives the area multiplier of a linear map in this plane.
The positive determinants preserve the orientation of a nondegenerate ordered triangle. Equal determinants do not prove equality of matrices: DR and RD differ while both multiply area by two. Keep the determinant’s scope separate from the full transformation.
12. Compare lengths under different transformations
The magnitude of P is √5. R preserves that length, whereas DP=(2,2) has magnitude √8. DRP has magnitude √17 and RDP has magnitude √8. Rotation preserves all Euclidean lengths; unequal stretching generally does not.
A determinant of two does not mean every length doubles. In D the vector (0,1) remains length one while (1,0) becomes length two. The learner should test at least two distinct directions when describing geometric properties.
13. Find the inverse of each operation
The inverse rotation is R⁻¹(x,y)=(y,−x). The inverse stretch is D⁻¹(x,y)=(x/2,y). Each reverses its own transformation when applied in the same declared frame.
Starting with DRP=(−4,1), apply D⁻¹ to get (−2,1), then R⁻¹ to recover (1,2). Undo the most recent operation first. The inverse of DR is R⁻¹D⁻¹, not D⁻¹R⁻¹ in general.
14. Examine a transformation that cannot be undone uniquely
Define C(x,y)=(x,0), with matrix rows (1,0) and (0,0). Its determinant is zero. The two distinct inputs (1,2) and (1,5) both map to (1,0). The original y coordinate cannot be recovered from the output alone.
A system might preserve extra information elsewhere, but that would be an additional source. Do not generate a unique original vector after this projection without such evidence. This example connects a singular transformation to information loss rather than merely an algebraic rule.
15. Distinguish linear transformations from translations
A translation T(x,y)=(x+3,y+1) does not map the origin to the origin, so it cannot be represented by an ordinary two-by-two linear matrix acting alone on (x,y). A rotation about a point other than the origin may similarly require translations around the rotation.
Use a matrix plus a separate translation vector, or later study an augmented coordinate representation. The important point is identifying the class of allowed operations. Applying a familiar formula outside its representation contract can produce plausible but incorrect coordinates.
16. Keep mathematical and physical assumptions separate
All coordinates here are exact. The rules act on points of a plane and do not model a real material, its stresses or its possible deformation. Rotating the object in a fixed frame is also different from rotating the coordinate axes used to describe an unchanged object.
A real application needs an explicit reference frame, pivot, units and a suitable model. A visual output generated by AI may use a different pivot or convention. Ask for a numerical check of the transformed origin and basis images before accepting its interpretation.
17. Use AI to produce a trace rather than just an image
Ask AI to show both sequences for P and provide the two composite matrices. Request the images of e₁ and e₂ and the transformed triangle for each order. Compare the output with the exact register and compute both determinants.
Then give the same point with the order deliberately reversed and ask which result has changed. Have the learner verify the inverse using the original sequence. Keep a coordinate table beside any illustration so readers can inspect the mathematics without relying on the picture.
18. A prompt for inspectable composition
Try: Use column vectors, x right and y up. Define R(x,y)=(−y,x) and D(x,y)=(2x,y). Apply R then D and D then R to (1,2). Show every intermediate result, both matrix products, determinant and an inverse check.
Require the assistant to distinguish the area multiplier from the length of a particular vector. Ask it to explain why C(x,y)=(x,0) cannot be inverted uniquely. Independently verify at least one product and the recovery of the original point.
19. A proposed assessment rubric
Score four dimensions from zero to three: explicit coordinate and multiplication convention; accurate sequential and composite calculations; interpretation of invariant properties and reversibility; independent transfer with a counterexample or inverse check. Zero represents absent evidence, one major gaps, two mostly correct work and three reproducible reasoning.
Keep the dimensions separate. A student may draw a correct image while giving the wrong product order. Accept accessible coordinate tables or oral explanations with equivalent evidence. The rubric is a proposed teaching instrument, not a validated measure of mathematical capability.
20. Independent transfer: reflect and shear
Define H(x,y)=(−x,y) and S(x,y)=(x+y,y), still using column vectors. Start at P=(2,3). Apply H then S, and separately S then H. Compute both composite matrices, determinants and the inverse of the first composition before reading the check.
H then S gives (−2,3) then (1,3); SH has rows (−1,1),(0,1). S then H gives (5,3) then (−5,3); HS has rows (−1,−1),(0,1). Both determinants are −1. Undo SH by applying S⁻¹(x,y)=(x−y,y) to (1,3), giving (−2,3), then H to recover (2,3).
21. Primary learning: act out the order
Give a child a simple shape on a labelled grid and two instruction cards, such as turn the picture and stretch its horizontal coordinates. Use manageable points and adult guidance. Compare the resulting positions when the cards are reversed.
Learners need not use matrix notation yet. The central capability is keeping the intermediate action visible and explaining whether changing the order changes the outcome. Adults may prepare and review examples with AI without requiring direct access by children.
22. Secondary learning: link geometry with algebra
Students can map basis vectors, build two-by-two matrices and verify ordered compositions using both coordinates and drawings. Include the triangle area check and a singular projection example. Explain the role of the origin and why the same determinant need not identify the same map.
For students ready for extension, introduce inverse matrices and a translation that falls outside the linear representation. Require an independent transfer with both orders, rather than a copied matrix product. Provide appropriate visual, tactile or textual supports.
23. University, institutions and EnDist
Advanced work may examine linear maps between spaces, change of basis, affine transformations, eigenvectors and numerical conditioning. Those topics require their own assumptions. The exact two-dimensional toy case teaches the basic discipline of preserving the order and convention of transformations.
Within eduKate’s proposed EnDist framework, AI may distribute access to more complex mathematical representations. Education should distribute the capacity to inspect their transformations, check invariants and recover the original information when possible. Shared representation conventions help collaborators identify where an operation changed the meaning.
24. A four-week Matrix Transformations Lab
Week one establishes basis images, the column convention and the two transformation cards. Week two computes both orders, maps the triangle and compares areas and lengths. Submit the sequential traces and the composite matrices together.
Week three explores inverse order, singular projection and the boundary between linear and affine maps. Week four completes the reflect-and-shear transfer independently and repairs an incorrect AI result. Adapt pacing to readiness and keep the rubric evidence separate.
25. Questions about order and reversibility
Does the rightmost matrix always act first? Under the column-vector expression used here, yes. Can different transformations have the same determinant? Yes; the reference products demonstrate it. Does every matrix have an inverse? No; C loses information.
Can a uniform stretch commute with rotation? Yes, in this plane with the same origin. Can AI draw and compute transformations? It may assist, but verify the frame, order, intermediate coordinates and interpretation. Do not infer geometric facts from an unchecked illustration.
26. Sources, boundaries and next steps
The technical reference explains matrix products as composition of linear maps. The grid points, rotation and unequal stretch investigation, transfer, rubric and learning sequence here are original classroom constructions. They are not a physical simulation or evidence of instructional effectiveness.
Continue by designing two transformations that commute and two that do not. Supply an explicit point or basis-image check and identify whether an inverse exists. The enduring capability is to maintain the exact order and information content of a transformation as it travels between language, algebra and a diagram.
References: Interactive Linear Algebra: matrix multiplication and composition.
Related coursework: Vector Components Lab · Symmetry and Invariance Lab · Function and Inverse Mapping Lab · Geometric Scaling Lab.
