Clicker: Silly starter question According to , How many FBI special agents were there as of May,...

49
Clicker: Silly starter question According to www.fbi.gov , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736

Transcript of Clicker: Silly starter question According to , How many FBI special agents were there as of May,...

Page 1: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Clicker: Silly starter question

According to www.fbi.gov, How many FBI special agents were there as of May, 2013?

A)572

B)8,192

C)13,785

D)127,736

Page 2: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Clicker: Silly starter question

Approximately how many people apply for employment at the FBI each year

A)2500

B)25000

C)250,000

D)2,500,000

Page 4: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.
Page 5: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

What is the story behind the picture?

Page 6: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Lecture 2, MATH 210G.03, Spring 2014:Symbolic Logic

Page 7: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Law of the excluded middle• For every proposition, either the proposition is true or its

negation is true

• Either “Socrates is a man” or “Socrates is not a man”

• Either “It is true that Socrates is a man” or “It is true that Socrates is not a man”

• What about “This sentence is neither true nor false”

• Problem of “self-reference” or implied “it is true that…”

Page 8: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Problems with the excluded middle• Many statements have an element of uncertainty:

• Either it is raining or it is not raining

• Either Sophia Vergara is blonde or she is not blonde.

• Either NMSU has a better football team or UTEP has a better football team…

Page 9: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Logical arguments I: The syllogism• Aristotle, Prior Analytics: a

syllogism is "a discourse in which, certain things having been supposed, something different from the things supposed results of necessity because these things are so.”

Page 10: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Syllogism cont.• A categorical syllogism

consists of three parts: the major premise, the minor premise and the conclusion.

• Major premise: All men are mortal.

Minor premise: Socrates is a man.

Conclusion: Socrates is mortal.

• Major premise: All mortals die.

• Minor premise: All men are mortals.

• Conclusion: All men die.

Page 11: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Identify the major premise:All dogs have four legs

Milo is a dog

________________________

People who solve problems can get jobs.

Students good in math can solve problems.

_______________________

Women like a man with a prominent chin.

Robert Z’dar has a prominent chin.

Page 12: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Modus ponendo ponens("the way that affirms by

affirming”)• If P, then Q. P. Therefore, Q

• If Socrates is a man then Socrates is mortal

• Socrates is a man

• Therefore, Socrates is mortal

Page 13: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Logic and causality

Page 14: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Causality• Plato is a dog.

• all dogs are green

• Plato is green.

Page 16: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Logic and symbol of propositional calculus• P, Q, R etc: propositional variables

• Substitute for statements, e.g., P: Plato is a dog, Q: Plato is Green

• Logical connectives:

• Proposition: If Plato is a dog then Plato is green:

Page 17: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Truth tablesP Q (conjunction)

T T T

T F F

F T F

F F T

P Q (disjunction)

T T T

T F T

F T T

F F F

Page 18: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Clicker question• P: Socrates is a man

• Q: Socrates is mortal.

• If Socrates is a man then Socrates is mortal.

• Suppose that Socrates is not a man.

• Is the whole statement: true or false?

• Clicker: True (A) or False (B)

Page 19: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Truth table for implication

P Q (implication)

T T T

T F F

F T T

F F T

Page 20: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Why is “If p then q” true whenever p is false?

Your mom always tells the truth…right?

Your mom makes a promise: “: if you clean your room then we can go for ice cream”

Suppose you don’t clean your room.

If you don’t go for an ice cream, then your mom has not broken her promise.

If you do go for ice cream, she still has not broken her promise.

P: you clean your room; Q: go for ice cream

holds either way.

Page 21: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Truth table for modus ponens• No matter what truth values are assigned to

the statements p and q, the statement is true

Page 22: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Exercise: complete the truth table for modus tollens

P Q

T T T

T F F

F T T

F F T

Page 23: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Simple and compound statements

A simple statement is sometimes called an atom. E.g., Milo is a dog; Socrates is a man; Men are mortal.

A compound statement is a string of atoms joined by logical connectives (and, or, then, not)

Logical equivalence: vs

Truth value of a compound statement is inherited from the values of the atoms.

Page 24: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

For compound statements with conjunctions (∧) to be true, the elements on both sides of must have the value “T” so the ∧

