AMI | Global Math

Rice Tycoon Maximize Sales with Linear Programming!

HIGH SCHOOL MATH | LINEAR PROGRAMMING
RICE TYCOON
Maximize Sales with Linear Programming!

A complete guide to turning a rice-trading story into a math model, then finding the highest possible sales with confidence.

AMI | Global Mathematics Education | www.ami.sch.id

Feasible region and optimal point
4solution methods
3quick tricks
4graded practice problems
TODAY'S PROBLEM

A rice trader wants to make blended rice by mixing type A rice and type B rice. The first blend consists of 4 kg of type A and 8 kg of type B, while the second blend consists of 8 kg of type A and 10 kg of type B. The available stock of types A and B is 80 tonnes and 106 tonnes respectively. If the selling price is Rp60,000.00 for the first blend and Rp80,000.00 for the second, the maximum sales that can be obtained is ...

A. Rp1,200,000,000.00
B. Rp920,000,000.00
C. Rp840,000,000.00
D. Rp800,000,000.00
E. Rp795,000,000.00

Study Map

Ch.SectionWhat you will master
1Dissecting the ProblemReading the story, Given and To Find table, 5-step flow
2Math FoundationsTerms, story-to-inequality dictionary, basic formulas
3Core ConceptsGeneral form, types of cases, corner-point rule, choosing a method
4Complete SolutionFour solution methods, verification, and the answer
5Quick Formulas and Fast TricksThousands trick, quick intersection, slope check, guess-and-check
6Watch Out for TrapsWrong vs. right, champion habits, did-you-know fact
7Graded PracticeFour problems from easy to HOTS, with answer key
8Formula CardOne-page cheat sheet, six colorful boxes

CHAPTER 1 DISSECTING THE PROBLEM

The problem (rewritten from the file)

A rice trader wants to make blended rice by mixing type A rice and type B rice. The first blend consists of 4 kg of type A and 8 kg of type B, while the second blend consists of 8 kg of type A and 10 kg of type B. The available stock of types A and B is 80 tonnes and 106 tonnes respectively. If the selling price is Rp60,000.00 for the first blend and Rp80,000.00 for the second, the maximum sales that can be obtained is ...

A. Rp1,200,000,000.00   B. Rp920,000,000.00   C. Rp840,000,000.00   D. Rp800,000,000.00   E. Rp795,000,000.00

Illustration of the problem

Illustration of the rice blends

Given and To Find

The 5-step flow to solve it

5-step flow

CHAPTER 2 MATH FOUNDATIONS

Table of terms

TermMeaningExample from the problem
Decision variableThe quantity we want to findx and y = number of Blend I and Blend II
ConstraintAn inequality from a resource limitx + 2y ≤ 20
Objective functionThe quantity to maximize or minimizeZ = 60x + 80y
Feasible regionAll points that satisfy every constraintA quadrilateral with 4 corner points
Corner pointA vertex of the feasible region(0, 0), (13.25, 0), (2, 9), (0, 10)
Isoprofit lineA line parallel to the objective, slid around60x + 80y = k
Optimal valueThe largest or smallest value of ZMaximum Z = 840

Translation dictionary: sentences become symbols

Sentence or dataWritten asIn this problem
Available, at mostSign ≤Rice A used ≤ 80 tonnes
At leastSign ≥Not in this problem
The number of blends cannot be negativex ≥ 0 and y ≥ 0x ≥ 0, y ≥ 0
Selling price Rp60,000 per Blend IZ increases by 60 per unit of xZ = 60x + 80y (million rupiah)
1 tonne1,000 kg80 tonnes = 80,000 kg
In thousandsDivide every number by 1,0004x + 8y ≤ 80

Basic properties and formulas you need

FormulaUsed forExample in this problem
Z = px + qyObjective functionZ = 60x + 80y
a1x + b1y ≤ c1Constraint4x + 5y ≤ 53
m = −abSlope of the line ax + by = cm1 = −12 = −0.5
x = c1b2 − c2b1a1b2 − a2b1Intersection of two lines (x value)x = 20·5 − 53·21·5 − 4·2 = −6−3 = 2
y = a1c2 − a2c1a1b2 − a2b1Intersection of two lines (y value)y = 1·53 − 4·201·5 − 4·2 = −27−3 = 9
Always remember

