Viviani's Theorem in an Equilateral Triangle

Viviani's Theorem in an Equilateral Triangle
Loading the math board and drawing, please wait…
2012-02-23 16:28
① This GeoGebra example dynamically demonstrates Viviani's theorem: for any point inside an equilateral triangle, the sum of the perpendicular distances to the three sides equals the altitude of the triangle. ② Core mathematical concepts include properties of equilateral triangles, distance from a point to a line, area decomposition, and geometric theorem verification. ③ Construction highlights: using GeoGebra commands such as Polygon to create the equilateral triangle, PointIn for an interior moving point, OrthogonalLine and Intersect to construct perpendiculars and their intersections, Segment and Vector to represent distances, and Rotate, Midpoint, Translate for auxiliary constructions, with dynamic measurements showing the constant sum. ④ Suitable for middle and high school geometry classes, math lab activities, or as an intuitive verification tool for geometric theorems, helping students understand area methods and the symmetry of equilateral triangles.

GeoGebra Commands & Parameters

  1. Polygon(A, B, 3) → polígon1, c, a, b, C
  2. If(n < 0.75, (n - 0.25) * 2, 1) → n_3
  3. PointIn(polígon1) → D
  4. OrthogonalLine(D, a) → i
  5. Intersect(i, a) → G
  6. Segment(D, G) → j
  7. OrthogonalLine(D, c) → g
  8. Intersect(g, c) → F
  9. Segment(D, F) → h
  10. Vector(D, F) → u
  11. OrthogonalLine(D, b) → e
  12. Intersect(e, b) → E
  13. Segment(E, D) → f
  14. Polygon(A, D, B) → polígon3, b_1, a_2, d_1
  15. OrthogonalLine(C, d_1) → k
  16. Intersect(k, d_1) → N
  17. Polygon(A, D, C) → polígon2, c_1, a_1, d
  18. Polygon(B, D, C) → polígon4, c_2, b_2, d_2
  19. Rotate(D, α, A) → D'
  20. Rotate(C, α, A) → C'
  21. If(α < 120, Rotate[A, α, A], Translate[A, v]) → A'
  22. Polygon(A', D', C') → polígon2', c', a', d'
  23. Rotate(E, α, A) → E'
  24. Rotate(D, α, A) → D'_1
  25. Segment(E', D'_1) → f'
  26. Rotate(B, -α, B) → B'
  27. Rotate(D, -α, B) → D'_2
  28. Rotate(C, -α, B) → C'_1
  29. Polygon(B', D'_2, C'_1) → polígon4', c'_1, b', d'_2
  30. Rotate(D, -α, B) → D'_3
  31. Rotate(G, -α, B) → G'
  32. Segment(D'_3, G') → j'
  33. Midpoint(d'_2) → H
  34. Midpoint(d') → I
  35. Midpoint(d_1) → J
  36. Midpoint(j') → K
  37. Midpoint(f') → L
  38. Midpoint(h) → M
  39. If(n < 0.25, n * 4, 1) → n_2
  40. Translate(N, Vector[w * n_3]) → N'
  41. Translate(C, Vector[w * n_3]) → C'_2
  42. Segment(C'_2, N') → l
  43. Midpoint(l) → O
  44. Translate(A', Vector[v * n_2]) → A''
  45. Translate(D', Vector[v * n_2]) → D''
  46. Translate(C', Vector[v * n_2]) → C''
  47. Polygon(A'', D'', C'') → polígon2'', c'', a'', d''
  48. Translate(E', Vector[v * n_2]) → E''
  49. Translate(D'_1, Vector[v * n_2]) → P
  50. Segment(E'', P) → f''
  51. Translate(B', Vector[v * n_2]) → B''
  52. Translate(D'_2, Vector[v * n_2]) → Q
  53. Translate(C'_1, Vector[v * n_2]) → R
  54. Polygon(B'', Q, R) → polígon4'', r, b'', q
  55. Translate(A, Vector[v * n_2]) → A'_1
  56. Translate(D, Vector[v * n_2]) → D'_5
  57. Translate(B, Vector[v * n_2]) → B'_2
  58. Polygon(A'_1, D'_5, B'_2) → polígon3', b'_2, a'_1, d'_5
  59. Midpoint(q) → S
  60. Midpoint(d'_5) → T
  61. Midpoint(d'') → U
  62. Translate(D'_3, Vector[v * n_2]) → V
  63. Translate(G', Vector[v * n_2]) → G''
  64. Segment(V, G'') → j''
  65. Translate(D, Vector[v * n_2]) → D'_6
  66. Translate(F, Vector[v * n_2]) → F'
  67. Translate(polígon1, Vector[w * n_3]) → polígon1'
  68. Segment(D'_6, F') → h'
  69. Translate(D, Vector[v * n_2]) → D'_4
  70. Translate(B, Vector[w * n_3]) → B'_1
  71. Line(N', B'_1) → p
  72. Point(p) → W
  73. Vector(B'_2, W) → z
  74. Translate(A'_1, z) → Z
  75. Translate(D'_5, z) → A_1
  76. Translate(B'_2, z) → B_1
  77. Polygon(Z, A_1, B_1) → polígon3'', b_3, z_1, a_3
  78. Vector(A'_1, C_1) → s
  79. Translate(A'', s) → A'''
  80. Translate(D'', s) → D'''
  81. Translate(C'', s) → C'''
  82. Polygon(A''', D''', C''') → polígon2''', c''', a''', d'''
  83. Vector(R, D_1) → t
  84. Translate(B'', s) → B'''
  85. Translate(Q, s) → Q'
  86. Translate(B'', t) → B'''_1
  87. Translate(Q, t) → Q'_1
  88. Translate(R, t) → R'_1
  89. Polygon(B'''_1, Q'_1, R'_1) → polígon4'''_1, r'_1, b'''_1, q'_1
  90. Translate(Q, t) → Q'_2
  91. OrthogonalLine(Q'_2, p) → e_1
  92. Intersect(p, e_1) → E_1
  93. Segment(Q'_2, E_1) → f_1
  94. Segment(Q'_2, C'_2) → g_1

AI Drawing Prompt Reference

Draw an equilateral triangle with a movable point inside. Construct perpendiculars from the point to each side of the triangle and measure their lengths. Dynamically demonstrate that the sum of these perpendicular distances always equals the altitude of the triangle. Use sliders to adjust the position of the point and the size of the triangle, verifying Viviani's theorem that the sum of the perpendicular distances from any interior point to the sides of an equilateral triangle equals its altitude.
The prompt above was compiled from the original drawing commands and is for reference only.