discrete math

profilealohaf
09_Goldstein_Schneider_Siegel_Chapter12withnotes.pptx

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

1 of 120

Chapter 12

Logic

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

2 of 120

Outline

12.1 Introduction to Logic

12.2 Truth Tables

12.3 Implication

12.4 Logical Implication and Equivalence

12.5 Valid Argument

12.6 Predicate Calculus

12.7 Logic Circuits

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

3 of 120

12.1 Introduction to Logic

Statement and Truth Value

Compound Statement

Variables

Logical Connectives

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

4 of 120

Statement and Truth Value

A statement is a declarative sentence that is either true or false.

The truth value of a statement is either TRUE or FALSE.

Although statements are either true or false (and never both), we may not have enough information to know its truth value.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

5 of 120

George Washington was the first president of the United States.

This is a true statement.

The New York Knicks won the NBA basketball championship in 1989.

This is a false statement.

The number of atoms in the universe is 1075.

This statement is either true or false but we don’t know which it is.

Example Statement

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

6 of 120

Compound Statement

A simple statement is a statement that is formed using the words “and,” “or,” “not,” or “if, then.”

A compound statement is formed by combining statements using the words “and,” “or,” “not,” or “if, then.”

A simple statement is a statement that is not a compound statement.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

7 of 120

Variables

To develop the rules of logic and logical arguments, we need to deal with any logical statement, rather than specific examples. We use the variables p, q, r, and so on to represent simple statements.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

8 of 120

The number 6 is even and the number 5 is odd.

This compound statement is of the form p and q where p = “The number 6 is even” and q = “The number 5 is odd.”

Tom Jones does a term paper or takes the final exam.

This compound statement is of the form p or q where p = “Tom Jones does a term paper” and q = “Tom Jones takes the final exam.”

Example Compound Statement

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

9 of 120

Logical Connectives

When writing compound statements in terms of its component parts, the following logic symbols are used:

Word Symbol
and
or
not ~
if, then

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

10 of 120

Define p and q and determine the logical connective to rewrite the following statement:

Fred and Cindy like each other.

Let p = “Fred likes Cindy.”

Let q = “Cindy likes Fred.”

Example Compound Statement with

The symbolic statement then becomes p q.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

11 of 120

Define p and q and determine the logical connective to rewrite the following statement:

The train stops in New York or Washington.

Let p = “The train stops in New York.”

Let q = “The train stops in Washington.”

Example Compound Statement with

The symbolic statement then becomes p q.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

12 of 120

Define p and q and determine the logical connective to rewrite the following statement:

Fred likes Cindy but Cindy does not like Fred.

Let p = “Fred likes Cindy.”

Let q = “Cindy likes Fred.”

Example Compound Statement with

The symbolic statement then becomes p ~q.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

13 of 120

Define p and q and determine the logical connective to rewrite the following statement:

If the train stops in New York, it does not stop in Washington.

Let p = “The train stops in New York.”

Let q = “The train stops in Washington.”

Example Compound Statement with

The symbolic statement then becomes p ~ q.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

14 of 120

A logical statement (proposition) is a declarative sentence that is either TRUE or FALSE.

Summary Section 12.1

Logical statements frequently have

Connectives such as and , or , not ~, and

implies (if, then ) .

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

15 of 120

12.2 Truth Tables

Statement Form

Propositional Calculus

Truth Table

Tautology and Contradiction

Exclusive Or

Tree

Logic and Computer Languages

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

16 of 120

Statement Form

A statement form is an expression formed from simple statements and connectives according to the following rules:

A simple statement is a statement form.

If p is a statement form, ~p is a statement form.

If p and q are statement forms, then so are p q,

p q, and p q.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

17 of 120

Example Statement Form

a) ( p ~ r ) r is a statement form.

b) ~ ( p ( q ~ r )) is a statement form.

If p, q, and r are simple statements, then

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

18 of 120

Propositional Calculus

The propositional calculus is the manipulation, verification, and simplification of logical statement forms. Truth tables and trees diagrams will be used to determine the truth values of statement forms.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

19 of 120

Truth Table

A truth table is a table that includes:

A column for each simple statement;

A column for the compound statement;

A row for each possible combination (arrangement) of the truth values for the simple statements;

The column for the statement form has its truth value depending on the truth values of the simple statements in the corresponding row.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

