Discrete Mathematics

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/65

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.

66 Terms

1
New cards

What are tautologies?

A tautology is a statement in logic that is always true, no matter what the truth values of its components are.

2
New cards

What are the domination laws?

x∨1=1 and x∧0=0 for ANY x

3
New cards

How do you prove a “if and only if” statement?

If a then b AND if b then a.

4
New cards

What is a quotient of a set?

A quotient of a set (sometimes called a quotient set) is what you get when you take a set and group together elements that are equivalent under some equivalence relation.

5
New cards

What does A x A mean?

It literally lists every possible pair of elements in A.

6
New cards

R∪R^−1=A×A - what does this express?

  • It expresses a linear partial order

<ul><li><p>It expresses a linear partial order</p></li></ul><p></p>
7
New cards

What does it mean for 2 numbers to be congruent modulo m?

They leave the same remainder when divided by m.

8
New cards

How is set builder notation read?

knowt flashcard image
9
New cards

What is the definition of a quotient in maths?

knowt flashcard image
10
New cards

What does 25 ≡ 1 mod 12  mean?

  • Divide 25 by 12 → 25÷12 = 2 remainder 1

  • Divide 1 by 12 → 1÷12 = 0 remainder 1

<ul><li><p>Divide 25 by 12 → <span>25÷12 = 2</span> remainder <strong>1</strong></p></li><li><p>Divide 1 by 12 → <span>1÷12 = 0</span> remainder <strong>1</strong></p></li></ul><p></p>
11
New cards

What is Peano arithmetic?

knowt flashcard image
12
New cards

What is the definition of + ?

knowt flashcard image
13
New cards

What are the semantic rules of Boolean Formulae?

knowt flashcard image
14
New cards

What are the rules for Disjunctive Normal Form (DNF) ?

knowt flashcard image
15
New cards

What are the rules for Conjunctive Normal Form (CNF) ?

knowt flashcard image
16
New cards

F = F1 ∧ F2 , is it true that F1 & F2 have fewer symbols than F

YES! Because the symbols in F1 & F2 are also counted in F!

17
New cards

What is the meaning of “

Equal to

18
New cards

How does course-of-values induction work?

knowt flashcard image
19
New cards

((X→Y)∧(¬X→Y))→Y - is this always true?

Yes, since x → y is only false when y is false, which is not the case when x is either true or false here.

20
New cards

When is a relation antisymmetric?

A relation R on a set A is antisymmetric if, whenever a R b and b R a, it is the case that a = b.

21
New cards

What is the definition of R^−1

<p></p>
22
New cards

When are 2 functions equal?

If they give the same output on every input. This is the same as saying that they are equal as sets of pairs, because every input value belongs to exactly one pair by definition of function.

23
New cards

What does “R is a relation on A” mean?

Both elements in each pair come from the same set A

24
New cards

For a finite set size, and 2 functions that are both injective, what must the sizes of A and B be?

∣A∣ ≤ ∣B∣, since injective function is a 1-1 function, but there can be elements in B that are not reached. However, every element in A must distinctly map to ONLY 1 element in B.

25
New cards

f:A→B (What exactly does it mean?)

  • A is the domain — the set of all possible inputs for the function f.

  • B is the codomain — the set that contains all possible outputs of f.

f is a function that takes elements from the set A and sends them to elements in the set B.

26
New cards

What is commutative?

The order of the operation doesn’t matter — you get the same result either way.

27
New cards

What does “id” mean?

knowt flashcard image
28
New cards

What does R^−1⊆ R mean?

“every element of R−1 is also in R.”

29
New cards

What does ⟺ mean?

If and only if

30
New cards

What is a reflexive relation?

“If I put the same number in both places, does the relation still hold?”

<p>“If I put the same number in both places, does the relation still hold?”</p>
31
New cards

What is meant by parity?

Parity refers to whether an integer is even or odd.

32
New cards

What are surjective functions?

“Everything is reached in B" (CAN but does not have to have more than one A going to the same B)

<p>“Everything is reached in B"  (CAN but does not have to have more than one A going to the same B)</p>
33
New cards

