1 / 27

Sets and Logic…. Chapters 5 and 6

An experiment…. Sets and Logic…. Chapters 5 and 6. Let A and B be sets, then the cartesian product Order matters!. Chapter 4: Relations. Suppose that A and B are sets. We say that any set is a relation from A to B Examples. Relations.

bakerjohn
Download Presentation

Sets and Logic…. Chapters 5 and 6

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An experiment….. Sets and Logic…. Chapters 5 and 6

  2. Let A and B be sets, then the cartesian product Order matters! Chapter 4: Relations

  3. Suppose that A and B are sets. We say that any set is a relation from A to B • Examples Relations

  4. Let F be a relation from A to B. F is called a function if for every there is exactly one such that We then write Chapter 5: Functions

  5. Alleged Theorem: Suppose f and g are function from A to B. If then f = g. Ran(f) = Functions

  6. Let then , and for any Composition

  7. Definitions Suppose that We will say that f is one-to-one if We say that f is onto if 5.2 One to One and Onto

  8. Suppose that 𝑓:𝐴→𝐵. 1. f is one-to-one iff 2. f is onto iff One to One and Onto

  9. Let Then f is one to one but not onto. Example

  10. Suppose that is one to one and onto, then Suppose f is a function from A to B and is a function from B to A. Then and . Inverses of Functions

  11. Theorem. Suppose 1. If there is a function , such that then f is one to one 2. If there is a function 𝑔: 𝐵→𝐴, such that then f is onto. More Inverses

  12. Theorem. Suppose 𝑓:𝐴→𝐵. Then the following statements are equivalent 1. f is one to one and onto 2. 3. There is a function such that . Inverses

  13. Theorem: Suppose Then Inverses

  14. Let and define Show that f is one-to-one and onto and find Let Examples

  15. To prove that 1. Prove P(K) 2. Prove for Basic Induction

  16. Prove that for every n, Prove Prove that Example

  17. Let R be a partial order on A. Prove that every finite nonempty set has an R-minimal element. Examples

  18. R is a Partial Order on A if it is reflexive, transitive, and antisymmetric. It is a Total Order on A if it is a partial order and in addition Let

  19. For all if n distinct points on a circle are connected in consecutive order with straight lines, then the interior angles of the resulting polygon add up to Fun and Games with Triangles

  20. Theorem: For any positive integer n, a square grid with any one square removed can be covered with L-shaped tiles. Fun and Games with tiles

  21. Ex: Recursion

  22. Prove that for every . Define a sequence, Find a formula and prove its correctness. Example

  23. For every and every natural number n, Example

  24. Simple Induction… Prove P(k) Prove for n>k, Strong Induction….. Strong Induction

  25. Theorem: For all natural number n and m, if m>0, then there are q and r such that n = mq+r. ( q is the quotient, and r is the remainder ) Examples

  26. Theorem: Every integer n>1 is either a prime or a product of primes. Example

  27. Theorem: Every non-empty set of natural numbers has a smallest element. Theorem: is irrational. I.e. there are no integers p and q such that Example

More Related