6D Lecture 1B: Logic and Propositions

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/31

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 9:22 PM on 4/11/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

32 Terms

1
New cards

proposition

statement that is either true or false

2
New cards

is x>5 a proposition?

yes, it is true.

3
New cards

truth value

the label we attach to a proposition, either true or false

4
New cards

compound proposition

proposition that connects simple proposition using logical operations

5
New cards

conjunction

  • a compound proposition with the symbol ^ (and)

  • true when both p and q are true

  • if p or q is false, the conjunction as a whole is false

6
New cards

when is p^q false

when p or q is false

7
New cards

truth table

table that shows every possible combo of true or false for the variables, and the result

8
New cards

disjunction

  • a compound proposition with the symbol v (or)

  • has an inclusive and exclusive or

  • the proposition is only false when both p and q are false, but is true when either p or q is true (or both)

9
New cards

what is the difference between inclusive or and exclusive or? which one should you assume?

  • inclusive or includes the case where both p and q are true

  • exclusive or is only true when p or q is true, not both

  • assume or is always inclusive unless stated otherwise

10
New cards

negation

  • symbol that flips the truth value (¬)

  • if p is true, ¬p is false

  • if p is false. ¬p is true

  • instead of working with 2 variables p and q, it only operates on a single proposition like p and changes its state instead of comparing 2 propositions

11
New cards

what would a truth table for negation ¬ look like?

2 rows, if p is true ¬p is false and vice versa

12
New cards

what is the order of precedence when solving combined operations

1) ¬ 2) ^ 3) v 4) → 5) ≣

13
New cards

evaluate the order in which p v ¬q ^ r would be solved

p v [(¬q)^r]

14
New cards

logical equivalence

  • when 2 propositions have the same truth value for every possible input combo

  • check by making a truth table for each proposition and comparing the final result columns, match if they’re equivalent

15
New cards

which notation shows two propositions are logically equivalent

16
New cards

De Morgan’s first law

  • not (p and q) = not p, or not q

  • ¬(p ^ q) = ¬p v ¬q

17
New cards

De Morgan’s second law

  • not (p or q) = not p, and not q

  • ¬(p v q) = ¬p ^ ¬q

18
New cards

evaluate using De Morgan’s Law: “Its not the case that its hot AND sunny”

its not hot, or its not sunny

19
New cards

conditional operation

  • →, if p then q

  • p is the hypothesis, q is the conclusion

  • p→q is false when p is true but q is false

  • when p is false, the conditional is automatically true

  • its kinda like a contract between two parties

20
New cards

what is the converse of p → q

  • q → p

21
New cards

what is the contrapositive of p→q

  • ¬q → ¬p

  • flip and negate to make it equivalent to the original

22
New cards

what is the inverse of p → q

  • ¬p → ¬q

  • negate both, equate it to the converse

23
New cards

which conditionals are logically equivalent to p→q

the contrapositive

24
New cards

biconditional

  • p ≣ q

  • p if and only if q/p iff q

  • true when p and q have the same truth value (both T or both F)

25
New cards

when is p ≣ q true

when they have the same truth value, either both true or both false

26
New cards

predicate

  • statement whose truth value depends on one or more variables

  • outputs T or F

  • p(x) isn’t a proposition but becomes one when you plug in a value like p(5) it becomes one because it has a definite truth value

  • can have multiple variables like Q(x,y) = x² = y so Q(5,25) would be true in that case

27
New cards

why is “x is odd” not a proposition on its own

because you don’t know what x is so you can’t determine if the statement is true or false, which is why p(x) isn’t a proposition

28
New cards

domain

set of all values x is allowed to be

29
New cards

quantifiers

  • ∀(for all)

  • ∃(there exists)

  • symbols that specify how many elements in a given domain satisfy a predicate or condition

30
New cards

essential quantifier, what does ∃x P(x) mean in plain english

  • there exists at least one x such that P(x) is true

  • true so long as you can find one value in the domain satisfying P(x), false if no values in domain work

31
New cards

universal quantifier, what does ∀x P(x) mean in plain english

  • for all x in the domain, p(x) is true

  • true if only every value in domain satisfies p(x), false otherwise

32
New cards

is ∃x(x+1<x) true or false for positive integers

  • no, x+1 cannot be smaller than one if the integers are positive