Linear Programming
Hello SS 3 learners! Today we will explore how to make the best decisions using mathematics. Linear programming helps us find the maximum profit or minimum cost when resources are limited. We will learn the steps and try some real‑life Nigerian examples.
💡 1. What is Linear Programming?
Linear programming (LP) is a method to optimise a linear objective function subject to a set of linear inequalities (constraints). The objective could be to maximise profit or minimise cost. The feasible region is the set of all points that satisfy the constraints, and the optimum occurs at a corner point of this region.
🧠 2. Formulating an LP Problem
First, define decision variables (e.g., x = number of shirts, y = number of trousers). Next, write the objective function (e.g., maximise Z = 1500x + 2500y). Then express each limitation as a linear inequality (e.g., 2x + 3y ≤ 120 hours of labour). Finally, add non‑negativity conditions x ≥ 0, y ≥ 0.
🔍 3. Solving by the Graphical Method
For two variables, draw each inequality on a graph, shade the common feasible region, and locate the corner points. Evaluate the objective function at each corner point; the largest (or smallest) value gives the optimum. Remember to check that the point satisfies all constraints.
📌 4. Interpreting the Solution
The optimal values of the decision variables tell you how much of each activity to undertake. The optimum value of the objective function tells you the maximum profit or minimum cost. If the feasible region is unbounded, the problem may have no finite optimum.
✏️ Worked examples
⭐ Remember
- Define decision variables clearly before writing equations.
- All constraints must be linear (no squares or products).
- The optimum of a two‑variable LP lies at a corner (vertex) of the feasible region.
- Check non‑negativity conditions; negative production is not realistic.
- If the feasible region is empty, the problem has no solution; if unbounded, there may be no finite optimum.
🙌 Try this
A shop sells two types of Nigerian snacks: chin chin (profit N200 each) and plantain chips (profit N350 each). The shop has 6 hours of preparation time daily. Making one chin chin takes 0.1 hour, one plantain chip takes 0.2 hour. At most 30 chin chin can be sold each day. Formulate the LP and determine the maximum possible daily profit.
🎬 Watch and learn
Optimization Techniques Using Linear Programming
Math in 5 Minutes or Less · YouTube
Videos are chosen by YouTube search with SafeSearch on. Grown-ups: tell us if one isn't right.
Sign up free to take the exam and save progress
✍️ Sign up free10 questions · pass mark 50% · Have an account? Log in to take the exam
✨ Lesson written by AI from the Nigerian curriculum. Please tell us if you spot a mistake.