Geometric Demonstration of Completing the Square

Geometric Demonstration of Completing the Square
Loading the math board and drawing, please wait…
2015-09-18 18:19
This interactive GeoGebra worksheet provides a geometric visualization of the algebraic process of completing the square. By arranging and rearranging areas of squares and rectangles, students can see how a quadratic expression is transformed into vertex form. The construction uses points, line segments, polygons, rotations, translations, vectors, and midpoints, with adjustable parameters a, b, c and polygon objects poly1 and poly2 to create slider‑controlled animations. It is suitable for middle‑ and high‑school students learning about quadratic functions, symmetry, and coordinate graphing, and serves as a concrete aid for teaching curve sketching and algebraic manipulation.

GeoGebra Commands & Parameters

  1. Line(A, xAxis) → b
  2. Point(Circle[A, v]) → B
  3. Segment(A, B) → c
  4. Polygon(A, B, 4) → poly1, d, e, f, g, C, D
  5. Line(C, b) → h
  6. Point(h) → E
  7. Segment(E, C) → i
  8. Point(i) → F
  9. Point(Circle[F, a / 2]) → G
  10. Segment(F, G) → j
  11. Line(F, e) → k
  12. Intersect(b, k) → H
  13. Point(Circle[H, a / 2]) → I
  14. Segment(H, I) → l
  15. Polygon(F, G, I, H) → poly2, f_1, g_1, i_1, h_1
  16. Point(g) → J
  17. Line(J, yAxis) → m
  18. Point(e) → M
  19. Line(M, e) → s
  20. Point(Circle[A, a / 2]) → K
  21. Segment(A, K) → n
  22. Point(g_1) → L
  23. Line(L, h_1) → p
  24. Point(i) → N
  25. Line(N, b) → q
  26. Intersect(p, q) → O
  27. Point(Circle[O, a / 2]) → P
  28. Segment(O, P) → r
  29. Intersect(b, p) → Q
  30. Point(Circle[Q, a / 2]) → R
  31. Segment(Q, R) → t
  32. Polygon(Q, R, P, O) → poly3, q_1, r_1, p_1, o
  33. Rotate(Q, 90*°, P) → Q'
  34. Rotate(R, 90*°, P) → R'
  35. Rotate(P, 90*°, P) → P'
  36. Rotate(O, 90*°, P) → O'
  37. Polygon(Q', R', P', O') → poly3', q', r', p', o'
  38. Vector(P, A) → u
  39. Translate(Q', u) → Q''
  40. Translate(R', u) → R''
  41. Translate(P', u) → P''
  42. Translate(O', u) → O''
  43. Polygon(Q'', R'', P'', O'') → poly3'', q'', r'', p'', o''
  44. Vector(F, C) → w
  45. Translate(F, w) → F'
  46. Translate(G, w) → G'
  47. Translate(I, w) → I'
  48. Translate(H, w) → H'
  49. Polygon(F', G', I', H') → poly2', f', g', i', h'
  50. Point(j) → S
  51. Intersect(r, r_1) → T
  52. Point(t) → U
  53. Point(l) → V
  54. Polygon(S, T, U, V) → poly4, s_1, t_1, u_1, v_1
  55. Rotate(Q, 90) → Q'_1
  56. Rotate(R, 90) → R'_1
  57. Rotate(P, 90) → P'_1
  58. Rotate(O, 90) → O'_1
  59. Polygon(Q'_1, R'_1, P'_1, O'_1) → poly3'_1, q'_1, r'_1, p'_1, o'_1
  60. Rotate(Q, 90) → Q'_2
  61. Rotate(R, 90) → R'_2
  62. Rotate(P, 90) → P'_2
  63. Rotate(O, 90) → O'_2
  64. Polygon(Q'_2, R'_2, P'_2, O'_2) → poly3'_2, q'_2, r'_2, p'_2, o'_2
  65. Rotate(Q, 90) → Q'_3
  66. Rotate(R, 90) → R'_3
  67. Rotate(P, 90) → P'_3
  68. Rotate(O, 90) → O'_3
  69. Polygon(Q'_3, R'_3, P'_3, O'_3) → poly3'_3, q'_3, r'_3, p'_3, o'_3
  70. Midpoint(f_1) → W
  71. Midpoint(p_1) → Z
  72. Midpoint(p') → A_1
  73. Midpoint(r') → B_1
  74. Midpoint(f') → C_1
  75. Midpoint(p'') → D_1
  76. Intersect(g', i') → E_1
  77. Intersect(d, e) → F_1
  78. Polygon(E_1, F_1, 4) → poly5, a_1, b_1, c_1, d_1, G_1, H_1
  79. Midpoint(f) → I_1
  80. Midpoint(g) → J_1

AI Drawing Prompt Reference

This is a geometric demonstration showing how to visualize the transformation of a quadratic expression into vertex form by arranging and rearranging the areas of squares and rectangles. The figure includes points, line segments, polygons, rotations, translations, vectors, and midpoints. The construction order starts with basic points, drawing line segments and squares, then adjusting the figure through rotations and translations, and finally forming the complete geometric figure. Parameters a, b, and c control the size and position of the figure.
The prompt above was compiled from the original drawing commands and is for reference only.