26
Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given set of conditions called constraints. A constraint is one of the inequalities in a linear programming problem. The solution to the set of constraints can be graphed as a feasible region .

Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Embed Size (px)

DESCRIPTION

Holt McDougal Algebra Linear Programming Let x = the number of bread A, and y = the number of bread B. Write the constraints: The number of batches cannot be negative. The combined amount of oats is less than or equal to 180 pounds. x ≥ 0 y ≥ 0 5x + 2y ≤ 180 3x + 3y ≤ 135 The combined amount of flour is less than or equal to 135 pounds. Example 1 Continued

Citation preview

Page 1: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Linear programming is method of finding a maximum or minimum value of a function that satisfies a given set of conditions called constraints. A constraint is one of the inequalities in a linear programming problem. The solution to the set of constraints can be graphed as a feasible region.

Page 2: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Yum’s Bakery bakes two breads, A and B. One batch of A uses 5 pounds of oats and 3 pounds of flour. One batch of B uses 2 pounds of oats and 3 pounds of flour. The company has 180 pounds of oats and 135 pounds of flour available. Write the constraints for the problem and graph the feasible region.

Example 1: Graphing a Feasible Region

Page 3: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Let x = the number of bread A, and y = the number of bread B.

Write the constraints:

The number of batches cannot be negative.

The combined amount of oats is less than or equal to 180 pounds.

x ≥ 0y ≥ 0

5x + 2y ≤ 180

3x + 3y ≤ 135 The combined amount of flour is less than or equal to 135 pounds.

Example 1 Continued

Page 4: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Graph the feasible region.

Check A point in the feasible region, such as (10, 10), satisfies all of the constraints.

Page 5: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Find the vertices of the feasible region.

The feasible region is a quadrilateral with vertices at (0, 0), (36, 0), (30, 15), and (0, 45).

Page 6: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

In most linear programming problems, you want to do more than identify the feasible region. Often you want to find the best combination of values in order to minimize or maximize a certain function. This function is the objective function.

The objective function may have a minimum, a maximum, neither, or both depending on the feasible region.

Page 7: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Page 8: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

More advanced mathematics can prove that the maximum or minimum value of the objective function will always occur at a vertex of the feasible region.

Page 9: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Yum’s Bakery wants to maximize its profits from bread sales. One batch of A yields a profit of $40. One batch of B yields a profit of $30. Use the profit information and the data from Example 1 to find how many batches of each bread the bakery should bake.

Example 2: Solving Linear Programming Problems

Page 10: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming Example 2 Continued

Step 1 Let P = the profit from the bread. Write the objective function: P = 40x + 30y

Step 2 Recall the constraints and the graph from Example 1.

x ≥ 0y ≥ 0 5x + 2y ≤ 180

3x + 3y ≤ 135

Page 11: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming Example 2 Continued

Step 3 Evaluate the objective function at the vertices of the feasible region.

(x, y) 40x + 30y P($)(0, 0) 40(0) + 30(0) 0(0, 45) 40(0) + 30(45) 1350(30, 15) 40(30) + 30(15) 1650(36, 0) 40(36) + 30(0) 1440

Yum’s Bakery should make 30 batches of bread A and 15 batches of bread B to maximize the amount of profit.

The maximum value occurs at the vertex (30, 15).

Page 12: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Check your graph of the feasible region by using your calculator.Be sure to change the variables to x and y.

Helpful Hint

Page 13: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming Check It Out! Example 2

Maximize the objective function P = 25x + 30y under the following constraints.

x ≥ 0y ≥ 1.5 2.5x + 5y ≤ 203x + 2y ≤ 12

Page 14: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Step 1 Write the objective function: P= 25x + 30y

Step 2 Use the constraints to graph.

x ≥ 0y ≥ 1.5 2.5x + 5y ≤ 20

3x + 2y ≤ 12

Check It Out! Example 2 Continued

Page 15: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Step 3 Evaluate the objective function at the vertices of the feasible region.

(x, y) 25x + 30y P($)(0, 4) 25(0) + 30(4) 120

(0, 1.5) 25(0) + 30(1.5) 45(2, 3) 25(2) + 30(3) 140

(3, 1.5) 25(3) + 30(1.5) 120

