Professional Documents
Culture Documents
Mathematics in Modern World
Mathematics in Modern World
Mathematics in the
Modern World
Authors :
Clarenz Dalisay, LPT Grace Ann Delos Reyes, LPT,
Engr. Elise MATMath Cheryl Lumiguen,
Erandio Renato LPT, MAT
Nieva, LPT, MA Melanio Nipas Jr,
Rey-ann Rivera, LPT, LPT, MA Engr.
MSMath(c) Engr. Ernesto Angelica Sicat
Villarica
2
PREFACE
3
Copyright, 2018
by:
Clarenz Dalisay, Grace Ann Delos Reyes, LPT,
LPT Engr. Elise MATMath Cheryl Lumiguen,
Erandio Renato LPT, MAT
Nieva, LPT, MA Melanio Nipas Jr,
Rey-ann Rivera, LPT, LPT, MA Engr.
MSMath(c) Engr. Ernesto Angelica Sicat
Villarica
Disclaimer: All literary works that appear on the book are copyrighted
by their respective owners. We claim no credit for them
unless otherwise noted. If you own the rights to any of the
works and do not wish them to appear on the book, please
contact us and they will be promptly removed.
4
TABLE OF CONTENTS
Title Page
Disclaimer
Preface
Table of Contents
UNIT Page
1 Nature of Mathematics: Mathematics in our 4
World
1.1 Patterns and Numbers in Nature and the 4
World
2. Fibonacci Sequence 8
3. Golden Ratio 12
5
1. Inductive Reasoning 28
2. Deductive Reasoning 31
3. Polya’s Strategy 32
6
7
8
CHAPTER NATURE OF MATHEMATICS:
LEARNING OUTCOMES:
9
Waves and dunes are clues to the flow of water, sand and air. Regular nightly
motion of stars also confirms that the Earth rotates, and that rotation was used
by ancients to predict time. Rainbows tells us the scattering of light, indirectly
confirming that raindrops are spheres. The tiger’s stripes and the hyena’s spots
attest to mathematical regularities in biological growth and form. Animals have
a mirror symmetry, so do leaves and some flowers. Echinoderms like starfish,
sea urchins and sea lilies have five-fold symmetry. Snowflakes have six-fold
symmetry, and a water splash approximates a radial symmetry. Considering
numbers as simplest mathematical objects, a year is roughly three hundred
sixty-five days, people have two legs, cats have four while spiders have eight.
Have you gone for a trip such as mountain climbing and noticed the world
around you? The differences in leaves, in hues of the sky, the transformations
and movements of clouds, how high a rabbit can jump nor how fast a turtle run?
Have you ever wondered how much water one must take? Are you watching
your weight and your food caloric intake? Or how much time you allot in
preparing things for such a trip? Have you not wondered how most vendors do
not make a mistake in giving your change after buying even without
calculators? Consciously or unconsciously, all of these activities engage some
form of mathematics. Mathematics aside from being related to numbers, is also
considering symbols, notations, operations and functions thus providing new
questions to think about. Pythagoreans obsession with number was not
baseless. Too many ‘coincidences’, too many connections—between number and
number, number and shape, number and music—led them to re-examine the
accepted world view of their day. Numbers, as originally conceived, were the
pragmatic progeny of accounting and commerce; but slowly, as they ‘grew’,
were seen by the Pythagoreans (and others) as having a meaning that stretched
far beyond the mere representation of ‘quantities’ and the collections of material
objects that had spawned their introduction. The Pythagorean vision marked a
fundamental turning point in the attitude not only to numbers, but indeed to
nature itself.
Nature has its laws. Natural laws are not like laws in our society. Societal laws
concerns human actions and are determined by governing bodies. Natural laws
on the other hand are determined by fundamental forces in the nature. These
arises from careful application of systematic studies of the natural world trough
experimentation and observation called as scientific methods. This method
provides scientist a rigorous framework to objectively
1
0
study the natural world. Natural laws can be verified through experiments
conducted by independent observers. The law can be a simple statement in
words, as well as a mathematical equation. Examples of these natural laws
are (1) Laws of Planetary Motion by Johannes Kepler, (2) Law of Universal
Expansion by Edwin Hubble, (3) Laws of Motion and Universal Gravitation by
Sir Isaac Newton, (4) Fluid Mechanics by Sir George Stokes, and even the
Theory of Relativity of Albert Einstein would not have gone farther without
mathematics.
One can never deny the fact that mathematics is everywhere not only because
it can be seen in nature but also because of its practical applications in our
daily lives.
11
12
FIBONACCI SEQUENCE
As a trivia, Fibonacci is a shortened word for the Latin term “filiusBonnaci” which
means “son of Bonaccio”. His father’s name was Guglielmo Bonnacio who was a
wealthy Italian merchant, representing the Republic of Pisa trading in Bugia,
Algeria in North Africa. Fibonacci was an extensive traveller around
Mediterranean and met numerous merchants. He studied different numerical
systems and methods, including the Hindu- Arabic numeral system which he
learned from North Africa and eventually making it as popular to Europe through
his Liber Abaci (Book of Calculation). Today, the system is the most common
representation of numbers.
The original problem Fibonnacci investigated was about how fast rabbits can
breed in ideal circumstances. Beginning with a newborn male and female rabbit,
we will assume the following conditions:
13
Considering the conditions given, the newborn pair of rabbit are not yet at
sexual maturity after one month, therefore, they can’t mate. At two months,
they have mated but not yet given birth resulting to having the same number
of pairs. After three months, the female rabbit will give birth to a pair,
resulting in two pairs. At the fourth month, the original pair gives birth again,
the second pair mates but not give birth, resulting to three pairs in all.
Continuing this process, this scenario answered Fibonacci’s question as to how
many pair of rabbits could be born in a year.
14
The Fibonacci numbers are also well represented in honeybees. Honeybee
lives in a colony called hive and they have an unusual Family tree. In a
colony, there is one special female called queen. There are male bees who
does not work and are produced by the queen’s unfertilized eggs called
drones. They only have a mother but no father. There are also other female
bees who are called worker but they do not produce eggs. Female bees are
produced when the queen mated with a male bee so they have two parents.
They usually end up being a worker bees but some are being fed with a
substance called royal jelly which makes them grow into queens ready to go
off when the bees are ready to swarm and leave their home in search for a
new place to build their hive. If you take any bee hive and follow the pattern,
it would look like:
Number of Parents Grand Great Gt-Gt Gt-Gt-Gt
Parents Gran Gran Grand
d d Parent
Parent Parent s
s s
Male Bees 1 2 3 5 8
Female 2 3 5 8 13
Bees
Since a drone has only one parent (only a mother and no father), it also has
an interesting genealogical tree. Generation 1 has 1 member (the male). One
generation back there is also 1 member (the mother). Two generations back
there are 2 members (the mother and father of the mother). The number of
members in each generation follow the Fibonacci sequence.
15
Fibonacci Rectangles
16
FIBONACCI SEQUENCE AND THE GOLDEN RATIO
The golden ratio often represented by a Greek letter phi with a value of
1.618034 is also called the golden section or the golden mean or Divine
Proportion. The proportion is also said to be aesthetically pleasing due to
which several artists and architects, including Salvador Dali and Le Corbusier,
have proportioned their work close to the golden ratio. The Fibonacci
sequence and the golden ratio are intimately interconnected.
17
18
19
CHAPTER NATURE OF MATHEMATICS:
2 MATHEMATICAL LANGUAGE
ANd SYMBOLS
LEARNING OUTCOMES:
20
LESSON 1 : LANGUAGE OF MATHEMATICS
Language is a fundamental tool that bridges the gap among people from
varying origins and cultures without prejudice to their background and
upbringing. It can be communicated in either spoken or written manner as
long as words are arranged in a structured and systematic way.
As a general concept, “language” may refer to the ability to learn and use
systems of complex communications or to describe the set of rules that
makes up these systems.
Ana est deux fois plus âgée que son frère et la somme de leurs âges est de 36
ans. Quel âge ont-ils?
Since the language used may seem unfamiliar to you, understanding the
entire problem creates another problem: failure to understand what the given
is all about. To understand the ideas or concepts of Mathematics and figure
out clearly the logic behind problems is one of the many reasons why we
need to know the language of mathematics. The language itself is precise, it
can make very fine distinctions among a set of symbols. It is concise because
it can briefly express long sentences. It is also powerful because of the
relative ease it gives upon expressing complex thoughts.
21
Mathematics is a symbolic language. Some of the symbols you may encounter
as you read this book are the following:
∑ The sum of
Ǝ There exists
Ɐ For every (for any)
∈ Element of (or member of)
∉ Not an element of (or not a member
of)
⊆ Subset of
⇒ If … , then
⟺ If and only if
ℜ Set of real numbers
N Set of natural number
Z Set of integers
Q Set of rational numbers
∞ Infinity
The subsets of the real world can be described using this mathematical
language symbols above. Problems in Physics, like the free-falling bodies,
speed and acceleration, quantities like the chemical content of vegetables,
the use of mathematical modelling in biological disease modelling and the
formula employed in the social sciences can all be expresses using
mathematical sentences. Even abstract structures can also be described by
mathematics. Examples of such are abstract algebra, linear algebra, topology,
real analysis and complex analysis, all of which have no known physical
counterparts.
22
brain hemisphere that coordinates logical or analytical thinking while the right
brain hemisphere is responsible for creative thinking.
ENGLISH MATHEMATICS
SYMBOLS English Alphabet English Alphabet, Numerals,
and punctuation Greek
Letters, Grouping Symbols,
Special Symbols
Name Noun Expressions
Complete Sentence Sentence
thought
Action Verbs Operations and other actions
(e.g. simplify, rationalize)
What is in a Verbs Equality, inequality,
sentence membership in a
set
Attribute of a Fact or fiction True or false
sentence
Synonyms Different words The same object but different
but names
the same
meaning
2
3
Comparison: English Language VS Mathematics
Language
I. Name
In English, a word that functions as the name of a thing or a set of
things that serve as the main word in the subject is called Noun.
For simplicity, we will simply use it in this bookas the name of
things we want to talk about.
Example: a. 5
b. 1.2 + 6,
c.3x – 3
d.ordered pair
(a, b)
b. 1 + 3
=4
24
III. Synonyms
In English, Synonyms are different words with the same meaning.
meaning
Cardinal numbers are the ones used for counting, ordinal numbers are
those that tells the position of a thing while nominal numbers are
numbers used only as a name to identify something, not as an actual
value or position.
25
Translation: English Language to Math Language and vice versa
I. English to Math
English Mathematics
Practice:
26
II. Mathematics to English
Choose a quantity to be represented by a variable, then write the
mathematical expression for each number.
1. A three-digit numbers whose hundreds digit is half the tens digit and
the tens digit is 2 more than the units digit.
Let x = be the unit’s value
½ (x + 2) x+2 x
2. The total interest earned after one year when P 100 000 is invested
part at 6 % annual interest rate and the remaining part at 7.5 %
annual interest rate.
27
LESSON 2 : SETS
A = {1, 2, 3, 4}
Note that in listing, the order of the elements is irrelevant and in case that
the set has many elements, the listing can be abbreviated.
Considering the given sets A and B, every member of set A is also a member
of set B, therefore, it can also be stated as “A is a subset of B” or “A is
contained in B”. The relation between sets A and B is established by ⊆ is
called inclusion or containment.
If, however, there is another number of sets available and they are all
contained in B, set B will be considered as Universal set.
28
Lesson 3 : Elementary logic
Types of Propositions
Example:
Each of the following statement is a proposition. Some are true and some
are false. Can you tell which are true and which are false? If it is false,
state why.
Answers:
29
Logical Connectives
P or Q Or P ∨Q Disjunction
Quantifier
30
Examples of Logic
Q: It is raining
Answer:
31
32
CHAPTER
NATURE OF MATHEMATICS:
LEARNING
OUTCOMES:
They concluded the same method would work for any similar type of problem
by observing that a specific method worked for a certain type of problem.
Such conclusion is called conjecture.
33
Use inductive reasoning to predict the next number.
Solution:
The three dots indicate that the numbers continue indefinitely in the
pattern established. By observing, we can see that the pattern adds 1
to the previous number to get the next number. So by applying
inductive reasoning, we can conclude that the next number would be
6.
2. 1, 3, 6, 10, 15, ?
Solution:
The first two numbers have a difference of 2. The second and third has
a difference of 3. The third and fourth, has
4. From this we can see that the
difference between any two numbers is
1 more than the preceding difference.
Since 10 and 15 differs by 5, we can
predict that the next number will be 6
larger than 15, that is, 21.
34
For this example, you were tricked into coming up with a wrong
conclusion. Not that your logic was faulty, but the person who makes
the list thinks of another scenario. The numbers given are actually
dates of Mondays of June where the 1st day falls on a Sunday. From
this, the answer should have been 7, since the next Monday that
follows the 30th of June is 7th of July.
The process we used in predicting the next number for examples 1 and 2 may
reveal a flaw for our third example. We can never be sure that what is true to
a specific case will be true in general. Inductive reasoning does not guarantee
a true result, but it provide a means of arriving into a conclusion. A statement
that disproves the conjecture is called counterexample.
Practice:
𝑥
a. =
𝑥
1 𝑥+3
b =𝑥+
3
. 1
c. √𝑥2 + 16 = 𝑥 +
4
35
SOLVING PROBLEMS BY DEDUCTIVE REASONING
Key Terms:
Solution:
There is only one premise in this statement, “Today is Thursday”. The
other statement “Tomorrow is Friday” is called conclusion. Following
the days in
a week, the fact that Friday is the day after Thursday is not explicitly
stated. Since the conclusion comes from general facts that apply to
this case, deductive reasoning was used.
Solution: This example is reasoning that uses syllogism. The first two
statements are the premises and the third one is the conclusion.
36
Solution: Saying that an argument is valid does not mean the
conclusion is true. Thus, if the premises are wrong, the argument
may be valid but the conclusion may not be true.
4. General case : “In any right triangle, the sum of the squares of the legs is
equal to the square of the hypotenuse”- Pythagorean Theorem
Specific case: Given: a = 3, b = 4
Problem: Find the value of the hypotenuse, c
37
2. Thinking Time: Devise a plan
∙ You must start somewhere so try something. How are you going to
attack the problem?
∙ Possible strategies: (i. e. reach into your bag of tricks.)
1. Make a list of the known and unknown information.
2. Use a variable for unknowns.
3. Draw pictures, diagrams or even tables.
4. Be systematic.
5. Solve a simpler version of the problem.
6. Guess and check. Trial and error. Guess and test. (Guessing is OK.)
7. Look for a pattern or patterns.
8. Work backwards. Guess at a solution and check your result.
Tip! ☺
✔ Once you understand what the problem is, if you are stumped or stuck,
set
the problem aside for a while. Your subconscious mind may keep
working on it.
Work out an idea or a new approach carefully and see if it leads to a solution.
If the plan does not seem to be working, then start over and try another
approach. Often the first approach does not work. Do not worry, just because
an approach does not work, it does not mean you did it wrong. You actually
accomplished something, knowing a way does not work is part of the process
of elimination. Remember to keep an accurate and neat record of all your
attempts.
38
4. Verification: Look back and review your solution
∙ If your solution does not work, there may only be a simple mistake.
Try to modify your current attempt before scrapping it. Though you
have to remember likely that at least part of it will end up being
useful.
∙ Is there a simpler way to solve the problem? (You need to become
flexible in your thinking. There could be another way.)
∙ Can the problem or method be generalized so as to be useful for future
problems?
Examples:
1. The sum of two numbers is 30. The first number is twice as large as
the second number. What are the numbers?
39
Solution:
Devise a Plan: Let x be the value of the second number and since the first
is twice the second, we will represent it as 2x.
2𝑥 + 𝑥 = 30
3𝑥 = 30
So, the second number is 𝑥 = 10 and the first number is 2𝑥 = 20.
Since the problem requires two numbers whose sum is 30, adding the two
numbers 20 and 10 gives 30. Also, 20 is twice of 10. Therefore, our
answer satisfies the conditions given in our problem.
Solution:
Understand the Problem: A coin has two faces, a head and a tail
respectively. Two coins when tossed can show several combination. As
per required, the two coins should be thrown at once and they should
both show heads up.
Devise a Plan: Let H represent heads and T for tails. We are going to list
down all possible combinations without duplication.
40
Carry out the Plan: We will start to list the possibilities having the First coin
show heads and then tail. That is,
First Coin Second Coin The probability that will show both
H H heads will be computed as the
H T number of possibilities of having
two heads divided by the number
T H
of
T T trials, that is 1 𝑥 100% = 25%.
4
The list is organized and has no duplication, so out of a single toss of two
coins, there is only a 25% probability or chance of having two heads.
41
42
Score:
Date:
43
44
45
46
47
CHAPTER MATHEMATICS AS A TOOL :
DATA MANAGEMENT
4
LEARNING OUTCOMES:
In capitalism, no also the leaders of the state but also capitalists, are
interested in statistical surveys resulting to increased demand for data
processing for their increasing benefits such as insurance.
48
STATISTICAL DATA
For most people, “statistics” is a scary thing that must be avoided as much as
possible because they think that it is a collection of numbers and vague
formulas. People, without noticing, applies statistics in their everyday life,
such as to the amount of food they eat, how much money was in their purse,
how far is their work area to respective homes, color of their hair, number of
rebounds and assists of a player in a basketball game, their height, gender,
and so on. Statisticians develop and apply appropriate methods in collecting
and analyzing data. They guide the design of the research study and then
analyze the results. The interpretation of the result is the basis of the
statistician in making inferences about the population.
BASIC CONCEPTS
49
6. Scales of Measurement – subdivided into four categories and upon
drawing inferences on a random sample, the type of measurement
scale must be carefully chosen.
a. Nominal – classifies elements into two or more categories or
classes, the numbers indicating that the elements are different but
not according to order or magnitude
b. Ordinal –a scale that ranks individual in terms of the degree to
which they possess a characteristic of interest
c. Interval – in addition to ordering scores from high to low, it also
establishes a uniform unit in the scale so that any equal distance
between two scores is of
equal magnitude. There is no absolute zero in this scale.
d. Ratio – in addition to being an interval scale, it also has an absolute
zero.
7. Population – defined as groups of people, animals, places, things or
ideas to which any conclusions based on characteristics of a sample
will be applied.
8. Sample – a subgroup of the population.
9. Parameter – a numerical measure that describes a characteristic of the
population.
10. Statistic – numerical measure that is used to describe a characteristic
of a sample.
50
51
52
LESSON 2: MEASURES OF CENTRAL TENDENCY
To describe a whole set of data with a single value that represents the middle
or centre of its distribution is the purpose of measure of central tendency
(measures of centre or central location). To put in other words, it is a way to
describe the center of a data set.
∙ Mean
∙ Median
∙ Mode
53
Examples:
Solution:
From the given problem, we can see that there are only 3 given
values. This is considered as ungroup. Therefore,
scores:
33,44,55,65,55,33,67,78,54,55,55,44
Solution:
There are 12 observations or values in this given problem. Usually,
data are grouped if they are above 30 observations. We can work
this case either by using the grouped or ungrouped formula:
Using Ungrouped data
54
Using Grouped Data
∑𝑓𝑥
x̄ = 𝑁
(33∗2)+(44∗2)+(55∗4)+(65∗1)+(67∗1)+(78∗1)+(5
x= 4∗1) 12
x̄= 53.17
55
Examples:
Since there are 10 values in the given, we will take the average of
the fifth and sixth numbers in the arrangement, which is 4 and 5
respectively, therefore, Median is 4.5.
56
2. Find the median of the following math test scores.
Solution:
57
3. Mode
∙ The mode can be found for both numerical and categorical (non-
numerical) data. It is the most commonly occurring value in a
distribution. There can be more than one mode for the same
distribution of data, (bi-modal, or multi-modal), thus limiting the
ability of the mode in describing the center of the distribution.
∙ In some particular cases, the distribution may have no mode at all
(i.e. if all values are different).In such case, it may be better to
consider using the median or mean, or group the data in to
appropriate intervals, and find the modal class.
Examples:
1. Ungrouped Data
a. 33,44,55,65,55,33,67,78,54,55,55,44 Mode is 55
b. 33,44,65,55,33,67,78,54,55,55,44 Mode is 33, 44
c. 1,2,3,4,5,6,7,8,9 Mode is 1,2,3,4,5,6,7,8,9 or no
mode
58
2. Determine the mode of the following math test scores.
Mode = 57.9
59
LESSON 3 : MEASURES OF
VARIATION/DISPERSION
Measures of variation is used to describe the distribution of the data. How
is the data distributed? Is it cluster in one area or is it really spread out?
∙ Range
∙ Mean absolute deviation
∙ Variance
∙ Standard deviation
Since the range only uses the largest and smallest values, it is greatly
affected by extreme values, that is - it is not resistant to change.
Example
Range = 60-23 = 37
60
MEAN ABSOLUTE DEVIATION
∙ Mean absolute deviation is the average of how much the data values
differ from the mean.
∙ A small MAD value indicates a clustered data values.
∙ A big MAD value indicates a spread out data values
Example
95+93+95+96+
Anna Mean = 95 = 94.8
5
(
Anna MAD = 94.8−95)+(94.8−93)+(94.8−95)+(94.8−96)+(94 = 0.72
.8−95) 5
98+95+90+95+
Joy Mean = 95 = 94.6
5
61
(
Joy MAD = 94.6−98)+(94.6−95)+(94.6−90)+(94.6−95)+(94 = 1.84
.6−95) 5
Interpretation:
Anna has a smaller MAD value than Joy which means Anna is more
consistent in her test results.
62
Example
Partylist A Votes
Miguel 26
Dom 33
Ann 29
Gab 24
Hazel 30
Cherry 35
Partylist B Votes
Arman 35
Daniel 26
Elise 24
Dona 24
Mary 30
John 35
Solution:
63
LESSON 4. QUARTILE, DECILE AND PERCENTILE
A measure of position determines the position of a single value in relation
to other values in a sample or a population data set. We commonly refer
to these measure of position as quantiles or fractiles.
Quantiles
equal parts. There are three kinds of quantiles: Quartile, Decile and
Percentile.
64
Example 1. A classroom teacher gave a quiz to 9 students. The scores
obtained are as follows:
10 5 9 4 2 6 3 4 8
a. 2rd Quartile
b. 7th Decile
c. 94th Percentile
Solution:
a. 2nd Quartile
2 3 4 4 5 6 8 9 10
Q Q Q
1 2 3
ANSWER: 5
b. 7th Decile
2 3 4 4 5 6 8 9 10
D D D D D D D D D
1 2 3 4 5 6 7 8 9
ANSWER:8
c. 94th Percentile
2 3 4 4 5 6 8 9 10
P P P P P P P P P
10 20 30 40 50 60 70 80 90
ANSWER:10
65
Interpretation:
a.Fifty percent of the data falls below and above the value of 5.
b.70 % of data falls below the value 8 and while 30 % of students scored
higher than 8 Example 2. Calculate the 3rd quartile. (refer to the formula of
grouped data)
Math 4 6 10 13 17
Score(x)
Frequency(f) 3 5 6 4 2
<cf 3 8 14 18 20
66
67
68
69
70
71
72
73
74
LESSON 5. THE NORMAL DISTRIBUTION
The Normal Distribution
75
The formula for the standard normal distribution is
−𝑧2
𝑦= 𝑒 2 where z = standard score, 𝑒 ≈ 2.1718.. and 𝜋
2𝜋
√ ≈ 3.14159..
Since the curve is symmetrical, this holds true for both side of
the mean. As presented in Figure 1, approximately 68.26% of the
scores lie between +𝜇 + 1𝜎 and -
𝜇 + 1𝜎. Furthermore, about 13.6% of the scores fall between 𝜇 + 1𝜎
and 𝜇 + 2𝜎. All of the scores in a normal distribution lie between the
mean plus or minus standard deviations.
Illustration 1.
8 19 30 41 52 63
76
a. If a person’s score is 60, then slightly more than 84. 135% of all the
other scores
in a distribution lie below his scores.
b. If a person’s score is 30, then slightly more than 97. 725% of all the
scores in a distribution fall above his scores.
Z-SCORES. These standard scores tell how far a raw score is from the mean
in standard deviation units. The formula is
𝑧= 𝑥−𝑥̅ or 𝑧 = 𝑥−𝜇
𝑠 𝜎
Where x- raw score
𝑥̅- mean
𝑠− standard deviation
T-SCORES. These are z-scores that are expressed in another way. The
formula is
𝑥−𝑥̅
𝑡 = 50 + 10 ( ) or 𝑡 = 50 + 10𝑧
𝑠
77
Example 2.
1. Jerry got a grade of 85 on the final examination in Linguistic for which the
mean grade was 75 and the standard deviation was 10. On the final
examination in Trigonometry for which the mean grade was 80 and the
standard deviation was 24, he received a grade of
92. In which subject was his relative standing higher?
z-scores t-scores
Linguistics
𝑧 = 𝑥−𝑥̅ = 89−75 = 1.4 𝑡 = 50 + 10𝑧 = 50 + 10(1.4) = 64
𝑠 10
Trigonometry
𝑧 = 𝑥−𝑥̅ = 93−80=0.77
𝑠 17 𝑡 = 50 + 10𝑧 = 50 + 10(0.77) = 57.7
Interpretation:
78
2. Professor Elise wanted to get a student’s equally weighted mean
achievement in
Algebra test and Geometry test. The data are shown below.
Course Test Score Mean Highest Standard
possible Deviation
score
Algebra 40 50 70 5
Solution
79
The Normal Curve Areas
80
This can be shortened into two rules.
1. If there is only one z score given, use 0.5 for the second area,
otherwise look up both z scores in the table.
2. If the two numbers are the same sign, then subtract; if they are
different signs, then add. If there is only one z score, then use the
inequality to determine the second sign (< is negative, and > is
positive).
You are now ready to solve normal distribution problems. In doing so,
you must always bear in mind the difference between continuous
random variable and discrete random variables. Each category has its
own way of calculating the areas under their standard normal
distribution.
Example 1. The scores of the grade 6 pupils have a mean of 5.35 and
standard deviation of 0.15.
Solutions
c. Lower than 4.
Given 𝜇 = 5.35, 𝜎 = 0.15 and 𝑥 = 4
83
Area between 5 and 6 = Area between 5 and 5.35 + Area
between 5. 23 and 6.
=___________+ _________
= _________or _____ %
Solution:
Because the data are discrete, the values of this discrete random
variable shall be spread over a continuous scale by representing
each whole number k by interval form
𝑘− 1
to 𝑘+ 1
2 2
84
In this example, 𝑘 = 30,
𝑥 = 𝑘 − 21= 30 − 1
2
= 29.5 𝑥2= 𝑘 − 2 = 30 + 12= 30.5
1 1
Hence, the probability that she will sell exactly 30 budget meals is__ %.
85
The area is .
86
87
88
89
90
LESSON 6 : CORRELATION AND LINEAR
REGRESSION
Correlation measures the association or the strength of the relationship
between two variables say x and y.
Definitions
Verbal Interpretation
r Verbal Interpretation
0.00 No correlation
91
Pearson Product- Moment Correlation(r)
Formula
1. State the Null Hypothesis (Ho) and the Alternative Hypothesis ( Ha).
2. Determine the tabular value (TV), degree of freedom(df) = N-2.
3. Determined computed value (CV).
4. State the conclusion.
a. Decision: i. rc>rt (means Reject Ho) and ii. rc<rt (means Accept Ho).
Example:
Number of 2 4 6 8 10
Study
Hours (x)
Number of 10 9 8 7 6
Sleeping
Hours
(y)
92
Solution:
3. Computed Value:
Student 𝑥 𝑦 𝑥∙𝑦 𝑦2
𝑥2
1 2 10 20 4 100
2 4 9 36 16 81
3 6 8 48 36 64
4 8 7 56 48 49
5 10 6 60 100 36
∑𝑥 ∑𝑦 ∑ 𝑥𝑦 ∑ 𝑥2 ∑ 𝑦2
𝑁=5
= 30 = 40 = 220 = 220 = 330
4. Conclusion
93
of study hours and the number of sleeping hours of different students. The
result of r also implies perfect correlation.
Linear Regression
Formula:
𝒚 = 𝒂 + 𝒃𝒙
where:
y= criterion measure,
x= predictor,
94
To get the regression equation, the value of a and b are computed
using the
formula below.
and
𝒏(∑ 𝒙𝒚) − ∑ 𝒙 ∑ 𝒚
𝒃=
𝒏(∑ 𝒙𝟐) − (∑ 𝒙)𝟐
where:
n= number of pairs
Example1.
1 25
2 30
3 32
4 45
5 50
95
Form a curve of the form𝒚 = 𝒂 + 𝒃𝒙to predict the membership 5
years from now.
Solution:
x y 𝒙𝟐 𝒙𝒚
1 25 1 25
2 30 4 60
3 32 9 96
4 45 16 180
5 50 25 250
∑ 𝒙 = 𝟏𝟓 ∑ 𝒚 = 𝟏𝟖𝟐 ∑ 𝒙𝟐 = 𝟓𝟓 ∑ 𝒙𝒚 = 𝟔𝟏𝟏
Since you need to predict the membership five years from now, or at year 10,
substitute 10 for x in the equation. Thus, 5 years from now, 𝐲 = 𝟏𝟔. 𝟗 + 𝟔.
𝟓(𝟏𝟎) = 𝟖𝟏. 𝟗 ≈ 𝟖𝟐.
Therefore, five years from now, the club would have 82 members.
96
97
98
99
CHAPTER MATHEMATICS AS A TOOL :
LEARNING OUTCOMES:
As the message travels from the sender to the receiver through the
channel, it encounters several “noises” that alters the message in the channel
that will cause disruption and errors in the messages. Examples of noises are
caused by sunspots, lightning, meteor showers, or even human errors like
poor typing and poor hearing.
100
two processes in coding; encoding and decoding. Encoding is transforming
messages into bits of message that is suitable to the communication channel
while decoding is the opposite process of encoding.
Source Coding
Receiver
Sender Noise
Example 1.a. Consider the source encoding of four directions north, south,
east, and west as follows:
101
With this problem at hand, additional process of encoding is
required.
Channel Coding
Receiver
Sender
Parity Check
Example 1.b. Consider the Example 1.a, we perform the channel encoding by
adding a redundancy bit of size 1 as follows:
102
number of 1s, and even parity if there is an even number of 1s. We add
redundancy bit to message such that it will become an even parity.
Example 1.c. Consider the Example 1.a, we perform the channel encoding by
adding a redundancy bit of size 3 as follows:
Same with Example 1.b, the message “north” will be encoded up to the
message 00000. Because of the noises in the channel, we say that only one error
is introduced to the message that will give us five different possible messages
10000, 01000, 00100, 00010, or 00001. Assume that 10000 is received. Then we
can be sure that 10000 is from the correct message 00000 since if we are going
to compare 10000 to the other encoded messages such as 01111, 10110, and
11001, there will be at least two errors in the message.
Note that in this encoding scheme that can correct errors, information
transmission speed will be at cost since we have to transmit 5-bit message for a
message of a size of 2 bits.
Repetition Code
Suppose that the source encoding is already done and that the encoded
message is of fix length k. Then the channel encoding by repetition is performed
by taking the k bits, then repeat it 2r + 1times, where r ≥ 1 is a fixed integer.
Example 2.a. Suppose that the source encoded message is 101 where k = 3. Then
choose = 2 , so we must repeat 101, 5 times. This will give us 101101101101101.
Assume that the message is transmitted through a noisy channel and distorted.
The received message is 111101100011100.
The decoding process will be done in this manner. Consider the positions 1,
4, 7, 10, 13 of the received message. We will take the most frequent bit as the
first decoded
103
bit. Then, consider 2, 5, 8, 11, 14 positions and do the same process to get
the second bit. For the third and last bit, consider the positions 3, 6, 9, 12,
and 15. With this, the decoded message will be 101.
In this encoding scheme, we can detect and correct more than one
error for the cost of transmission speed of the messages since like the
example above, you will transmit 15-bit message for a message of size of 3
bits.
Modular Arithmetic
Congruence
Examples
104
II.Solve the least residue of the following.
1.) 29 (mod 3)
2.) 35 (mod 4)
3.) 50 (mod 7)
4.) 30 (mod 4)
5.) 25 (mod 5)
Answers:
1.) The answer is 2, since 2 is the remainder when 29 is
divided by 3.
2.) The answer is 3, since 3 is the remainder when 35 is
divided by 4.
3.) The answer is 1, since 1 is the remainder when 50 is
divided by 7.
4.) The answer is 2, since 2 is the remainder when 30 is
divided by 4.
5.) The answer is 0, since there is no remainder when 25
is divided by 5.
105
Check Digits and Check Codes
The table below summarize the formulas for the check digits.
106
d =9− d +d +d +d +d +d +d +d +d +d
Check 11 ( 1 2 3 4 5 6 7 8 9 10 )(mod 9)
Digit
d
11
Credit Card
d = 10 − 2d + d + 2d + d + 2d + d + 2d + d + 2d + d + 2d + d + 2d + d + 2d
Check 16 ( 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ) (mod10)
Digit Note: Add all the digits, treating the two-digit numbers as
d two single digits.
16
Examples:
1. Determine the check digit for a new product given that the first 11 digits
are 8-21345- 67132- ?
Solution:
Let d
1 2
= 8, d = 2, d
3 = 1, d
4 = 3, d
5 = 4, d
6 = 5, d
7 = 6, d
8 9
= 7, d = 1, d
10 = 3, and d
11 = 2.
Then,
d12 = 10 − (3(8) + 2 + 3(1) + 3 + 3(4) + 5 + 3(6) + 7 + 3(1) + 3 + 3(2))(mod10)
d12 = 10 − 86 mod10
d12 = 10 − 6
d12 = 4
Solution:
Let d
1 2
= 0, d = 1, d
3 = 7, d
4 = 3, d
5 = 1, d
6 = 6, d
7 = 4, d
8 = 4,and d
9 = 4.
107
Then,
d10 = 11 − (10 (0) + 9 (1) + 8(7) + 7 (3) + 6 (1) + 5(6) + 4 (4) + 3(4) + 2 (4))(mod11)
(
d = 11 −158 mod11
10 )
d10 = 11 − 4
d10 = 7
Hence, the check digit is 7.
Solution:
1 = 4, d2 = 3, d3 = 0, d4
Let d = 1, d
5 6
= 1, d
7
= 2, d
8
= 3, d
9
= 4, d
10
= 8, d
11
= 8, d
12
= 8, d
13
= 8, d =
14 = 7,and d15 = 5.
3, d
It is given that the check digit is 1. We will verify it with the formula.
()
+2 8 +8+2 8
( ) + 8 + 2 (3) + 7 + 2 (5)) (mod10)
d16 = 10 − (8 + 3 + 0 + 1 + 2 + 2 + 6 + 4
(
+ 16 + 8 + 16 + 8 + 6 + 7 + 10) mod10
)
d16 = 10 − (8 + 3 + 0 + 1 + 2 + 2 + 6 + 4
(
+ 1 + 6 + 8 + 1 + 6 + 8 + 6 + 7 + 1 + 0) mod10
)
( )(mod10)
d = 10 − 70
16
d16 = 10 − 0
d16 = 1 + 0
d16 = 1
Hence, the check digit is correct and the identification number is valid.
108
109
110
111
112
113
114
115
116
117
118
119
LESSON 2 : CRYPTOGRAPHY
∙ Originated from two Greek words such as KRYPTO which means
hidden and GRAPHENE means writing.
∙ Is a method of making and breaking of secret codes.
∙ It the method that is commonly used in military, some government
agency’s transaction, business firms such as bank, insurance, etc. to
secure secrecy of the information.
∙ It uses two processes such as encryption and decryption.
Example:
ENCRYPTION
∙ Is the process of transforming plain text into code form using a certain
algorithm
DECRYPTION
∙ Is the process of returning/converting back the coded message into plain text.
Example:
120
Note : Every letter of the English Alphabet should be paired to at least one character of
the Coded Alphabet.
SHIFT CIPHER (CEASAR CIPHER) = it is the simple type of substitution cipher. It uses
shift in forming the key of cryptography. The cipher text is obtained from taking an
equivalent of a single letter of the alphabet to another letter by doing a uniform number of
shifts either left or right. Each letter of the English alphabet should be matched exactly to
one letter of the cipher alphabet.
Illustrations:
A B C D E F G H I J K L M N O P Q R S T U V W X YZ
D E F G H I J K L MNO P Q R S T U V W X Y Z A BC
( http://en.wikipedia.org/w/index.php?title=File:Caesar3.svg&page=1)
A B C D E F G H I J K L M N O P Q R S T U V W X YZ
V W X Y Z A B C D E F G H I J K L M N O P Q R S TU
Take note : 1st line of letters are the English Alphabet while the letters on the 2nd row are
the equivalent cipher character/alphabet
Examples:
1. Using the key of shift of 3 to the right, encrypt the Word “ CRYPTOGRAPHY”
CRYPTOGRAPHY FUBSWRJUDKCT
121
2. Decrypt the cipher text, “BJY DN BJJY”, using the key of 5-shifts to the left.
The sender of the message uses the key K to encrypt and to decrypt the
secret message. The key K may have any integer value from 0 – 25 and this
will be shared to the person/s who will be receiving the secret message.
1.Express the letters of the alphabet into an integer from 0 to 25, that matches
its order, for example A = 0, B = 1, C = 3 ….., then label them as C
3.Convert the number Y into a letter following the order of the letter of the
alphabet.
Let K = 5
Step 1.
E = 4, A = 0, R = 17
122
Step 2.
M M W I S F U N T O L E A R N
12 12 22 8 18 5 20 13 19 14 11 4 0 17 13
+ 5 5 5 5 5 5 5 5 5 5 5 5 5 5
5
17 17 27 13 23 10 25 18 24 19 16 9 5 22 18
Y = (17 17 27 13 23 10 25 18 24 1 16 9 5 22 18 mod26
9 )
Y = 17 17 1 13 23 10 25 18 2 19 16 9 5 22 18
4
Step 3.
1.Express the letters of the alphabet into an integer from 0 to 25, that matches
its order, for example A = 0, B = 1, C = 3 ….., then label them as Y
3.Convert the number C into a letter following the order of the letter of the
alphabet.
123
Illustration: Decrypt the cipher text RRB NX KZS YT QJFWS
Let K = 5
Step 1
J = 9 , F = 5, W = 22,
Step 2
R R B N X K Z S Y T Q J F W
S
17 17 1 13 23 10 25 18 24 19 16 9 5 22
18
-5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
12 12 - 4 8 18 5 20 13 19 14 11 4 0 17 13
C = ( 12 12 - 4 8 18 5 20 13 19 14 11 4 0 17
13) mod 26
C = 12 12 22
8 18 5 20 13 19 14 11 4 0
17 13
Step 3
3. Encrypt the word text “FATIMA” using the Modulo Operator, given k = 20
124
Step 1
F = 5, A = 0, T = 19, I = 8, M = 12
Step 2
F A T I M A
5 0 19 8 12 0
+ 20 20 20 20 20 20
25 20 39 28 32 20
Y = 25 20 13 2 6 20
Step 3
Modular Arithmetic
= it is an operator (mod), which seeks for a remainder when two numbers are
divided.
125
How to Calculate the Arithmetic Modulo?
∙ Divide k by the value of M to obtain the quotient (q) and the remainder (r)
∙ Such that k = Mq + r , 0 ≤ r < M
Examples:
1. Find 15 mod 6.
Solution :
15 ÷ 6 = 2 remainder 3 , hence , 15 mod 6 = 3
15 = 6 * 2 + 3
15 = 12 + 3
15 = 15
2. Solve 8 mod 10.
Solution:
8 = 10* 0 + 8
8=8
126
Example:
Evaluate – 6 mod 4.
Solution:
/- 6/ ÷ 4 = 1 remainder 2, r’ = 2
127
128
129
130
131
CHAPTER MATHEMATICS AS A TOOL :
LEARNING OUTCOMES:
LESSON 1 : APPORTIONMENT
132
The Hamilton Plan
𝑡𝑜𝑡𝑎𝑙 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛
Formulas: Standard Divisor
𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑟𝑒𝑝𝑟𝑒𝑠𝑒𝑛𝑡𝑎𝑡𝑖𝑣𝑒
(D)=
𝑁
D
𝑅
=
𝑠𝑢𝑏−𝑔𝑟𝑜𝑢𝑝 𝑝𝑜𝑝𝑢𝑙𝑎𝑡𝑖𝑜𝑛
Standard quota
𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑑𝑖𝑣𝑖𝑠𝑜𝑟
(Q)=
𝑛
Q=
𝐷
133
Example:
A new school offering the complete six grades in high school has the
following enrollment in the different grades below. The administration
are to apportioned the 20 teachers for each grade. Calculate
a. The standard divisor
b. The standard quota
Grades students
Grade 12 40
Grade 11 35
Grade 10 22
Grade 9 38
Grade 8 25
Grade 7 39
Total 199
Solution :
𝑁 19
a. Standard Divisor , D = =9 = 9.95
𝑅
20
𝑛 40
b. grade 12 Standard quota , Q = = = 4.02
12 𝐷 9.95
𝑛 35
grade 11 Standard quota , Q = = = 3.51
11 𝐷 9.95
𝑛 22
grade 10 Standard quota ,Q = = = 2.21
10 𝐷 9.95
134
𝒏
Grade student Q= Q Q Corrected
𝑫 no. of
teacher
s
Grade 12 40 40 4.02 4 4
9.95
Grade 11 35 35 3.51 3 4
9.95
Grade 10 22 22 2.21 2 2
9.95
Grade 9 38 38 3.81 3 4
9.95
Grade 8 25 25 2.51 2 2
9.95
Grade 7 39 39 3.91 3 4
9.95
Total : 199 17 20
Analysis :
135
The Jefferson Plan
Example :
A new school offering the complete six grades in high school has the
following enrollment in the different grades below. The administration
are to apportioned he 20 teachers for each grade. Calculate the
number of teachers for each grade
using the Jefferson apportionment method.
Grades students
Grade 12 40
Grade 11 35
Grade 10 22
Grade 9 38
Grade 8 25
Grade 7 39
Total 199
136
Solution
:
a assume values for Modified Standard divisor ( D )
m
.
say , D = 9
m
𝑛 35
grade 11 Standard quota ,Q = = = 3.88
11 𝐷 9
𝑛 22
grade 10 Standard quota , Q = 𝐷
= 9
= 2.44
10
say ,D = 8.7
m
𝑛 40
grade 12 Standard quota , Q = = = 4.59
12 𝐷 8.7
𝑛 35
grade 11 Standard quota , Q = = 8.7 = 4.02
11 𝐷
𝑛 22
grade 10 Standard quota , Q = 𝐷
= 8.7 = 2.52
10
137
𝒏
Grade student Q= Q correct
𝑫 no. of
teacher
s
Grade 12 40 40 4.59 4
8.7
Grade 11 35 35 4.02 4
8.7
Grade 10 22 22 2.52 2
8.7
Grade 9 38 38 4.36 4
8.7
Grade 8 25 25 2.87 2
8.7
Grade 7 39 39 4.48 4
8.7
Total : 199 20
Analysis :
Apportionment principle
138
𝑨
Formula : R =
𝑪
Example:
RBSN company wants to add a new call center agent in one of its
office. Report indicate an increase in the daily calls of the offices in the
past month. Determine which office should get the additional agent.
Use the apportionment Principle to justify your answer.
Solution
𝑨
Office C C A=/C –C / R=
1 2 `1 2
branch 𝑪
882 996
Makati = 14.00 = 20.75 6.75 0.48
63 48
882 996
Ortigas = 14.22 = 20.32 6.10 0.30
62 49
139
Answer. R = 0.30 (the lowest ) means the new agent or
representative will goes to Ortigas office.
Analysis.
(𝑃𝐴 )2
Formula : H=
𝑎 ( 𝑎+1 )
140
Example
RBSN company wants to add a new call center agent in one of its
office. Report indicate an increase in the daily calls of the offices in the
past month. Determine which office should get the additional agent.
Use the Huntington – Hill apportionment to justify your answer.
Solution
(𝑃𝐴 )2 882
H= = = 199.16
𝑎 ( 𝑎+1 ) 62 2( 62+1 )
(𝑃𝐴 )2 996
H= = 2 = 421.77
𝑎 ( 𝑎+1 ) 48 ( 48+1 )
141
142
143
144
145
LESSON 2 : VOTING METHODS
1. Plurality Method
How to solve this: First, pick your candidate’s biggest competition, in this
case Roxas. Pretend all 30 votes go to Roxas and Duterte. Let x be the
number of votes Duterte needs to tie Roxas in this scenario. Then
Roxas gets 30 – xof the remaining votes. Since it’s a tie, 38 + x = 18 + (30
– x). Solve for x to get x = 5. If Duterte gets more votes than this, he is
guaranteed to win, and so the answer is the smallest number bigger
than x, in this case 5 votes.
Strategic Voting: When a person votes in a way that does not reflect his
or her true preferences in an attempt to improve the outcome of the
election form that person’s point of view, it is called strategic voting.
146
Runoff Election:
· First a plurality vote is taken.
· If one candidate has more than 50% of the vote, that candidate wins.
· If no candidate has a majority of the votes, a second plurality election is held
with a designated number of the top candidates.
· This process repeats until one candidate has more than 50% of the votes.
Example 3: In May 2016 Presidential elections, Duterte with 16, 601, 997 votes,
Roxas with 9, 978, 175 votes, and Poe with 9, 100, 991 votes. If there had been
a runoff between Duterte and Roxas, what percentage of Poe’s supporters would
have needed to vote for Duterte for him to have a majority of the vote?
How to solve this: First, adding up the votes from all three candidates, we see
that there are 35, 681, 163 votes total. A majority is 1 more than half of this, so
1+ (35, 681, 163) = 17, 840, 582.5 or 17, 840, 583. Duterte already has 16, 601,
997 votes so he needs 17, 840, 583 – 16, 601, 997 = 1, 238, 586. This is
Ballo Point
t s
B gets 4
1st points
D gets 3
2BndD points
147
In general, if N is the number of candidates…
∙ Each first-place vote is worth N points.
∙ Each second-place vote is worth N – 1points.
∙ Each third-place vote is worth N – 2 points.
∙ …
∙ Each Nth-place (i.e., last place) vote is worth
1 point.
Number of 35 30 20 15
Voters
1st choice B D C D
2nd choice C A A C
3rd choice A B B A
4th choice D C D B
148
How to solve this:
Number of Voters 35 30 20 15
1st choice (4 B: 140 D: 120 C: 80 D: 60
points)
2nd choice (3 C: 105 A: 90 A: 60 C: 45
points)
3rd choice (2 A: 70 B: 60 B: 40 A: 30
points)
4th choice (1 D: 35 C: 30 D: 20 B: 15
point)
149
Example 2: A Borda Count Election is held between Theo,
Nicole, and Rafael.
Number of 10 8 7 5
Voters
1st choice Theo Nicole Nicole Rafae
l
2nd choice Nicole Rafael Theo Nicole
3rd choice Rafael Theo Rafae Theo
l
Number of Voters 10 8 7 5
1 choice (3
st
Theo: 30 Nicole: Nicole: Rafael:
points) 24 21 15
2 choice (2
nd
Nicole: Rafael: Theo: 14 Nicole:
points) 20 16 10
3 choice (1
rd
Rafael: Theo: 8 Rafael: 7 Theo: 5
point) 10
Theo: 30 + 8 + 14 + 5 = 57 points
Nicole: 20 + 24 + 21 + 10 = 75 points
Rafael: 10 + 16 + 7 + 15 = 48 points
150
Example 3:
Contestant Rankings
A 5 4 1 1 3
B 4 1 5 2 2
C 3 5 4 3 1
D 2 2 2 4 5
E 1 3 3 5 4
Contestant Rankings
A 5 (1 4 (2 1 (5 1 (5 3 (3
point) points) points) points) points)
B 4 (2 1 (5 5 (1 2 (4 2 (4
points) points) point) points) points)
C 3 (3 5 (1 4 (2 3 (3 1 (5
points) point) points) points) points)
D 2 (4 2 (4 2 (4 4 (2 5 (1
points) points) points) points) point)
E 1 (5 3 (3 3 (3 5 (1 4 (2
points) points) points) point) points)
151
Number of 120 90 56 123 31
Voters
3. Plurality by Elimination
152
Example 1:Let’s say we have a town of 20,000 people electing a mayor
using the Plurality with Elimination Voting Method. There are 4
candidates, candidate A, candidate B, candidate C, and candidate D.
The results of the election are shown below in a preference schedule:
1st D C A B
2nd A B B D
3rd B D C C
4th C A D A
1st D B A B
2nd A D B D
153
3rd B A D A
1st A B A B
2nd B A B A
Number of Voters
16 5 10 8 10 7
Perona 1 1 2 3 2 3
Reyes 2 3 1 1 3 2
Santos 3 2 3 2 1 1
a)Who would win in a plurality election with a runoff between the top 2
finishers?
b)In a plurality election, could the seven voters who ranked Santos first and
Reyes second achieve a preferable outcome by voting strategically?
154
c) In a plurality election with a runoff between the top candidates, could the
seven voters who ranked Santos first and Reyes second achieve a preferable
outcome by voting strategically?
Example 1:
Number of Voters 18 11 9 5 2
1st choice A C D B C
2nd choice B D C D B
3rd choice C B B C D
4th choice D A A A A
∙ Compare A to B.
155
⮚ 18 voters prefer A.
⮚ 11 + 9 + 5 + 2 = 27 voters prefer to B.
⮚ B wins the pairwise comparison and gets 1
point.
∙ Compare A to C.
⮚ 18 voters prefer A.
⮚ 11 + 9 + 5 + 2 = 27 voters prefer to C.
⮚ C wins the pairwise comparison and gets 1
point.
∙ Compare A to D.
⮚ 18 voters prefer A.
⮚ 11 + 9 + 5 + 2 = 27 voters prefer to D.
⮚ D wins the pairwise comparison and gets 1
point.
∙ Compare B to C.
⮚ 18 + 5 = 23 voters prefer B.
⮚ 11 + 9 + 2 = 22 voters prefer to C.
⮚ C wins the pairwise comparison and gets 1
point.
∙ Compare B to D.
⮚ 18 + 5 + 2 = 25 voters prefer B.
⮚ 11 + 9 = 20 voters prefer to D.
⮚ B wins the pairwise comparison and gets 1
point.
∙ Compare C to D.
⮚ 18 + 11 + 3 = 32 voters prefer C.
⮚ 9 + 5 = 14 voters prefer D.
⮚ C wins the pairwise comparison and gets 1
point.
156
B 2
C 3
D 1
Example 2:Let’s say we have a town of 20,000 people electing a mayor using
the Plurality with Elimination Voting Method. There are 4 candidates,
candidate A, candidate B, candidate C, and candidate D.
Number of Voters 4000 7500 3000 5500
1st D C A B
2nd A B B D
3rd B D C C
4th C A D A
∙ Compare A to B.
⮚ 4000 + 3000 = 7000 voters prefer A.
⮚ 7500 + 5500 = 13000 voters prefer to B.
⮚ B wins the pairwise comparison and gets 1
point.
∙ Compare A to C.
⮚ 4000 + 3000 = 7000 voters prefer A.
⮚ 7500 + 5500 = 13000 voters prefer to C.
⮚ C wins the pairwise comparison and gets 1
point.
∙ Compare A to D.
⮚ 3000 voters prefer A.
⮚ 4000 + 7500 + 5500 = 17000 voters
prefer to D.
⮚ D wins the pairwise comparison and gets 1
point.
157
∙ Compare B to C.
⮚ 4000 + 3000 + 5500 = 12500 voters
prefer B.
⮚ 7500 voters prefer to C.
⮚ B wins the pairwise comparison and gets 1
point.
∙ Compare B to D.
⮚ 7500 + 3000 + 5500 = 16000 voters
prefer B.
⮚ 4000 voters prefer to D.
⮚ B wins the pairwise comparison and gets 1
point.
∙ Compare C to D.
⮚ 7500 + 3000 = 10500 voters prefer C.
⮚ 4000 + 5500 = 9500 voters prefer D.
⮚ C wins the pairwise comparison and gets 1
point.
B 3
C 2
D 1
158
159
160
161
162
CHAPTER MATHEMATICS AS A TOOL :
GRAPH THEORY
7
LEARNING OUTCOMES:
Graph
Examples:
163
1.) Road Map
2.) Circuit Diagram
3.) Flow Chart
4.) Transportation Route
5.) Tree Diagram
1.)
The graph has 4 vertices and 4 edges
2.)
3.)
164
Note: From example 3;
Path
- A path in graph theory is a sequence of edges.
G1:
Paths Length
1.) ade 3
2.) adc 3
3.) bce 3
4.) abced 5
5.) adecb 5
165
3. If the direction is not indicated in the graph by an
arrow, the movement is can be in any direction to
find a path (you can move backward and forward).
However if there is an arrow indicating direction the
movement in finding a path is in accordance with the
indicated arrow .
G2
:
Paths Length
1. e4 e3 2
2. e3 e2 e4 3
3. e1 e5 e4 3
4. e1 e5 e4 e3 e2 5
5. e1 e5 e5 e4 4
G3:
166
1. adeecbd 7 XYZZZWYZ 7 8
)
2. cbdec 5 ZWYZZW 5 6
)
3. eecbdecc 8 ZZZWYZZWZ 8 9
)
Graph theory may be said to have its beginning in 1736 when EULER considered
the (general case of the) Königsberg bridge problem: Does there exist a walk
crossing each of the seven bridges of Königsberg exactly once?(Solution
Problema
tisadgeometriamsituspertinentis,CommentariiAcademiaeScientiarumImpe
rialisPetropolitanae 8 (1736), pp.128-140.) It took 200 years before the first book
on graph theory was written. This was
“TheoriederendlichenundunendlichenGraphen” (Teubner,Leipzig,1936) by
KÖNIG in 1936. Since then graph theory has developed into an extensive and
popular branch of mathematics, which has been applied to many problems in
mathematics, computer science, and other scientific and not- so- scientific areas.
For the history of early graph theory, see N.L. BIGGS,
R.J. LLOYD AND R.J. WILSON, “Graph Theory1736 – 1936”, Clarendon Press,
1986.-
167
The Konigsberg Bridge Problem
Closed Path
- A closed path is said to be closed path if the first and the last vertices
of its vertex sequence are the same.
Example:
G4:
Cycle
- a path is called a cycle if the following conditions are
satisfied: a.) the path is closed,
b.) the path repeat no edges,
c.) the vertices of the vertex sequence of the path are all distinct except
for the 1st and last vertices which are the same vertices.
168
Example:
G5:
- a graph is called connected graph if for any two given vertices there is
a path connecting them.
Example:
not connected
connected
169
connected
Complete Graph
Simple Graph
Example:
G8:
170
c.) Not a simple graph
Degree of a Vertex
Example:
A 3
B 6
a.) C 4
D 5
Acyclic Graph
Example:
G10:
a.) No cycle; acyclic
171
b.)
Not Acyclic
Weighted Graph
- A graph whose edges are assigned with weights. Weight may represent
mileage, time, cost, or some other quantities.
G11:
Note: The vertices correspond to the different cities while edges represent the
distances in kilometers.
Tree
- An acyclic connected graph.
- Properties:
a.) acyclic graph
b.) no cycle path
c.) connected graph
-Forest -refers to several trees
172
Example:
G12:
Acyclic, connected
-tree
Spanning Tree
Example:
G13:
G13.1 G13.2
Note: If a graph has an n-edges then there are n! Spanning tree in the graph.
173
Example:
G13.3 5 edges
5! = 120 spanning tree
- the minimal spanning tree of a graph is a spanning tree of the graph with a
minimum total weights
- a connected graph has always at least one minimal spanning tree.
Example:
G14:
G14.1
174
Two Special Circuits
A. Euler Circuit:
- A closed path in a graph which uses each of the edges exactly
once,
- Named after Leonard Euler(April 15, 1707 –September
18, 1783), a Swiss Mathematician and Physicist. He
started working on graphs from year 1736.
Euler Theorem:
-The graph has an Euler Circuit if the graph is connected and
the degree of the vertices must be even.
Euler Path
- a path that uses each edge of a graph exactly once.
175
c.)
Connected, contains Euler path,
All vertices has an even degree,
Contains Euler Circuit.
Graph Representation:
G16:
By Euler Theorem, the graph contains vertices having an odd degree; the
graph has no Euler Circuit. There is no closed path that will bring us to each
island by crossing each bridge exactly once.
176
Fleury’s Algorithm
-Is used to find an Euler Circuit in a graph if the graph has one.
Steps:
1. Select any of the vertices in the graph as the starting point.
2. Select any edge connected to the vertex selected in step 1. Remove the
edge. (The removal of the edge must not disconnect the starting vertex
or the starting point). After the removal of the edge a new vertex is
reach.
3. Select an edge connected to the new vertex and repeat step 2.
4. Repeat step 3 until the starting vertex is reach.
Example:
G17:
Remove edge d
Remove edge e
Remove edge c
177
Remove edge b
Remove edge a
The Puzzle
Example:
G18:
178
The graph has Hamilton circuit:
V1V2V3V4V5
a.)
Dirac’s Theorem
- Consider a connected graph with at least 3 vertices and no multiple
edges. Let n be the number of vertices in the graph. If every vertex has
degree of at least n/2, then the graph must be HAMILTONIAN.
Example:
G19:
Greedy Algorithm
- Also known as shortest path algorithm,
179
- Developed by Dijkstra.
Steps:
1. Choose a vertex to start at, then travel along the connected edge that has the
smallest weight.( if two or more vertices have the same weight, pick any one)
2. After arriving at the next vertex, travel along the edge of smallest weight
that connects to a vertex not yet visited. Continue this process until you have
visited all vertices.
3. Return to the starting vertex.
G11:
180
From C4, choose edge 160 (in this case edge 80 is not advisable since we
will cross C3 twice),
From C7, choose edge 110 instead of edge 70 (since we will cross C5 twice if we
choose edge 70),
181
From C5 choose edge 60,
182
The Hamilton Circuit is now completed, with a
vertex sequence: C1C2C4C7C8C5C6C3C1
total weight : 80+90+160+110+105+60+200+90=835.
The Edge-picking Algorithm
Steps:
1. Mark the edge of the smallest weight in the graph.(if two or more edges
have the same weight, pick only one)
2. Mark the edge of next smallest weight in the graph, as long as it does
not
complete a circuit does not add a third marked edge to a single vertex.
3. Continue this process until you can no longer mark any edges. Then
mark the final edge that completes the Hamiltonian circuit.
Planar Graph
-is a graph that can be drawn so that no edge intersects each
other (except at vertices)
Example:
G20: G20.1
a.)
182
G20.2 is NOT a planar graph since it cannot be re-drawn
(G20.3) without any intersecting edges.
Rule: If a graph has N vertices its matrix representation has NxN shape,
denoted by M.
W X Y Z
W 0 2 1 1
M= X 2 0 0 0
Y 1 0 0 1
Z 1 0 1 2
Note: 1.) The entries indicate the edges between the vertices.
M(W,X) = 2 means that there are 2 edges that connects W &
X.
M(X,Y) = 0 means that there is no edge that connects X & Y.
2.The diagonal indicates the loop/s in the graphs.
M(Z,Z) =2 means that there is a loop that is connected to vertex Z
3.)The degree of the vertex is equal to the sum of the entries in its row
or column.
Deg(W) = 4 (sum of its column entry or of its row
entries)
184
4.) The matrix is symmetric with respect to its
diagonal.
185
Determine M 2 = M x M
W X Y Z W X Y Z
W 0 1 1 1 W 0 1 1 1
MxM= X 1 0 1 1 x X 1 0 1 1
Y 1 1 0 1 Y 1 1 0 1
Z 1 1 1 0 Z 1 1 1 0
W X Y Z
W 3 2 2 2
M 2= X 2 3 2 2
Y 2 2 3 2
Z 2 2 2 3
186
Determine the minimum length of pipe that MAYNILAD is needed to connect
the 8 cities. Use the minimal spanning tree.
Solution:
187
How the map should be colored with 4 colors if no two adjacent states
should have with the same color?
Solution:
Draw the graph representation of the
map. a.) Vertices are the regions or
states
b.) Edges –to connect two vertices if the states or regions corresponding to
these vertices are adjacent.
Graph representation,
188
Travelling Salesman Problem (Hamiltonian Problem)
Example: In 1859, Sir William Rowan Hamilton marketed a game called Around the
World. The game consisted of a regular dodecahedron made of wood. Each corner bore
the name of a famous city of the world. The game was to find a path starting at any city,
travelling along the edges of the dodecahedron, visiting each city exactly once and
returning to the starting city. The diagram below represents the game. (Source: D.S.
Malik and M.K. Sen)
189
Therefore, one of the Hamiltonian Circuit that can be an answer to
the puzzle is the path with vertex sequence of
V1V2V3V4V5V14V13V12V11V10V9V8V7V17V18V19V20V16V15V6V1.
190
191
192
193
194
195
196
References:
Website :
www. Wikipedia
197
19
8
GLOSSARY
A
Acyclic graph - if graph has no cycle.
Apportionment - Is a method of dividing a whole into various parts.
Apportionment principle – when a new representative is added to a sub –
group
due to an increase in population.
Argument - reasons offered or against something.
B
Borda Count Method - Award points to candidates based on preference
Schedule, then declare the winner to the candidate with
most points.
C
D
Data - a result of experiment, observation, investigation and often
appears as numerical figure.
Decile- is a measure of position that divides the ordered observations or
score into ten equal parts.
Decoding - is the opposite process of encoding.
Decryption - is the process of returning/converting back the coded
message Into plain text.
Deductive reasoning - process of solving problems by applying
premises , syllogism and conclusion.
Degree of a vertex - is defined as the number of edges connected to the vertex.
Descriptive statistic - division of statistics that summarizes or describes the
important characteristics of a given data set.
Discrete variables - can assume a finite or countable number of values.
Dispersion - measure the degree of clustering of data about a central
point.
E
Edges – the connecting lines
Encoding - is transforming messages into bits of message that is suitable
to the communication channel.
Encryption - Is the process of transforming plain text into code form
using a certain algorithm.
Euler Circuit: - a closed path in a graph which uses each of the edges exactly
once,
Existential quantifier - means “ there exists “
F
Fibonacci sequence - is a series of numbers where a number us found by
adding the two numbers before it.
G
Golden ratio - also called the golden section, golden mean or divine
proportion.
Graph - a diagram that contains information and depicts connection
and relationship between the various parts of the diagram.
Graphene – means writing.
200
H
J
Jefferson plan method - is a method that uses a modified standard
divisor the
arrives at the correct or exact
numbers of representative using
trial and error .
201
L
P
Pairwise Comparison Method - compare each two candidates head-to-
head and award each candidate one point for each head-
to head victory.
Parallel Edges – are edges that connect the same vertices.
Parameter - numerical measures that describe the population of
interest.
Parity check - encoding scheme where in a single bit is added to the
message as
202
redundancy bit.
Path - in graph theory is a sequence of edges.
Pearson Product- Moment Correlation - Is the most familiar sort of
statistical tool in quantifying the linear relationship
between two random variables, x and y.
Percentiles – is a measure of position that divides the ordered
observations or score distribution into 100 equal parts.
Plain text - refers to the original message.
Plurality by Elimination - a voting method which is also known as an
instant
run-off voting and sequential run-off voting
Plurality Method - the winner is the candidate or choice with the
most votes.
Polya’s strategy - a four step problem solving strategy.
Population - set of complete collection of all possible values of the
variable. Premises – assertions that serve as the basis for an
argument.
Proposition - is a declarative statements that may expressed an idea
which can be true or false but not both.
Q
Quantiles - is a measure of position determines the position of a single
value in relation to other values in a sample or a
population data set.
Quartile- is a measure of position that divides the ordered observations
or score distribution into four equal parts.
T
Tree - an acyclic connected graph.
U
Universal quantifier - means “ for all “ or “ for every “
V
Variable - attribute of interest observable of each entity in the
universe. Variance - is the square of the deviation of data sets
from its mean.
Vertex Sequence - a path is written in terms of edges.
W
Weighted graph - a graph whose edges are assigned with weights. Weight
may represent mileage, time, cost, or some other quantities.
Z-score - these standard scores tell how far a raw score is from the
mean in standard deviation units.
204
20
5