Make the units consistent before building the model. Here the blends are in kg but the stock is in tonnes, so convert 1 tonne to 1,000 kg first.

CHAPTER 3 CORE CONCEPTS

Definition

Linear programming is a method for finding the maximum or minimum value of a linear function (the objective function) whose variables are limited by a system of linear inequalities (the constraints).

General form of a linear programming model

Part of the modelFormIn this problem
Objective functionZ = px + qyZ = 60x + 80y
Constraintsa1x + b1y ≤ c1, a2x + b2y ≤ c2x + 2y ≤ 20 and 4x + 5y ≤ 53
Non-negativityx ≥ 0, y ≥ 0x ≥ 0, y ≥ 0

Types of feasible regions

Types of feasible regions
Problem typeConstraint signOptimum is usually at
Maximizing (this problem)Constraints ≤ (upper limits on resources)The corner point farthest from the origin
MinimizingConstraints ≥ (minimum requirements)The corner point closest to the origin
Corner-point rule

If the feasible region is bounded, the maximum and minimum of the objective function always occur at one of the corner points. So it is enough to compute Z at the corner points.

Comparing methods: when to use which?

MethodBest whenStrengthBe careful
Corner-point testThe feasible region is boundedAlways right, easy to checkDo not miss the intersection of two lines
Isoprofit lineYou have a graph or want to see the directionShows the optimum clearlyNeeds an accurate drawing
Slope comparisonTwo constraints and positive ZQuickly guesses the optimal pointOnly picks the point; still compute the value
Upper bound (multipliers)Multiple choice, need a proofProves no larger value is possibleMultipliers must be positive

CHAPTER 4 COMPLETE SOLUTION

Building the mathematical model (used by every method)

MaterialBlend IBlend IIStock
Rice A (kg)4880,000
Rice B (kg)810106,000
Selling price (Rp)60,00080,000-

Method 1: Corner-Point Test

StepWork
1. Axis intercepts of x + 2y = 20(20, 0) and (0, 10)
2. Axis intercepts of 4x + 5y = 53(13.25, 0) and (0, 10.6)
3. Intersection of the two lines (determinants)x = 20·5 − 53·21·5 − 4·2 = −6−3 = 2
y = 1·53 − 4·201·5 − 4·2 = −27−3 = 9
The intersection is (2, 9)
4. Keep the feasible points(20, 0) is infeasible because 4·20 = 80 > 53. (0, 10.6) is infeasible because 2·10.6 = 21.2 > 20. Corner points: (0, 0), (13.25, 0), (2, 9), (0, 10)

The feasible region and Z at the corner points

Graph of the feasible region

The feasible region is shaded yellow. The orange point (2, 9) is where the two constraints meet.

Corner pointZ = 60x + 80yZ (million rupiah)
(0, 0)60·0 + 80·00
(13.25, 0)60·13.25 + 80·0795
(0, 10)60·0 + 80·10800
(2, 9)60·2 + 80·9 = 120 + 720840 (largest)

Method 2: Isoprofit Line

StepWork
1. Write the isoprofit line60x + 80y = k, or 3x + 4y = k
2. Draw several parallel linesFor example k = 300, 600, and 840 (see the graph)
3. Slide to the upper rightAs long as the line still touches the feasible region, k keeps increasing
4. The last point touchedPoint (2, 9), so the maximum k = 60·2 + 80·9 = 840
Isoprofit lines

Method 3: Slope Comparison

StepWork
1. Slope of the rice A constraint (x + 2y = 20)m1 = −12 = −0.5
2. Slope of the rice B constraint (4x + 5y = 53)m2 = −45 = −0.8
3. Slope of the objective (60x + 80y = k)mZ = −6080 = −0.75
4. Compare−0.8 < −0.75 < −0.5
The slope of Z lies between the slopes of the two constraints
5. ConclusionThe optimum is at the intersection of the two constraints, (2, 9); Z = 840

Method 4: Upper Bound with Multipliers

Verification: test the optimal point (2,000, 9,000)