20 of 120

Survey the crowd

A statement form that has truth value TRUE regardless of the truth values of the individual statement variables it contains is called a

_______.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

21 of 120

Survey the crowd

A statement form that has truth value TRUE regardless of the truth values of the individual statement variables it contains is called a tautology.

A statement form that has truth value FALSE regardless of the truth values of the individual statement variables it contains is called a __________.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

22 of 120

Tautology and Contradiction

A statement form that has truth value TRUE regardless of the truth values of the individual statement variables it contains is called a tautology.

A statement form that has truth value FALSE regardless of the truth values of the individual statement variables it contains is called a contradiction.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

23 of 120

Example Truth Table of Negation ( ~ )

p ~ p
T F
F T

Note: T means TRUE and F means FALSE.

The statement form ~ p has the opposite truth value as the statement form p.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

24 of 120

Example Truth Table of Conjunction ( )

p q p q
T T T
T F F
F T F
F F F

The statement form p q is TRUE if and only if both statement forms p and q are TRUE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

25 of 120

Example Truth Table of Disjunction ( )

p q p q
T T T
T F T
F T T
F F F

The statement form p q is FALSE if and only if both statement forms p and q are FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

26 of 120

Truth Table for More Than One Connective

If a statement form contains more than one connective, the truth table often includes the truth values of the intermediate steps. See the following example.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

27 of 120

Example More Than One Connective

T T
T F
F T
F F
1 2
T
T
T
F
3
T
F
F
F
4
F
T
T
T
5
F
T
T
F
6

Find the truth table for ( p q ) ~ ( p q ).

p

q

( p q)

~

( p q )

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

28 of 120

Survey the crowd

The statement of the previous example

( p q ) ~ ( p q )

can be read as “p or q but not both p and q.”

This is what familiar combination?

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

29 of 120

Exclusive Or

The statement of the previous example

( p q ) ~ ( p q )

can be read as “p or q but not both p and q.”

This is what familiar combination?

Exclusive OR

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

30 of 120

Survey the crowd

The statement of the previous example

( p q ) ~ ( p q )

can be read as “p or q but not both p and q.”

This is what familiar combination?

Exclusive OR

And what single Boolean symbol is used to represent the XOR?

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

31 of 120

Exclusive Or

The statement of the previous example

( p q ) ~ ( p q )

can be read as “p or q but not both p and q.”

This is what familiar combination?

Exclusive OR

And what single Boolean symbol is used to represent the XOR?

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

32 of 120

Exclusive Or

The statement of the previous example

( p q ) ~ ( p q )

can be read as “p or q but not both p and q.” This is the exclusive or and is denoted by the symbol .

p

q

p q

T

T

F

T

F

T

F

T

T

F

F

F

Å

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

33 of 120

Example More Than Two Variables

Construct the truth table for

( p q ) (( p r ) ~ q ).

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

34 of 120

Example More Than Two Variables

p q r ( p q ) (( p r ) ~ q )
T
T
T
T
F
F
F
F
1
T
T
F
F
T
T
F
F
2
T
F
T
F
T
F
T
F
3
F
F
T
T
T
T
F
F
4
T
T
T
T
T
F
T
F
5
F
F
T
T
F
F
T
T
6
F
F
T
T
F
F
T
F
7
F
F
T
T
F
F
F
F
8

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

35 of 120

Tree

Another method of describing a statement form is by using a tree. The statement form is written at the top of the tree. The statement is then separated along the branches into its operands until only simple statements are at the end of the branches.

r

p

~ q

q

( p ~ q )

For example:

( p ~ q ) r

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

36 of 120

Example Tree

Use a tree to find the truth value of

( p ~ q ) r

if p is true and q and r are both false.

The statement is TRUE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

37 of 120

Example Tree

Use a tree to find the truth value of

( p ~ q ) r

if p is true and q and r are both false.

The statement is TRUE.

T

T

T

F

F

T

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

38 of 120

Logic and Computer Languages

Many computer languages and graphing calculators use logical connectives in programs that depend on logical decision making.

For example in a TI-83/84 Plus:

Calculator Function

Logic symbol

AND

OR

NOT

~

XOR

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

39 of 120

Example Excel

Use an Excel spreadsheet to find the truth value of

( p ~ q ) r

