Gec05 Lecture Midterm
Gec05 Lecture Midterm
b. 1, 3, 6, 10, 15, ?
Inductive Reasoning to Solve an Application
Consider the following procedure: Pick a number. Multiply the number by 8, add 6 to the product,
divide the sum by 2, and subtract 3.
Original number:
Multiply by 8:
Add 6:
Divide by 2:
Subtract 3:
Conjecture: Following the given procedure produces a number that is four times the original number.
Counterexample
• A statement is a true statement provided that it
is true in all cases.
• If you can find one case for which a statement is
not true, then the statement is a false statement
• This one case is called a counterexample
Find the Counterexample
Verify that each of the following statement is a false
statement by finding a counterexample:
For all number x:
a. 𝑥 >0
b. 𝑥 2 > 𝑥
Deductive Reasoning
• Type of reasoning which is the process of reaching a
conclusion by applying general principles,
assumptions, procedures or techniques.
Deductive Reasoning to Establish a Conjecture
Use deductive reasoning to show that the following procedure produces a number that is four
times the original number.
Procedure: Pick a number. Multiply the number by 8, add 6 to the product, divide the sum by 2, and
subtract 3.
Multiply by 8:
Add 6 to the product:
Divide the sum by 2:
Subtract 3
Conclusion: The procedure produce a number that is four times the original number
Deductive Reasoning to Solve Logic Puzzles
1. Maria gets home from work after the banker but before the
dentist.
2. Sarah, who is the last to get home from work, is not the editor.
3. The dentist and Sarah leave for work at the same time.
4. The banker lives next door to Brian.
Deductive Reasoning to Solve Logic Puzzles
1. Maria gets home from work after the banker but before the dentist.
2. Sarah, who is the last to get home from work, is not the editor.
3. The dentist and Sarah leave for work at the same time.
4. The banker lives next door to Brian.
Deductive Reasoning to Solve Logic Puzzles
1. Maria gets home from work after the banker but before the dentist.
2. Sarah, who is the last to get home from work, is not the editor.
3. The dentist and Sarah leave for work at the same time.
4. The banker lives next door to Brian.
DEDUCTIVE INDUCTIVE
More special than the information More general than the information
the premises provide. It is reached the premises provide. It is reached
CONCLUSION directly by applying logical rules to by generalizing the premises’
the premises information
If the premises are true, then the If the premises are true, then the
VALIDITY conclusion must be true conclusion is probably true
More difficult to use use(mainly in Used often in everyday life (fast and
USAGE logical problems). One needs facts easy). Evidence is used instead of
which are definitely true proved facts
Example
Determine whether each of the following arguments is an example of inductive reasoning
or deductive reasoning.
a) During the past 10 years, a tree has produced plums every other year. Last year the
tree did not produce plums, so this year the tree will produce plums.
b) All home improvements cost more than the estimate. The contractor estimated
that my home improvement will cost Php 35,000. Thus, my home improvement
will cost more than Php 35,000.
Terms of a Sequence
• An ordered list of numbers such as 5, 14, 27, 44, 65, …
is called a sequence.
• The numbers in a sequence that are separated by commas
are the terms of the sequence
• The three dots “...” indicate that the sequence continues
beyond the last written term
Terms of a Sequence
When examining a sequence, it is natural to ask:
Arithmetic Sequence:
𝑎𝑛 = 𝑎1 + 𝑛 − 1 ∗ 𝑑
Geometric Sequence:
𝑎𝑛 = 𝑎1 𝑟 𝑛−1
Nth Term Formula
Triangular Number:
𝑛(𝑛 + 1)
𝑇𝑟𝑖𝑎𝑛𝑔𝑢𝑙𝑎𝑟𝑛 =
2
Square Number:
𝑆𝑞𝑢𝑎𝑟𝑒𝑛 = 𝑛2
Pentagonal Number:
𝑛 3𝑛 − 1
𝑃𝑒𝑛𝑡𝑎𝑔𝑜𝑛𝑎𝑙𝑛 =
2
Polya’s Four Step Problem Solving Strategy
✓ Work carefully.
✓ Keep an accurate and neat record of all your attempts.
✓ Realize that some of your initial plans will not work and
that you may have to devise another plan or modify your
existing plan
Review the Solution
Make sure that you read the statement carefully several times
We are looking for the price of the tv before they added the tax
We will let
x be the price of the tv before tax was added
Step 02 : Devise a Plan (Translate)
The original price plus 8.25% tax will give you the purchasing
cost of Php 541.25. This means that
𝒙 + 0.0825𝒙 = 541.25
Step 03 : Carry Out the Plan (Solve)
𝒙 + 0.0825𝒙 = 541.25
1.0825𝒙 = 541.25
1.0825𝒙 541.25
=
1.0825 1.0825
𝒙 = 500
Step 04 : Review the solution
If you add on 8.25% tax to 500, you would get Php 541.25.
Magic Square
Fill in the small boxes with digits 1 – 9 such
that each horizontal, vertical, and diagonal line
of numbers must add up to the same sum.
Draw a Picture
In a stock car race, the first five finishers in some order were a Ford, a
Pontiac, a Chevrolet, a Buick and a Dodge.
Handshakes Problem
In a party there are 8 people. If everyone at the party shakes
hands with everyone else, how many handshakes would there be?
Look for a Pattern
Numerical Sequences
Fill in the next two blanks in each part.
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = ?
Mathematics and Natural Sciences Department
• I am single
• This place is about to blow
• We can dance if we want to
• We can leave your friends behind
Things That Are Not Propositions
Commands
cannot be true
or false
Things That Are Not Propositions
Questions
cannot be true
or false
Things That Are Not Propositions
The first half is a
proposition I am the walrus,
goo goo g’joob
Gibberish cannot
be true or false
Propositional Logic
• Mathematical system for reasoning about propositions and how
they relate to one another
• Enables us to
• Formally encode how the truth of various propositions influences the
truth of other propositions.
• Determine if certain combinations of propositions are always,
sometimes, or never true.
• Determine whether certain combinations of propositions logically entail
other combinations.
Propositional Variables
• Represents each proposition
PROPOSITIONS
b – Velociraptor can open windows
c – I am in my apartment right now
d – My apartment has windows
e – I am going to be eaten by a velociraptor
~a → ~e
I won’t be eaten by a velociraptor if there isn’t a
velociraptor outside my apartment
a – There is a velociraptor outside my apartment
PROPOSITIONS
b – Velociraptor can open windows
c – I am in my apartment right now
d – My apartment has windows
e – I am going to be eaten by a velociraptor
a ∧ ~b → ~e
If there is a velociraptor outside my apartment,
but (and) it cannot open windows, then I am not
going to be eaten by a velociraptor.
a – There is a velociraptor outside my apartment
PROPOSITIONS
b – Velociraptor can open windows
c – I am in my apartment right now
d – My apartment has windows
e – I am going to be eaten by a velociraptor
c→ ~a
If I am in my apartment right now, then there is no
velociraptor outside.
p q p ∧ (p → q)
T T T T
T T F T T T F F F
T F T F T F F T T
F T T F F T T T F
F F T F F F T T T
• Example: 𝑝 ∨ ~𝑝