What is testedCalculationResult
Rice A does not exceed 80 tonnes4(2) + 8(9) = 8 + 72 = 80 ≤ 80 (thousand kg)Match
Rice B does not exceed 106 tonnes8(2) + 10(9) = 16 + 90 = 106 ≤ 106Match
x ≥ 0 and y ≥ 02 ≥ 0 and 9 ≥ 0Match
Sales value60(2) + 80(9) = 840 million rupiahMatch
No other corner point is larger795 and 800 are smaller than 840Match
ANSWER
C. Rp840,000,000.00

Achieved by making 2,000 Blend I and 9,000 Blend II

CHAPTER 5 QUICK FORMULAS AND FAST TRICKS

Three quick tricks

Three quick tricks
Why do these tricks work?

Thousands: dividing both sides of an inequality by a positive number (1,000) does not change its sign, and Z in million rupiah keeps the numbers short.

Quick intersection: from a1x + b1y = c1 and a2x + b2y = c2, multiply the first equation by b2 and the second by b1, then subtract. The result:

x = c1b2 − c2b1a1b2 − a2b1

Condition: the denominator a1b2 − a2b1 must not be zero (the lines must not be parallel). The y value is found the same way.

Trick 3: Check the Slopes to Predict the Optimal Point

Slope of Z compared with the constraint slopes (absolute values)Optimal point (maximize, constraints ≤)
Flatter than both (|mZ| < 0.5)On the Y axis: (0, 10)
Between them (0.5 < |mZ| < 0.8); this problem: 0.75At the intersection of the two lines: (2, 9)
Steeper than both (|mZ| > 0.8)On the X axis: (13.25, 0)

Reason: the isoprofit line slides in parallel, and the last corner it touches depends on its steepness compared with the sides of the feasible region. This rule applies to the model in this problem (maximize, constraints ≤, a and b positive).

Backup Strategy: Guess-and-Check the Options

OptionWhere the number comes fromVerdict
A. Rp1,200 million= 60 × 20, using point (20, 0) which violates constraint B (4·20 = 80 > 53)Rejected
B. Rp920 millionExceeds the 840 million upper bound from Method 4, so it is impossibleRejected
C. Rp840 millionValue at the feasible point (2, 9), equal to the upper boundCorrect
D. Rp800 millionValue at point (0, 10) only; a feasible point gives more (840)Rejected
E. Rp795 millionValue at point (13.25, 0) only; a feasible point gives moreRejected
Bonus tip: check feasibility first

Every point you use must be checked against all constraints. The axis intercept of a single line often looks tempting but may violate another constraint.

CHAPTER 6 WATCH OUT FOR TRAPS!

Wrong vs. Right: the 6 most common mistakes

NoWRONGRIGHTWhy
1Using 80 and 106 without converting units80 tonnes = 80,000 kg and 106 tonnes = 106,000 kgBlends are in kg, stock is in tonnes
2Treating Rp60,000 as the price per kgRp60,000 is the price of one blendThe problem gives the selling price of the blended rice
3Taking point (20, 0) without checkingTest all constraints: 4·20 = 80 > 53, infeasibleThis is where option A (1,200 million) comes from
4Using rice A's numbers (4 and 8) in constraint BRice B uses 8 and 10: 8x + 10y ≤ 106Each type of rice has its own row
5Computing only the axis points (answering D or E)Also compute the intersection (2, 9)The optimum is often at an intersection; 800 and 795 are smaller than 840
6mZ = 6080 = 0.75mZ = −6080 = −0.75The line 60x + 80y = k falls to the right, so its slope is negative
Champion Habits
  • Write the units first, then build the data table.
  • Name the variables with their units, for example x in thousands of blends.
  • Check every corner point against all constraints before computing Z.
  • Compare your result with the options, then trace where the other options come from.
Did You Know?

Linear programming is used to schedule flights, mix ingredients in factories, and plan delivery routes. Huge problems with thousands of variables are solved by computers.

The simplex method, a very popular way to solve linear programs, was developed by George Dantzig in 1947. Its idea is similar to what you did here: move from one corner point to a better one.

CHAPTER 7 GRADED PRACTICE

Work through them in order. Every problem follows the same pattern as today's problem and has a whole-number answer. HOTS stands for Higher-Order Thinking Skills, meaning a harder problem that needs deeper reasoning.