if p is TRUE and q and r are both FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

40 of 120

Summary Section 12.2 - Part 1

A statement without any connectives is called a simple statement. A statement form is a simple statement or simple statements with connectives. The truth value of a statement form depends only on the truth values of the simple statements it contains.

The exclusive or, denoted by p q, is TRUE only if one of p or q is TRUE but not both. Otherwise, it is FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

41 of 120

Summary Section 12.2 - Part 2

A truth table or tree can be used to determine the truth value of a statement form.

The truth table for the connectives ~, , and is

p

q

~ p

p q

p q

p q

T

T

F

T

T

F

T

F

F

F

T

T

F

T

T

F

T

T

F

F

T

F

F

F

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

42 of 120

Summary Section 12.2 - Part 3

A statement that always has a truth value TRUE is called a tautology. A statement that always has a truth value FALSE is called a contradiction.

The logical connectives used in computer languages and calculators AND, OR, NOT and XOR correspond to the symbols , , ~ and , respectively.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

43 of 120

12.3 Implication

Conditional Connective

English Equivalents

Converse

Biconditional Connective

Order of Precedence

Implication and Computer Languages

The logic symbol is called the conditional connective.

The statement p q is FALSE only if the hypothesis p is TRUE and the conclusion q is FALSE.

Otherwise, it is TRUE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

44 of 120

Conditional Connective

p q p q
T T T
T F F
F T T
F F T

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

45 of 120

English Equivalents

There are several ways to read p q in English.

p implies q.

If p, then q.

p only if q.

q, if p.

p is sufficient for q.

q is a necessary condition for p.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

46 of 120

Survey the crowd

There are several ways to read p q in English.

In this implication, the p portion is called the

___________?

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

47 of 120

Survey the crowd

There are several ways to read p q in English.

In this implication, the p portion is called the

antecedent.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

48 of 120

Survey the crowd

There are several ways to read p q in English.

In this implication, the p portion is called the

antecedent.

And the q portion is called the

________?

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

49 of 120

Survey the crowd

There are several ways to read p q in English.

In this implication, the p portion is called the

antecedent.

And the q portion is called the

consequent.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

50 of 120

Example English Equivalences

Determine the hypothesis and the conclusion for each of the following.

Bill goes to the party only if Greta goes to the party.

Sue goes to the party if Craig goes to the party.

For 6 to be even, it is sufficient that its square, 36, be even.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

51 of 120

Example English Equivalences (a)

Bill goes to the party only if Greta goes to the party.

The statement is of the form p only if q.

The hypothesis p is “Bill goes to the party.”

The conclusion q is “Greta goes to the party.”

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

52 of 120

Example English Equivalences (b)

Sue goes to the party if Craig goes to the party.

The statement is of the form q, if p.

The hypothesis p is “Craig goes to the party.”

The conclusion q is “Sue goes to the party.”

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

53 of 120

Example English Equivalences (c)

For 6 to be even, it is sufficient that its square, 36, be even.

The statement is of the form p is sufficient for q.

The hypothesis p is “The square of the integer 6 is even.”

The conclusion q is “The integer 6 is even.”

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

54 of 120

Converse

The implication q p is the converse of the statement p q.

For example, the converse of the statement

“If x = -6, then x2 = 36”

is

“If x2 = 36, then x = -6.”

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

55 of 120

Example Converse

Construct the truth table for ( p q ) ( q p ).

p

q

( p q )

( q p )

T

T

T

T

T

T

F

F

F

T

F

T

T

F

F

F

F

T

T

T

1

2

3

5

4

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

56 of 120

Biconditional

The statement form ( p q ) ( q p ) is referred to as the biconditional, which we write as p q. It is read as “p, if and only if q.”

The biconditional is TRUE only if both statements p and q have the same truth value. Otherwise the statement is FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

57 of 120

Order of Precedence

Whenever two or more connectives are listed in a statement form with no parentheses to indicate the order of the connectives, the following order of precedence is to be used:

~, , , , .

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

58 of 120

Example Order of Precedence

Insert parentheses in the statement

p q r ~ s r

to show the proper order for the application of the connectives.

p q r ~s r

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

59 of 120

Example Order of Precedence

Insert parentheses in the statement

p q r ~ s r

to show the proper order for the application of the connectives.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

60 of 120

Implication and Computer Languages

