4. Ordered Pairs, Cartesian products, Graphical Relations Lists, and Strings

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Pair Axiom

Suppose that X and Y are sets. Then there is a set whose elements are exactly X and Y.

This is the unordered pair of X and Y {X,Y}

2
New cards

Define : Ordered Pair

Suppose that X and Y are sets. Suppose that x,x’∈X and y,y’∈Y are elements.

Then an ordered pair (x,y) contains x and y in that order.

Two ordered pairs (x,y) and (x’,y’) are equal if and only if x=x’ and y=y’

(x,y) is an ordered pair, then x is the first entry and y is the second entry.

3
New cards

Ordered Pair Axiom

Suppose that X and Y are sets. Suppose that x∈X and y∈Y. Then the ordered pair (x,y) exists.

4
New cards

Definition: Cartesian product

Suppose that X and Y are sets. Then the collection of all ordered pairs with first entry from X and second entry from Y is

X x Y ={(x,y)|x∈X,y∈Y)

is called the Cartesian product of X and Y.

5
New cards

Axiom - Cartesian product Set

Suppose that X and Y are sets. Then the Cartesian product X x Y is a set.

6
New cards

Sketch a proof that [|m|] x[|n|] has cardinality m x n

7
New cards

What is the domain for add and sub of natural numbers and multiplication

Gives functions from N² to N

8
New cards

Suppose that X is a set. Show that X is a set. Show that X x ∅ = ∅ x X = ∅

9
New cards

Define : A relation R from X to Y

A relation R from X to Y consists of the following

  • A set X, called the domain

  • A set Y, called the codomain

  • A subset of X x Y

10
New cards

Example 4.13

11
New cards

What is xRy

if X=Y

12
New cards

What is the empty relation?

What is the universal relation?

When X=Y then what set gives the identity relation on Y?

13
New cards

Definition:- Graphical Relation

Suppose that X and Y are sets. A relation G from X to Y is graphical if for ever y x∈ X there is exactly one y∈Y so that xGy: that is, so that (x, y) lies in G.

14
New cards

Function Defintion

A function f : X → Y is a relation G, from X to Y , which is graphical. As a bit of notation, if xGy then we write f(x) = y.

15
New cards

List definition

Suppose that A is a set. Suppose that n is a natural number. A list L is a function L: 􏰁n􏰂 → A. We call n the length of the list L. We also say that the elements of L are taken from A.

16
New cards

empty string definition

Over any alphabet A there is a unique string εA of length zero; this is called the empty string.

17
New cards

Binary Strings definition

Suppose that B = {0, 1} is our alphabet. We call the elements of B bits. Strings over B are called binary strings.