Professional Documents
Culture Documents
MathJerome Reviewer
MathJerome Reviewer
Alabama:
1. Standard divisor,
d = 320,820,975/435
d = 737,519.46
Q = state population/d
Q = 4,802,982/737,519.48
Q = 6.51
New Q = 6
D.C.:
d = 737,519.48
Q = state population/d
Q = 601,723/737,519.48
Q = 0.82
New Q = 1
Hamilton Method Example:
Suppose that the Province of Tarlac will be sending 40 trucks to selected Towns of the Province to be used by
participants in the parade of the Founding Anniversary Celebration of the Province. Determine the apportionment of the
trucks using Hamilton Method.
Alabama:
md = 739,000
2. Modified Quota,
mQ = state pop/md
mQ = 4,802,982/739,000
mQ = 6.499
New Q = 6
D.C.:
md = 739,000
mQ = state pop/md
mQ = 601,723/739,000
mQ = 0.82
New Q = 0
Steps:
Steps:
mQ = state’s population/md
3. Round each state’s modified quota mQ up to the nearest integer if its fractional part is greater than or equal to .5
and down to the nearest integer if its fractional part is less than .5
4. Give each state this integer number of seats
Steps:
Alabama:
md = 745,000
2. Modified Quota,
md = state pop/md
md = 4,802,982/745,000
md = 6,446
New Q = 6/7
5. Reps = 6
D.C.:
md = 745,000
2. Modified Quota,
mQ = state pop/md
mQ = 601,723/745,000
mQ = 0.808
New mQ = 0/1
5. Reps = 1
Huntington-Hill Method
Rounded Value
Anao 135 7.7542 7 8 7.48331 8
San Jose 78 4.4802 4 5 4.47214 5
Lapaz 200 11.4877 11 12 11.48913 11
Gerona 90 5.1694 5 6 5.47723 5
Paniqui 77 4.4227 4 5 4.47214 4
Camiling 120 6.8926 6 7 6.48074 7
Total 700 40
• These flaws apply only to Hamilton’s method and do not apply to Jefferson’s, Webster’s, or Adam’s method
• In 1980, the Balinski and Young’s Impossibility Theorem stated that there is no perfect apportionment method that
satisfies the quota rule and avoids any paradoxes.
• Alabama Paradox – an increase in the number of available items causes a group to lose an item (even though
populations remain the same)
10 seats 11 seats
State Pop Quota Initial Final Quota Initial Final
X 6 4.286 4 4 4.714 4 5
Y 6 4.286 4 4 4.714 4 5
Z 2 1.429 1 +1 2 1.571 1 1
Total 14 10 9 10 11 9 11
Population Paradox – Group A can lose an item to group B even when the rate of growth of the population of Group A is
greater than in Group B.
State Pop 2000 Quota Initial Final Pop 2010 Quota Initial Final
X 5300 3.383 3 +1 4 6800 3.627 3 3
(^28%)
Y 9900 6.319 6 6 12500 6.667 6 7
(^26%)
Z 22400 14.298 14 14 25700 13.707 13 14
(^15%)
Total 37600 24 23 24 45000 24 22 24
New States Paradox – the addition of a new group, with a corresponding increase in the number of available items, can
cause a change in the apportionment of items of among the other groups.
Voting is a sacred right and power that citizens in democratic country exercise to select their leaders. But it is sometimes
hard to understand why the best candidates do not always win elections. In 1992, former President Fidel V. Ramos won
the Presidential election not because he was popular but because he gained the most number of votes in an election
based on plurality. In plurality voting, it is possible to elect someone who has less than majority support.
• Each voter votes for one candidate and the candidate with the most votes win.
• The winning candidate does not need to have a majority of the votes. Majority vote means over 50% of the people
voting must vote for the candidate.
• In case of a tie, a special runoff election may be held. If votes are ranked, the candidate with the greatest number
of first-place votes is declared the winner.
• Alternative choices are not considered in this method; hence its extent is somewhat limited.
• First, eliminate the candidate with the fewest number of first-place votes.
• If two or more of these alternatives have the same number of first-place votes, all are eliminated unless that would
eliminate all alternatives. In that case, a different method of voting must be used.
• Adjust the voter’s ranking of the remaining candidates.
• Repeat the same process of elimination and adjustment until only two candidates are left.
• The candidate with the majority of votes wins the election.
• If there are n candidates or issues in an election, each voter ranks the candidates or issues by giving n points to
the voter’s first choice, n-1 points to the voter’s second choice, and so on, with the voter’s least choice receiving 1
point.
• The candidate or issue that receives the greatest total points is the winner.
• Each candidate is compared one-on-one with each of the other candidates (Head-to-Head Method)
• A candidate receives 1 point for a win, 0.5 points for a tie, and 0 points for a loss.
• The candidate with the greatest number of points wins the election.
PREFERENCE BALLOT
➢ A preference ballot is one where the voter ranks the choices of candidates in terms of partiality. It is considered
one of the best ways of ensuring that the most popular candidate wins by a majority vote.
People online ranked their preference of five contestants in a contest, using 1 for their favorite and five for their least
favorite. Results of the text votes were tailed below.
Contestant Rankings
Gloria 5 1 4 3 1
Joseph 4 5 1 2 2
Rodrigo 3 4 5 1 3
Ferdinand 2 3 2 5 4
Jerome 1 2 3 4 5
# of voters 140 98 50 175 49
Questions:
• Each voter votes for one candidate and the candidate with the most votes wins.
• The winning candidate does not need to have a majority of votes. Majority vote means over 50% of the people
voting must vote for the candidate.
• In case of a tie, a special runoff election may be held. If votes are ranked, the candidate with the greatest number
of first-place votes is declared the winner.
• Alternative choices are not considered in this method; hence its extent is somewhat limited.
Contestant Rankings
Gloria 5 1 4 3 1
Joseph 4 5 1 2 2
Rodrigo 3 4 5 1 3
Ferdinand 2 3 2 5 4
Jerome 1 2 3 4 5
# of voters 140 98 50 175 49
Rodrigo wins the contest since he received 175 votes which is the most number of votes.
SOLUTION USING PLURALITY WITH ELIMINATION METHOD
• First, eliminate the candidate with the fewest number of first-place votes.
• If two or more these alternatives have the same number of first-place votes, all are eliminated unless that would
eliminate all alternatives. In that case, a different method of voting must be used.
• Adjust the voter’s rankings of the remaining candidates.
• Repeat the same process of elimination and adjustment until only two candidates are left.
• The candidate with the majority of votes wins the election.
Contestant Rankings
Gloria 5 1 4 3 1
Joseph 4 5 1 2 2
Rodrigo 3 4 5 1 3
Ferdinand 2 3 2 5 4
Jerome 1 2 3 4 5
# of voters 140 98 50 175 49
Contestant Rankings
Gloria 4 1 3 3 1
Joseph 3 4 1 2 2
Rodrigo 2 3 4 1 3
Ferdinand 2 3 2 5 4
Jerome 1 2 2 4 4
# of voters 140 98 50 175 49
Contestant Rankings
Gloria 3 1 2 2 1
Joseph 3 4 1 2 2
Rodrigo 2 3 3 1 2
Ferdinand 2 3 2 5 4
Jerome 1 2 1 3 3
# of voters 140 98 50 175 49
Contestant Rankings
Gloria 3 1 2 2 1
Joseph 3 4 1 2 2
Rodrigo 2 2 2 1 1
Ferdinand 2 3 2 5 4
Jerome 1 1 1 2 2
# of voters 140 98 50 175 49
288 is greater than majority of votes, thus Jerome wins the election.
• If there are n candidates or issues in an election, each voter ranks the candidates or issues by giving n points to
the voter’s first choice, n-1 points to the voter’s second choice, and so on, with the voter’s least choice receiving 1
point.
• The candidate or issue that receives the greatest total points is the winner.
1 = 5 pts
2 = 4 pts
3 = 3 pts
4 = 2 pts
5 = 1 pts
Contestant Rankings
Gloria 5 1 4 3 1
Joseph 4 5 1 2 2
Rodrigo 3 4 5 1 3
Ferdinand 2 3 2 5 4
Jerome 1 2 3 4 5
# of voters 140 98 50 175 49
Contestant Points
Gloria 1 pts 5 pts 2 pts 3 pts 5 pts
Joseph 2 pts 1 pts 5 pts 4 pts 4 pts
Rodrigo 3 pts 2 pts 1 pts 5 pts 3 pts
Ferdinand 4 pts 3 pts 4 pts 1 pts 2 pts
Jerome 5 pts 4 pts 3 pts 2 pts 1 pts
# of voters 140 98 50 175 49
Contestant Rankings Total
Gloria 1(140) 5(98) 2(50) 3(175) 5(49) 1(140) 1500
Joseph 2(140) 1(98) 5(50) 4(175) 4(49) 2(140) 1524
Rodrigo 3(140) 2(98) 1(50) 5(175) 3(49) 3(140) 1688
Ferdinand 4(140) 3(98) 4(50) 1(175) 2(49) 4(140) 1327
Jerome 5(140) 4(98) 3(50) 2(175) 1(49) 5(140) 1641
# of voters 140 98 50 175 49 140
Getting 1688 points using Borda Count Method, Rodrigo wins the contest.
• Each candidate is compared one-on-one with each of the other candidates (Head-to-Head Method)
• A candidate receives 1 point for a win, 0.5 points for a tie, and 0 points for a loss.
• The candidate with the greatest number of points wins the election.
Contestant Rankings
A. Gloria 5 1 4 3 1
B. Joseph 4 5 1 2 2
C. Rodrigo 3 4 5 1 3
D. Ferdinand 2 3 2 5 4
E. Jerome 1 2 3 4 5
# of voters 140 98 50 175 49
A vs B B vs C C vs D
B: 140 + 50 + 175 = 365 (win) C: 140 + 98 + 175 = 413 (win) D: 140 + 98 + 50 = 288 (win)
A vs C B vs D C vs E
A vs D B vs E D vs E
A vs E
E: 140 + 50 = 190
Contestant # of points
A. Gloria II
B. Joseph III
C. Rodrigo II
D. Ferdinand I
E. Jerome II
Contestant Rankings
Gloria 5 1 4 3 1
Joseph 4 5 1 2 2
Rodrigo 3 4 5 1 3
Ferdinand 2 3 2 5 4
Jerome 1 2 3 4 5
# of voters 140 98 50 175 49
If the results of the four methods of voting are look into, as shown in the table, it is seen how the winner varies from one
method to another.
FAIRNESS CRITERIA
Majority Criterion – the candidate who receives a majority of the first-place votes should be declared the winner.
Monotonicity Criterion – if the candidate A wins an election then candidate A will also win the election if the only change
in the voter’s preferences is that supporters of a different candidate change their votes to support candidate A.
Condorcet Criterion – if candidate X is favored when compared head-to-head (individually) with each of the other
candidates then candidate X should be declared the winner.
Independence of Irrelevant Alternatives – if a candidate wins an election, the winner should remain the winner in any
recount in which losing candidates withdraw from the race.
Arrow’s Impossibility Theorem – there is no voting method involving three or more choices that satisfies all four fairness
criteria
DISCRETE MATHEMATICS
I. Mathematical Logic
“Although mathematics is both a science and an art, special characteristics distinguish mathematics from the
humanities and other sciences. Particularly important is the kind of reasoning that typifies mathematics. The natural or social
scientist generally makes observations of particular cases or phenomena and seeks a general theory that describes or
explains the observations. This approach is called inductive reasoning, and it is tested by making further observations. If
the results are incompatible with theoretical expectations, the scientist usually must reject or modify his theory.
The mathematician, too, frequently uses inductive reasoning in attempting to describe patters and relationships
among quantities and structures. The characteristic thinking of the mathematician, however, is deductive reasoning, in which
one uses logic to draw conclusions based on statements accepted as true. The conclusions of a mathematician are proved
to be true, provided that assumptions are true. If a mathematical theory predicts results incompatible with reality, the fault
will lie not in the theory but with the inapplicability of the theory to that portion of reality. Indeed, the mathematician is not
restricted to the study of observable phenomena, even though mathematics can trace its development back to the need to
describe spatial relations (geometry), and motion (calculus) or to solve numerical problems (algebra). Using logic, the
mathematician can draw conclusions about any mathematical structure imaginable.”
The basics of logic and the idea of proof is important in many areas other than mathematics. For example, the
thought processes used to construct an algorithm for a computer program are much like those used to develop the proof of
a theorem.
Inductive reasoning is a method of drawing conclusions by going from the specific to the general. It's usually contrasted
with deductive reasoning, where you go from general information to specific conclusions. Inductive reasoning is also called
inductive logic or bottom-up reasoning.
Specific observation→
Pattern recognition→
General conclusion→
What is LOGIC?
Logic is an instrument for appraising the correctness of reasoning. One of the main aims of logic is to provide rules by which
one can determine whether any particular argument or reasoning is valid.
FUNDAMENTALS OF LOGIC
1. Proposition - a declarative statement that is either true or false, but not both.
Examples:
The square root of 2 is irrational.
1+1=5
In the year 2010, more Filipinos will go to Canada.
-5 75
Notation:
The truth values of propositions are:
1 or T for true
0 or F for false
Capital letters are used to denote propositions.
2. Negation of a Proposition
- Formed by introducing the word “not” in a proper place in the proposition.
Suppose P is a proposition
¬P is the negation of P
Truth Table:
P ¬P
1 0
0 1
Examples:
It is not the case that the square root of 10 is greater than 4.
10 is not divisible by 2.
LOGICAL CONNECTIVES
Most mathematical statements are combinations of simpler statements, formed through some choice of the words
or, and, and not, or the phrase if – then, and if and only if.
3. Conjunction of Propositions
Definition: Let P and Q be propositions. The proposition “P and Q” denoted by P ˄ Q, is the proposition that is true
when both P and Q are true and is false otherwise. The proposition P ˄ Q is called the conjunction of P and Q.
Truth Table:
P Q P˄Q
1 1 1
1 0 0
0 1 0
0 0 0
Examples:
6<7 and 7<8
2 * 4 = 16 and a quart is larger than a liter
4. Disjunction
Definition: Let P and Q be propositions. The proposition “P or Q” denoted by P ˅ Q, is the proposition that is false
when both P and Q are false and is true otherwise. The proposition P ˅ Q is called the disjunction of P and Q.
Truth Table:
P Q P˅Q
1 1 1
1 0 1
0 1 1
0 0 0
Examples:
Venus is smaller than earth or 1 + 4 = 5
The square root of 2 is less than the square root of 3 or chicken have wings.
Definition: Let P and Q be propositions. The implication P → Q is the proposition that is false when P is true and
Q is false. In this implication P is called the premise or the hypothesis, and Q is called the consequence or
conclusion.
(P → Q) read as:
o If P then Q
Truth Table:
P Q P→Q
1 1 1
1 0 0
0 1 1
0 0 1
Examples:
If triangle ABC is isosceles, then the base angles A and B are equal.
Mars has 10 moons implies that 1 + 1 = 2.
1 + 2 = 3 implies that 1<0.
If the sun shines tomorrow then I will play basketball.
If you get 100 in the final exam then you will pass the course.
There are some related implications that can be formed from p→q.
Examples:
Contra-positive: ¬q → ¬p
“If the price of crude oil does not go up, then the US does not go to war”
Converse: q→p
“If the US goes to war, then the price of crude oil goes up”
Inverse: ¬p → ¬q
“If the price of crude oil does not go up, then the US does not go to war”
Definition: Let P and Q be propositions. The bi-conditional P ↔ Q is the proposition that is true when P and Q
have the same truth values.
(P ↔ Q) read as: P if and only if Q
(P ↔ Q) is equal to ((P → Q) ˄ (Q → P))
Truth Table:
P Q P→Q Q→P P↔Q
(P → Q) ˄ (Q → P)
1 1 1 1 1
1 0 0 1 0
0 1 1 0 0
0 0 1 1 1
Examples:
A rectangle is a square if and only if the rectangle’s diagonals are perpendicular.
5+6 = 6 and only if 7+1 = 10
7. Exclusive Or
Definition: Let p and q be propositions. The exclusive or of p and q denoted by p ⊕ q is the proposition that is true when
exactly one of p and q is true and is false otherwise.
Examples:
Either you can have a milk or a glass of orange juice for breakfast.
Truth Table:
P Q P⊕Q
1 1 0
1 0 1
0 1 1
0 0 0
Major Connectives
When two or more connectives are present in a statement, one of them is the dominant or major connective. The
major connective is shown by using parentheses.
Examples:
1. In the statement “x=1 or x=2, and y=3”, the major connective is conjunction.
2. (s˄t) → r
3. [(P→Q) ˄ (Q→R)] ˅ Q
4. (x = 0 ) ˅ (x > 0 ˄ y ≠ 1)
5. [(x=1) ˅ (x >1) → (y=4)] ˄ (y<z)
USEFUL TRANSLATIONS
P˄Q
P and Q P despite Q
P but Q Despite P, Q
P although Q P inspite of Q
Although P, Q P whereas Q
Not only P, but also Q P yet Q
While P, Q P while Q
P˅Q
P or Q
P and/or Q
P or Q or both
P unless Q
Either P or Q
P→Q
If P then Q
If P, Q
Q provided that P
Q in case of P
Q if P
P↔Q
P if and only if Q
If P and only then Q
If and only if P, Q
P just incase Q
If P, and only if Q
1. TAUTOLOGY
- A proposition that is always true under all possible combination of truth values for all component propositions.
Example: (P ˄ Q) → P
P Q P˄Q (P ˄ Q) → P P→Q
1 1 1 1 1
1 0 0 1 0
0 1 0 1 1
0 0 0 1 1
2. CONTRADICTION OR ABSURDITY
- A proposition that is always false under all possible combination of truth values of the component propositions
Example: P ˄¬ P
P ¬P P ˄¬ P
1 0 0
0 1 0
3. CONTINGENCY
- The combination of tautology and contradiction
- A proposition which is either a tautology nor a contradiction
Example: P ˅ Q → P