Art + Math + Science + English
  1. Mathematics
  2. Class 12
  3. Project 21
Mathematics Through Innovation and Problem Solving

21The Best Plan for a Small Bakery: Linear Programming

A small home bakery makes cakes and biscuits but has limited flour and oven time. How many of each should it make to earn the most? Students write the limits as inequalities, draw the feasible region, and find the best corner, which is linear programming, the mathematics of making the best decision under constraints. They then interview a local small business (or use a teacher-provided case) and build an LP model for a real decision.

Class and age
Class 12 · 17–18
Activity type
Group
Time needed
2–3 sessions of 60 minutes
Difficulty
Challenging
Estimated budget
৳0–৳20

Mathematical concepts

  • Linear inequalities and their graphs
  • Feasible region
  • Objective function
  • Corner-point method
  • Sensitivity: what if a limit changes?

Learning objectives

  • Translate a real situation into inequalities.
  • Draw and interpret a feasible region.
  • Find the optimal plan using corner points.
  • Explain how the plan changes when resources change.

Real-life connection

Factories, airlines, hospitals, farms and delivery companies use linear programming to plan production, staff rosters, crop mixes and routes. Large problems with thousands of variables are solved by computer, but the idea is the same.

Materials required

  • Graph paper, rulers, coloured pencils
  • Calculators
  • A spreadsheet with a solver (optional)
  • Interview questions for a small business

Step-by-step instructions

  1. Practice case: a batch of cakes (x) uses 2 kg flour and 1 hour of oven time and earns Tk 50 profit (practice numbers). A batch of biscuits (y) uses 1 kg flour and 2 hours of oven and earns Tk 40. The bakery has 100 kg flour and 80 oven hours a week.
  2. Write the constraints: 2x + y ≤ 100, x + 2y ≤ 80, x ≥ 0, y ≥ 0. Write the objective: profit P = 50x + 40y.
  3. Draw each constraint line and shade the region that satisfies all of them.
  4. Find the corner points, including where the two main lines cross.
  5. Calculate P at each corner. Which plan earns the most?
  6. Draw a profit line 50x + 40y = 2,000 and slide it outwards. Where does it last touch the region? Why is the best plan always at a corner?
  7. Sensitivity: what if the bakery buys 20 kg more flour? What if biscuit profit rises to Tk 60?
  8. Interview a small business (or use a teacher's case), identify two products and two limits, build your own LP, and present the recommended plan with its assumptions.

Mathematical explanation

The feasible region has corners at (0, 0), (50, 0), (0, 40) and the crossing of 2x + y = 100 and x + 2y = 80, which is (40, 20). Profits are 0, 2,500, 1,600 and 50 × 40 + 40 × 20 = 2,800, so the best plan is 40 batches of cakes and 20 of biscuits, using all the flour and all the oven time. Because the profit lines are parallel and the region is bounded by straight edges, the last point the profit line touches as it slides outwards is always a corner. With 120 kg of flour the crossing moves to (53⅓, 13⅓) and profit rises to about 3,200, which tells the bakery how much extra flour is worth. If biscuit profit rose to Tk 60, the corner (40, 20) would still be best, at 3,200, but the plan would be closer to switching.

Expected project output

A graph of the feasible region with corners, a table of profits, sensitivity notes, and an LP model and recommendation for a real business.

Skills developed

  • Inequalities and graphing
  • Optimisation
  • Business reasoning
  • Communicating assumptions

Assessment criteria

  • Constraints and objective are written correctly.
  • The feasible region and corners are accurate, including (40, 20).
  • The best plan (profit 2,800) is identified and explained.
  • The real-business model is sensible and its assumptions are stated.

Extension challenge

Add a third limit (for example the bakery can sell at most 30 batches of cakes) and see how the region and the best plan change. Then solve the same problem with a spreadsheet solver.

Safety and inclusion

Keep any business information shared in an interview confidential, and ask before using the business name in a presentation.