The logical connective is used in writing computer programs. One example is the

“IF … THEN … ELSE”

statement. The computer checks to see if the statement following IF is TRUE. If it is, then the statement following THEN is executed. If it is not TRUE, then the statement following ELSE is executed.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

61 of 120

Survey the crowd

For the given input values of A and B, use the program to determine the value of C.

IF (A*B + 6 > 10)

THEN LET C = A*B

ELSE LET C = 10

a) A = -2, B = -7 b) A = -2, B = 3

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

62 of 120

Example IF … THEN … ELSE (a)

a) A = -2, B = -7:

IF (A*B + 6 > 10):

A*B + 6 > 10 is (-2)(-7) + 6 > 10.

The above statement is TRUE.

THEN LET C = A*B:

C = A*B becomes C = 14.

The computer sets C to 14.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

63 of 120

Example IF … THEN … ELSE (b)

b) A = -2, B = 3:

IF (A*B + 6 > 10):

A*B + 6 > 10 is (-2)(3) + 6 > 10.

The above statement is FALSE.

ELSE LET C = 10:

The computer sets C to 10.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

64 of 120

Summary Section 12.3 - Part 1

The truth table for the conditional connective and the biconditional connective is

p q p q p q
T T T T
T F F F
F T T F
F F T T

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

65 of 120

Summary Section 12.3 - Part 2

The order of precedence of logical connectives is ~, , , , . If parentheses are present in the statement, then they take precedence over the above order.

The converse of p q is q p. If an implication is TRUE, its converse is not necessarily TRUE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

66 of 120

Summary Section 12.3 - Part 3

The statement p q is the implication “if p, then q (or p implies q).” It is FALSE only when p is TRUE and q is FALSE. The two-way implication p q is TRUE whenever p and q have the same truth value and FALSE otherwise.

The logical connective used in computer languages IF…THEN corresponds to the logical symbol .

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

67 of 120

12.4 Logical Implication and Equivalence

Logically Equivalent

Statements as Variables

De Morgan’s Laws

Other Equivalences

Substitution Principles

Logical Implications

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

68 of 120

Logically Equivalent

Two statement forms that have the same truth tables are called logically equivalent.

A statement that has the truth value TRUE regardless of the truth value of its component statements is called a tautology and we denote it with the letter t.

A statement that has the truth value FALSE regardless of the truth value of its component statements is called a contradiction and we denote it by the letter c.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

69 of 120

T
T
T
T
8

Example Logically Equivalent

Verify that ~(p q) (~p ~q).

T
T
F
F
1
T
F
T
F
2
F
F
T
T
5
F
T
F
T
6
T
T
T
F
3
F
F
F
T
4
F
F
F
T
7

p

q

~( p q ) ( ~p ~q )

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

70 of 120

Statements as Variables

In this case, we write P Q.

For convenience, we denote compound statement forms by capital letters.

P is logically equivalent to Q if and only if P Q is a tautology.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

71 of 120

De Morgan’s Laws

The following two statements are called

De Morgan’s laws.

~ (p q) (~ p ~ q)

~ (p q) (~ p ~ q)

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

72 of 120

Example De Morgan’s Laws

Negate the statement “The earth’s orbit is round and a year has 365 days.”

If p is “The earth’s orbit is round” and q is “A year has 365 days,” then the original statement is p q. We want ~ (p q) (~ p ~ q).

The negation is “The earth’s orbit is not round or a year does not have 365 days.”

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

73 of 120

Other Equivalences (1)

Double negation:

Commutative laws:

Associative laws:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

74 of 120

Other Equivalences (2)

Distributive laws:

Idempotent laws:

Identity laws:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

75 of 120

Other Equivalences (3)

Identity laws cont’d:

Contrapositive:

Implication:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

76 of 120

Other Equivalences (4)

Equivalence:

Reductio ad absurdum:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

77 of 120

Example Contrapositive

A recent Associated Press article quoted a prominent official as having said, “If Mr. Jones is innocent of a crime, then he is not a suspect.” State the contrapositive.

The contrapositive is “If Mr. Jones is a suspect, then he is guilty of a crime.”

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

78 of 120

Substitution Principles

Suppose P and R are statement forms and P R. If R is substituted for P in a statement form Q, the resulting statement form Q' is logically equivalent to Q.

