MATHEMATICS-IN-THE-MODERN-WORLD
MATHEMATICS-IN-THE-MODERN-WORLD
Proposition – a declarative sentence that can be Simple Proposition – a proposition with only one subject
objectively identified as either true or false, but not both. If and only one predicate and cannot be deduced to simpler
a proposition is true, the truth value is true, represented as propositions. It conveys a single idea.
T or 1; conversely, if it is not true, the truth value is false, Example: Every cat that barks has PhD.
denoted as F or 0.
Compound proposition – a proposition formed by joining
Truth Table – a diagram in table form that is used to two or more simple propositions with a connective. It
show all the possible truth values of the given proposition. conveys two or more ideas.
Other ways to express the conditional statement p→q Let p and q be propositions (possibly compound). We say
1. p imples q 8. q is a necessary that p logically implies q, expressed as p ⟹ q, if the
2. p only if q condition for p conditional statement p → q is a tautology. If p ⟹ q and
3. p is sufficient for q 9. q if p
4. p is a sufficient 10. q whenever p
q ⟹ p, we say that p and q are logically equivalent and
condition for q 11. q when p we write p ⇔ q.
5. All p are q 12. q follows from p
6. ¬p˅q 13. q unless ¬p Contingency – a compound proposition that is neither a
7. q is necessary for p 14. q provided that p tautology nor a contradiction.
Inductive Reasoning:
Test number 3 7 11
Multiply by 3 9 21 33
Add 6 15 27 39
Divide by 3 5 9 13
Subtract the original number 2 2 2
A, A ⊆ A.
arrangement of elements in the list is immaterial). - Every set is a subset of itself. That is, for any set
Set-builder Notation – uses a variable (a symbol,
any set A, ∅ ⊆ A.
usually a letter, that can represent different elements - An empty set is a subset of every set. That is, for
R S AS T ER PO Remark:
R1 - The last constraints where x 1 , x 2 ≥ 0 is called the
R2 nonnegativity restrictions of the decision
R3 variable.
- All values of the decision variables that satisfy
LINEAR PROGRAMMING each linear constraint is called feasible solution.
- From this feasible solution, the objective is to find
Linear Programming – a mathematical method in the best feasible solution that will satisfy the
maximizing or minimizing linear functions subject to set of objective function called the optimal solution.
linear constraints. In business production, the objective
function is a linear function that either maximizes profit or 2. Jackie is a basketball player who regularly monitors
minimizes cost that is subject to a set of linear inequalities his diet so that regular intake of calories, sugar,
called linear constraints. These set of linear constraints carbohydrates, and protein will satisfy his daily
can be viewed as set of production requirements that is minimum nutritional requirements. Every day he
usually limited in quantity. prepares three foods—egg, rice, and chicken. Each
day he must consume at least 600 calories, 100 grams
Three Components of a Linear Programming Model: of sugar, 283 grams of carbohydrates, and 300 grams
Decision Variables that we want to determine; of protein. The nutritional content per unit of each food
Objective Function that we want to maximize or is shown in the following table.
minimize;
Set of Linear Constraints that the solution must calories sugar carbs protein unit
satisfy. price
Egg (1 72 1.1 0.4 7 PhP
EXAMPLES piece) 7.00
1. RAVLAM Company produces two types of abaniko Rice (1 204 0.08 44.08 4.2 PhP
fan, small and large, from three raw materials R1 , R 2 , cup) 10.00
Chicke 195 0 0 29.55 PhP
and R3 . The table below shows the materials used in
n (100 25.00
their production and the profit they earned for product: grams)
Objective Function:
Maximize: C=7 x 1+ 10 x 2 +25 x 3
Constraint:
Subject to: 72 x1 +204 x 2 +195 x 3 ≥ 600(calorie In this graph, a vertex is
constraint) adjacent to itself. Such
1.1 x1 +0.08 x 2 ≥ 100 (sugar edges are called loops.
constraint)
0.4 x 1 +44.08 x 2 ≥ 283 (carbohydrate
constraint) Let
7 x 1+ 4.2 x2 +29.55 x 3 ≥ 300(protein V = { 0 ,1 , 2 ,3 , 4 , 5 },
constraint)
x1 , x2 , x3 ≥ 0 (nonnegativity) E2= { ( x , y )| x ≠ y }
Let
G3=( V , E2 ) ={( 0 , 1 ) , ( 0 ,2 ) , ( 0 , 3 ) , ( 0 , 4 ) , ( 0 , 5 ) , ( 1 , 0 ) ,
Solution Set of Systems of Linear Inequalities ( 1 , 2 ) , ( 1 , 3 ) , ( 1 , 4 ) , ( 1 , 5 ) , ( 2 , 0 ) , ( 2 ,1 ) , ( 2 ,3 ) , ( 2 , 4 ) , ( 2 ,5 ) , ( 3 , 0 ) ,
( 3 , 1 ) , ( 3 , 2 ) , (3 , 4 ) , ( 3 ,5 ) , ( 4 , 0 ) , ( 4 , 1 ) , ( 4 , 2 ) , ( 4 , 3 ) , ( 4 ,5 ) , ( 5 , 0 ) ,
A system of linear inequalities in two variables x 1 and x 2 is
{
( 5 , 1) ,( 5 , 2) ,( 5 , 3) , ( 5 , 4 ) }
a set of two linear inequalities of the form
a 1 x 1+ b1 x 2 ≥(¿ ≤)c 1
a 2 x 1+ b2 x2 ≥(¿ ≤)c 2,
Cheapest Link Algorithm Two regions are called adjacent if they share a border
1. Draw a complete weighted graph for the problem. segment, not just a point. To determine the chromatic
2. Pick the edge with smallest overall weight. In case number for a given geographical map, it should be
of a tie, pick at random. represented as a graph where a vertex represents a
3. Pick the edge with the next smallest overall weight region, and vertices are adjacent if the region they
that doesn’t: represent are adjacent in the map.
3.1 enclose a smaller circuit that doesn’t reach
every vertex. Vertex Coloring Algorithm
3.2 result in three chosen edges coming from the 1. Determine the vertex with the highest degree.
same vertex. Assign to it the first color.
4. Repeat Step 2 until the Hamilton circuit is 2. Also, assign the first color to all vertices that are
complete. not adjacent to the chosen vertex.
3. Among the remaining vertices, determine the
Spanning Trees and Kruskal’s Algorithm vertex with the highest degree. Assign to it the
second color.
Tree – a graph in which any two vertices are connected 4. Also, assign the second color to all vertices that
by exactly one path. are neither adjacent to the second chosen vertex
nor to vertices that already received the second
Some properties of trees: color.
1. A tree has no circuits. 5. Continue doing Step 3 and 4 to until all vertices
2. Trees are connected graphs. are colored.
3. Every edge in a tree is a bridge. The number of colors used is the chromatic number.
4. A tree with n vertices has exactly (n-1) edges.