discrete mathematics by seerat abbas khan

22

Upload: seerat-abbas-khan

Post on 15-Jan-2017

127 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Discrete mathematics by Seerat Abbas khan
Page 2: Discrete mathematics by Seerat Abbas khan

Topic:- DISCRETE MATHEMATICSName : Seerat AbbasRoll No : 13Superior University Lahore(Multan campus)

Page 3: Discrete mathematics by Seerat Abbas khan

ObjectiveIntroduction of Discrete MathPropositionCompound PropositionConjunctionDisjunctionNegationConditional StatementBi-ConditionalTruth Tables

Page 4: Discrete mathematics by Seerat Abbas khan

`Discrete Math “Discrete mathematics is the

mathematical structure that are fundamentally discrete rather than continious”

(In general it is used whenever objects are

counted and when relationship between two finite(or countable) sets are studied.) For example:

1. The number of students in a class (and it is opposite to continous data)

Page 5: Discrete mathematics by Seerat Abbas khan

Application It is a wide range subject its

study includes parts of logic , computer science ,statistics,and operations research,algebra,graphs etc.

Page 6: Discrete mathematics by Seerat Abbas khan

Propositions “A declrative stetement that is

either True or False but not Both ”

• Represented by lowercase letters such as

p, q and r.

Page 7: Discrete mathematics by Seerat Abbas khan

Examples of Proposition1. Islamabad is the Capital of

Pakistan2. Karachi is the Capital of Pakistan3. 2+2=44. 2+5=6This is not the Example of

Proposition:1.x+1=2 2.x+y=z3.What time is it 3.Read this

Carefully

F

FT

T

Page 8: Discrete mathematics by Seerat Abbas khan

COMPOUND STATEMENT“Many mathematical statements are constructed by combining one or more propositional, new propositional is called compound proposition”For example, "Today is Monday and It is Raining" is considered a compound statement.  The two simple statements " Today is Monday " and " It is Raining " are connected by the word "and".

Page 9: Discrete mathematics by Seerat Abbas khan

Connectives “Used to combine propositions”

Some kinds of Connectives:1. Conjuction

2.Disjunction3. Conditional 4.Bi-conditional5. Negation

Page 10: Discrete mathematics by Seerat Abbas khan

CONJUCTION“Any two Proposition can be combined by the word “and” to form a compound proposition called conjuction ”

Symbolically

Definition : If p and q are true, then is true; othervise is false:

qp

(Read as “p and q”) qp

qp

Page 11: Discrete mathematics by Seerat Abbas khan

Truth table of Conjuction

P Q

T T TT F FF T FF F F

qp

Page 12: Discrete mathematics by Seerat Abbas khan

An other Example of Conjuction

p: Today is Monday.q: it is raining.

Today is Monday AND it is raining.

qp

Page 13: Discrete mathematics by Seerat Abbas khan

DISJUNCTION“Any two Proposition can be combined by the word “or” to form a compound proposition called disjuction ”

Symbolically

Definition : If p and q are false, then is false; othervise is true:

(Read as “p or q”)

qp

qp qp

Page 14: Discrete mathematics by Seerat Abbas khan

Truth table of Disjunction

P Q

T T TT F TF T TF F F

qp

Page 15: Discrete mathematics by Seerat Abbas khan

DISJUNCTION

p: Today is Monday.q: it is raining.

Today is Monday OR it is raining.

qp

Page 16: Discrete mathematics by Seerat Abbas khan

NEGATION“Let p be the proposition then the negation of p is denoted by and is the opposite proposition of p ”

Symbolically

p p

p

(Read as “not p”)

PT FF T

p

Truth tablep

Page 17: Discrete mathematics by Seerat Abbas khan

NEGATION

p: Today is Monday.q: it is raining.

-p: Today is NOT Monday.-q: It is NOT raining.

p

Page 18: Discrete mathematics by Seerat Abbas khan

CONDITIONAL STATEMENT “Many stetements, particularly in mathematics, are of the form “if p then q”.

Such statement are called conditional stetement”Symbolically

p q(Read as “p implies q”)Condition:The condition p q is false when p is true and q is false;otherwise true.

P QT T TT F TF T TF F F

p q

Page 19: Discrete mathematics by Seerat Abbas khan

CONDITIONAL STATEMENT

p: Today is Monday.q: it is raining.

p qIF today is Monday, THEN it is

raining.

Page 20: Discrete mathematics by Seerat Abbas khan

Bi-CONDITIONAL STATEMENT “Another comman statement is of the

form “p if and only if q”. Such statement are called Bi-conditional stetement”

Symbolicallyp q

(Read as “p if and only if q”)Condition:The condition p q is true when both p and q have same truth values;otherwise false

P QT T TT F FF T FF F T

p q

Page 21: Discrete mathematics by Seerat Abbas khan

BICONDITIONAL STATEMENT

p: Today is Monday.q: it is raining.

Today is Monday IF AND ONLY IF it is raining.

qp

Page 22: Discrete mathematics by Seerat Abbas khan