3-sets-functions.ltx 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. \ch{Sets, Proofs, and Functions}
  2. Alright, we're done with Booleans! Sort of. The next thing we are going to look
  3. at are \xti{sets}.
  4. Sets were first studied by Georg Cantor, a German mathematician, in the second
  5. half of the nineteenth century. Back in his own day, the results Cantor found
  6. by studying sets were considered so thoroughly bizarre that many of his
  7. colleagues simply refused to believe that Cantor could be right. In the end,
  8. Cantor turned out to be right all along. His ideas can be found in any
  9. introductory text on mathematics---including this one.
  10. Sets are basically like lists--- think ``your grocery list'' or ``your
  11. to-do-list'' --- except there's no multiplicity, and there's no intrinsic
  12. order. A ``list'' is exactly what you think it is. It's a bunch of things. The
  13. standard notation is to use $\mset{\mathrm{Braces}}$ for sets, and
  14. $\mlist{\mathrm{Parentheses}}$ for lists. Lists can have duplication, and order
  15. does matter.
  16. $\mlist{4}$, $\mlist{4,4}$, and $\mlist{4,4,4}$ are all different \xtb{lists};
  17. $\mset{4}$, $\mset{4,4}$, and $\mset{4,4,4}$ are the same \xtb{set}. In a
  18. \xtb{list}, each $4$ is considered a separate item. In a \xtb{set}, $4$ can
  19. appear a billion times, but it's only counted once.
  20. $\mlist{1,2,3}$, $\mlist{3,1,2}$, and $\mlist{2,3,1}$ are all different
  21. \xtb{lists}. $\mset{1,2,3}$, $\mset{3,1,2}$, and $\mset{2,3,1}$ are all the same
  22. \xtb{set}. In a \xtb{set}, the order in which items appear doesn't matter; all
  23. that matters is that the items are there. In a \xtb{list}, however, the order is
  24. important.
  25. In a list, order and multiplicity matter. In a set, order and multiplicity are
  26. ignored. If you can't remember whether to use braces \{the curly things\}, or
  27. parentheses (the round things), remember: \xti{a \xtb{brace} is used to
  28. \xtb{set} a broken bone.} I don't have a horrible pun having to do with
  29. parentheses and lists, and for that, I apologize.
  30. \input{3/1-elements-subsets.ltx}
  31. \input{3/2-operators-functions.ltx}
  32. \input{3/3-unions-intersections.ltx}
  33. \input{3/4-natural-numbers.ltx}