Geometric Demonstration of Shear Matrix in X-Direction

Geometric Demonstration of Shear Matrix in X-Direction
Loading the math board and drawing, please wait…
2017-05-17 02:51
This GeoGebra example demonstrates the geometric effect of a shear matrix applied in the x-direction on planar figures. A shear transformation is a fundamental linear transformation that preserves area while shifting x-coordinates proportionally to their y-values, keeping y-coordinates unchanged. The construction employs matrix inversion, vector operations, and sequence commands to build polygons and triangles, then visualizes their deformation under the shear matrix. Users can interactively observe how the transformation maps rectangles into parallelograms and how the original figure transforms point by point. By adjusting the shear parameter, students can explore how different shear factors affect the degree of distortion while the area remains constant throughout. This hands-on exploration reinforces the correspondence between matrix multiplication and geometric mapping, helping learners connect abstract linear algebra concepts with concrete visual intuition. The applet also displays the coordinate changes numerically alongside the geometric visualization, allowing students to verify the algebraic formulas directly against the rendered figure. It serves as an effective teaching tool at the intersection of linear algebra and analytic geometry, suitable for high school or introductory college mathematics courses. Through this interactive demonstration, students develop a deeper understanding of linear transformations, matrix operations, and their geometric interpretations, building a solid foundation for more advanced topics in vector spaces and linear mappings.

GeoGebra Commands & Parameters

  1. Point(y = 1) → S
  2. Intersect(Line[O, S], y = 1) → B
  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

Draw a 2D plane with a rectangle, parallelogram, polygon, and circle. The rectangle has its lower left corner at the origin O and lower right corner at point S, with side lengths of 2 and 1. Draw the vectors u from origin O to point S and v from origin O to point B. Then draw the line segments from origin O along vectors u and v, forming a parallelogram. Next, draw a polygon with 8 vertices, whose coordinates are determined by linear combinations of vectors u and v. Finally, draw a circle with center at point G and radius r.
The prompt above was compiled from the original drawing commands and is for reference only.