What does this mean: X⊆Y

knowt flashcard image
34
New cards

What are equinumerous sets?

A is the same size as B if there is a bijection between A and B

35
New cards

What does PN mean? (Power set)

The set of sets of naturals (A powerset is the set of all possible subsets of a given set, including the empty set and the set itself.)

36
New cards

What are injective functions?

1-1

<p>1-1</p>
37
New cards

What are bijective functions?

Both surjective and injective functions

<p>Both surjective and injective functions</p>
38
New cards

What are the 2 conditions for an inverse relation to be a function?

knowt flashcard image
39
New cards

What is a cartesian product?

Given two sets A and B, the Cartesian product A×B is the set of all ordered pairs where the first element comes from A and the second element comes from B

<p>Given two sets A and B, the <strong>Cartesian product</strong> A×B is the set of <strong>all ordered pairs</strong> where the first element comes from A and the second element comes from B</p>
40
New cards

What is a reflective binary relation between a set?

A binary relation R on a set A is reflexive if a R a for every a ∈ A.

(every element of the set is related to itself)

41
New cards

What is R in a R b?

R is itself a set that That means R is a subset of the Cartesian product of two sets A and B.

42
New cards

When is a binary relation transitive?

If a is related to b, and b is related to c,
then a must also be related to c.

43
New cards

What is a proposition?

A statement that is either true or false, BUT NOT BOTH!

44
New cards

What are the distributive laws?

knowt flashcard image
45
New cards

Can you use implication in de Morgan law?

No, it must be only with AND and OR

46
New cards
<p>Write in logical notation.  (don’t forget div(x,y) meaning)</p>

Write in logical notation. (don’t forget div(x,y) meaning)

knowt flashcard image
47
New cards

How to read implication?

knowt flashcard image
48
New cards

What does the full stop mean in set notation?

Such that

49
New cards

What does disjoint mean?

Two sets X and Y are called disjoint if X ∩ Y = ∅.

50
New cards

(A∨B)∧(C∨D) ≡ ? (using distributive laws?)

(A∧C)∨(A∧D)∨(B∧C)∨(B∧D).

51
New cards

What is the law of excluded middle.

knowt flashcard image
52
New cards

How can X ∨ ¬X be expressed with implication?

(X → Y )

53
New cards

What is a literal?

A propersitin variable (X,Y)

54
New cards

What are the 2 rules for a set?

A set is determined completely by its elements: all that matters is whether an element is in a set or not.

A set doesn’t keep its elements in any particular order, and an element cannot appear more than once in a set. (writing an element more than once does not change the set.)

55
New cards

What is a predicate?

A proposition with a variable (x is a number)

56
New cards

What is a proposition?

a statement that is either true or false, but not both.

57
New cards

What are the absorption laws?

X ∨ ( X ∧ Y) = X

X ∧ (X ∨ Y) = X

58
New cards

What are the distributivity laws?

Distributivity: x ∨ (y ∧ z) = (x ∨ y) ∧ (x ∨ z)

x ∧ (y ∨ z) = (x ∧ y) ∨ (x ∧ z).

59
New cards

What are the 5 axioms that must hold for something to be Boolean algebra

Associativity

Absorption

Distributivity

Commutativity

Complements

<p>Associativity</p><p>Absorption</p><p>Distributivity</p><p>Commutativity</p><p>Complements</p>
60
New cards

Is ∅ (the empty set) in every possible set?

YES!

61
New cards

How can you work out how many elements are in a power element P(A)

2^n where n = number of elements in A

62
New cards

{x | (x ∈ A) ∨ (x ∈ B)}. What does this mean?

The set of all elements x such that the condition is true.

63
New cards

What is the existential quantifier symbol?

64
New cards

y∣x  - what does this mean?

When we say “y divides x” (written y∣xy \mid xy∣x), we mean:

x is a multiple of y, or equivalently, x can be written as y times some integer.

65
New cards

What does “:” mean?

means “is defined as” or “means that.”

66
New cards

Are quantifiers commutative?

No, only operations.