Geometric Demonstration of Shear Matrix in Y-Direction

Geometric Demonstration of Shear Matrix in Y-Direction
Loading the math board and drawing, please wait…
2017-05-17 02:59
This example demonstrates a shear matrix transformation along the y-direction in 2D space. Using GeoGebra, it constructs a shear matrix M and its inverse invM to visualize how polygons, vectors, and circles transform under shearing. Users can observe the correspondence between original and transformed figures, understand how shear matrices act on coordinate points, and explore matrix inversion for restoring the original shape from a sheared result. The applet provides interactive control over the shear factor through a draggable slider, allowing users to dynamically adjust the magnitude and direction of the y-direction shear in real time. As the parameter changes, the transformed figure updates instantly, reinforcing the direct relationship between the shear value and the degree of distortion. Original and sheared versions of each shape are displayed simultaneously, making it easy to compare side by side and track how individual points move. Key mathematical concepts covered include the structure and action of a 2x2 shear matrix, the preservation of area under shear transformations, the behavior of basis vectors under shearing, and the role of the inverse matrix in reversing the transformation. The applet also illustrates how collinearity and parallelism are maintained, while angles and lengths may change. Students benefit from this visualization by building an intuitive geometric understanding of what a shear transformation looks like, rather than memorizing the formula abstractly. The interactive slider promotes experimentation and discovery, encouraging learners to make conjectures about which properties are preserved and which are altered. By toggling between the forward and inverse transformations, users gain insight into the concept of matrix invertibility and its geometric meaning. The simultaneous display of multiple shape types—polygons, vectors, and circles—helps learners generalize the behavior of shears across different geometric objects, strengthening their overall understanding of linear transformations in the plane.

GeoGebra Commands & Parameters

  1. Point(x = 1) → S
  2. Intersect(Line[O, S], x = 1) → A
  3. Vector(A) → u
  4. Vector(B) → v
  5. Invert(M) → invM
  6. Corner(2, 1) → C1
  7. Corner(2, 2) → C2
  8. Corner(2, 3) → C3
  9. Corner(2, 4) → C4
  10. Zip((invM * p), p, corners) → cornersS2
  11. Min(Zip[x(p), p, cornersS2]) → a1
  12. Max(Zip[x(p), p, cornersS2]) → a2
  13. Min(Zip[y(p), p, cornersS2]) → b1
  14. Max(Zip[y(p), p, cornersS2]) → b2
  15. Sequence(Line[O + (k * u), O + (k * u) + v], k, floor(a1), ceil(a2)) → linesX
  16. Sequence(Line[O + (k * v), O + (k * v) + u], k, floor(b1), ceil(b2)) → linesY
  17. Point(Line[C, C + (1, 0)]) → D
  18. Point(Line[C, C + (0, 1)]) → E
  19. Polygon(C, D, F, E) → poly1, c, d, f, e
  20. Polygon(Zip[(M * p), p, {C, D, F, E}]) → poly2
  21. Point(Line[G, G + (1, 0)]) → H
  22. Circle(G, H) → g
  23. Radius(g) → r
  24. Line(O, O + u) → a
  25. Line(O, O + v) → b
  26. Point(Circle[I, 1]) → J
  27. Polygon(I, J, K, L, N, P, Q, R) → poly3, i_1, j_1, k, l, n, p, q, r_1
  28. Polygon(Zip[(M * p), p, {I, J, K, L, N, P, Q, R}]) → poly4

AI Drawing Prompt Reference

Show a geometric demonstration of a shear matrix transformation in the y-direction in 2D space. The diagram includes polygons, vectors, and circles, with an interactive slider to control the shear factor. Both the original and transformed figures are displayed simultaneously, illustrating how the shear matrix affects coordinate points. The inverse matrix is used to restore the original shape. The diagram preserves area and collinearity, but angles and lengths may change. Users can intuitively understand shear transformations and observe consistent behavior across different geometric objects.
The prompt above was compiled from the original drawing commands and is for reference only.