Geometric Construction of Squares on Grid Paper by orchiming

Geometric Construction of Squares on Grid Paper by orchiming
Loading the math board and drawing, please wait…
2012-10-30 05:32
This GeoGebra applet demonstrates techniques for precisely constructing squares on grid paper or geoboards. It leverages mathematical tools including the Pythagorean theorem, vectors (unit vectors and orthogonal vectors), rotation transformations, and the greatest common divisor (GCD) to systematically determine vertex coordinates of squares whose sides may not align with the grid axes. The construction features sequence generation, polygon drawing, right-angle and equal-side markers, and parallel-side indicators as essential geometric construction elements. Through interactive manipulation, learners can explore how斜置正方形(tilted squares)emerge naturally on a grid by selecting appropriate vector pairs that satisfy both length equality and orthogonality conditions. The applet visually connects abstract algebraic concepts—such as vector dot products and coordinate geometry—with concrete geometric visualization, reinforcing the relationship between integer coordinate points and the side lengths derived via the Pythagorean theorem. Students investigate how the GCD of coordinate differences governs whether a segment passes through additional lattice points, deepening their understanding of number-theoretic constraints in geometric constructions. This applet is well-suited for middle school to high school geometry instruction, supporting inquiry-based learning activities where students predict, verify, and generalize patterns related to squares on grids. By combining dynamic visual feedback with rigorous mathematical reasoning, the tool helps learners develop spatial intuition, strengthen proof-writing skills, and appreciate the interconnectedness of algebra and geometry.

GeoGebra Commands & Parameters

  1. Sequence(Sequence[(i', j'), i', 0, width], j', 0, height) → list1
  2. Point(list1) → F
  3. Point(list1) → D
  4. Point(list1) → A
  5. Polygon(A, B, C, D) → poly1, a, b, c, d
  6. Rotate(Translate[A, Vector[G, E]], e°, E) → A'
  7. Rotate(Translate[B, Vector[G, E]], e°, E) → B'
  8. Rotate(Translate[C, Vector[G, E]], e°, E) → C'
  9. Rotate(Translate[D, Vector[G, E]], e°, E) → D'
  10. GCD(abs(x(B) - x(A)), abs(y(B) - y(A))) → gcd1
  11. GCD(abs(x(C) - x(B)), abs(y(C) - y(B))) → gcd2
  12. Sequence(Polygon[A + (i - 1) * (x(B) - x(A), y(B) - y(A)) / gcd1, A + (i * (x(B) - x(A)), (i - 1) * (y(B) - y(A))) / gcd1, A + i * (x(B) - x(A), y(B) - y(A)) / gcd1, A + ((i - 1) * (x(B) - x(A)), i * (y(B) - y(A))) / gcd1], i, 1, gcd1) → list4
  13. GCD(abs(x(F) - x(D)), abs(y(F) - y(D))) → gcd4
  14. GCD(abs(x(D) - x(C)), abs(y(D) - y(C))) → gcd3
  15. Sequence(Polygon[B + (i - 1) * (x(C) - x(B), y(C) - y(B)) / gcd2, B + (i * (x(C) - x(B)), (i - 1) * (y(C) - y(B))) / gcd2, B + i * (x(C) - x(B), y(C) - y(B)) / gcd2, B + ((i - 1) * (x(C) - x(B)), i * (y(C) - y(B))) / gcd2], i, 1, gcd2) → list5
  16. Sequence(Polygon[C + (i - 1) * (x(D) - x(C), y(D) - y(C)) / gcd3, C + (i * (x(D) - x(C)), (i - 1) * (y(D) - y(C))) / gcd3, C + i * (x(D) - x(C), y(D) - y(C)) / gcd3, C + ((i - 1) * (x(D) - x(C)), i * (y(D) - y(C))) / gcd3], i, 1, gcd3) → list6
  17. Sequence(Polygon[A + (i - 1) * (x(B) - x(A), y(B) - y(A)) / gcd1, A + (i * (x(B) - x(A)), (i - 1) * (y(B) - y(A))) / gcd1, A + i * (x(B) - x(A), y(B) - y(A)) / gcd1, A + ((i - 1) * (x(B) - x(A)), i * (y(B) - y(A))) / gcd1], i, 1, gcd1) → list4'
  18. Sequence(Polygon[B + (i - 1) * (x(C) - x(B), y(C) - y(B)) / gcd2, B + (i * (x(C) - x(B)), (i - 1) * (y(C) - y(B))) / gcd2, B + i * (x(C) - x(B), y(C) - y(B)) / gcd2, B + ((i - 1) * (x(C) - x(B)), i * (y(C) - y(B))) / gcd2], i, 1, gcd2) → list5'
  19. Sequence(Polygon[C + (i - 1) * (x(D) - x(C), y(D) - y(C)) / gcd3, C + (i * (x(D) - x(C)), (i - 1) * (y(D) - y(C))) / gcd3, C + i * (x(D) - x(C), y(D) - y(C)) / gcd3, C + ((i - 1) * (x(D) - x(C)), i * (y(D) - y(C))) / gcd3], i, 1, gcd3) → list6'
  20. Sequence(Segment[(j1, 0), (j1, height)], j1, 0, width) → list2
  21. Sequence(Segment[(0, j2), (width, j2)], j2, 0, height) → list3
  22. Segment(F, D) → f
  23. Sequence(Polygon[D + (i - 1) * (x(F) - x(D), y(F) - y(D)) / gcd4, D + (i * (x(F) - x(D)), (i - 1) * (y(F) - y(D))) / gcd4, D + i * (x(F) - x(D), y(F) - y(D)) / gcd4, D + ((i - 1) * (x(F) - x(D)), i * (y(F) - y(D))) / gcd4], i, 1, gcd4) → list7
  24. Sequence(Polygon[D + (i - 1) * (x(F) - x(D), y(F) - y(D)) / gcd4, D + (i * (x(F) - x(D)), (i - 1) * (y(F) - y(D))) / gcd4, D + i * (x(F) - x(D), y(F) - y(D)) / gcd4, D + ((i - 1) * (x(F) - x(D)), i * (y(F) - y(D))) / gcd4], i, 1, gcd4) → list7'
  25. Point(Circle[A_1, 1]) → A_6
  26. UnitVector(Segment[A_1, A_6]) → u
  27. UnitOrthogonalVector(Segment[A_1, A_6]) → v
  28. Polygon(A_1, A_2, A_3, A_4, A_5, A_6) → poly3, a_1, a_2, a_3, a_4, a_5, a_6

AI Drawing Prompt Reference

Draw a grid of horizontal and vertical lines on a coordinate plane. Select four lattice points that form a square, ensuring adjacent sides are equal and perpendicular. Connect these points to create a polygon, and mark right angles and equal side lengths. Then, subdivide each side into smaller segments based on the greatest common divisor of the coordinate differences, drawing small squares along the edges to show lattice points. Finally, create a rotated copy of the square using translation and rotation, and include unit vectors and orthogonal vectors to illustrate the geometric construction of tilted squares.
The prompt above was compiled from the original drawing commands and is for reference only.