Professional Documents
Culture Documents
MATHEMATICS OF EFFICIENCY
Objective Function
➢ defines the quantity to be optimized, and the goal of linear programming is to find the values of the variables that
maximize or minimize the objective function
Properties of LP Models
➢ Seek to minimize or maximize
○ Minimize - the use of scarce resources or when we minimize cost; determining the most efficient
combination of skilled and not-skilled laborers to minimize the cost of labor and the likes
○ Maximize - maximizing the profit by finding ways on using the resources; determining the quantity of
product to manufacture to obtain maximum profit while considering several constraints
➢ Include “constraints” or limitations
○ When solving LP problems, we are constrained into conditions such as scarcity of materials or resources
because in production, we do not have unlimited resources and manpower.
➢ There must be alternatives available
➢ All equations are linear
Problem Formulation
➢ Problem formulation or modeling is the process of translating a verbal statement of a problem into a mathematical
statement.
LP Model Formulation
➢ Decision variables
○ Mathematical symbols representing levels of activity of an operation
○ Any letter/variable from the English alphabet can be used
➢ Objective function
○ Linear relationship reflecting the objective of an operation
○ Most frequent objective of business firms is to maximize profit
■ In business application, the main objective is to maximize profit and minimize cost.
○ Most frequent objective of individual operational units (such as production or packaging) is to minimize
cost
➢ Constraint
○ Linear relationship representing a restriction on decision making
■ When making a decision, we are always limited to defending our capacities or resources.
Graphical Procedure/Solution
➢ Plot model constraint on a set of coordinates in a plane
○ graphing linear functions
➢ Solve simultaneous each equations at each corner point to find the solution values at each point
○ Solving systems of linear equations or when we have 2 equations of lines intersecting on a cartesian plane
and solving the coordinates for those lines
➢ Substitute these values in the objective function to find the set of values that results in the maximum p value.
Graphical Method
➢ The graphical method makes use of graphical techniques to determine the optimal solution for a linear
programming problem wherein we identify first the feasible region and its extreme points. Then we use tabulation
techniques to determine what is the highest profit or gain as well as the minimum cost.
➢ The problem with the graphical method is that it is only effective with problems with 2 variables. It is not
advisable for 3 or more variables because nawawala yung efficiency ng method na iyon.
➢ Has only 3 general steps
Example of a Linear Model
Max/min: (objective) P = c 1x1 + c2x2 + … + cnxn (objective function)(profit)
Subject to: (constraint) (inequalities)
Example #1
Maximize: P = 5x + 7y
Subject to: x≤6
2x + 3y ≤ 19
x+y≤8
x,y ≥ 0
Our values for the decision variables (x and y) should always be equal or greater than 0. We do not accept negative values
for a linear programming problem.
2x + 3y = 19 x+y=8
2(0) + 3y = 19 (0) + y = 8
3y = 19 / 3 y=8
y=6⅓
x ≤ 6 → (9 ½, 6 ⅓)
2x + 3y ≤ 19 → (8, 8)
x + y ≤ 8 → (6,0)
➢ This is called the cartesian coordinate plane on the 1st quadrant.
➢ The lines and the shaded regions represent all the possible points or possible values of x and y that satisfy our
inequalities.
Feasible Region
➢ a region where all inequalities overlap
➢ contains all the possible solutions for our problem
➢ gives us the maximum value for our objective function
-2 (x + y = 8) x+y=8
-2x – 2y = -16 x+3=8
2x + 3y = 19 x=8–3
y=3 x=5
Step 3. Substitute the point to the objective function.
Vertex P = 5x + 7y Value
(0,0) P = 5(0) + 7(0) 0
(6,0) P = 5(6) + 7(0) 30
(6,2) P = 5(6) + 7(2) 44
(5,3) P = 5(5) + 7(3) 46 Max
(0,6 ⅓) P = 5(0) + 7(6 ⅓) 44 ⅓
Example #2
This is an LP problem with data showing the gist of how products are being produced in terms of its cost and revenue.
There are 40 hours of labor and 120 pounds of clay available each day.
Decision variables:
x = number of bowls to produce
y = number of mugs to produce
4x + 3y = 120 4x + 3y = 120
4x + 3(0) = 120 4(0) + 3y = 120
4x = 120 / 4 3y = 120 / 3
x = 30 y = 40
x + 2y ≤ 40 → (40,20)
4x + 3y ≤ 120 → (30,40)
5x + y = 100 x + y = 60
5(0) + y = 100 (0) + y = 60
y = 100 y = 60
5x + y ≤ 100 → (20,100)
x + y ≤ 60 → (60,60)
Example #4
Maximize: P = x + 2y
Subject to: x + 2y ≥ 100
2x – y ≤ 0
2x + y ≤ 200
x,y ≥ 0
Step 1. Graph the constraints.
x + 2y = 100 2x – y = 0 2x + y = 200
x + 2(0) = 100 2x – (0) = 0 2x + (0) = 200
x = 100 2x = 0 / 2 2x = 200 / 2
x=0 x = 100
x + 2y = 100 2x – y = 0 2x + y = 200
(0) + 2y = 100 2(0) – y = 0 2(0) + y = 200
2y = 100 / 2 y=0 y = 200
y = 50
x + 2y ≥ 100 →(100,50)
2x – y ≤ 0 →(0,0)
2x + y ≤ 200 →(100,200)
Step 2. Find the extreme points.
Example #1
A farmer plans to use his fields to plant corn and wheat. Corn yields 113.5 bushels per acre and sells for $3.15 per bushels.
Wheat yields 35.8 bushels per acre and sells for $4.45 per bushel.
His constraints are:
1. No more than 120 acres of corn and wheat.
2. At least 20 acres and no more than 80 acres of corn.
3. At least 30 acres of wheat.
Example #2
A farmer has 50 acres of available land where he wants to plant a mixture of corn and spinach. Labor costs him $200 per
acre of corn and $250 per acre of spinach. Seeds cost him $200 per acre of corn and $100 per acre of spinach. He has a
maximum of $8,000 to spend on seeds and $12,000 on labor. He makes a profit of $120 per acre of corn and $60 per acre
of spinach. How many acres of each crop should he plant?
Corn Spinach
Profit 120 60
Land x y ≤ 50
Labor 200 250 ≤ 12,000
Seeds 200 100 ≤ 8,000
Let: x → corn
y → spinach
Example #3
Delia wishes to mix two types of food P and Q in such a way that the vitamin contents of the mixture contain at least 8
units of vitamin A and 11 units of vitamin B. Food P costs Php 40/kg and food Q costs Php 53/kg. Foop P contains 3
units/kg of Vitamin A and 5 units/kg of Vitamin B while Food Q contains 4 units/kg of Vitamin A and 2 units/kg of
Vitamin B. Determine the minimum cost of the mixture.
Food P Food Q
Cost 40 53
Vitamin A 3 4 ≥8
Vitamin B 5 2 ≥ 11
Let: x → kg of food P
y → kg of food Q
Simplex Method
➢ Has numerous processes compared to the graphical method.
➢ Effective for problems with 3 or more variables.
Sample Problem #1
A manufacturer produces three types of plastic fixture. The time required for molding, trimming, and packaging is given
in the table. (Times are given in hours per dozen fixtures). How many dozen of each type of fixture should be produced to
obtain a maximum profit?
New R3 = -⅓ R1 + R3
-⅓ [ ½ 1 ¼ ½ 0 0 | 6,000 ]
+ [ ½ ⅓ ½ 0 0 1 | 2,400 ]
= [ ⅓ 0 5/12 -⅙ 0 1 | 400 ]
x1 x2 x3 s1 s2 s3 P
½ 1 ¼ ½ 0 0 6,000
⅓ 0 ⅚ -⅓ 1 0 600
5
⅓ 0 /12 -⅙ 0 1 400
-11 -16 -15 0 0 0 0
New R4 = 16R1 + R4
16 [ ½ 1 ¼ ½ 0 0 | 6,000 ]
+ [ -11 -16 -15 0 0 0 | 0 ]
= [ -3 0 -11 8 0 0 | 96,000 ]
x1 x2 x3 s1 s2 s3 P
½ 1 ¼ ½ 0 0 6,000
⅓ 0 ⅚ -⅓ 1 0 600
5
⅓ 0 /12 -⅙ 0 1 400
-3 0 -11 8 0 0 96,000
*1st Iteration*
Step 10. Repeat the process from Step 7 to 9 if there is still a negative number at the last row.
Determine the pivot column, row, and element.
x1 x2 x3 s1 s2 s3 P
½ 1 ¼ ½ 0 0 6,000 6,000 ÷ ¼ = 24,000
⅓ 0 ⅚ -⅓ 1 0 600 600 ÷ ⅚ = 720
5
⅓ 0 /12 -⅙ 0 1 400 400 ÷ 5/12 = 960
-3 0 -11 8 0 0 96,000
New R3 = -5/12 R2 + R3
-¼ [ ⅖ 0 1 -⅖ 6/5 0 | 720 ]
+ [ ⅓ 0 5/12 -⅙ 0 1 | 400 ]
= [ ⅙ 0 0 0 -½ 1 | 100 ]
x1 x2 x3 s1 s2 s3 P
3
⅖ 1 0 ⅗ - /10 0 5,820
6
⅖ 0 1 -⅖ /5 0 720
⅙ 0 0 0 -½ 1 100
-3 0 -11 8 0 0 96,000
New R4 = 11R2 + R4
11 [ ⅖ 0 1 -⅖ 6/5 0 | 720 ]
+ [ -3 0 -11 8 0 0 | 96,000 ]
= [ 7/5 0 0 18/5 66/5 0 | 103,920 ]
x1 x2 x3 s1 s2 s3 P
3
⅖ 1 0 ⅗ - /10 0 5,820
6
⅖ 0 1 -⅖ /5 0 720
⅙ 0 0 0 -½ 1 100
7 18 66
/5 0 0 /5 /5 0 103,920
*2nd/Final Iteration*
Step 11. Interpret the simplex tableau.
x1 x2 x3 s1 s2 s3 P
3
⅖ 1 0 ⅗ - /10 0 5,820
6
⅖ 0 1 -⅖ /5 0 720
⅙ 0 0 0 -½ 1 100
7 18 66
/5 0 0 /5 /5 0 103,920
P = 103,920
x1 = 0
x2 = 5,820
x3 = 720
s1 = 0
s2 = 0
s3 = 100
A farmer owns a 300 acre farm and plans to plant at most three crops (wheat, corn, cotton). The seed for crops
wheat, corn and cotton costs $30, $40, and $50 per acre, respectively. A maximum of $6400 can be spent on seed. Crops
wheat, corn, cotton require 1, 1, and 2 work days per acre, respectively, and there are a maximum of 200 work days
available. If the farmer can make a profit of $200 per acre on wheat, $250 per acre on corn, and $100 per acre on cotton:
New R4 = 250R2 + R4
5
250 [ ¾ 1 /4 0 1/40 0 | 160 ]
+ [ -200 -250 -100 0 0 1 | 0 ]
= [ -25/2 0 425
/2 0 25/4 1 | 40,000 ]
x1 x2 x3 s1 s2 s3 P
1
¼ 0 -¼ 1 - /40 0 140
5 1
¾ 1 /4 0 /40 0 160
1
¼ 0 ¾ 0 - /40 1 40
-25/2 0 425
/2 0 25
/4 1 40,000
Step 10. Repeat the process from Step 7 to 9 if there is still a negative number at the last row.
Determine the pivot column, row, and element.
x1 x2 x3 s1 s2 s3 P
¼ 0 -¼ 1 -1/40 0 140 140 ÷ ¼ = 560
5 1
¾ 1 /4 0 /40 0 160 160 ÷ ¾ = 213 ⅓
1
¼ 0 ¾ 0 - /40 1 40 40 ÷ ¼ = 160
-25/2 0 425
/2 0 25
/4 1 40,000
New R2 = -¾ R3 + R2
-¾ [ 1 0 3 0 -1/10 4 | 160 ]
+ [ ¾ 1 5/4 0 1/40 0 | 160 ]
= [ 0 1 -1 0 1/10 -3 | 40 ]
x1 x2 x3 s1 s2 s3 P
0 0 -1 1 0 -1 100
1
0 1 -1 0 /10 -3 40
1
1 0 3 0 - /10 4 160
-25/2 0 425
/2 0 25
/4 1 40,000
New R4 = 25/2 R3 + R4
25
/2 [ 1 0 3 0 -1/10 4 | 160 ]
+ [ -25/2 0 425/2 0 25/4 1 | 40,000 ]
= [ 0 0 250 0 5 50 | 42,000 ]
x1 x2 x3 s1 s2 s3 P
0 0 -1 1 0 -1 100
1
0 1 -1 0 /10 -3 40
1 0 3 0 -1/10 4 160
0 0 250 0 5 50 42,000
P = 42,000 1. How many acres of each crop should be planted to maximize profit?
x1 = 160 (acres of wheat) a. 160 acres of wheat and 40 acres of corn
x2 = 40 (acres of corn) 2. What is the maximum profit?
x3 = 0 a. P = $42,000
s1 = 100 3. How many acres are planted?
s2 = 0 a. 160 acres of wheat + 40 acres of corn = 200 acres
s3 = 0 4. How much money is used?
a. 30(160) + 40(40) + 50(0) = $6,400 of seed money is used
5. How many days are used?
a. 1(160) + 1(40) + 2(0) = 200 days are used
Prepared by:
Micah Joy Gamotea, DVM 1B
UNIT V
MATHEMATICS OF FINANCE
Interest
➢ Charges fee for the advantage of borrowing money
Principal
➢ Money you loan or credit to/from someone
Interest Rate
➢ Percent charged to the principle
Interest Period
➢ Time period
Simple Interest
➢ Technique used to calculate the proportion of interest paid on sum over a set time period at a set rate.
Examples:
1. Rosario borrowed 10,000 for one year at a rate of 8% simple interest. Compute the interest
Given: I= Prt
P= 10,000 = (10,000)(0.08)(1)
r= 8 % / 0.08 = 800
t= 1 year
2. Find the simple interest on loans of 10,200 when the rate is 4% and the loan period are 6 months; and 3 years.
Given: I= Prt
P= 10,200 = (10,200)(0.04)(6/12)
r= 4 % / 0.04 = 204
t= 6 months
Given: I= Prt
P= 10,200 = (10,200)(0.04)(3)
r= 4 % / 0.04 = 1, 224
t= 3 year
Given: I= Prt
P= 12,000 =(12,000)(0.03)(120/360)
r= 3 % / 0.03 = (12,000)(0.03)(0.3)
t= 120/360 =(4,000)(0.03)
=120
Given: I= Prt
P= 12,000 =(12,000)(0.03)(120/365)
r= 3 % / 0.03 =(12,000)(0.03)(0.328)
t= 120/365 =(3,945.2)(0.03)
=118.36
Examples:
1. Joanne lends ₱8,000 to her friend Dyan, so that Dyan can fly to Palawan to visit her family there. If Joanne is
charging Dyan only 3% simple interest within 6 months, how much does Dyan need to pay?
2. What is the annual interest rate earned by a 33 – day T-bill with a future value of $1,000 that sells for $996.16?
Miscellaneous Formulas
P= I / rt r= I / Pt T = I / Pr
Example:
1. If 20,000 is invested for 2 years at 6% compounded annually, compute the future value of the investment
2. Find the future value of 38,000 invested for 5 years at 5% compounded quarterly
Example:
1. Mrs. Celestine has a 12 years old son and she is planning to invest for her son’s education that will worth 120,000
when he turns 18. If Mrs. Celeste can earn 5% compounded semi-annually, how much money should she put into
each investment today?
Inflation
➢ It is the rate at which the prices for goods and services are rising. Hence, the purchasing power of currency is
falling.
Example:
1. Assuming an annual inflation rate of 3%, what is the equivalent value of 50,000 10 years from now?
Loan
➢ Money you borrow for large purchases
Amortization
➢ Process of repaying the loan with regular scheduled payments
Annuities
➢ Lump-sum deposit with regular withdrawals over a period of time
Type of Annuities
● Pays at a fixed rate ● Pays based on the value of an ● You actually own an
● With a fixed interest rate, you indexed market investment inside an account
know in advance how much ● Has the CAP and floor ● No limit
your annuity will grow and ● There are two phases to an ● The value of
how much income it will pay annuity contract – the which can vary based on the
out. accumulation (savings) phase performance of an underlying
and the annuity (payout) portfolio of sub accounts
phase (mutual funds).
● A type of annuity contract
between you
and an insurance company.
● promises to provide returns
linked to the performance
of a market index.
Ordinary annuity
➢ Makes payments at the end of each period.
➢ Eg: Bonds
Annuity Due
➢ payments come at the beginning of each period.
➢ Eg: Rent
𝑛𝑡
Given: 𝐶 [ (1 + 𝑟/𝑛 ) − 1 /(𝑟/𝑛)
4(10)
C= 10,000 10, 000[ (1 + 0. 07/4 ) − 1 /(0. 07/4)
40
r= 0.07 / 7% 10, 000[ (1 + 0. 0175) − 1 /(0. 0175)
40
t= 10 years 10, 000[ (1. 0175) − 1 /(0. 0175)
n= 4 10, 000[ (2. 00159734319) − 1 /(0. 0175)
10, 000 (57. 2341338963)
572, 341. 34
2. Betty deposits $2000 annually into an investment that earns 6.85% compounded annually. Due to a change in
employment, these deposits stop after 10 years, but the account continues to earn interest until Betty retires 25
years after the last deposit is made. How much is in the account when Betty retires?
Accumulation Period:
𝑛𝑡
Given: 𝐶 [ (1 + 𝑟/𝑛 ) − 1 /(𝑟/𝑛)
1(10)
C= 20,000 20, 000[ (1 + 0. 0685/1 ) − 1 /(0. 0685/1)
10
r= 6.85 % 20, 000[ (1. 0685) − 1 /(0. 0685)
t= 10 years 20, 000[ (0. 93974778671) /(0. 0685)
n= 1 20, 000[ (2. 00159734319) /(0. 0685)
20, 000 (13. 7189457913)
27, 437. 8915826
Example:
1. You decide to buy a TV set for Php 40,000 and agree to pay for it for 18 equal monthly payments at 18%
compounded monthly. How much are your payments? What is the total interest paid?
−𝑛𝑡
Given: PV=𝐶 [1 − (1 + 𝑟/𝑛 ) /(𝑟/𝑛)]
−12(1.5)
PV= 40,000 40, 000 = 𝐶 1 − [ (1 + 0. 18/12 ) ]
−12(1.5)
r= 0.18 / 18% 40, 000 = 𝐶 [ 1 − 0. 76491159 / 0. 015]
t= 18 months or 1.5 years 40, 000 = 𝐶 [ 15. 67256067]
n= 12 40, 00/ [ 15. 67256067 = 𝐶 = 2, 552. 23]
Total interest = 18(2552.23) - 40000
= 45940.14 - 40000
= 5940.14
Amortization
➢ The action or process of reducing or paying off a debt with regular payments
➢ A period in which a debt is reduced or paid off by regular payments
Example:
1. Benny purchased a house-and-lot worth Php 1,410,000, he made a down payment of Php 150,000 and
the remaining is through bank loan. He was approved for a 20-year mortgage with a rate of 5%
compounded monthly. Determine the monthly payment of Benny?
−𝑛𝑡
PV=𝐶 [1 − (1 + 𝑟/𝑛 ) − /(𝑟/𝑛)]
−12(20)
1, 260, 000 = 𝐶[ 1 − (1 + 0. 05/12 ) / (0. 05/12)]
−12(20)
1, 260, 000 = 𝐶[ 1 − (1. 00416667) / (0. 00416667)]
1, 260, 000 = 𝐶 ( 88. 47454566)
1, 260, 000/ ( 88. 47454566) = 𝐶 = 14, 241. 38)
2. Neil’s refrigerator has stopped working and he needs to get a new one. He purchased a new for Php 36,000. He
paid a 10% down payment and obtain a loan for the balance. The interest charged on the loan was 7.5% APR
compounded monthly. He repaid the loan and interest in equal monthly installment for over a period of two years.
a. Monthly payment
b. Interest on the loan
−𝑛𝑡
PV=𝐶 [1 − (1 + 𝑟/𝑛 ) − /(𝑟/𝑛)]
−12(2)
32, 400 = 𝐶[ 1 − (1 + 0. 075/12 ) / (0. 075/12)]
−24)
32, 400 = 𝐶[ 1 − 1. 00625) / 0. 00625]
32, 400/ 22. 22242338 = 𝐶 = 1, 457. 99
Prepared by:
Sierilyn Ilao , DVM 1B