Linear Map Grid Explorer

What a 2x2 matrix, or an affine map v -> Av + b, does to the plane. The learner drags the images of e1 and e2 (the columns), types entries or picks a standard matrix, composes two maps in either order, or drags the images of three points; the image of the grid, unit square, letter F and unit circle update live, with readouts for det (area factor and orientation), membership in GL, GL+, SL, O and SO, the Gram matrix A^T A, the inverse and the isometry type (translation, rotation, reflection, glide reflection).

Used in: Group Theory

Props

PropTypeDefaultDescription
titlestringby modeTitle bar text.
modestringinferred: frame if images is given, compose if matrixB is given, else matrixmatrix: one map A (drag its column tips, type entries, presets). compose: two maps A and B with a view toggle A / B / AB / BA (AB = first B, then A), both products and whether they agree. frame: the affine map sending three frame points P0, P1, P2 to draggable images f(P0), f(P1), f(P2).
matrixnumber[][][[1.5, -0.5], [0.5, 1]]The 2x2 matrix A (in frame mode it only sets the default images).
translationnumber[]none (linear)Translation of A's map, making it affine: v -> Av + b (in compose mode the x of (A, x)). Its image of the origin becomes draggable.
matrixBnumber[][][[0, -1], [1, 0]]compose: the second 2x2 matrix B.
translationBnumber[]nonecompose: translation y of the second map (B, y); with translation, products follow (A, x)(B, y) = (AB, Ay + x).
viewstring"AB"compose: the map drawn first: A, B, AB (first B, then A; the image after B alone is dashed) or BA. The learner can switch.
framenumber[][][[0, 0], [1, 0], [0, 1]]frame: the three source points P0, P1, P2 (not collinear).
imagesnumber[][]the frame's images under matrix and translationframe: starting images f(P0), f(P1), f(P2) (draggable); A and b are solved from them.
shapesstring[]["unitSquare", "letterF"] (["letterF"] in frame mode)Test shapes drawn before (dashed) and after the map: unitSquare, letterF (shows orientation), triangle, unitCircle (its image is an ellipse unless A is orthogonal).
readoutsstring[]matrix: ["det", "groups"]; compose: ["det"]; frame: ["isometry"]Readout panels for the drawn map: det (value, area factor, orientation; det(AB) = det A det B in compose), groups (GL2, GL2+ = det^-1(R>0), SL2, O(2), SO(2) membership with reasons), gram (A^T A against I, column lengths and dot product), inverse (A^-1, (AB)^-1 = B^-1 A^-1), isometry (type of v -> Av + b, with the mirror line, rotation centre or glide drawn; frame mode adds the distance check).
editablebooleantrueLet the learner drag handles and type entries.
showPresetsbooleantruematrix: show the standard-matrix picker (rotations, reflections, shear, squeeze, scale, singular).
showGridbooleantrueDraw the image of the coordinate grid.
showOriginalbooleantrueDraw the shapes before the map, dashed.
extentnumberauto (fits the starting images, 2 to 10)Half-width of the square view [-extent, extent]^2 (1 to 20).
controlsstring[]all controls shownIds of the hideable readout lines to show (see the controls registry, e.g. groups.special-linear, groups.orthogonal, groups.preimage, gram.orthogonal-group, isometry.glide-reflection). The panels themselves follow readouts. Page building fills this from the subject's topic scope.