fourth column is as follows:P Q

T T T F

T F F F

F T T F

F F T T

Page 25: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

For condition statements or “implications” with “ ->” to be true, either the statement to the left of the implication has to be false

or the statement to the right of the implicationhas to be true. The statement (p->q) -q is false in the first three cases and the ∧statement –p is true in the last, so the fourth column has value

“T” in all casesP Q

T T T F T

T F F F T

F T T F T

F F T T T

Page 26: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Clicker questions:p q

T T T F

T F F F

F T T F

F F T T

• First row: True (A) or False (B)• Second row: True (A) or False (B)• Third row: True (A) or False (B)• Fourth row: True (A) or False (B)

Page 27: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Logical equivalence• Two formulas are logically equivalent if they have the

same truth values once values are assigned to the atoms.

• Ex: is equivalent is equivalent to

• How to check logical equivalence: verify that the statements always have the same values

Page 28: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Exercise: verify that the statements , and are

logically equivalentp q

T T T T T

T F F

F T T

F F T

Page 29: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Exercise: Verify using truth tables that the following DeMorgan’s laws are logically equivalent

Page 30: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Exercise: Verify using truth tables the following absorption rules and the conditional rules

Page 31: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Match the following logical equivalencies with the corresponding rules of inference

Page 32: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Tautology and contradiction: T or C

A logical statement that is always true, independent of whether each of the symbols is true, is called a tautology.

A logical statement that is always true, independent of whether each of the symbols is true, is called a contradiction.

Note:

Page 33: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Logical equivalence lawsCommutative laws: p q = q p; p q = q p∧ ∧ ∨ ∨

Associative laws: (p q) r = p (q r),∧ ∧ ∧ ∧

(p q) r = p (q r)∨ ∨ ∨ ∨

Distributive laws: p (q r) = (p q) (p r)∧ ∨ ∧ ∨ ∧

p (q r) = (p q) (p r)∨ ∧ ∨ ∧ ∨

Identity, universal bound, idempotent, and absorption laws:

p t = p, p c = p∧ ∨

p t = t, p c = c∨ ∧

p p = p, p p = p∧ ∨

p (p q) = p, p (p q) = p∨ ∧ ∧ ∨

De Morgan’s laws: ~(p q) = ~p ~q, ~(p q) = ~p ~q∧ ∨ ∨ ∧

Page 34: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Show that the following are logically equivalent:(r V p) ^ ( ( ~r V (p^q) ) ^ (r V q) ) and p ^ q

( ~r V (p^q) ) ^ (r V q)

=( (~rVp) ^ (~rVq) )^(rVq) (DL2)

= (~rVp) ^( (~rVq) )^(rVq)) (AL1)

= (~rVp) ^( (~r^r)Vq) (DL1)

= (~rVp) ^(cVq) (definition of c)

= (~rVp) ^q (ID2) so

(r V p) ^ ( ( ~r V (p^q) ) ^ (r V q) )

=(r V p) ^ (~rVp) ^q =((r^~r)Vp)^q=(cVp)^q=p^q

Page 35: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.
Page 36: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Boole (1815-1864) and DeMorgan (1806–1871)

• De Morgan’s laws:

• not (P and Q) = (not P) or (not Q)

• not (P or Q) = (not P) and (not Q)

Page 37: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

• Boolean algebra

Page 38: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Other logical deduction rules

Page 39: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Exercises

Page 40: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Exercise 1: Complex deduction• Premises:

– If my glasses are on the kitchen table, then I saw them at breakfast

I was reading the newspaper in the living room or I was reading

the newspaper in the kitchen

– If I was reading the newspaper in the living room, then my glasses

are on the coffee table

– I did not see my glasses at breakfast

– If I was reading my book in bed, then my glasses are on the bed table

– If I was reading the newspaper in the kitchen, then my glasses are

on the kitchen table

• Where are the glasses?

Page 41: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Deduce the following using truth tables or deduction rules

Page 42: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Write each of the following three statements in the symbolic form and determine which pairsare logically equivalent

a. If it walks like a duck and it talks like a duck, then it is a duck

b. Either it does not walk like a duck or it does not talk like a duck, or it is a duck

c. If it does not walk like a duck and it does not talk like a duck, then it is not a duck

