Matrix Transformations: Interactive Polygon Mapping

Matrix Transformations: Interactive Polygon Mapping
Loading the math board and drawing, please wait…
2015-06-25 23:33
This GeoGebra example demonstrates how a polygon (e.g., a square) is transformed under a 2D linear transformation defined by a 2x2 matrix. Users can interactively edit the four matrix entries via input boxes, and instantly see the resulting image polygon, including effects like dilation, reflection, rotation, and shear. The core mathematical concepts are matrix multiplication, linear transformations, and their geometric interpretations (e.g., determinant affecting area scaling, sign indicating orientation). The construction uses GeoGebra commands: Polygon to create the original shape, ApplyMatrix to compute the transformed vertices, and Textfield/inputBox1-4 for dynamic matrix input. Additional objects like Intersect, Point, and text labels help visualize vertex correspondences. This resource is ideal for high school or introductory college linear algebra courses, enabling students to explore how different matrices (identity, diagonal, rotation, reflection) alter shapes, and to build intuition about eigenvectors, eigenvalues, and the geometric meaning of matrix operations.

GeoGebra Commands & Parameters

  1. Intersect(xAxis, yAxis) → A
  2. Point(xAxis) → B
  3. Point(yAxis) → D
  4. Textfield(a) → inputBox1
  5. Textfield(b) → inputBox2
  6. Textfield(c) → inputBox3
  7. Textfield(d) → inputBox4
  8. Polygon(A, B, C, D) → poly1, a_1, b_1, c_1, d_1
  9. ApplyMatrix(M, A) → A2
  10. ApplyMatrix(M, B) → B2
  11. ApplyMatrix(M, C) → C2
  12. ApplyMatrix(M, D) → D2
  13. Polygon(A2, B2, C2, D2) → poly2, a', b', c', d'
  14. ApplyMatrix(M^(2), A) → A3
  15. ApplyMatrix(M^(2), B) → B3
  16. ApplyMatrix(M^(2), C) → C3
  17. ApplyMatrix(M^(2), D) → D3
  18. Polygon(A3, B3, C3, D3) → poly3, a'_1, b'_1, c'_1, d'_1
  19. ApplyMatrix(M^(3), A) → A4
  20. ApplyMatrix(M^(3), B) → B4
  21. ApplyMatrix(M^(3), C) → C4
  22. ApplyMatrix(M^(3), D) → D4
  23. Polygon(A4, B4, C4, D4) → poly4, a'_2, b'_2, c'_2, d'_2
  24. ApplyMatrix(M^(4), A) → A5
  25. ApplyMatrix(M^(4), B) → B5
  26. ApplyMatrix(M^(4), C) → C5
  27. ApplyMatrix(M^(4), D) → D5
  28. Polygon(A5, B5, C5, D5) → poly5, a'_3, b'_3, c'_3, d'_3
  29. ApplyMatrix(M^(5), A) → A6
  30. ApplyMatrix(M^(5), B) → B6
  31. ApplyMatrix(M^(5), C) → C6
  32. ApplyMatrix(M^(5), D) → D6
  33. Polygon(A6, B6, C6, D6) → poly6, a'_4, b'_4, c'_4, d'_4

AI Drawing Prompt Reference

Draw a unit square with one corner at the origin, another on the positive x‑axis, a third on the positive y‑axis, and the opposite corner at (1,1). Create an adjustable 2×2 matrix with entries a, b, c, d. Apply this matrix to the square to obtain its first transformed image. Then apply the matrix squared, cubed, to the fourth and fifth powers, drawing five additional squares that illustrate the cumulative effects of dilation, rotation, reflection and shear. Show all six squares together, with corresponding vertices linked to visualize how the linear transformation changes the shape.
The prompt above was compiled from the original drawing commands and is for reference only.