Suppose that P and Q are statement forms containing the simple statement p. Assume that P Q. If R is any statement form and is substituted for every p in P to yield P' and every p in Q to yield Q', then P' Q'.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

79 of 120

Example Substitution Principles

Rewrite the statement form

Using only the connectives ~ and .

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

80 of 120

Example Substitution Principles (2)

Implication

Commutative law

Distributive law

Double negative

De Morgan’s law.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

81 of 120

Logical Implications

Given statement forms P and Q, we say that P logically implies Q (written P Q) whenever P Q is a tautology.

Addition:

p ( p q)

Simplification:

Some logical implications are

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

82 of 120

Logical Implications (2)

Modus ponens:

Modus tollens:

Disjunctive syllogism:

Hypothetical syllogism:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

83 of 120

Logical Implications (3)

Constructive dilemmas:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

84 of 120

Example Logical Implications

Verify modus ponens:

T
T
F
F
1
T
F
T
F
2
T
F
T
T
3
T
F
F
F
4
T
T
T
T
5

p

q

( p (p q)) q

We say two statements p and q are logically equivalent and write p q if they have the same truth table, that is, p q is a tautology. We say that p logically implies q and write p q if p q is a tautology.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

85 of 120

Summary Section 12.4 - Part 1

The contrapositive of p q is ~ q ~ p. The two statements are logically equivalent. That is, ( p q ) ( ~ q ~ p ) is a tautology.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

86 of 120

Summary Section 12.4 - Part 2

The first substitution principle states that if P R and R is substituted for P in a statement form Q, then the resulting statement form Q' Q.

The second substitution principle states that if P and Q both contain the simple statement p and P Q, then if R is substituted for p everywhere it appears in P and Q to yield P' and Q', respectively, then P' Q'.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

87 of 120

Summary Section 12.4 - Part 3

There are many logical equivalences. Among these are the commutative, associative, distributive, and De Morgan’s laws:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

88 of 120

12.5 Valid Argument

Valid Argument or Proof

Important Points

Rules of Inference

Indirect Proof

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

89 of 120

Valid Argument or Proof

An argument is a set of statements

H1, H2,…, Hn

each of which is assumed to be true and a statement C that is claimed to have been deducted from them. The statements

H1, H2,…, Hn

are called hypotheses and the statement C is called the conclusion. We say that the argument is valid if and only if

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

90 of 120

Important Points

In presenting an argument of the statement

the conclusion may be a true statement but the argument presented may or may not be valid. Also, if one or more of the premises is false, it is possible for a valid argument to result in a conclusion that is false.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

91 of 120

Example Valid Argument or Proof

Suppose the following statements are true:

“If Marvin studies mathematics, then he is smart,” and “Marvin is not smart.” Argue that “Marvin does not study mathematics.”

Let p = “Marvin studies mathematics.”

Let q = “Marvin is smart.”

This would make ~ q = “Marvin is not smart” and ~ p = “Marvin does not study mathematics.”

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

92 of 120

Example Valid Argument or Proof

Suppose the following statements are true:

“If Marvin studies mathematics, then he is smart,” and “Marvin is not smart.” Argue that “Marvin does not study mathematics.”

Let p = “Marvin studies mathematics.”

Let q = “Marvin is smart.”

This would make ~ q = “Marvin is not smart” and ~ p = “Marvin does not study mathematics.”

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

93 of 120

Example Valid Argument or Proof (2)

Therefore, the hypothesis is and the conclusion is ~ p.

A valid argument would prove that

is a TRUE statement.

The rule of modus tollens presented previously states that the above statement is a tautology and, therefore, always TRUE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

94 of 120

Rules of Inference

The logical implications stated earlier can be restated in the form of rules of inference.

From: Conclude:
P P Q Addition
P Q P Subtraction
P ( P Q ) Q Modus ponens
~ P Modus tollens
Q Disjunctive syllogism
Hypothetical syllogism
Constructive dilemmas

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

95 of 120

Example Rules of Inference:

Verify Validity:

Show that the following argument is valid.

I study either mathematics or economics.

If I have to take English, then I do not study economics.

I do not study mathematics.

Therefore, I do not have to take English.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

96 of 120

Example Rules of Inference:

Verify Validity:

Show that the following argument is valid.

I study either mathematics or economics.

