Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lesson 2-2 Logic A statement is a sentence that can either be true or false. The truth or falsity of a statement can be called its truth value. Compound.

Similar presentations


Presentation on theme: "Lesson 2-2 Logic A statement is a sentence that can either be true or false. The truth or falsity of a statement can be called its truth value. Compound."— Presentation transcript:

1 Lesson 2-2 Logic A statement is a sentence that can either be true or false. The truth or falsity of a statement can be called its truth value. Compound statement- two or more statements joined into one Negation- opposite of a statement, ~p, “not p” Conjunction- “and”, p^q, “p and q” Disjunction- “or”, p  q, “p or q”

2 Use the following statements to write a compound statement for the conjunction p and q. Then find its truth value. p: One foot is 14 inches. q: September has 30 days. r: A plane is defined by three noncollinear points. Answer: One foot is 14 inches, and September has 30 days. p and q is false, because p is false and q is true. Example 2-1a

3 Use the following statements to write a compound statement for the conjunction Then find its truth value. p: One foot is 14 inches. q: September has 30 days. r: A plane is defined by three noncollinear points. Answer: A plane is defined by three noncollinear points, and one foot is 14 inches is false, because r is true and p is false. Example 2-1b

4 Use the following statements to write a compound statement for the conjunction Then find its truth value. p: One foot is 14 inches. q: September has 30 days. r: A plane is defined by three noncollinear points. Answer: September does not have 30 days, and a plane is defined by three noncollinear points is false because is false and r is true. Example 2-1c

5 Use the following statements to write a compound statement for the conjunction p  r. Then find its truth value. p: One foot is 14 inches. q: September has 30 days. r: A plane is defined by three noncollinear points. Answer: A foot is not 14 inches, and a plane is defined by three noncollinear points. ~p  r is true, because ~p is true and r is true. Example 2-1d

6 Use the following statements to write a compound statement for each conjunction. Then find its truth value. p: June is the sixth month of the year. q: A square has five sides. r: A turtle is a bird. a. p and r b. Answer: June is the sixth month of the year, and a turtle is a bird; false. Answer: A square does not have five sides, and a turtle is not a bird; true. Example 2-1e

7 Answer: A turtle is not a bird, and a square has five sides; false.
c. d. Use the following statements to write a compound statement for each conjunction. Then find its truth value. p: June is the sixth month of the year. q: A square has five sides. r: A turtle is a bird. Answer: A square does not have five sides, and June is the sixth month of the year; true. Answer: A turtle is not a bird, and a square has five sides; false. Example 2-1f

8 Use the following statements to write a compound statement for the disjunction p or q. Then find its truth value. p: is proper notation for “line AB.” q: Centimeters are metric units. r: 9 is a prime number. Answer: is proper notation for “line AB,” or centimeters are metric units. p or q is true because q is true. It does not matter that p is false. Example 2-2a

9 Use the following statements to write a compound statement for the disjunction Then find its truth value. p: is proper notation for “line AB.” q: Centimeters are metric units. r: 9 is a prime number. Answer: Centimeters are metric units, or 9 is a prime number is true because q is true. It does not matter that r is false. Example 2-2b

10 Answer: 6 is an even number, or a triangle as 3 sides; true.
Use the following statements to write a compound statement for each disjunction. Then find its truth value. p: 6 is an even number. q: A cow has 12 legs r: A triangle has 3 sides. a. p or r b. Answer: 6 is an even number, or a triangle as 3 sides; true. Answer: A cow does not have 12 legs, or a triangle does not have 3 sides; true. Example 2-2c

11 Venn Diagrams A Venn diagram is a drawing used to represent a set of numbers or conditions. Venn diagrams can be useful in explaining conditional statements.

12 DANCING The Venn diagram shows the number of students enrolled in Monique’s Dance School for tap, jazz, and ballet classes. Example 2-3a

13 How many students are enrolled in all three classes?
The students that are enrolled in all three classes are represented by the intersection of all three sets. Answer: There are 9 students enrolled in all three classes Example 2-3a

14 How many students are enrolled in tap or ballet?
The students that are enrolled in tap or ballet are represented by the union of these two sets. Answer: There are or 121 students enrolled in tap or ballet. Example 2-3b

15 How many students are enrolled in jazz and ballet and not tap?
The students that are enrolled in jazz and ballet and not tap are represented by the intersection of jazz and ballet minus any students enrolled in tap. Answer: There are – 9 or 25 students enrolled in jazz and ballet and not tap. Example 2-3c

16 PETS The Venn diagram shows the number of students at Manhattan School that have dogs, cats, and birds as household pets. Example 2-3d

17 b. How many students have dogs or cats?
a. How many students in Manhattan School have one of three types of pets? b. How many students have dogs or cats? c. How many students have dogs, cats, and birds as pets? Answer: 311 Answer: 280 Answer: 10 Example 2-3e

18 Construct a truth table for .
Step 1 Make columns with the headings p, q, r, ~q, ~q  r, and p  (~q  r). p  (~q  r) ~q  r ~q r q p Example 2-4f

19 Construct a truth table for .
Step 2 List the possible combinations of truth values for p, q, and r. F p  (~q  r) ~q  r ~q T r q p Example 2-4g

20 Construct a truth table for .
Step 3 Use the truth values of q to determine the truth values of ~q. T F p  (~q  r) ~q  r ~q r q p Example 2-4h

21 Construct a truth table for .
Step 4 Use the truth values for ~q and r to write the truth values for ~q  r. F T p  (~q  r) ~q  r ~q r q p Example 2-4i

22 Construct a truth table for .
Step 5 Use the truth values for p and ~q  r to write the truth values for p  (~q  r). Answer: F T p  (~q  r) ~q  r ~q r q p Example 2-4j

23 Construct a truth table for the following compound statement.
Answer: F T r q p Example 2-4s


Download ppt "Lesson 2-2 Logic A statement is a sentence that can either be true or false. The truth or falsity of a statement can be called its truth value. Compound."

Similar presentations


Ads by Google