Fermat's Two-Squares Theorem with Zagier's One-Line Proof

Fermat's Two-Squares Theorem with Zagier's One-Line Proof
Loading the math board and drawing, please wait…
2020-05-26 13:29
This example illustrates Fermat's two-squares theorem using Zagier's one-line proof. It involves natural numbers and squares. Using GeoGebra commands such as Segment, Vector, and Translate, the proof process is visually demonstrated. Suitable for high school mathematics education and learning.

GeoGebra Commands & Parameters

  1. Segment(A, B) → f
  2. Segment(B, D) → g
  3. Segment(D, C) → w
  4. Segment(C, A) → i
  5. Segment(A, E) → j
  6. Segment(E, F) → k
  7. Segment(F, G) → l
  8. Segment(I, J) → m
  9. Segment(J, H) → n
  10. Segment(B, H) → p
  11. Segment(D, K) → q
  12. Segment(K, M) → r
  13. Segment(M, L) → s
  14. Segment(C, N) → t
  15. Segment(N, O) → d
  16. Segment(O, P) → e
  17. Vector(Q, R) → u
  18. Translate(E, u) → E'
  19. Translate(E, u) → E'_1
  20. Translate(F, u) → F'
  21. Segment(E'_1, F') → k'
  22. Translate(F, u) → F'_1
  23. Translate(G, u) → G'
  24. Translate(I, u) → I'
  25. Translate(J, u) → J'
  26. Translate(J, u) → J'_1
  27. Translate(H, u) → H'
  28. Segment(J'_1, H') → n'
  29. Translate(H, u) → H'_1
  30. Translate(K, u) → K'
  31. Translate(K, u) → K'_1
  32. Translate(M, u) → M'
  33. Segment(K'_1, M') → r'
  34. Translate(M, u) → M'_1
  35. Translate(L, u) → L'
  36. Translate(N, u) → N'
  37. Translate(N, u) → N'_1
  38. Translate(O, u) → O'
  39. Segment(N'_1, O') → d'
  40. Translate(O, u) → O'_1
  41. Translate(P, u) → P'
  42. Translate(Q, u) → Q'
  43. Translate(S, u) → S'
  44. Translate(T, u) → T'
  45. Translate(U, u) → U'
  46. Translate(V, u) → V'
  47. Segment(K', P') → f_1
  48. Segment(L', H') → g_1
  49. Segment(I', E') → h_1
  50. Segment(S', O') → i_1
  51. Segment(V', J') → j_1
  52. Segment(M', U') → k_1
  53. Segment(F', T') → l_1
  54. Segment(N', G') → m_1
  55. Segment(T', S') → h
  56. Segment(S', U') → n_1
  57. Segment(U', V') → p_1
  58. Segment(V', T') → q_1