If I have to take English, then I do not study economics.

I do not study mathematics.

Therefore, I do not have to take English.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

97 of 120

Example Rules of Inference (2)

Let p = “I study mathematics.”

Let q = “I study economics.”

Let r = “I have to take English.”

The hypotheses are

The conclusion is ~ r.

Therefore, we are proving

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

98 of 120

Example Rules of Inference (3)

The steps of the argument are:

(Numbers in parentheses refer to the previous steps used in the argument.)

1. Hypothesis
2. Hypothesis
3. ~ p Hypothesis
4. q, since Disjunctive syllogism (1,3)
5. ~ r, since

Modus tollens (2,4)

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

99 of 120

Indirect Proof

Indirect Proof To prove

we assume the conclusion C is FALSE and then prove at least one of the hypotheses Hi must be FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

100 of 120

Example Indirect Proof

Use an indirect proof to show that the following argument is valid.

If I am happy, then I do not eat too much. I eat too much or I spend money. I do not spend money. Therefore, I am not happy.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

101 of 120

Example Indirect Proof (2)

Let p = “I am happy.”

Let q = “I eat too much.”

Let r = “I spend money.”

The hypotheses are p  ~ q, , and ~ r.

The conclusion is ~ p.

Using the indirect proof, we will assume that p is TRUE and then show that one of p  ~ q, , or ~ r is FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

102 of 120

Example Indirect Proof (3)

Steps to indirect proof:

Since this implies that one of the hypotheses (~ r ) is FALSE, then the conclusion must be TRUE.

1. p Negation of conclusion
2. p  ~ q Hypothesis
3. ~ q Modus ponens (1, 2)
4. Hypothesis
5. r Disjunctive syllogism (3, 4)

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

103 of 120

Summary Section 12.5 - Part 1

The most common rules of inference are

From: Conclude:
P P Q Addition
P Q P Subtraction
P ( P Q ) Q Modus ponens
~ P Modus tollens
Q Disjunctive syllogism
Hypothetical syllogism
Constructive dilemmas

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

104 of 120

Summary Section 12.5 - Part 2

It is sometimes easier to prove a statement by assuming the conclusion is FALSE and then proving that one of the hypotheses must be FALSE.

This is called an indirect proof.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

105 of 120

12.6 Predicate Calculus

Predicate

Universal Quantifier

Existential Quantifier

De Morgan’s Laws

Other Rules for Quantifiers

Analogy Between Sets and Statements

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

106 of 120

Predicate

An open sentence p(x) is a declarative sentence that becomes a statement when x is given a particular value chosen from a universe of values. An open sentence is also known as a predicate.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

107 of 120

Example Analyzing Predicates

Let p(x) = “If x > 4, then x + 10 > 14” be an open sentence. Let x U, where U = {1, 2, 3, 4, …}. Find the truth value of each statement formed when these values are substituted for x in p(x).

p(1) is TRUE because “1 > 4” is FALSE.

p(2) is TRUE because “2 > 4” is FALSE.

p(3) is TRUE because “3 > 4” is FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

108 of 120

Example Analyzing Predicates (2)

p(x) = “If x > 4, then x + 10 > 14”

p(4) is TRUE because “4 > 4” is FALSE.

p(5) is TRUE because “5 > 4” and “5 + 10 > 14” are TRUE.

p(6) is TRUE because “6 > 4” and “6 + 10 > 14” are TRUE.

In fact, p(x) is TRUE for all values of x U.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

109 of 120

Universal Quantifier

The statement

For all x U, p(x)

is symbolized by

x U p(x).

The above statement is TRUE if and only if p(x) is TRUE for every x U.

The symbol is called the universal quantifier.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

110 of 120

Example Universal Quantifier

Let U = {1, 2, 3, 4, 5, 6}. Determine the truth value of the statement

X U [(x – 4)(x – 8) > 0].

Let p(x) = “(x – 4)(x – 8) > 0.”

p(1) is TRUE because “(1 – 4)(1 – 8) > 0” is TRUE.

p(2) is TRUE because “(2 – 4)(2 – 8) > 0” is TRUE.

p(3) is TRUE because “(3 – 4)(3 – 8) > 0” is TRUE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

111 of 120

Example Universal Quantifier (2)

p(x) = “(x – 4)(x – 8) > 0.”

