In this chapter, you will learn to:
- Solve linear programming problems that maximize the objective function.
- Solve linear programming problems that minimize the objective function.
Inside Collection: Applied Finite Mathematics
Summary: This chapter covers principles of a geometrical approach to linear programming. After completing this chapter students should be able to: solve linear programming problems that maximize the objective function and solve linear programming problems that minimize the objective function.
In this chapter, you will learn to:
Application problems in business, economics, and social and life sciences often ask us to make decisions on the basis of certain conditions. These conditions or constraints often take the form of inequalities. In this section, we will look at such problems.
A typical linear programming problem consists of finding an extreme value of a linear function subject to certain constraints. We are either trying to maximize or minimize our function. That is why these linear programming problems are classified as maximization or minimization problems, or just optimization problems. The function we are trying to optimize is called an objective function, and the conditions that must be satisfied are called constraints. In this chapter, we will do problems that involve only two variables, and therefore, can be solved by graphing. We begin by solving a maximization problem.
Niki holds two part-time jobs, Job I and Job II. She never wants to work more than a total of 12 hours a week. She has determined that for every hour she works at Job I, she needs 2 hours of preparation time, and for every hour she works at Job II, she needs one hour of preparation time, and she cannot spend more than 16 hours for preparation. If she makes $40 an hour at Job I, and $30 an hour at Job II, how many hours should she work per week at each job to maximize her income?
We start by choosing our variables.
Let
and
Now we write the objective function. Since Niki gets paid $40 an hour at Job I, and $30 an hour at Job II, her total income I is given by the following equation.
Our next task is to find the constraints. The second sentence in the problem states, "She never wants to work more than a total of 12 hours a week." This translates into the following constraint:
The third sentence states, "For every hour she works at Job I, she needs 2 hours of preparation time, and for every hour she works at Job II, she needs one hour of preparation time, and she cannot spend more than 16 hours for preparation." The translation follows.
The fact that
Well, good news! We have formulated the problem. We restate it as
Maximize
Subject to:
In order to solve the problem, we graph the constraints as follows.
![]() |
Observe that we have shaded the region where all conditions are satisfied. This region is called the feasibility region or the feasibility polygon.
The Fundamental Theorem of Linear Programming states that the maximum (or minimum) value of the objective function always takes place at the vertices of the feasibility region.
Therefore, we will identify all the vertices of the feasibility region. We call these points critical points. They are listed as (0, 0), (0, 12), (4, 8), (8, 0). To maximize Niki's income, we will substitute these points in the objective function to see which point gives us the highest income per week. We list the results below.
| Critical Points | Income |
| (0,0) |
|
| (0.12) |
|
| (4,8) |
|
| (8,0) |
|
Clearly, the point (4, 8) gives the most profit: $400.
Therefore, we conclude that Niki should work 4 hours at Job I, and 8 hours at Job II.
A factory manufactures two types of gadgets, regular and premium. Each gadget requires the use of two operations, assembly and finishing, and there are at most 12 hours available for each operation. A regular gadget requires 1 hour of assembly and 2 hours of finishing, while a premium gadget needs 2 hours of assembly and 1 hour of finishing. Due to other restrictions, the company can make at most 7 gadgets a day. If a profit of $20 is realized for each regular gadget and $30 for a premium gadget, how many of each should be manufactured to maximize profit?
We choose our variables.
Let
and
The objective function is
We now write the constraints. The fourth sentence states that the company can make at most 7 gadgets a day. This translates as
Since the regular gadget requires one hour of assembly and the premium gadget requires two hours of assembly, and there are at most 12 hours available for this operation, we get
Similarly, the regular gadget requires two hours of finishing and the premium gadget one hour. Again, there are at most 12 hours available for finishing. This gives us the following constraint.
The fact that
We have formulated the problem as follows:
Maximize
Subject to:
In order to solve the problem, we graph the constraints as follows:
![]() |
Again, we have shaded the feasibility region, where all constraints are satisfied.
Since the extreme value of the objective function always takes place at the vertices of the feasibility region, we identify all the critical points. They are listed as (0, 0), (0, 6), (2, 5), (5, 2), and (6, 0). To maximize profit, we will substitute these points in the objective function to see which point gives us the maximum profit each day. The results are listed below.
| Critical point | Income |
| (0,0) |
|
| (0,6) |
|
| (2,5) |
|
| (5,2) |
|
| (6,0) |
|
The point (2, 5) gives the most profit, and that profit is $190. Therefore, we conclude that we should manufacture 2 regular gadgets and 5 premium gadgets daily for a profit of $190.
Although we are mostly focusing on the standard maximization problems where all constraints are of the form
Solve the following maximization problem graphically.
Maximize
Subject to:
The graph is shown below.
![]() |
The five critical points are listed in the above figure. Clearly, the point (2, 2) maximizes the objective function to a maximum value of 50. The reader should observe that the first constraint
Finally, we address an important question. Is it possible to determine the point that gives the maximum value without calculating the value at each critical point?
The answer is yes.
For example, in the above problem, we substituted the points (0, 0), (0, 6), (2, 5), (5, 2), and (6, 0), in the objective function
To determine the largest
![]() |
We summarize:
Minimization linear programming problems are solved in much the same way as the maximization problems. For the standard minimization linear programming problem, the constraints are of the form
However, one should be aware that in the case of an unbounded feasibility region, the possibility of no optimal solution exists.
Professor Symons wishes to employ two students, John and Mary, to grade the homework papers for his classes. John can mark 20 papers per hour and charges $5 per hour, and Mary can mark 30 papers per hour and charges $8 per hour. Each student must be employed at least one hour a week to justify their employment. If Mr. Symons has at least 110 homework papers to be marked each week, how many hours per week should he employ each student to minimize his cost?
We choose the variables as follows:
Let
and
The objective function is
The fact that each student must work at least one hour each week results in the following two constraints:
Since John can grade 20 papers per hour and Mary 30 papers per hour, and there are at least 110 papers to be graded per week, we get
The fact that x and y are non-negative, we get
The problem has been formulated as follows.
Minimize
Subject to:
To solve the problem, we graph the constraints as follows:
![]() |
Again, we have shaded the feasibility region, where all constraints are satisfied.
Since the extreme value of the objective function always takes place at the vertices of the feasibility region, we identify the two critical points, (1, 3) and (4, 1). To minimize cost, we will substitute these points in the objective function to see which point gives us the minimum cost each week. The results are listed below.
| Critical Points | Income |
| (1,3) |
|
| (4,1) |
|
The point (4, 1) gives the least cost, and that cost is $28. Therefore, we conclude that Professor Symons should employ John 4 hours a week, and Mary 1 hour a week at a cost of $28 per week.
Professor Hamer is on a low cholesterol diet. During lunch at the college cafeteria, he always chooses between two meals, Pasta or Tofu. The table below lists the amount of protein, carbohydrates, and vitamins each meal provides along with the amount of cholesterol he is trying to minimize. Mr. Hamer needs at least 200 grams of protein, 960 grams of carbohydrates, and 40 grams of vitamins for lunch each month. Over this time period, how many days should he have the Pasta meal, and how many days the Tofu meal so that he gets the adequate amount of protein, carbohydrates, and vitamins and at the same time minimizes his cholesterol intake?
| Pasta | Tofu | |
| Protein | 8g | 16g |
| Carbohydrates | 60g | 40g |
| Vitamin C | 2g | 2g |
| Cholesterol | 60mg | 50mg |
We choose the variables as follows.
Let x = The number of days Mr. Hamer eats Pasta.
and y = The number of days Mr. Hamer eats Tofu.
Since he is trying to minimize his cholesterol intake, our objective function represents the total amount of cholesterol C provided by both meals.
The constraint associated with the total amount of protein provided by both meals is as follows:
Similarly, the two constraints associated with the total amount of carbohydrates and vitamins are obtained, and they are
The constraints that state that x and y are non-negative are
We summarize all information as follows:
Minimize
Subject to:
To solve the problem, we graph the constraints as follows.
![]() |
Again, we have shaded the unbounded feasibility region, where all constraints are satisfied.
To minimize the objective function, we find the vertices of the feasibility region. These vertices are (0, 24), (8, 12), (15, 5) and (25, 0). To minimize cholesterol, we will substitute these points in the objective function to see which point gives us the smallest value. The results are listed below.
| Critical Points | Income |
| (0,24) |
|
| (8,12) |
|
| (15,5) |
|
| (25,0) |
|
The point (8, 12) gives the least cholesterol, which is 1080 mg. This states that for every 20 meals, Professor Hamer should eat Pasta 8 days, and Tofu 12 days.
Although the method of solving minimization problems is similar to that of the maximization problems, we still feel that we should summarize the steps involved.
"Reviewer's Comments: 'I recommend this book for undergraduates. The content is especially useful for those in finance, probability statistics, and linear programming. The course material is […]"