1 Notation. CHAPTER 4 Linear Programming 1. Graphing Linear Inequalities x apple y means x is less than or equal to y. x y means x is greater than or equal to y. x < y means x is less than y. x > y means x is greater than y. The last two inequalities are called strict inequalities. Our focus will be on the nonstrict inequalities. Algebra of Inequalities Suppose x + 3 < 8. Addition works like for equations: x + 6 < 11 Subtraction works like for equations: x + 2 < 7 (added 3 to each side). (subtracted 4 from each side). Multiplication and division by positive numbers work like for equations: 2x + 12 < 22 =) x + 6 < 11 (each side is divided by 2 or multiplied by 1 2 ). 59
2 60 4. LINEAR PROGRAMMING Multiplication and division by negative numbers changes the direction of the inequality sign: Example. For 3x 2x + 12 < 22 =) x 6 > 11 (each side is divided by -2 or multiplied by 4y and 24 there are 3 possibilities: 3x 4y = 24 3x 4y < 24 3x 4y > 24 4y = 3x y < 3x y > 3x + 24 y = 3 4 x 6 y > 3 4 x 6 y < 3 4 x 6 The three solution sets above are disjoint (do not intersect or overlap), and their graphs fill up the plane. We are familiar with the graph of the linear equation. The graph of one inequality is all the points on one side of the line, the graph of the other all the points on the other side of the line. To determine which side for an inequality, choose a test point not on the line (such as (0, 0) if the line does not pass through the origin). Substitute this point into the linear inequality. For a true statement, the solution region is the side of the line that the test point is on; for a false statement, it is the other side. 1 2 ).
3 1. GRAPHING LINEAR INEQUALITIES 61 3x 4y < 24 3x 4y > < 24 (true) 0 0 > 24 (false) y > 3 4 x 6 y < 3 4 x 6 0 > 0 6 (true) 0 < 0 6 (false) Statement is true, Statement is false, so take side of line (0, 0) is on. so take side opposite (0, 0). The dashed lined indicates that points on the line are not part of the solution. For 3x 4y apple 24 or 3x 4y 24, we would use a solid line to indicate that the boundary line is part of the solution. Note. (1) For y mx + b, the solution region is the line with the points above it. (2) For y apple mx + b, the solution region is the line with the points below it.
4 62 4. LINEAR PROGRAMMING Example. 2x 7 or x 7 2 or x + 0y 7 2. Take (6, 2) as a test point: (2) (true) 2 Thus we take points to the right of the line and we use a solid line because of.
5 1. GRAPHING LINEAR INEQUALITIES 63 Example. A system of inequalities: (1) 2x + 5y apple 20 (2) x 5y 5 Intercepts for (1) are 10 and 4. Intercepts for (2) are 5 and 1. The test point of (0, 0) makes each statement true, so take the points below each line. The solution of the system is the intersection of the individual solutions (in blue). It will be important for linear programming to find the points of intersection of our lines. Here, it appears to be (5, 2). But, as for any graphic solution, we need to check this solution in both equations (1) and (2). 2(5) + 5(2) = 20 (true) 5 5(2) = 5 (true) One can also use the algebraic methods studied earlier to find points of intersection.
6 64 4. LINEAR PROGRAMMING For the TI, rewrite in slope-intercept form ( ) ( 2x + 5y apple 20 5y apple 2x + 20 ) x 5y 5 5y x 5 ) ) ( y apple 2 5 x + 4 y apple 1 5 x + 1 ) and use the Technology Tip on page 180 of the text. Example. (1) 3x + y apple 21 (2) x + y apple 9 (3) x + 3y apple 21 x 0 y 0 The last two inequalities force our region to be limited to the first quadrant. The intercepts for (1) are 7 and 21, for (2) 9 and 9, and for (3) 21 and 7. (0, 0) makes each of (1) (3) true, so the solution regions are on the same side of the lines as (0, 0).
7 1. GRAPHING LINEAR INEQUALITIES 65 Numbering the inequalities and lines helps us to find intersection points or corners of our solution region. Lines (1) and (2) intersect at the corner (6, 3), and lines (2) and (3) intersect at (3, 6). Other corners are (0, 0), (7, 0), and (0, 7). This solution region is bounded since it can be contained in a circle. Example. (1) 3x + y 24 (2) x + y 16 (3) x + 3y 30 x 0 y 0 The intercepts for (1) are 8 and 24, for (2) 16 and 16, and for (3) 30 and 10. (0, 0) makes each of (1) (3) false, so the solution regions are on the side of the lines opposite (0, 0). Corners of the solution region include the x-intercept at 30 and the y-intercept at 24, along with (4, 12), the intersection of lines (1) and (2), and (9, 7), the
8 66 4. LINEAR PROGRAMMING intersection of lines (2) and (3). This is an unbounded region since it cannot be enclosed in a circle. Example. (1) 2x + 3y 24 (2) x + 3y apple 15 (3) y 4 The intercepts for (1) are 12 and 8, for (2) 15 and 5, and for (3) y = 4. (0, 0) makes (2) true and (1) and (3) false, so solution region (1) is the same side of the line as (0, 0) and the solution regions (2) and (3) are on the side of the lines opposite (0, 0). For this example, there is no solution since no region satisfies all three inequalities.
9 1. GRAPHING LINEAR INEQUALITIES 67 Problem (Page 184 #30). x = # of cartons of medium peaches (60 peaches per carton) y = # of cartons of small peaches (70 peaches per carton) (1) 9x + 10y apple 100 (budget) (2) 60x + 70y 420 (minimum) (2) 60x + 70y apple 630 (maximum) The intercepts for (1) are and 10, for (2) 7 and 6, and for (3) and 9. (0, 0) makes (1) and (3) true and (2) false, so solution regions (1) and (3) are on the same side of the line as (0, 0) and the solution region (2) is on the side of the line opposite (0, 0). The feasible region consists of all points with both entries integers in the first quadrant on or between lines (2) and (3). All possible such choices are circled above.
10 2. SOLVING LINEAR PROGRAMMING PROBLEMS GRAPHICALLY 69 To solve, we first find the feasible region, the solution region of the system of constraints. The points within the feasible region are feasible points, one or more of which wil optimize the objective function. Intercepts for (1) are 50 and 80, for (2) are 54 and 72. We will use divisions of 5 on the x-axis and 8 on the y-axis. We find the point where the two lines intersect. 400x + 250y = x 300y = y = 1600 y = 32 40x + 30(32) = x = x = 1200 x = 30
11 70 4. LINEAR PROGRAMMING Thus the corners of the feasible region are (0, 0), (50, 0), (0, 72), and (30, 32). We now look to the objective function M = x + y and graph it on the feasible region for the cases where M = 20, 30, 40, 50, and 60. All of these lines are parallel with smaller M s giving lines closer to the origin and larger M s lines further from the origin. Think of these iso-m lines as a rolling pin. Notice the rolling pin must leave the feasible region at one of its corner points, in this case (0, 0) for a minimum value and (0, 72) for a maximum value. Theorem (Fundamental Theorem of Linear Programming). (1) If the solution to a linear programming problem exists, it will occur at a corner point. (2) If two adjacent corner points are optimal solutions, then all points on the line segment between them are also optimal solutions. (3) Linear programming problems with bounded feasible regions will always have optimal solutions (both a maximum and a minimum). (4) Linear programming problems with unbounded feasible regions may or may not have optimal solutions.
12 2. SOLVING LINEAR PROGRAMMING PROBLEMS GRAPHICALLY 71 Thus, to find the solution to a linear programming problem, we need only check the value of the objective variable at the corner points of the feasible region. CP M (0, 0) 0 (50, 0) 50 (0, 72) 72 (30, 32) 62 Thus the maximum number of computers that can be produced with these constraints is 72, achieved by making 72 portables. The profit in part (A) is 72($220) = $ Now let P = profit, and change the objective to Maximize P = 320x + 220y Since we only changed the objective, and not the constraints, the feasible region and its corner points remain the same. The diagram below has iso-p lines for 4 values of P.
13 72 4. LINEAR PROGRAMMING We check the corner points: CP P (0, 0) 0 (50, 0) (0, 72) (30, 32) Thus the maximum profit is $16,640 and can be achieved by making 30 standard and 32 portable models. Graphical Methods for Solving Linear Programing Problems (1) Graph the feasible region determined by the constrains. (2) Find the corner points of the feasible region. (3) Find the value of the objective function at each of the corner points. (4) If the feasible region is bounded, the maximum or minimum value of the objective function will occur at one of the corner points.
14 2. SOLVING LINEAR PROGRAMMING PROBLEMS GRAPHICALLY 73 (5) If the feasible region is an unbounded region in the first quadrant and the coe cients of the objective function are positive, then the objective function has a minimum value at a corner point. The objective function will not have a maximum value. Problem (Page 199 #4). Maximize z = 9x + y 8 (1) 6x + y apple 16 >< (2) 2x + y apple 0 subject to x 0 >: y 0 Intercepts for (1) are 8 3 and 16. (2) has only the origin as an intercept, but also pass through (1, 2). Since (0, 0) makes (1) a true statement,we take the points below line (1). Since (2) passes through the origin, We take (1, 0) as a test point, and this makes (2) true, so we take the points below (2). Our feasible region has (0, 0), ( 8 3, 0), and (2, 4) as corner points..
15 74 4. LINEAR PROGRAMMING CP z (0, 0) 0 ( 8 3, 0) 24 (2, 4) 22 Thus the optimal solution is ( 8 3, 0) and the optimal value is 24. Problem (Page 199 #12). Minimize z = 3x + 5y 8 (1) 6x + y 21 >< (2) 2x + y 1 subject to (3) x 3 >: y 0 Intercepts for (1) are 7 2 and 21 and for (2) are 1 2 and 1. Since the intercepts for (2) are so close together, we also use the point (1, 3) as a guide in drawing the line. Since (0, 0) makes all of (1) (3) false, we take the regions above (1) and (2) and to the right of (3).
16 2. SOLVING LINEAR PROGRAMMING PROBLEMS GRAPHICALLY 75 The only corner point is (3, 7). The value of z at (3, 7) is = 44, and by point (5) of the graphical method, this must be a minimum. Note that, with these constraints, z has no maximum. Problem (Page 201 #28). x = # of armchairs to produce. y = # of benches to produce. P = profit. Maximize P = 181x + 57y 8 (1) 2x + y apple 200 (cutting) >< (2) 4x + 3y apple 480 (finishing) subject to (3) x + y apple 150 (packaging) x 0 >: y 0 Intercepts for (1) are 100 and 200, for (2) are 120 and 160, and for (3) are 150 and 150. Since (0, 0) makes all of (1) (3) true, we choose the regions below each line.
17 76 4. LINEAR PROGRAMMING Corner points of the feasible region are (0, 0), (100, 0), (60, 80) the intersection of lines (1) and (2), (30, 120) the intersection of lines (2) and (3), and (0, 150). Notice that (50, 100) the intersection of lines (1) and (2) is not a corner point of the feasible region. CP P (0, 0) 0 (100, 0) 18,100 (60, 80) 15,420 (30, 120) 12,270 (0, 150) 8,550 You can obtain a maximum profit of $18,100 by making 100 armchairs and 0 benches. Problem (Page 202 #30). x = # of 10-passenger vehicles. y = # of 57-passenger vehicles. C = cost. Minimize C = 625x y 8 (1) 9x + 51y 153 (students) >< (2) x + 6y apple 24 (chaperones) subject to x 0 >: y 0 Intercepts for (1) are 17 and 3 and for (2) are 24 and 4. Since (0, 0) makes (1) false and (2) true, we take the points above line (1) and below line (2).
18 2. SOLVING LINEAR PROGRAMMING PROBLEMS GRAPHICALLY 77 The four corner points of the feasible region are the four intercepts. CP C (0, 3) 5,985 (0, 4) 7,980 (17, 0) 10,625 (24, 0) 15,000 The minimum cost of $5985 can be achievd by renting three 57-passenger vehicles and no 10-passenger vehicles.
Problem 3 If A is divided by B the result is 2/3. If B is divided by C the result is 4/7. What is the result if A is divided by C? Suggested Questions to ask students about Problem 3 The key to this question
Guide for Texas Instruments TI-83, TI-83 Plus, or TI-84 Plus Graphing Calculator This Guide is designed to offer step-by-step instruction for using your TI-83, TI-83 Plus, or TI-84 Plus graphing calculator
1 Base Arithmetic 1.1 Binary Numbers We normally work with numbers in base 10. In this section we consider numbers in base 2, often called binary numbers. In base 10 we use the digits 0, 1, 2, 3, 4, 5,
CHPTER 12 Functions You know from calculus that functions play a fundamental role in mathematics. You likely view a function as a kind of formula that describes a relationship between two (or more) quantities.
WHICH SCORING RULE MAXIMIZES CONDORCET EFFICIENCY? DAVIDE P. CERVONE, WILLIAM V. GEHRLEIN, AND WILLIAM S. ZWICKER Abstract. Consider an election in which each of the n voters casts a vote consisting of
Chapter 23 Squares Modulo p Revised Version of Chapter 23 We learned long ago how to solve linear congruences ax c (mod m) (see Chapter 8). It s now time to take the plunge and move on to quadratic equations.
WHAT ARE MATHEMATICAL PROOFS AND WHY THEY ARE IMPORTANT? introduction Many students seem to have trouble with the notion of a mathematical proof. People that come to a course like Math 216, who certainly
87533_01_ch1_p001-066 1/30/08 9:36 AM Page 1 STRAIGHT LINES AND LINEAR FUNCTIONS 1 THIS CHAPTER INTRODUCES the Cartesian coordinate sstem, a sstem that allows us to represent points in the plane in terms
Selecting a Sub-set of Cases in SPSS: The Select Cases Command When analyzing a data file in SPSS, all cases with valid values for the relevant variable(s) are used. If I opened the 1991 U.S. General Social
how to use dual base log log slide rules by Professor Maurice L. Hartung The University of Chicago Pickett The World s Most Accurate Slide Rules Pickett, Inc. Pickett Square Santa Barbara, California 93102
The Praxis Study Companion Core Academic Skills for Educators: Mathematics 5732 www.ets.org/praxis Welcome to the Praxis Study Companion Welcome to The Praxis Study Companion Prepare to Show What You Know
Programming Your Calculator Casio fx-7400g PLUS Barry Kissane Programming Your Calculator: Casio fx-7400g PLUS Published by Shriro Australia Pty Limited 72-74 Gibbes Street, Chatswood NSW 2067, Australia
Mathematics Learning Centre Introduction to Differential Calculus Christopher Thomas c 1997 University of Sydney Acknowledgements Some parts of this booklet appeared in a similar form in the booklet Review
I. Vectors and Geometry in Two and Three Dimensions I.1 Points and Vectors Each point in two dimensions may be labeled by two coordinates (a,b) which specify the position of the point in some units with
Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without
Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014 3.4: 1. If m is any integer, then m(m + 1) = m 2 + m is the product of m and its successor. That it to say, m 2 + m is the
MUST-HAVE MATH TOOLS FOR GRADUATE STUDY IN ECONOMICS William Neilson Department of Economics University of Tennessee Knoxville September 29 28-9 by William Neilson web.utk.edu/~wneilson/mathbook.pdf Acknowledgments
Foundations of Data Science John Hopcroft Ravindran Kannan Version /4/204 These notes are a first draft of a book being written by Hopcroft and Kannan and in many places are incomplete. However, the notes
Title: Do These Systems Meet Your Expectations Brief Overview: This concept development unit is designed to develop the topic of systems of equations. Students will be able to graph systems of equations
Introduction to Hypothesis Testing CHAPTER 8 LEARNING OBJECTIVES After reading this chapter, you should be able to: 1 Identify the four steps of hypothesis testing. 2 Define null hypothesis, alternative
Chapter 2 Switching Algebra and Logic Gates The word algebra in the title of this chapter should alert you that more mathematics is coming. No doubt, some of you are itching to get on with digital design
The Capital Asset Pricing Model: Some Empirical Tests Fischer Black* Deceased Michael C. Jensen Harvard Business School MJensen@hbs.edu and Myron Scholes Stanford University - Graduate School of Business
How To Use A Spreadsheet Excel for the Mac and PC-Windows by John D. Winter Most good spreadsheets have very similar capabilities, but the syntax of the commands differs slightly. I will use the keyboard
MiSeq: Imaging and Page Welcome Navigation Presenter Introduction MiSeq Sequencing Workflow Narration Welcome to MiSeq: Imaging and. This course takes 35 minutes to complete. Click Next to continue. Please
How Old Are They? This problem gives you the chance to: form expressions form and solve an equation to solve an age problem Will is w years old. Ben is 3 years older. 1. Write an expression, in terms of
Performance Assessment Task Which Shape? Grade 3 This task challenges a student to use knowledge of geometrical attributes (such as angle size, number of angles, number of sides, and parallel sides) to
Modelling with Implicit Surfaces that Interpolate Greg Turk GVU Center, College of Computing Georgia Institute of Technology James F O Brien EECS, Computer Science Division University of California, Berkeley