p(4) is FALSE because “(4 – 4)(4 – 8) > 0” is FALSE.

Therefore, the statement

x U [(x – 4)(x – 8) > 0]

is FALSE because 4 U and p(4) is FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

112 of 120

Existential Quantifier

The statement

There exists an x U such that p(x)

is symbolized by

x U p(x).

The above statement is TRUE if and only if there is at least one element x U such that p(x) is TRUE.

The symbol is called the existential quantifier.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

113 of 120

Example Existential Quantifier

Let U = {1, 2, 3, 4, 5, 6, 7, 8}. Determine the truth value of

x U [(x – 3)(x + 2) = 0].

Let p(x) = “(x – 3)(x + 2) = 0.”

p(1) is FALSE because “(1 – 3)(1 + 2) = 0” is FALSE.

p(2) is FALSE because “(2 – 3)(2 + 2) = 0” is FALSE.

p(3) is TRUE because “(3 – 3)(3 + 2) = 0” is TRUE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

114 of 120

Example Existential Quantifier (2)

Therefore, the statement

x U [(x – 3)(x + 2) = 0]

is TRUE because we found 3 U such that p(3) is TRUE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

115 of 120

De Morgan’s Laws

The rules for the negation of quantified statements are:

These rules are called De Morgan’s laws.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

116 of 120

Example De Morgan’s Laws

Write the negation of

All university students like football.

There exists a university student who does not like football.

There is a mathematics textbook that is both short and clear.

Every mathematics textbook is either not short or not clear.

Other rules for statements containing quantifiers are

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

117 of 120

Other Rules for Quantifiers

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

118 of 120

Example Other Rules for Quantifiers

Let U for both variables be the nonnegative integers 0, 1, 2, 3, 4, …. Determine the truth value of

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

119 of 120

Example Other Rules for Quantifiers (a)

a)

The statement says that for every nonnegative integer x, there is a nonnegative integer y such that 2x = y.

This is TRUE because, once having chosen any nonnegative number x, we can let y be the double of x.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

120 of 120

Example Other Rules for Quantifiers (b)

b)

The statement says that there exists a nonnegative integer y such that, for all nonnegative integers x, 2x = y. For it to be TRUE, we would need to find a specific value of y that can be fixed and for which, no matter what nonnegative integer x we choose, 2x = y.

Since this is not possible, the statement is FALSE.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

121 of 120

Analogy Between Sets and Statements

Let p(x) = “ ,” and q(x) = “ .” Then

Union:
Intersection:
Complement:
Symmetric Difference:
Subset
Equal

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

122 of 120

Example Sets and Statements

Let U = {1, 2, 3, 4, 5, 6}, let S = {x U: x < 3}, and let T = {x U: x divides 6}. Show

We need to show that where x S is TRUE then x T is TRUE.

By definition of S, x S is TRUE if and only if x is 1, 2, or 3.

However, 1, 2, and 3 all divide 6 so x T is also TRUE.

Therefore,

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

123 of 120

Summary Section 12.6 - Part 1

Statements containing variables are called predicates and can be made into logical statements with quantifiers. The quantifiers are the symbols (“for all”) and (“there exists”). These symbols refer to the particular universal set for the variables in the predicate.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

124 of 120

Summary Section 12.6 - Part 2

Important rules of predicate calculus include the following

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

125 of 120

12.7 Logic Circuits

Logic Circuits

NOT, AND and OR Gates

NAND and NOR Gates

XOR Gate

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

126 of 120

Logic Circuits

Logic circuits can be found in computers, telephones, digital clocks, and television sets plus a great many more devices. In a logic circuit current flows through gates to an output line. The input current to the gate has only two states, ON (1) or OFF (0). The output depends upon the type of gate in the circuit.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

127 of 120

NOT, AND and OR Gates

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

128 of 120

Example NOT, AND and OR Gates

Draw a logic circuit for three inputs, p, q, and r and output (~ p) and ( ).

We will begin with the AND gate.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

129 of 120

Example NOT, AND and OR Gates (2)

Next we will add in the OR and NOT gates.

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

130 of 120

Example Logical Statement From Circuit

Write the logical statement represented by the following circuit and then simplify it.

The statement is:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

131 of 120

Example Logical Statement (2)

Simplifying a Circuit

Drawing the simplified circuit:

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

