Discrete Mathematics Exam 1

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

1/39

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.

40 Terms

1
New cards

p v q

This is a disjunction: p or q, or p and q. This is an inclusive or.

2
New cards

p ^ q

This is a conjunction: p and q

3
New cards

p ⊕ q

This is an exclusive or: either p or q

4
New cards

p → q

This is an implication. If p, then q

5
New cards

Converse conditional statements

q → p

6
New cards

Contrapositive conditional statements

¬q → ¬p (has the same truth values as p → q)

7
New cards

Inverse conditional statement

¬p → ¬q

8
New cards

p ↔ q

This is a biconditional statement, also known as bi-implications. It means p if and only if q. True if both p and q have the same truth values. Also written as "p is necessary and sufficient for q", "if p then q, and conversely", and "p iff q".

9
New cards

Precedence of logical operators in 1st to 5th

1. ¬ 2. ^ 3. v 4. → 5. ↔

10
New cards

Bit

This is a symbol with two possible values, specifically 0 (zero) and 1 (one). 1 represents the True value and 0 represents a False value.

11
New cards

De Morgan's law

When you distribute a "¬", then you flip the conjunction or disjunction sign that you are distributing to.

12
New cards

p ∧ T ≡ p
p ∨ F ≡ p

Identity laws

13
New cards

p ∨ T ≡ T
p ∧ F ≡ F

Domination laws

14
New cards

p ∨ p ≡ p
p ∧ p ≡ p

Idempotent laws

15
New cards

¬(¬p) ≡ p

Double negation law

16
New cards

p ∨ q ≡ q ∨ p
p ∧ q ≡ q ∧ p

Commutative laws

17
New cards

(p ∨ q) ∨ r ≡ p ∨ (q ∨ r)
(p ∧ q) ∧ r ≡ p ∧ (q ∧ r)

Associative laws

18
New cards

p ∨ (q ∧ r) ≡ (p ∨ q) ∧ (p ∨ r)
p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r)

Distributive laws

19
New cards

¬(p ∧ q) ≡ ¬p ∨ ¬q
¬(p ∨ q) ≡ ¬p ∧ ¬q

De Morgan's laws (1st and 2nd)

20
New cards

p ∨ (p ∧ q) ≡ p
p ∧ (p ∨ q) ≡ p

Absorption laws

21
New cards

p ∨ ¬p ≡ T
p ∧ ¬p ≡ F

Negation laws

22
New cards

Predicate

refers to a property that the subject of the statement can have (e.g. is greater than 3)

23
New cards

Propositional function

P at x or P(x); the function

24
New cards

Functionally Complete

Every compound proposition is logically equivalent to a compound proposition composed of only these logical operators

25
New cards

Satisfiability

Occurs when there is an assignment of truth values to its variables that makes it true

26
New cards

Set N

natural numbers = {0,1,2,3...}

27
New cards

Set Z

integers = {....-3,-2,-1,0,1,2,3....}

28
New cards

Set Z+

positive integers = {1,2,3.....}

29
New cards

Set R

real numbers

30
New cards

set R+

positive real numbers

31
New cards

set C

complex numbers

32
New cards

Q

set of rational numbers

33
New cards

Injection

Every single input into A (the domain) has a single output in B (the codomain). However, all of the codomain values do not have to be matched up. "One-to-one"

34
New cards

Surjection

Every element of the codomain is matched up with a value from the domain.

35
New cards

Bijection

It is both injective and surjective. In other words, every one of the domain has a single single output and every one of the codomain values is matched up with a value of the domain.

36
New cards

א

The Hebrew symbol aleph. |S| is equal to the cardinality "aleph null"

37
New cards

Join of matrices

A v B

38
New cards

The meet of matrices

A ^ B

39
New cards

Boolean Product

^ between terms and then v between the two deciding terms

40
New cards

Boolean Powers of zero-one matrices

for all positive integers n with n >=5, the matrix becomes all ones