The maximum value occurs at the vertex (2, 3).

Check It Out! Example 2 Continued

P = 140

Page 16: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Sue manages a soccer club and must decide how many members to send to soccer camp. It costs $75 for each advanced player and $50 for each intermediate player. Sue can spend no more than $13,250. Sue must send at least 60 more advanced than intermediate players and a minimum of 80 advanced players. Find the number of each type of player Sue can send to camp to maximize the number of players at camp.

Example 3: Problem-Solving Application

Page 17: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

11 Understand the Problem

Example 3 Continued

The answer will be in two parts—the number of advanced players and the number of intermediate players that will be sent to camp.

Page 18: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

• There needs to be a minimum of 80 advanced players. • Sue wants to send the maximum number of players possible.

List the important information:• Advanced players cost $75. Intermediate players cost $50.• Sue can spend no more than $13,250.• Sue must send at least 60 more advanced players than intermediate players.

11 Understand the Problem

Page 19: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Let x = the number of advanced players and y = the number of intermediate players. Write the constraints and objective function based on the important information.

22 Make a Plan

x ≥ 80y ≥ 0

75x + 50y ≤ 13,250

x – y ≥ 60

The number of advanced players is at least 80.

The number of intermediate players cannot be negative.

There are at least 60 more advanced players than intermediate players.

The total cost must be no more than $13,250.

Let P = the number of players sent to camp. The objective function is P = x + y.

Page 20: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Graph the feasible region, and identify the vertices. Evaluate the objective function at each vertex.

Solve33

P(80, 0) = (80) + (0) = 80P(80, 20) = (80) + (20) = 100P(176, 0) = (176) + (0) = 176P(130,70) = (130) + (70) = 200

Page 21: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Look Back44

Check the values (130, 70) in the constraints.

x ≥ 80130 ≥ 80

y ≥ 070 ≥ 0

x – y ≥ 60(130) – (70) ≥ 60

60 ≥ 60

75x + 50y ≤ 13,25075(130) + 50(70) ≤ 13,250

13,250 ≤ 13,250

Page 22: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming Check It Out! Example 3

A book store manager is purchasing new bookcases. The store needs 320 feet of shelf space. Bookcase A provides 32 ft of shelf space and costs $200. Bookcase B provides 16 ft of shelf space and costs $125. Because of space restrictions, the store has room for at most 8 of bookcase A and 12 of bookcase B. How many of each type of bookcase should the manager purchase to minimize the cost?

Page 23: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

11 Understand the Problem

The answer will be in two parts—the number of bookcases that provide 32 ft of shelf space and the number of bookcases that provide 16 ft of shelf space.List the important information:• Bookcase A cost $200. Bookcase B cost $125.• The store needs at least 320 feet of shelf space.• Manager has room for at most 8 of bookcase A and 12 of bookcase B.• Minimize the cost of the types of bookcases.

Page 24: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Let x represent the number of Bookcase A and y represent the number of Bookcase B. Write the constraints and objective function based on the important information.

22 Make a Plan

x ≥ 0y ≥ 0

32x + 16y ≤ 320

x ≤ 8

The number of Bookcase A cannot be negative.

The number of Bookcase B cannot be negative.

There are 8 or less of Bookcase A.

The total shelf space is at least 320 feet.

y ≤ 12 There are 12 or less of Bookcase B.

Let P = The number of Bookcase A and Bookcase B. The objective function is P = 200x + 125y.

Page 25: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Graph the feasible region, and identify the vertices. Evaluate the objective function at each vertex.

Solve33

P(4, 12) = (800) + (1500) = 2300P(8, 12) = (1600) + (1500) = 3100P(8, 4) = (1600) + (500) = 2100

Page 26: Holt McDougal Algebra 2 3-4 Linear Programming Linear programming is method of finding a maximum or minimum value of a function that satisfies a given

Holt McDougal Algebra 2

3-4 Linear Programming

Look Back44

Check the values (8, 4) in the constraints.

x ≥ 0 y ≥ 0

32x + 16y ≤ 320

x ≤ 8 y ≤ 12 8 ≥ 0 4 ≥ 0 8 ≤ 8 4 ≤ 12

32(8) + 16(4) ≤ 320256 + 64 ≤ 320

320 ≤ 320