Sets, Relations, Functions, Graphs




CS154

Chris Pollett

Jan. 31, 2011

Outline

Introduction

Sets

Subsets

To make statements (true or false propositions) about sets we will often use abbreviations:

More on sets

Set comprehension and basic ways to make new sets

Examples, Partitions, and DeMorgan's Laws

Quiz

Which of the following is true?

  1. XML is a web-based language for specifying Turing Machines.
  2. Context-Free Grammars are useful in the design of compression algorithms.
  3. Regular Expressions are too simple to be useful for string matching.

Cartesian Product and Relations

Power Set

Successor sets

Axiom of Infinity

The Set of Natural Numbers

Functions

Types of Functions

Size of sets