132 of 120

NAND and NOR Gates

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

133 of 120

XOR Gate

Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.

134 of 120

Summary Section 12.7

Logic circuits contain NOT, AND, OR, NAND, NOR and XOR gates.

Logic circuits frequently can be simplified using the Table of Logical Equivalences.

Ù

Ú

®

Ú

:

®

®

Ú

®

Ú

®

Ú

Ù

Ù

Ú

Ù

Ù

Å

Ù

Ú

®

Ù

«

Ú

Ú

«

«

Û

~~

pp

Û

()()

pqqp

ÚÛÚ

()()

pqqp

ÙÛÙ

()()

pqqp

«Û«

(())(())

pqrpqr

ÚÚÛÚÚ

(())(())

pqrpqr

ÙÙÛÙÙ

(()(()())

pqrpqpr

ÚÙÛÚÙÚ

(()(()())

pqrpqpr

ÙÚÛÙÚÙ

()

ppp

ÚÛ

()

ppp

ÙÛ

()

pcp

ÚÛ

()

ptt

ÚÛ

()

pcc

ÙÛ

()

ptp

ÙÛ

(~)

ppt

ÚÛ

(~)

ppc

ÙÛ

()(~~)

pqqp

®Û®

()(~)

pqpq

®Û®Ú

()~(~)

pqpq

®ÛÙ

()(()())

pqpqqp

«Û®Ù®

()((~))

pqpqc

®ÛÙ®

Û

()()

pqqr

®ÙÚ

Ú

(~)()

pqqr

ÛÚÙÚ

(~)()

qpqr

ÛÚÙÚ

(~)

qpr

ÛÚÙ

(~~~)

qpr

ÛÚÙ

~(~)

qpr

ÛÚÚ

®

Þ

Ú

()

pqp

ÙÞ

(())

ppqq

Ù®Þ

(()~)~

pqqp

®ÙÞ

(()~)

pqqp

ÚÙÞ

(()())()

pqqrpr

®Ù®Þ®

()()(()())

pqrsprqs

®Ù®ÞÚ®Ú

()()(()())

pqrsprqs

®Ù®ÞÙ®Ù

(()).

ppqq

Ù®Þ

Ù

®

Û

«

Þ

«

Û

12

....

n

HHHC

ÙÙÞ

[

]

()~

pqq

®Ù

[

]

()~~.

pqqp

®Ù®

Ú

()()

PRQS

Ú®Ú

()()

PRQS

Ù®Ù

Ù

Ù

®

()~

PQQ

®Ù

()~

PQP

ÚÙ

()()

PQQR

®Ù®

PR

®

()()

PQRS

®Ù®

, ~, and ~.

pqrqp

Ú®

(()(~)(~))~.

pqrqpr

ÚÙ®ÙÞ

pq

Ú

~

rq

®

[

]

(~)~

rqqr

®ÙÞ

[

]

()~

pqpq

ÚÙÞ

()

qr

Ú

qr

Ú

Î

Î

"

"

"

$

~[ ()][~()]

xpxxpx

$Û"

~[ ()][ ~()]

xpxxpx

"Û$

~[ (,)] [~(,)]

xypxyxypxy

""Û$$

~[ (,)] [~(,)]

xypxyxypxy

"$Û$"

~[ (,)] [~(,)]

xypxyxypxy

$"Û"$

~[ (,)] [~(,)]

xypxyxypxy

$$Û""

(,) (,)

xypxyyxpxy

""Û""

(,) (,)

xypxyyxpxy

$$Û$$

(,) (,)

xypxyyxpxy

$"Û"$

[2]

xyxy

"$=

[2]

yxxy

$"=

[2]

xyxy

"$=

[2]

yxxy

$"=

xS

Î

xT

Î

[()()]

xxSTpxqx

"ÎÈ«Ú

[()()]

xxSTpxqx

"ÎÇ«Ù

['()]

xxSpx

"Ϋ

:

[()()]

xxSTpxqx

"ÎÅ«Å

()[()()]

STxpxqx

ÍÛ"®

()[()()]

STxpxqx

=Û"«

().

ST

Í

Î

"

$

(

)

pqr

ÙÚ

:

q

:

qr

Ú

:

pr

Ù

:

p

:

(

)

(

)

(

)

prpqr

ÙÚÙÚ

::