Latihan 1EASY
Blend I consists of 1 kg of rice A and 2 kg of rice B, selling price Rp10,000. Blend II consists of 3 kg of rice A and 1 kg of rice B, selling price Rp15,000. There are 30 kg of rice A and 20 kg of rice B available. Find the maximum sales.
Latihan 2MEDIUM
Blend I consists of 2 kg of rice A and 1 kg of rice B, selling price Rp20,000. Blend II consists of 1 kg of rice A and 3 kg of rice B, selling price Rp30,000. There are 40 kg of rice A and 45 kg of rice B available. Find the maximum sales.
Latihan 3MEDIUM
Blend I consists of 2 kg of rice A and 3 kg of rice B, selling price Rp40,000. Blend II consists of 4 kg of rice A and 2 kg of rice B, selling price Rp50,000. There are 24 tonnes of rice A and 28 tonnes of rice B available. Find the maximum sales.
Latihan 4HOTS
In today's problem, the price of Blend I stays Rp60,000, but the price of Blend II is changed to Rp q. Find the range of q so that maximum sales are still achieved by making 2,000 Blend I and 9,000 Blend II.

Answer key and short solutions

NoAnswerShort solution
1Rp180,000Constraints: x + 3y ≤ 30 and 2x + y ≤ 20; Z = 10x + 15y (thousand rupiah).
x = 30·1 − 20·31·1 − 2·3 = 6,  y = 1·20 − 2·301·1 − 2·3 = 8
Corner points: (0, 0) = 0; (10, 0) = 100; (0, 10) = 150; (6, 8) = 60 + 120 = 180.
2Rp600,000Constraints: 2x + y ≤ 40 and x + 3y ≤ 45; Z = 20x + 30y.
x = 40·3 − 45·12·3 − 1·1 = 15,  y = 2·45 − 1·402·3 − 1·1 = 10
Corner points: (20, 0) = 400; (0, 15) = 450; (15, 10) = 300 + 300 = 600.
3Rp420,000,000In thousands of blends: 2x + 4y ≤ 24 becomes x + 2y ≤ 12; 3x + 2y ≤ 28; Z = 40x + 50y (million).
x = 12·2 − 28·21·2 − 3·2 = 8,  y = 1·28 − 3·121·2 − 3·2 = 2
Corner points: (0, 6) = 300; (28/3, 0) ≈ 373.3; (8, 2) = 320 + 100 = 420.
4Rp75,000 ≤ q ≤ Rp120,000(2, 9) stays optimal when the slope of Z (−60/q) lies between −4/5 and −1/2 (with q in thousand rupiah):
−45 ≤ −60q ≤ −12 ⇒ 75 ≤ q ≤ 120
Check: q = 100 gives Z = 60·2 + 100·9 = 1,020 million at (2, 9), larger than 1,000 at (0, 10).

CHAPTER 8 FORMULA CARD

A quick cheat sheet. Save it or print it, then stick it on your study desk.

MODEL
Z = px + qy
a1x + b1y ≤ c1

Add x ≥ 0 and y ≥ 0. Constraints come from resource limits.

INTERSECTION OF TWO LINES
x = c1b2 − c2b1a1b2 − a2b1
y = a1c2 − a2c1a1b2 − a2b1

Condition: the denominator is not zero.

CORNER POINTS

The optimum is at a corner point of the feasible region. Compute Z at each feasible corner point, then take the largest (maximum) or smallest (minimum).

SLOPE
m = −ab
m1 < mZ < m2

If the slope of Z lies between the slopes of the two constraints, the optimum is at their intersection.

KEYWORDS

Available or at most: sign ≤. At least: sign ≥. 1 tonne = 1,000 kg. The price per blend goes into the objective function.

ANSWER TO THIS PROBLEM
Z = 60x + 80y = 840

Option C: Rp840,000,000.00. Optimal point (2, 9): 2,000 Blend I and 9,000 Blend II.

Workflow in 5 lines
  • Make the units consistent, then write the data table.
  • Build the constraints, non-negativity, and objective function.
  • Find the corner points of the feasible region (do not forget the intersection of two lines).
  • Compute Z at every feasible corner point.
  • Verify the result against the constraints, then choose the answer.
Download this lesson

Lebih baru Lebih lama

ads

نموذج الاتصال