Course Module Design I and The World
Course Module Design I and The World
Copyright 2020
All rights reserved.
No part of this module shall be copied, printed, or stored in any retrieval system without
prior permission from the owner.
ISBN -0212-CNX
Titled “I and the World”, this module aims to help students in demonstrating
knowledge, skills and attitude in the course Mathematics in the Modern World.
This course module would not be a reality without the help of the following
individuals:
Title Page i
Copyright Page ii
Preface iii
Acknowledgment iv
References 59
Rubrics 60
Index 67
Appendices 71
Glossary 73
Answer Key 80
Unit 1
In the advent of real-world complex situations, decision makers opt to rely more upon the
concept of mathematics, specifically Linear Programming (LP) and its significance in solving
complex problems such as handling cases, product mix, process-and-cost management in
business entities as well as educational institutions, among others.
LP emerged as one among the extremely powerful tools that can be used effectively to
solve optimization problems having two or more variables or even thousands of variables under
consideration.
This chapter begins with solving linear programming problems using graphical method.
In this method, critical points are determined from feasible regions, and were evaluated
depending whether or not they satisfy the maximization or minimization objective function.
Elimination and substitution methods of solving linear systems involving two variables are also
included. However, given that real life problems involve more than two variables, graphical
method would not be enough; thus, simplex algorithm was discussed and illustrated
subsequently.
Along with the advances in computing, development in simplex algorithms for solving
programming problems flourish. Simplex algorithm was introduced in 1947 by George Dantzig,
American mathematical scientist. This approach promptly assumes a major role in the solution
of linear problems, through a mathematical model consequently obtaining a solution through a
programmable process called an algorithm, reflecting a range of managerial options, in
management problems for example.
Learning Outcomes
Assumptions
While solving for the linear programming problems, the following assumptions should be
kept in mind so that the best alternative for the objective function will be chosen.
Foremost, Linear Programming assumes linearity in all problems. This means that
expenses components shall add up. Nearly all the expressions of the objective function
associated with these problems will be linear i.e., they will be of the form
3 x+ 2 y + 4 z
where x , y ∧z are variables. Hence, the assumption of additivity, which asserts that the
total profit of the objective function is determined by the sum of profit contributed by each
product separately. Similarly, the total amount of resources used is determined by the sum of
resources used by each product separately. This implies, there is no interaction between the
decision variables.
Such an expression might represent the profit of a company or the number of units of a
resource required. Frequently the variables will represent the number of units to be produced of
each of the products made by a company.
The coefficients will be drawn from the data given in the problem. Thus, an equation
using this expression would have the form
3 x+ 2 y + 4 z = 50
3 x+ 2 y + 4 z ≤ 50.
Such an inequality might express a limitation on a raw material such as iron with the coefficients
3, 2, and 4 representing the units of iron required for a unit of each of the corresponding
products. Note that with these units assigned to the coefficients and the variables x , y ,and ,
each term in the sum has the same units – the number of units of iron – as a result of the
cancellation:
units of iron
4∙ ∙ x unit of product 1=4 x units of iron
unit of product 1
This is a critical observation since meaningful addition of several such terms requires
that they all have the same units.
The third assumption of linear programming is certainty. This means those objective
function coefficients, the coefficients of constraint equation or inequalities, as well as profit or
cost per unit of produce, availability of human resources and man hours, are known with
certainty in the linear programming problem.
Next is proportionality. Any change in the constraint inequalities will have the
proportional change in the objective function. For instance, if a product contributes ₱10 towards
the cost, then the contribution to the total cost is ₱50, if there are five units produced; or it would
be ₱250 if there are 25 units produced. Constraints, by the way, can be thought as limited
resources i.e. cost of production, number of staff or administrative hours, or number of men
required.
The sixth assumption is continuity. The decision variables are continuous and not
solely discrete (or fixed whole number values). This means a combination of outputs can be
used with the fractional values along with the integer values. For instance, one can plant
kamote in 40/3 acres of land and ube in 20/3 acres of land. The fractional or remaining amount,
therefore, will be taken as a work in progress.
Finally, linear programming should assume finite choices. This means that the one
making decision has options with assumption that decision variable have nonnegative value.
Non-negativity constraints should be considered, since the number of cases, number of working
hours, number of human resources, number of acres to be planted cannot be negative.
Problem 1
Nanay Salome wants to plant two root crops for the midyear: kamote (sweet potato) and
ube (winged yam) on her 20 acres of land and wishes to yield maximum revenue. It costs ₱40
to plant an acre of kamote and ₱10 to plant an acre of ube. If previous experience indicates a
return of ₱5 from each acre of kamote and ₱4 from each acre of ube planted, how many acres
of kamote and ube should be planted to maximize revenue, provided that Nanay Salome has
only ₱400 capital.
Problem 1 requires how many acres of kamote and ube should be planted in Nanay
Salome’s land. Note that Nanay Salome wishes a maximum revenue, from planting kamote and
ube on her 20 acres of land, given the costs to plant each root crop, the past record of return of
investment and the ₱400 capital. To help Nanay Salome in deciding how many acres of land
should be planted with kamote and ube, linear programming can be used, thus the following
steps will be undertaken.
a. Resource constraints
1. Total acres of land
2. Capital
b. Nonnegativity constraints
a. Acres to be planted with kamote
b. Acres to be planted with ube
The most common objectives of linear programming are to maximize profit, yield or to
minimize cost or expenses. Let the problem guide you in formulating the objective
function.
Maximize if the maximizing costs, profit, yield are explicitly or implicitly given; or
minimize if explicitly or implicitly stated otherwise.
In Problem 1, the objective is to maximize revenue from planting acres of kamote and
ube.
Analysis 1. Since past experience indicates a return of ₱5 from each acre of kamote
and ₱4 from each acre of ube, 5 and 4 can be coefficients to represent the revenue from
planting x acres of kamote or y acres of ube , respectively. Note that with these units
assigned to the coefficients and the variables, each term in the sum has the same units
– the revenue from planting acres of kamote or ube – as a result of the cancellation:
¿
5 revenue ¿ planting kamote acres of kamote ∙ x acres of kamote=5 x revenue ¿ planting kamote
¿
4 revenue ¿ planting ube acres of ube ∙ x acres of ube=4 y revenue ¿ planting ube
This is a critical observation since meaningful addition of several such terms requires
that they all have the same units,
In tabular form,
Max: z = 5 x+ 4 y
Where z is the maximum revenue, 5 x is the revenue for planting x acres of kamote and
4 y is the revenue for planting y acres of ube .
The equations or inequalities are based on the four (4) constraints stated above:
For Constraint 1 - Total acres of land, if there are x acres of land to be planted with
kamote and y acres of land to be planted with ube, then the equation or inequality for
total acres of land to be planted with kamote and ube is:
x + y ≤ 20
For Constraint 2 - Capital, if it costs ₱40 to plant an acre of kamote and ₱10 to plant
an acre of ube, then the equation or inequality for Capital to be used in planting with
kamote and ube is:
40 x +10 y ≤ 400
x ≥0
y ≥0
for acres to be planted with ube, because it is impossible to have negative 5 acres of
land.
The formulation of equations or inequalities that express the above constraints is similar
to Analysis 1.
¿
40 cost ¿ planting kamote acres of kamote ∙ x acres of kamote=40 x cost ¿ planting kamote
¿
10 cost ¿ planting ube acres of ube ∙ x acres of ube=10 y cost ¿ planting ube
Thus,
40 x cost ¿ planting kamote +10 y cost ¿ planting ube=total costs ¿ planting root crops (kamote∧ube)
Step 4. Graph the equations or inequalities and shade the set of feasible solutions called
the critical region
Graphing the equation or inequalities in Step 3 listed below requires knowledge about x -
and y - intercepts.
x + y ≤ 20
40 x +10 y ≤ 400
x≥0
y ≥0
To graph x + y ≤ 20 , determine the x - and y - intercepts.
x - intercept is the value of x or a point where the graph of touches the horizontal axis or
the x -axis in the famous Rectangular Coordinate System, also known as xy -plane, Cartesian
Coordinate Plane of Cartesian plane.
In Problem 1, the x - intercept is the number of acres of land to be planted with kamote,
when there are no acres of land to be used in planting ube.
y - intercept, on the other hand, is the value of y or a point where the graph of touches
the vertical axis or the y -axis in the infamous Rectangular Coordinate System, also known as
xy -plane, Cartesian Coordinate Plane of Cartesian plane.
In Problem 1, the y - intercept is the number of acres of land to be planted with ube,
when there are no acres of land to be used in planting kamote.
Thus, in + y ≤ 20 , when x=0 , y ≤20 . So the ordered pair will be (0, 20).
And when y=0 , x=20 . So the ordered pair will be (20, 0).
Using the same process, the following are the graphs of 40 x +10 y ≤ 400; x ≥ 0; and y ≥0 ,
respectively.
Fig 13.2 Graph of 40 x +10 y ≤ 400 Fig 13.4 Graph of x≥0 Fig 13.4 Graph of y ≥0
x≥0
x + y ≤ 20
y ≥0
The critical region is the region shaded in green, the quadrilateral ACEO. This is where
all graphs of the constraints overlap. The points above the line in red do not belong to the
feasible region.
The critical points are corners of the critical region. As shown in the Figure, there are six
(6) points identified: the origin, O (0,0), the x-intercepts A (20,0) and E(10,0), the y-
intercepts B (0,20), and D(0,40); and the point of intersection of the equation of
constraints 40 x +10 y ≤ 400 and x + y ≤ 20 which is C (20/3,40/3).
However, only four (4) points: O (0,0), B(0,20), C (20/3, 40/3), and E (10,0) are said to
be critical points or corners of the critical region or set of feasible solution. These points
will be used to determine what produces maximum value of the objective function.
x = 20/3 and y = 40/3 can be determined using the process of elimination or
substitution.
40
Step 5.3a. Substitute : y= to the first equation x + y=20
3
x+ y = 20 Given
40 = 20 Substitution Property
( )
x+
3
40 −40 = −40 Addition Property of Equality (APE)
x + +(
3 ) ( )
20+
3 3
X = 20
3
So x = 20/3 and y = 40/3
40
Step 5.3a. Substitute : y= to the first equation x + y=20
3
x+ y = 20 Given
= 20 Substitution Property
( 403 )
x+
Step 6. Choose the point producing the maximum (or minimum value) of the objective
function
In choosing the point that satisfies the objective function z, apply points to the function.
If we consider all six (6) identified points stated above, the pair which yield the maximum value
is (0, 40), followed by (20,0), then (20/3, 40/3); however the two points (20,0) and (0,40) cannot
be considered since they do not satisfy all the four (4) constraints. Therefore, they will be
excluded.
Points Constraints
(x,y) x + y ≤ 20 40 x +10 y ≤ 400 x≥0 y ≥0
For the point (20,0), it satisfies all the constraints, EXCEPT 40 x +10 y ≤ 400 , since
40(20)+10(0) = 800 is not less than or equal to 400; while, for the point (0,40), it satisfies all the
constraints, EXCEPT x + y ≤ 20 , since 0+40 = 40 is not less than or equal to 20.
Thus, among the four (4) critical points, (20/3, 40/3) will be the solution that yields the
maximum value. This means 20/3 acres will be planted with kamote, while 40/3 acres will
be planted with ube, so as to gain the maximum revenue of 260/3 or ₱86.66.
Example 1.
The Local Government Unit (LGU) is planning to maximize the total number of
Ombudsman cases filed against officials and employees. Normally, LGU deals with cases
categorized into two: Type X and Type Y. LGU has been provided with a ₱40,000 budget, 3000
staff hours, and 3000 administrative hours. It usually takes 30 staff hours to complete each Type
X case and 10 staff hours for a Type Y case. Also, each Type X and Type Y case costs the
same ₱200 to complete. A Type X case uses 10 administrative hours, while a Type Y takes 30
administrative hours. How many Type X and Y Ombudsman cases shall the LGU file?
1. Number of Type X Ombudsman cases shall the LGU file (let this be x ), and;
2. Number of Type Y Ombudsman cases shall the LGU file (let this be y ).
There are five (5) constraints: 3 resource constraints and 2 non-negativity constraints
a. Resource constraints
1. Budget
2. Staff hours
3. Administrative hours
b. Nonnegativity constraints
1. Number of Type X cases
2. Number of Type Y cases
In Example 1, the objective is to maximize the total number of Ombudsman cases filed
against officials and employees
Table 13.6a. Formulation of Total Number of Cases Given Decision Variables and
Coefficients
Max: z = x+ y
The equations or inequalities are based on the five (5) constraints stated above: three
(3) Resource constraints, namely: Budget, Staff hours, and Administrative hours; and
Nonnegativity constraints: Number of Type X cases and Number of Type Y cases.
x ≥0 and y ≥0
Step 4. Graph the equations or inequalities and shade the set of feasible solutions called
the critical region
Graph the equation or inequalities in Step 3 using the x - and y - intercepts in one
Cartesian plane, same as shown below:
30 x+ 10 y ≤ 3,000
x≥0
10 x+ 30 y ≤ 3,000
y ≥0
Fig. 13.6 Graphs of 200 x+ 200 y ≤ 40,000 , 30 x+ 10 y ≤ 3,000, 10 x+ 30 y ≤ 3,000 , x ≥ 0 , y ≥0
The critical region is the quadrilateral OHGF. The points above the line in red do not
belong to the feasible region.
By determining the x – and y−¿intercepts and point of intersection, the critical points O
(0,0), H (0, 100), G (75,75), and F (100,0) are determined.
Step 6. Choose the point producing the maximum (or minimum value) of the objective
function
In choosing the point that satisfies the objective function z, apply points to the function.
Objective Objective
Number of Number of Type X
Point Function Function
Type X cases cases
z = x+ y Value
O (0,0) 0 0 0+0 0
F (100,0) 100 0 100+0 100
G (75, 75) 75 75 75+75 150
H (0,100) 0 100 0+100 100
Fig. 13.6 Critical Points
Thus, among the four (4) critical points, (75, 75) will be the solution that yields the
maximum total number of Ombudsman cases filed against officials and employees. This
means 75 cases of Type X and also 75 cases of Type Y shall be filed by LGU .
Example 2.
A Food Chemist was requested by the PESA director of Jose Rizal Memorial State University
(JRMSU) to develop food that varsity players can eat during their training programs. The
Chemist intends to mix two separate products M and N, with consideration of the following data:
Product M costs ₱10 per ounce while product N costs ₱20 per ounce. Determine the product
mix that will give minimal cost.
Steps Solution
Ste Identify the decision Let x be the ounces of Product M
p1 variable/s and the
and y be the ounces of Product N
constraints
There are 4 resources constraints (Cost for Calcium,
Selenium, Magnesium, and Zinc) and 2 nonnegativity
constraint
Ste Formulate the Minimize: z=10 x+ 20 y
p2 objective function z .
Indicate whether it is
Since Product M costs ₱10 per ounce while
maximum or minimum
product N costs ₱20 per ounce
Learning Activities
1. A&B manufactures two electrical products: electric iron and electric fans. The assembly
process for each is similar in that both require a certain amount of wiring and drilling.
Each electric iron must go through 2 hours of wiring and 1 hour of drilling. Each electric
fan takes 3 hours of wiring and 2 hours of drilling. During the next production period, 240
hours of wiring time is available and up to 140 hours of drilling time may be used. Each
electric iron sold yields ₱150 profit. How many units of both products should A&B
produce in order to obtain the largest possible profit?
Thank you for trying to answer the activity. If you have solved it without difficulty, go to
Unit II of this module. If you want to solve linear program problems, go to
http://www.phpsimplex.com/simplex/page4.php?f=1&l=en. You may go to the next
activity with instructions below to level up your performance.
If you have problems, feel free to contact me through SMS, phone calls or via email
indicated in the course syllabus.
Activity 2. Visit any store in your community, for example, a fruit store. Help the seller in
maximizing his profit. Do the following:
Accuracy 91%-100% of all 75% - 90% of all 50% - 74% of all 49% or below of
item answers item answers item answers all item answers
correct. are correct. are correct are correct.
Index
Linear Program 1
Constraint 1, 2, 5, 8
Graphical solutions 2, 3, 4, 5
Tableau, 13
Glossary
Graphical solution. This solution makes use of x-y plane in solving problems.
Answer to Exercises
Activity 1
1. 134
2. 12
References
Altares, et. al (2004). Qualitative Techniques for Business with Computer Applications. Rex
Bookstore.
Bradley, Stephen P., Arnolod C. Hax, and Thomas L. Magnanti (1977). Applied Mathematical
Programming. Addison-Wesley Publishing Company.
Dantzig, George B. (1963). Linear Programming and Extensions. Princeton University Press.
https://www.desmos.com/calculator
http://www.phpsimplex.com/simplex/page4.php?f=1&l=en