Discrete Reviewer
Discrete Reviewer
What is Logic?
● Logic is a language for reasoning. It is a collection of rules we use when doing logical
reasoning.
Who is Aristotle?
● Aristotle was a philosopher who helped develop logical reasoning, which is important for
many areas of mathematics and computer science. Logical reasoning can help us
understand how things work and can be used to design computer systems.
What are the Rules of Mathematical Logic?
● Mathematical logic is a way of thinking about math that helps us understand how
mathematical statements work.
1. Arithmetic Operators
It is a rule of mathematical logic that uses addition, subtraction, multiplication, division,
and negation.
2. Propositional Logic
Propositional logic is a way of thinking about statements that has to do with whether they
are true or false. It's used to figure out what might be true about a statement if it is part of a bigger
statement, or if it is by itself.
3. Logical Operators
It is a rule of mathematical logic that is using and, or, and not to create new compound
propositions.
Truth Value
Ex.
She loves to chase squirrels' is true, then the negative of the statement, 'She doesn't love to chase
squirrels,' is false.
Possible Question:
1. What do you mean by truth value?
In mathematics, a proposition is a statement that can either be found to be true or false. The truth
value is true if the proposition is true and false if the proposition is false.
Propositions
A proposition is a declarative sentence that is either true or false. On the other hand, it has two possible
values either TRUE and FALSE.
It is true that…
Toronto is the capital of Canada It is proposition, the truth value is True
The Moon is made of green cheese It is proposition but, the truth value is False
1+0=1 True
Propositional Variables
These are the variables that represent propositions. On the other hand, It is standard practice to use the
lower-case roman letters p, q, r, s… to stand for propositions.
____________________________________________________________
____________________________________________________________
2.) The colors of the sun are red, orange, and yellow.
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
____________________________________________________________
QUIZ #1. Determine if the proposition is either true or false and explain why.
1. The capital of Australia is Sydney.