Discrete Math Exam 1

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/38

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.

39 Terms

1
New cards

DeMorgan’s Laws

~(p/\q)= ~p \/ ~q and ~(p\/q)= ~p /\ ~q

2
New cards

Distributive law

p/\(q\/r)=(p/\q)\/(p/\r) and p\/(q/\r)=(p\/q)/\(p\/r)

3
New cards

Commutative laws

p/\q=q/\p and p\/q=q\/p

4
New cards

Associative laws

(p/\q)/\r=p/\(q/\r) and (p\/q)\/r=p\/(q\/r)

5
New cards

What is a statement

True or false, but not both

6
New cards

How do we write “but not”

/\~

7
New cards

How to make a truth table with p,q,r?

p: 4 T’s, 4 F’s. q: 2 T’s, 2 F’s, 2 T’s, 2 F’s. r: Alternate T F

8
New cards

How to know two things are logically equivalent?

They always have the same truth values

9
New cards

Tautology

A statement that is always true regardless of truth values for its variables

10
New cards

Contradiction

A statement that is always false regardless of truth values for its variables

11
New cards

How are if-then and or related?

p→q=~p\/q

12
New cards

Negation of a Conditional statement

~(p→q)=p/\~q (NOT another conditional statement)

13
New cards

Contrapositive of a conditional statement

p→q=~q→~p

14
New cards

Converse of a conditional statement

p→q becomes q→p

15
New cards

Inverse of a conditional statement

p→q becomes ~p→~q

16
New cards

What does only if mean?

if not q, then not p. Also = p→q

17
New cards

What is the biconditional of p and q?

p if and only if q, p<->q. sometimes if and only if = iff

18
New cards

What is a sufficient condition?

r is a sufficient condition for s = if r then s

19
New cards

What is a necessary condition?

if not r then not s

20
New cards

What does it mean for an argument form is valid?

All premises are true and conclusion is true

21
New cards

What is modus ponens

If p then q.

p

therefore q

(Valid)

22
New cards

Modus tollens

If p then q.

~q

therefore ~p

(Valid)

23
New cards

Generalization

p

therefor p\/q

and 

q

therefore p\/q

24
New cards

Specialization

p/\q

therefore p

and

p/\q

therefore q

25
New cards

Elimination

p\/q

~q

therefore p

and

p\/q

~p

therefore q

26
New cards

Transitivity

p→q

q→r

therefore p→r

27
New cards

Proof by division into cases

p\/q

p→r

q→r

therefore r

28
New cards

What is a sound argument

It is valid and ALL premises are true

29
New cards

Universal quantifier

Upside down A, “for every/each/any/all”

30
New cards

Universal statement

∀x ∈ D, Q(x)

31
New cards

Existential quantifier 

∃ “there exists”

32
New cards

Existential statement

∃x ∈ D such that Q(x)

33
New cards

What do these domains mean? R, N, Z, Q

Real numbers, natural numbers (positive integers), all integers, rational numbers

34
New cards

Universal conditional statements

∀x, if P(x) then Q(x)

35
New cards

Negation of universal statements

There exists x in the domain such that not p

36
New cards

Negation of existential statements

For all x, not P(x)

37
New cards

What is n choose r?

n!/r!(n-r)!

38
New cards

Sum of the first n integers

(n(n+1))/2

39
New cards

Sum of a geometric sequence

r^(n+1) -1/r-1