Completing the Square (3)

Completing the Square (3)
Loading the math board and drawing, please wait…
2017-11-13 05:12
This example demonstrates how to solve quadratic equations by completing the square. Key mathematical concepts include quadratic functions, vectors, and transformations. Using GeoGebra commands such as Segment, Polygon, Sequence, Dilate, and Rotate, the example dynamically shows the graph of a quadratic function and its transformations. Suitable for high school mathematics education and learning about the properties of quadratic functions.

GeoGebra Commands & Parameters

  1. Segment(A, B) → f
  2. Segment(D, C) → h
  3. Segment(C, A) → i
  4. Polygon(A, B, D, C) → poly1, a_1, b_1, d, c
  5. Sequence((a + i, 0), i, 0, abs(b / 2), 1) → bottoms
  6. Sequence((a + i, a), i, 0, abs(b / 2), 1) → tops
  7. Sequence((0, a + i), i, 0, abs(b / 2), 1) → lefts
  8. Sequence((a, a + i), i, 0, abs(b / 2), 1) → rights
  9. Sequence(Dilate[Element[bottoms, i], If[0 < g ≤ 1, 1 - g, 0], Element[tops, i]], i, 0, abs(b / 2) + 1, 1) → bottomsmove
  10. Sequence(Dilate[Element[lefts, i], If[1 < g ≤ 2, 2 - g, 0], Element[rights, i]], i, 0, abs(b / 2) + 1, 1) → leftsmove
  11. Point(bottomsmove) → E
  12. Segment(B, E) → j
  13. Dilate(C, If[1 < g ≤ 2, 2 - g, 0], D) → C'
  14. Segment(C, C') → k
  15. Polygon(D, H, F, G) → poly2, d_1, h_1, f_1, g_1
  16. Dilate(H, If[2 < g ≤ 3, 3 - g, 0], F) → H'
  17. Dilate(G, If[2 < g ≤ 3, 3 - g, 0], F) → G'
  18. Dilate(I, If[2 < g ≤ 3, 3 - g, 0], A) → I'
  19. Segment(I, I') → l
  20. Rotate(I, If[3 < g ≤ 4, ((-(g - 3)) * π / 2), ((-π)) / 2], A) → I'_1
  21. Rotate(I', If[3 < g ≤ 4, ((-(g - 3)) * π / 2), ((-π)) / 2], A) → I''
  22. Segment(I'_1, I'') → l'
  23. Rotate(I'_1, If[4 < g ≤ 5, ((-(g - 4)) * π / 2), ((-π)) / 2], I'_1) → J
  24. Rotate(I'', If[4 < g ≤ 5, ((-(g - 4)) * π / 2), ((-π)) / 2], I'_1) → I'''
  25. Segment(J, I''') → l''
  26. Dilate(A, If[5 < g ≤ 6, 6 - g, 0], I) → A'
  27. Vector(A, A') → u
  28. Translate(I'_1, u) → K
  29. Translate(I'', u) → I'''_1
  30. Segment(K, I'''_1) → l''_1
  31. Sequence(Segment[Element[bottoms, i + 1], Element[bottomsmove, i + 2]], i, 1, abs(b / 2), 1) → list1
  32. Sequence(Segment[Element[lefts, i + 1], Element[leftsmove, i + 2]], i, 1, abs(b / 2), 1) → list2
  33. Sequence(Polygon[Element[bottoms, i], Element[bottoms, i + 1], Element[tops, i + 1], Element[tops, i]], i, 1, abs(b / 2), 1) → list3
  34. Sequence(Polygon[Element[lefts, i], Element[lefts, i + 1], Element[rights, i + 1], Element[rights, i]], i, 1, abs(b / 2), 1) → list4
  35. Distance(D, F) → distanceDF
  36. Textfield(b) → InputBox1
  37. Distance(B, L) → distanceBL
  38. Distance(C, M) → distanceCM
  39. Distance(B, L) → e
  40. Distance(C, M) → n
  41. Distance(A, B) → distanceAB
  42. Distance(A, C) → distanceAC
  43. Dilate(A, If[0 < s ≤ 1, 1 - s, 0], N) → A'_1
  44. Vector(A, A'_1) → v
  45. Dilate(A, If[1 < s ≤ 2, 2 - s, 0], O) → A'_2
  46. Vector(A, A'_2) → w

AI Drawing Prompt Reference

Draw the graph of a quadratic function and demonstrate the process of solving it by completing the square. Start by plotting the function, then construct auxiliary shapes using vectors and transformations, including multiple segments and polygons. Use sequences and dilation to dynamically show the transformations of the graph, and finally complete the construction of the entire figure through rotation and translation to highlight the properties of the quadratic function.
The prompt above was compiled from the original drawing commands and is for reference only.