NAME_______________NAME_____________

NAME_______________NAME_____________

Page 43: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Walks like duck Talks like duck Is duck

W T D

T T T

T T F

T F T

T F F

F T T

F T F

F F T

F F F

Walks like duck Talks like duck Is duck

W T D

T T T

T T F

T F T

T F F

F T T

F T F

F F T

F F F

Page 44: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Zebra puzzle

There are 5 houses each with a different color. Their owners, each with a unique heritage, drinks a certain type of beverage, smokes a certain brand of cigarette, and keeps a certain variety of pet. None of the owners have the same variety of pet, smoke the same brand of cigarette or drink the same beverage.

Clues:

The Brit lives in the red house. The Swede keeps dogs as pets.The Dane drinks tea. Looking from in front, the green house is just to the left of the white house. The green house's owner drinks coffee. The person who smokes Pall Malls raises birds. The owner of the yellow house smokes Dunhill. The man living in the center house drinks milk. The Norwegian lives in the leftmost house. The man who smokes Blends lives next to the one who keeps cats. The man who keeps a horse lives next to the man who smokes Dunhill. The owner who smokes Bluemasters also drinks beer. The German smokes Prince. The Norwegian lives next to the blue house.The man who smokes Blends has a neighbor who drinks water.

Who owns the pet fish?

Page 45: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.
Page 46: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Five women bought five different types of flowers for different reasons on different days.Names: Julia, Amy, Bethany, Rachel, and KristenFlowers: Roses, Daisies, Lilies, Tulips, and CarnationsColors: Purple, Yellow, Pink, White, and PeachPlaces or Occasions: Backyard, Park, Office, Wedding, and BirthdayDays: Monday, Tuesday, Wednesday, Thursday, and Friday

1. The flowers were purchased in the following order: tulips, the flowers for the office, the purple flowers, the roses for the park, and the white flowers bought by Julia.2. Bethany loves flowers but is allergic, so she would never have them indoors.3. It rained on Wednesday and Friday, because of this, the wedding and birthday party had to be moved indoors.4. Amy bought her flowers after Rachel, but before Kristen.5. Rachel needed something more to add to her office, so she chose peach flowers to match her curtains.6. On Wednesday the only purple flowers available at the flower shop were daisies.7. The pink flowers were bought after the carnations, but before the lilies.8. The flowers for the birthday were bought after the flowers for the office, but before the flowers for the wedding.

Page 47: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

Assassin is a popular game on college campuses. The game consists of several players trying to eliminate the others by means of squirting them with water pistols in order to be the last survivor. Once hit, the player is out of the game. Game play is fair play at all times and all locations, and tends to last several days depending on the number of participants and their stealth. At Troyhill University, 5 students participated in a game that only lasted four days. Can you determine each player's first name, their color, their assassin alias, how they were eliminated, and their major?

Names: Liam, Anabel, Bella, Oliver, EthanColors: Red, Green, Blue, Purple, BlackAlias: Captain Dawn, Night Stalker, Dark Elf, McStealth, BillyCapture: Caught at weekly study group, Caught helping friend with car trouble, Ambushed during sleep, Caught on the way to class, WinnerMajor: Economics, Biology, Art History, Sociology, PsychologyMONDAY: Liam, the girl named Captain Dawn, and the person in purple avoided any action that day. The psychology major was able to easily catch Ethan because she already had a study group meeting with him that day. Since it was a weekly engagement, he didn't suspect a thing. Goodbye red player.

TUESDAY: Everyone tried to get in on the action today. The girl masquerading as the Dark Elf (who was wearing either black or red) and the sociology major lived to see another day. The purple player was able to catch the obliging yet naive green player by calling her and pretending he had car trouble.

WEDNESDAY: The biology major (who was still "alive") was surprised to hear that the Psychology major, who wasn't Anabel the art history major, ambushed Night Stalker as he slept in his dorm.

THURSDAY: The black player was declared the victor after luckily spotting "Billy" on his way to Mammalian Physiology, a class required by his major.

Page 48: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.
Page 49: Clicker: Silly starter question According to , How many FBI special agents were there as of May, 2013? A)572 B)8,192 C)13,785 D)127,736.

More logic grid puzzles