Special Triangles and Their Properties

Special Triangles and Their Properties
Loading the math board and drawing, please wait…
2023-06-05 11:20
This example demonstrates the properties of special triangles (equilateral, isosceles, right-angled) using GeoGebra commands such as If, Element, RemoveUndefined, etc. It covers key mathematical concepts including triangle classification and properties. Suitable for middle school and above students.

GeoGebra Commands & Parameters

  1. If(mixed, Shuffle[1…numberOfQuestions], 1…numberOfQuestions) → randomQuestions
  2. Element(randomQuestions, Mod[questionCount - 1, Length[randomQuestions]] + 1) → randomQuestion
  3. RemoveUndefined({RO1, If[optionsRight > 1, RO2], If[optionsRight > 2, RO3], If[optionsRight > 3, RO4], If[optionsRight > 4, RO5], If[optionsRight > 5, RO6]}) → ListeRichtig
  4. RemoveUndefined({If[optionsTotal - optionsRight > 0, FO1], If[optionsTotal - optionsRight > 1, FO2], If[optionsTotal - optionsRight > 2, FO3], If[optionsTotal - optionsRight > 3, FO4], If[optionsTotal - optionsRight > 4, FO5]}) → ListeFalsch
  5. Sort(Join[{ListeRichtig, ListeFalsch}], MCPosActual) → Reihenfolge
  6. Text(Reihenfolge(1), Corner[4] + (pixMat * (PosStart + (36, 16) + (((1 - 1) * disPixX), ((1 - 1) * disPixY)))), false, true, 1, 0) → txtO1
  7. Text(Reihenfolge(2), Corner[4] + (pixMat * (PosStart + (36, 16) + (((2 - 1) * disPixX), ((2 - 1) * disPixY)))), false, true, 1, 0) → txtO2
  8. Text(Reihenfolge(3), Corner[4] + (pixMat * (PosStart + (36, 16) + (((3 - 1) * disPixX), ((3 - 1) * disPixY)))), false, true, 1, 0) → txtO3
  9. Text(Reihenfolge(4), Corner[4] + (pixMat * (PosStart + (36, 16) + (((4 - 1) * disPixX), ((4 - 1) * disPixY)))), false, true, 1, 0) → txtO4
  10. Text(Reihenfolge(5), Corner[4] + (pixMat * (PosStart + (36, 16) + (((5 - 1) * disPixX), ((5 - 1) * disPixY)))), false, true, 1, 0) → txtO5
  11. Text(Reihenfolge(6), Corner[4] + (pixMat * (PosStart + (36, 18) + (((6 - 1) * disPixX), ((6 - 1) * disPixY)))), false, true, 1, 0) → txtO6
  12. If(optionsTotal < 1, true, txtO1 ∈ ListeRichtig ∧ option1 ∨ txtO1 ∈ ListeFalsch ∧ (¬option1)) → correctMC1
  13. If(optionsTotal < 2, true, txtO2 ∈ ListeRichtig ∧ option2 ∨ txtO2 ∈ ListeFalsch ∧ (¬option2)) → correctMC2
  14. If(optionsTotal < 3, true, txtO3 ∈ ListeRichtig ∧ option3 ∨ txtO3 ∈ ListeFalsch ∧ (¬option3)) → correctMC3
  15. If(optionsTotal < 4, true, txtO4 ∈ ListeRichtig ∧ option4 ∨ txtO4 ∈ ListeFalsch ∧ (¬option4)) → correctMC4
  16. If(optionsTotal < 5, true, txtO5 ∈ ListeRichtig ∧ option5 ∨ txtO5 ∈ ListeFalsch ∧ (¬option5)) → correctMC5
  17. If(optionsTotal < 6, true, txtO6 ∈ ListeRichtig ∧ option6 ∨ txtO6 ∈ ListeFalsch ∧ (¬option6)) → correctMC6
  18. Join({Sequence[Segment[Corner[4] + (RasterPixMat * ((k * RasterStepXY), 0)), Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY))], k, 0, RasterMaxX / RasterStepXY], Sequence[Segment[Corner[4] + (RasterPixMat * (0, (k * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], k, 0, RasterMaxY / RasterStepXY]}) → RasterStrecken
  19. Join({Sequence[Text[UnicodeToLetter[65 + k], Midpoint[Corner[4] + (RasterPixMat * ((k * RasterStepXY), RasterMaxY)), Corner[4] + (RasterPixMat * (((k + 1) * RasterStepXY), RasterMaxY))], false, true, 0, -1], k, 0, RasterMaxX / RasterStepXY - 1], Sequence[Text[("" * k), Midpoint[Corner[4] + (RasterPixMat * (RasterMaxX, ((k - 1) * RasterStepXY))), Corner[4] + (RasterPixMat * (RasterMaxX, (k * RasterStepXY)))], false, true, 1, 0], k, 1, RasterMaxY / RasterStepXY]}) → RasterBeschriftung
  20. Sequence(Sequence[Corner[4] + (RasterPixMat * ((k * RasterStepXY), (m * RasterStepXY))), k, 0, RasterMaxX / RasterStepXY], m, 0, RasterMaxY / RasterStepXY) → RasterPunkte
  21. Max(x({Corner[txtO1, 2], Corner[txtO2, 2], Corner[txtO3, 2], Corner[txtO4, 2], Corner[txtO5, 2]})) → xMax
  22. Insert(MCPosActual(MCSwap(1)), Insert[MCPosActual(MCSwap(2)), Shuffle[Remove[1…optionsTotal, {MCPosActual(MCSwap(1)), MCPosActual(MCSwap(2))}]], If[IndexOf[MCPosActual(MCSwap(1)), MCPosActual] ≠ optionsTotal, IndexOf[MCPosActual(MCSwap(1)), MCPosActual], 5]], IndexOf[MCPosActual(MCSwap(2)), MCPosActual]) → MCPosNext
  23. If(correctMC, "\textsf{✓ Richtig}", (¬correctMC) ∧ (txtO1 ∈ ListeRichtig ∧ option1 ∨ txtO2 ∈ ListeRichtig ∧ option2 ∨ txtO3 ∈ ListeRichtig ∧ option3 ∨ txtO4 ∈ ListeRichtig ∧ option4 ∨ txtO5 ∈ ListeRichtig ∧ option5 ∨ txtO6 ∈ ListeRichtig ∧ option6), "\textsf{✘ Teilweise richtig}", "\textsf{✘ Falsch}") → txtMCFeedback
  24. If(optionsTotal ≟ 2, option1 ∧ option2, optionsTotal ≟ 3, option1 ∧ option2 ∧ option3, optionsTotal ≟ 4, option1 ∧ option2 ∧ option3 ∧ option4, optionsTotal ≟ 5, option1 ∧ option2 ∧ option3 ∧ option4 ∧ option5, option1 ∧ option2 ∧ option3 ∧ option4 ∧ option5 ∧ option6) → allSelected
  25. If(randomQuestion ≟ 1, (-3.5, 4), (-3.52, 5)) → PosDRG1
  26. Intersect(Circle[Midpoint[PosDRG1, PosDRG2], abs(PosDRG1 - PosDRG2) / 2], x = x(Midpoint[PosDRG1, PosDRG2]), 1) → PosDRG3
  27. Point(Circle[Midpoint[PosDRU1, PosDRU2], abs(PosDRU1 - PosDRU2) / 2]) → PosDRU3
  28. PolyLine(PosDRU1, PosDRU2, PosDRU3, PosDRU1) → segDRU
  29. PolyLine(PosDRG1, PosDRG2, PosDRG3, PosDRG1) → segDRG
  30. Text((("\textsf{" * If[txtO1 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC1(1), 2], Vertex[polyMC1(1), 3]] + (0, 0.05), false, true, 1, 0) → FB01
  31. Text((("\textsf{" * If[txtO2 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC2(1), 2], Vertex[polyMC2(1), 3]] + (0, 0.05), false, true, 1, 0) → FB02
  32. Text((("\textsf{" * If[txtO3 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC3(1), 2], Vertex[polyMC3(1), 3]] + (0, 0.05), false, true, 1, 0) → FB03
  33. Text((("\textsf{" * If[txtO4 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC4(1), 2], Vertex[polyMC4(1), 3]] + (0, 0.05), false, true, 1, 0) → FB04
  34. Text((("\textsf{" * If[txtO5 ∈ ListeRichtig, "\textcolor{#006758}{✓\vphantom{g✓✘}}", "\textcolor{#b00020}{✘\vphantom{g✓✘}}"]) * "}"), Midpoint[Vertex[polyMC5(1), 2], Vertex[polyMC5(1), 3]] + (0, 0.05), false, true, 1, 0) → FB05
  35. If(randomQuestion ≟ 3, (-2, -1), randomQuestion ≟ 4, (-4, 1), (-2.72, 4.3)) → PosDSpGs1
  36. If(randomQuestion ≟ 5, (-5, 0.5), (-6.5, -2.75)) → PosDStG1
  37. PolyLine(PosDStU1, PosDStU2, PosDStU3, PosDStU1) → segDStU
  38. PolyLine(PosDSpG1, PosDSpG2, PosDSpG3, PosDSpG1) → segDSpG
  39. PolyLine(PosDSpU1, PosDSpU2, PosDSpU3, PosDSpU1) → segDSpU
  40. PolyLine(PosDSpGs1, PosDSpGs2, PosDSpGs3, PosDSpGs1) → segDSpGs
  41. PolyLine(PosDStG1, PosDStG2, PosDStG3, PosDStG1) → segDStG
  42. Angle(Polygon[PosDRG1, PosDRG2, PosDRG3]) → angleDRG1, angleDRG2, angleDRG3
  43. Angle(Polygon[PosDRU1, PosDRU2, PosDRU3]) → angleDRU1, angleDRU2, angleDRU3
  44. Angle(Polygon[PosDSpU1, PosDSpU2, PosDSpU3]) → angleDSpU1, angleDSpU2, angleDSpU3
  45. Angle(Polygon[PosDSpG1, PosDSpG2, PosDSpG3]) → angleDSpG1, angleDSpG2, angleDSpG3
  46. Angle(Polygon[PosDSpGs1, PosDSpGs2, PosDSpGs3]) → angleDSpGs1, angleDSpGs2, angleDSpGs3
  47. Angle(Polygon[PosDStG1, PosDStG2, PosDStG3]) → angleDStG1, angleDStG2, angleDStG3
  48. Angle(Polygon[PosDStU1, PosDStU2, PosDStU3]) → angleDStU1, angleDStU3, angleDStU2
  49. Text("\textsf{\footnotesize{ungleichseitiges,\\stumpfwinkliges Dreieck}}", (x(Midpoint[PosDStU1, PosDStU2]), y(PosDStU3) + 0.25), false, true, 0, 1) → CapNameDStU
  50. Text("\textsf{\footnotesize{gleichschenkliges,\\stumpfwinkliges Dreieck}}", (x(Midpoint[PosDStG1, PosDStG2]), y(PosDStG3) + 0.25), false, true, 0, 1) → CapNameDStG
  51. Text("\textsf{\footnotesize{ungleichseitiges,\\spitzwinkliges Dreieck}}", (x(Midpoint[PosDSpU1, PosDSpU2]), y(PosDSpU3) + 0.25), false, true, 0, 1) → CapNameDSpU
  52. Text("\textsf{\footnotesize{gleichseitiges,\\spitzwinkliges Dreieck}}", (x(Midpoint[PosDSpGs1, PosDSpGs2]), y(PosDSpGs3) + 0.25), false, true, 0, 1) → CapNameDSpGs
  53. Text("\textsf{\footnotesize{gleichschenkliges,\\spitzwinkliges Dreieck}}", (x(Midpoint[PosDSpG1, PosDSpG2]), y(PosDSpG3) + 0.25), false, true, 0, 1) → CapNameDSpG
  54. Text("\textsf{\footnotesize{ungleichseitiges,\\rechtwinkliges Dreieck}}", (x(Midpoint[PosDRU1, PosDRU2]), y(PosDRU3) + 0.25), false, true, 0, 1) → CapNameDRU
  55. Text("\textsf{\footnotesize{gleichschenkliges,\\rechtwinkliges Dreieck}}", (x(Midpoint[PosDRG1, PosDRG2]), y(PosDRG3) + 0.25), false, true, 0, 1) → CapNameDRG

AI Drawing Prompt Reference

Create an educational geometry diagram demonstrating properties of special triangles including right, isosceles, and equilateral types, each with labeled interior angles showing degree values. Draw a labeled coordinate grid as background. Arrange six multiple-choice option boxes in aligned rows on the right, shuffled per question. Construct triangles by connecting vertices positioned dynamically based on question number, with angle markers automatically calculated at vertices. Provide instant feedback: green checkmarks for correct selections, red crosses for incorrect, and partial credit indicators. Layout features grid drawing area on left and interactive quiz panel on right, clean style suitable for middle school geometry.
The prompt above was compiled from the original drawing commands and is for reference only.