Permutation of Different Cards (Distinguishable Objects)

Permutation of Different Cards (Distinguishable Objects)
Loading the math board and drawing, please wait…
2014-02-05 08:00
In collections Probability GeoGebra Book
This GeoGebra applet simulates how different distinguishable objects can be arranged to obtain various permutations. Users can adjust the number of cards from 2 to 4 using sliders to visually observe and calculate all possible full permutation cases. The applet dynamically generates and displays every distinct arrangement of the selected cards, allowing students to count and verify the results in real time. Utilizing sequence and list commands, this interactive tool vividly demonstrates the concept of permutations in combinatorics, helping students understand the principles behind factorial and permutation calculations. As users increase the number of cards via the slider, they can see the exponential growth in the number of possible arrangements: 2 cards yield 2 permutations, 3 cards yield 6 permutations, and 4 cards yield 24 permutations. This direct correspondence with the factorial function—where n! equals the number of permutations of n distinct objects—reinforces the mathematical relationship through hands-on exploration. The applet combines visual representation with numerical computation, making abstract combinatorial concepts tangible and accessible. Students can experiment with different values, compare outcomes, and develop an intuitive grasp of why the permutation formula n! works. The interface is designed to be intuitive and engaging, supporting both guided instruction and independent discovery in a classroom or self-study setting.

GeoGebra Commands & Parameters

  1. Sequence(Element[QSet, i] + (3, 0), i, 1, 6) → RPoint
  2. Sequence(Mod[24 - i, 6], i, 1, 24) → Y0Set
  3. Sequence(ceil(i / 6), i, 1, 24) → X0Set
  4. Element(XSep, NObj) → XSeparation
  5. Element(YScale, NObj) → YScal
  6. Element(XScale, NObj) → XScal
  7. Sequence(Sequence[(XScal * (Element[X0Set, i] * XSeparation + If[k < i - 1, Element[Element[List00, NObj], j], If[k > i, Element[Element[Element[Permute, NObj], i], j], FindCor(k, i - 1, i, Element[Element[List00, NObj], j], Element[Element[Element[Permute, NObj], i], j])]]), YScal * Element[Y0Set, i]), j, 1, NObj], i, 1, NObj!) → PointSet
  8. Sequence(0.5 + 5 * i, i, 1, NObj + 1) → XLine
  9. Sequence((Element[XLine, i], 8), i, 1, NObj + 1) → XUpPoint
  10. Sequence((Element[XLine, i], -0.5), i, 1, NObj + 1) → XDownPoint
  11. Sequence(Segment[Element[XUpPoint, i], Element[XDownPoint, i]], i, 1, Element[NoOfLine, NObj]) → VertLine
  12. Sequence(Sequence[(XScal * (Element[X0Set, i] * XSeparation + FindCor(k, 0, NObj!, Element[Element[List00, NObj], j], Element[Element[Element[Permute, NObj], i], j])), YScal * Element[Y0Set, i]), j, 1, NObj], i, 1, NObj!) → PTSet
  13. Sequence(If[Tree > 2, x(Element[BPoint, i]), FindCor(Tree, 1, 2, x(Element[A3Point, i]), x(Element[BPoint, i]))], i, 1, 3) → BXMoving
  14. Sequence(If[Tree > 2, y(Element[BPoint, i]), FindCor(Tree, 1, 2, y(Element[A3Point, i]), y(Element[BPoint, i]))], i, 1, 3) → BYMoving
  15. Sequence((Element[BXMoving, i], Element[BYMoving, i]), i, 1, 3) → BMoving
  16. Sequence(Segment[Element[A3Point, i], Element[BMoving, i]], i, 1, 3) → LineAB
  17. Sequence(If[Tree < 4, x(Element[C6Point, i]), If[Tree > 6, x(Element[DPoint, i]), FindCor(Tree, 4, 6, x(Element[C6Point, i]), x(Element[DPoint, i]))]], i, 1, 6) → DXMoving
  18. Sequence(If[Tree < 4, y(Element[C6Point, i]), If[Tree > 6, y(Element[DPoint, i]), FindCor(Tree, 4, 6, y(Element[C6Point, i]), y(Element[DPoint, i]))]], i, 1, 6) → DYMoving
  19. Sequence((Element[DXMoving, i], Element[DYMoving, i]), i, 1, 6) → DMoving
  20. Sequence(Element[RPoint, i] + (2, 0), i, 1, 6) → R1Set
  21. Sequence(Segment[Element[C6Point, i], Element[DMoving, i]], i, 1, 6) → LineCD
  22. Sequence(Element[R1Set, i] + (1.3, 0), i, 1, 6) → R2Set
  23. Sequence(Element[R2Set, i] + (1.3, 0), i, 1, 6) → R3Set
  24. Sequence(Element[DSet, i] + (1.5, 0), i, 1, 6) → EPoint
  25. Sequence(Element[EPoint, i] + (1.5, 0), i, 1, 6) → FPoint
  26. Sequence(If[Tree < 8, x(Element[EPoint, i]), If[Tree > 10, x(Element[FPoint, i]), FindCor(Tree, 8, 10, x(Element[EPoint, i]), x(Element[FPoint, i]))]], i, 1, 6) → FXMoving
  27. Sequence(If[Tree < 8, y(Element[EPoint, i]), If[Tree > 10, y(Element[FPoint, i]), FindCor(Tree, 8, 10, y(Element[EPoint, i]), y(Element[FPoint, i]))]], i, 1, 6) → FYMoving
  28. Sequence((Element[FXMoving, i], Element[FYMoving, i]), i, 1, 6) → FMoving
  29. Sequence(Segment[Element[EPoint, i], Element[FMoving, i]], i, 1, 6) → LineEF
  30. Sequence(Element[FPoint, i] + (1.8, 0), i, 1, 6) → GPoint
  31. Point(GPoint) → A
  32. Point(GPoint) → B
  33. Segment(Element[GPoint, 1] + (0, 0.5), Element[GPoint, 6] - (0, 0.5)) → e

AI Drawing Prompt Reference

Draw a permutation diagram of cards with 2 to 4 distinguishable cards. Start by setting a slider to choose the number of cards, then generate all possible permutations based on the selected number. Each card can be swapped with others to form different arrangements. As the number of cards increases, the number of permutations grows exponentially. For example, 2 cards have 2 permutations, 3 cards have 6 permutations, and 4 cards have 24 permutations. By observing these arrangements, you can intuitively understand the concept of permutations and verify the relationship between permutations and factorials.
The prompt above was compiled from the original drawing commands and is for reference only.