Linear Programming: Turning a Real Problem into Inequalities | OCR GCSE Further Maths notes

Free preview: Linear Programming: Turning a Real Problem into Inequalities

From Words to Symbols

OCR Additional Maths

A bakery has limited flour and limited oven time. How many loaves and how many cakes should it bake to make the most money? Airlines, farms and factories solve problems like this every day. The method is called linear programming. Step one, and the subject of this note, is turning the words into inequalities.

Words you must know

  • The decision variables are the amounts you can choose, usually called x and y. Always say exactly what they stand for, with units: "x = number of loaves baked per day".
  • A constraint is a limit, written as an inequality, such as 3x+2y⩽60.
  • Non-negativity: you can't make a negative number of things, so x⩾0 and y⩾0.
  • The objective is what you want to make as big or as small as possible, such as profit or cost. The next note uses it.

Phrase to symbol

The words say...SymbolExample
at most, no more than, maximum of⩽at most 20 cakes: y⩽20
at least, no fewer than, minimum of⩾at least 4 cakes: y⩾4
fewer than, less than<fewer than 30 items: x+y<30
more than, exceeds>more than 5 loaves: x>5
at least twice as many x as yx⩾2yloaves at least double the cakes
at least a quarter of all items are yy⩾14(x+y)simplifies to 3y⩾x

💡 In plain words

  • Read each sentence and ask: what is being limited, and which way?
  • "At most" puts a ceiling on it: ≤. "At least" puts a floor under it: ≥.
  • Check with numbers. If the inequality lets in a choice the words forbid, it's the wrong way round.

👀 Watch me do it: write constraints for: "A florist makes x small bouquets and y large bouquets. She makes at least 6 large bouquets, no more than 40 bouquets in total, and more small bouquets than large ones."

What I writeWhy I do it
x = number of small bouquets, y = number of large bouquetsDefine the variables first.
y⩾6"At least 6 large": a floor.
x+y⩽40"No more than 40 in total": the total is x + y.
x>y"More small than large": strict.
x⩾0, y⩾0, whole numbersAlways add these. (Here y⩾6 already covers y.)

✏️ YOUR TURN 1

Try this first:

Write an inequality for each sentence, where x is the number of adult tickets and y the number of child tickets. (a) At most 120 tickets are sold. (b) At least 30 child tickets are sold. (c) There are at least as many adult tickets as child tickets.

Answer:

  • (a) x+y⩽120.
  • (b) y⩾30.
  • (c) x⩾y.

✏️ YOUR TURN 2

Try this first:

Adult tickets cost £8 and child tickets £5. The takings must be at least £600. Write this as an inequality and simplify it if you can.

Answer:

  • Takings: 8x + 5y pounds. "At least £600": 8x+5y⩾600.
  • 8, 5 and 600 have no common factor, so it stays as it is.

Resource Constraints: The Table Method

Most problems give you resources that each item uses up: flour, time, money, space. A small table makes it almost impossible to get these wrong.

The recipe

  1. Define x and y in words, with units.
  2. Make a table: one column per item, one row per resource, and a final column for the limit.
  3. Check units: every number in a row must use the same unit (grams with grams, minutes with minutes).
  4. Write one inequality per row: (amount per x) × x + (amount per y) × y, compared with the limit.
  5. Simplify by dividing through by a common factor.
  6. Add any other conditions, and x⩾0, y⩾0.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in Linear Programming

  1. Linear Programming: Turning a Real Problem into Inequalities
  2. Linear Programming: Feasible Regions and the Best Objective Value

What's inside for this topic

2 teacher notes, 34 practice questions, 31 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Next note: Linear Programming: Feasible Regions and the Best Objective Value

All OCR GCSE Further Maths topics · GCSE Further Maths