Here, you’ll learn how to use the substitution method for linear optimization.
Rule
Theory
The objective function is often a profit or income function that is determined by , which is the cost of an item that has sold units, and , the cost of an item that has sold units.
Example 1
A factory that produces branded merchandise will make a shirt and a skirt for Tom Ford. Both pieces have to be made of cashmere and silk.
To make a shirt, you need two lengths of cashmere and one length of silk.
To make a skirt, you need one length of cashmere and three lengths of silk.
The factory has 200 lengths of cashmere and 300 lengths of silk available. A shirt is sold for , while a skirt is sold for . How many shirts and skirts does the factory have to produce to maximize its income, and what is this income?
First, you set up the constraints from the text as inequalities. Let be the number of shirts produced and be the number of skirts produced. The cashmere and the silk has to be distributed between shirts and skirts. That gives you these inequalities:
The number of shirts you produce can be no shirts, or more. This means that
The number of skirts you produce can be no skirts, or more. That gives you
Now you set up an inequality for the available cashmere. You need two lengths for a shirt and one length for a skirt. The roll has a total of lengths. That means the inequality is as follows:
Next, you write out an inequality for the available silk. You need one length for a shirt and three lengths for a skirt. The roll has lengths of silk. That results in:
You end up with this system of inequalities:
Now you need solve the inequalities with respect to . First, inequality (3):
Inequality (4):
You don’t have to do anything about the other two inequalities.
Graph the two inequalities in a coordinate system and mark the area where they overlap. You know that you only need to graph in the the first quadrant, because both and are greater than or equal to 0. That should give you this figure:
Find the optimal point from this figure. You know that it is one of the points within the marked area where the graphs intersect, or where the graphs intersect the axes. When you use the substitution method, you have to find all the points of intersection. You can see from the graph that
Point is where intersects the -axis. There, . That gives you
This is the point , which represents producing shirts and skirts.
Point is where intersects . This gives you a system equations to solve. You previously rewrote inequalities (3) and (4) so that was on the left. If you considered them as equations instead, you would get the same answer, except you exchange for an equal sign. That means you have
Now you can set the expressions for equal to each other and get
Insert this into , as that is the simplest expression. You get that
This gives you the point , which represents producing shirts and skirts.
Point is where intersects the -axis. There, . That gives you
This gives you the point , which represents the production of shirts and skirts.
Point represents producing shirts and skirts.
The different points above show different production combinations for shirts and skirts.
You calculate the income of the factory by putting the -values and -values you found in the previous point into the income function and see which point gives the largest answer.
You know that a shirt costs $ and that a skirt costs $. Insert those for and in the formula , which gives you
You now calculate the income from the various productions:
The income for the point is
The income for the point is
The income for the point is
The income for the point is
That means the factory earns $ by producing shirts and skirts. This is the optimal production, because the other production volumes resulted in lower earnings.