Proof without words: Sum of odd numbers equals square numbers

Proof without words: Sum of odd numbers equals square numbers
Loading the math board and drawing, please wait…
2020-02-11 04:34
① This example demonstrates a classic proof without words: the sum of the first n consecutive odd numbers (1+3+5+…+(2n-1)) equals n², visualized dynamically. ② Core mathematical concepts include arithmetic sequences of odd numbers, square numbers, and geometric area equivalence, along with centroid and polygon transformations. ③ Construction highlights: using GeoGebra commands such as Intersect, Point, Polygon, Sequence, Element, Take, Centroid, Rotate, Translate, Vertex, Segment, Midpoint, and Vector, the applet builds multiple polygons (p1, p2, p3) and point lists (liste1, liste2, etc.), then rotates and translates them to assemble the odd-numbered unit squares into a larger square, with a slider (Animation) controlling n to reveal the pattern. ④ Suitable for middle and high school mathematics, especially for teaching sequence summation, square numbers, geometric proofs, and dynamic exploration, as well as for math enrichment activities.

GeoGebra Commands & Parameters

  1. Intersect(xAxis, yAxis) → A
  2. Point(xAxis) → B
  3. Polygon(A, B, C, D) → p1, a, b, c, d
  4. Sequence(Polygon[Translate[A, (i, 0)], Translate[B, (i, 0)], Translate[C, (i, 0)], Translate[D, (i, 0)]], i, 0, n - 1) → liste1
  5. Element(liste1, floor(n / 2) + 1) → p2
  6. Take(liste1, 1, floor(n / 2)) → liste2
  7. Take(liste1, floor(n / 2) + 2, n) → liste3
  8. Centroid(p2) → E
  9. Rotate(liste3, ((-Animation) * π / 2), E) → liste3'
  10. Rotate(liste3, -1.5707963267948966, E) → liste3'_1
  11. Polygon(F, G, H, I) → p3, f, g, h, i
  12. Sequence(Polygon[Translate[F, (i, 0)], Translate[G, (i, 0)], Translate[H, (i, 0)], Translate[I, (i, 0)]], i, 0, floor(n / 2)) → liste4
  13. Sequence(Translate[liste4, (0, (-i))], i, 0, floor(n / 2)) → liste5
  14. Translate(F, (floor(n / 2) + 3.5, -1)) → F'
  15. Translate(G, (floor(n / 2) + 3.5, -1)) → G'
  16. Translate(H, (floor(n / 2) + 3.5, -1)) → H'
  17. Translate(I, (floor(n / 2) + 3.5, -1)) → I'
  18. Translate(F, (floor(n / 2) + 3, -1)) → F'_1
  19. Translate(G, (floor(n / 2) + 3, -1)) → G'_1
  20. Translate(H, (floor(n / 2) + 3, -1)) → H'_1
  21. Translate(I, (floor(n / 2) + 3, -1)) → I'_1
  22. Polygon(F'_1, G'_1, H'_1, I'_1) → p3', f'_1, g'_1, h'_1, i'_1
  23. Sequence(Polygon[Translate[F'_1, (i, 0)], Translate[G'_1, (i, 0)], Translate[H'_1, (i, 0)], Translate[I'_1, (i, 0)]], i, 0, floor(n / 2) - 1) → liste6
  24. Sequence(Translate[liste6, (0, (-i))], i, 0, floor(n / 2) - 1) → liste7
  25. Translate(liste7, Vector[((2 - Animation) * (floor(n / 2) + 3, 0))]) → liste7'
  26. Translate(liste7, Vector[((2 - 3) * (floor(n / 2) + 3, 0))]) → liste7'_1
  27. Vertex(Element[liste4, 1], 4) → J
  28. Vertex(Element[liste4, floor(n / 2) + 1], 4) → K
  29. Vertex(Element[Element[liste5, floor(n / 2) + 1], floor(n / 2) + 1], 4) → L
  30. Segment(J, K) → e
  31. Segment(L, K) → j
  32. Sequence(Translate[liste4, (0, (-i))], i, 0, floor(n / 2)) → liste5b
  33. Sequence(Translate[liste6, (0, (-i))], i, 0, floor(n / 2) - 1) → liste7b
  34. Translate(liste7b, Vector[((2 - Animation) * (floor(n / 2) + 3, 0))]) → liste7b'
  35. Take(liste1, 1, floor(n / 2)) → liste2b
  36. Element(liste1, floor(n / 2) + 1) → p2b
  37. Take(liste1, floor(n / 2) + 2, n) → liste3b
  38. Rotate(liste3, ((-Animation) * π / 2), E) → liste3b'
  39. Rotate(liste3, -1.5708, E) → liste3b'_1
  40. Translate(liste7, Vector[((2 - 3) * (floor(n / 2) + 3, 0))]) → liste7b'_1
  41. Midpoint(G, M) → N
  42. Midpoint(P, O) → Q
  43. Midpoint(R, S) → T
  44. Vector(Q, T) → u
  45. Translate(Q, Vector[(If[Animation < 2, 0, If[Animation < 3, Animation - 2, 1]] * u)]) → Q'
  46. Midpoint(A, U) → W

AI Drawing Prompt Reference

Create a dynamic geometric illustration showing that the sum of the first n odd numbers equals n squared. The figure consists of unit squares arranged in a staircase pattern, with some squares rotated about their centroid and others translated to assemble into a larger square. A slider controls the value of n, revealing how the odd-numbered squares combine to form a perfect square, demonstrating the area equivalence.
The prompt above was compiled from the original drawing commands and is for reference only.