How a Carpenter Decides How Many Chairs and Tables to Build
Learn the language of linear programming — constraints, objective function and feasible solutions — turn real problems into linear programming problems, sketch and classify feasible regions, and find optimal solutions at corner points, including when an unbounded region has none.
How can a graph choose the most profitable plan?
A small workshop has limited wood and working hours but wants the largest profit. Each product uses resources and earns money at a steady rate, so every limit is a straight line on a graph — and the best plan always sits at a corner of the allowed region.
This part covers the terminology, formulating a problem, feasible regions, and finding the optimal solution.
This part covers the terminology, formulating a problem, feasible regions, and finding the optimal solution.
What are constraints, the objective function, optimisation and feasible solutions in a linear programming problem?
**A linear programming problem asks for the maximum or minimum of a linear objective function subject to linear inequalities called constraints, including ; points satisfying every constraint are feasible solutions, and the best of them is the optimal solution.
Terminology:
- Objective function** — the linear function to optimise,
- Constraints — linear inequalities the variables must satisfy
- Feasible solution — a point satisfying every constraint; any other point is infeasible
- Optimal solution — a feasible point giving the maximum or minimum value of
Worked example — identify the parts. Maximise subject to , , , .
- The point is feasible, since and
- The point is infeasible, since
An everyday example. A student splitting a fixed number of free hours between two subjects is setting up constraints and an objective without calling it linear programming.
The substance. Every expression must be linear — a term like or takes the problem outside linear programming.
Terminology:
- Objective function** — the linear function to optimise,
- Constraints — linear inequalities the variables must satisfy
- Feasible solution — a point satisfying every constraint; any other point is infeasible
- Optimal solution — a feasible point giving the maximum or minimum value of
Worked example — identify the parts. Maximise subject to , , , .
- The point is feasible, since and
- The point is infeasible, since
An everyday example. A student splitting a fixed number of free hours between two subjects is setting up constraints and an objective without calling it linear programming.
The substance. Every expression must be linear — a term like or takes the problem outside linear programming.
How do you formulate a real-life problem as a linear programming problem?
Define variables for the quantities to be decided, write the objective function for profit or cost, turn every resource limit into a linear inequality, and add the non-negative constraints.
Worked example — the workshop. A carpenter makes chairs and tables. A chair needs hours of work and unit of wood; a table needs hours and units. At most hours and units of wood are available each week. The profit is ₹300 on a chair and ₹500 on a table.
Let chairs and tables be made.
subject to
An everyday example. A dietitian choosing amounts of two foods to meet minimum protein and calcium needs at the lowest cost is formulating a minimisation problem with constraints.
The substance. **Leaving out and can give nonsense answers**, such as building a negative number of tables.
Worked example — the workshop. A carpenter makes chairs and tables. A chair needs hours of work and unit of wood; a table needs hours and units. At most hours and units of wood are available each week. The profit is ₹300 on a chair and ₹500 on a table.
Let chairs and tables be made.
subject to
An everyday example. A dietitian choosing amounts of two foods to meet minimum protein and calcium needs at the lowest cost is formulating a minimisation problem with constraints.
The substance. **Leaving out and can give nonsense answers**, such as building a negative number of tables.
How do you draw the feasible region and decide whether it is bounded or unbounded?
Draw each constraint's boundary line, keep the side that satisfies the inequality, and take the region common to all constraints; it is bounded if it can be enclosed in a circle and unbounded if it extends indefinitely.
Worked example — the workshop. For and :
- meets the axes at and
- meets the axes at and
- Solving with gives and
The feasible region has corners , , and , and it is bounded.
An unbounded region. The constraints , , allow points as far out as you like, so their region is unbounded.
An everyday example. Marking every place on a map reachable within both a fuel limit and a time limit gives a bounded region.
The substance. If no point satisfies all the constraints, the region is empty and the problem has no feasible solution.
Worked example — the workshop. For and :
- meets the axes at and
- meets the axes at and
- Solving with gives and
The feasible region has corners , , and , and it is bounded.
An unbounded region. The constraints , , allow points as far out as you like, so their region is unbounded.
An everyday example. Marking every place on a map reachable within both a fuel limit and a time limit gives a bounded region.
The substance. If no point satisfies all the constraints, the region is empty and the problem has no feasible solution.
How do you find the optimal solution at corner points, and when does an unbounded region have no optimum?
**If an optimal value exists, it occurs at a corner point: for a bounded region compare at every corner, and for an unbounded region confirm that the half-plane beyond the best corner value contains no feasible point, or else no optimum exists.
Worked example — the workshop.** Evaluating :
- :
- :
- :
- :
The maximum profit is ₹3800, from chairs and tables.
Worked example — an unbounded region. For , , , the corners are and , where takes the values and .
- Minimum: the half-plane contains no feasible point, so the minimum is at
- Maximum: grows without limit as or increases, so there is no maximum
An everyday example. A shop owner comparing the profit from each extreme mix of products is checking corner points — the in-between mixes can never beat the best corner.
The substance. Two corners can tie — then every point on the edge joining them is also optimal.
Worked example — the workshop.** Evaluating :
- :
- :
- :
- :
The maximum profit is ₹3800, from chairs and tables.
Worked example — an unbounded region. For , , , the corners are and , where takes the values and .
- Minimum: the half-plane contains no feasible point, so the minimum is at
- Maximum: grows without limit as or increases, so there is no maximum
An everyday example. A shop owner comparing the profit from each extreme mix of products is checking corner points — the in-between mixes can never beat the best corner.
The substance. Two corners can tie — then every point on the edge joining them is also optimal.
Exam tip
What earns full marks on linear programming?
**Draw the graph to scale with every line labelled, list the corner points in a column with beside each, and state the optimal point and value in words.
- Formulation: variables, objective function, constraints, non-negativity
- Feasible region**: the region common to all constraints; test for each
- Corner point method: evaluate at every corner
- Unbounded check: draw the half-plane beyond the candidate value and confirm it misses the region
The trap. Missing the corner where two constraint lines cross inside the axes. Solve those pairs of equations simultaneously — such a corner is often the optimal point.
- Formulation: variables, objective function, constraints, non-negativity
- Feasible region**: the region common to all constraints; test for each
- Corner point method: evaluate at every corner
- Unbounded check: draw the half-plane beyond the candidate value and confirm it misses the region
The trap. Missing the corner where two constraint lines cross inside the axes. Solve those pairs of equations simultaneously — such a corner is often the optimal point.
Did you know
How do airlines and delivery companies use linear programming?
Deciding which aircraft flies which route, or which truck carries which parcels, involves a huge number of variables and constraints — fuel, crew hours, capacity and timings.
The problems are far too big to draw, but computers use the same principle as this lesson: the best plan lies at a corner of the feasible region, and methods that step from corner to better corner find it quickly.
The problems are far too big to draw, but computers use the same principle as this lesson: the best plan lies at a corner of the feasible region, and methods that step from corner to better corner find it quickly.
Exam relevance
Does linear programming matter for JEE Main?
Linear Programming is examined mainly in the Class 12 board paper and is not a separate unit in the JEE Main syllabus, but its core skill — graphing systems of linear inequalities — is used directly in JEE Main coordinate geometry.
What gets asked in boards. Formulating a problem, drawing the feasible region accurately, listing corner points and deciding optimality, including unbounded regions.
Where it helps for JEE. Regions defined by inequalities in Straight Lines, and finding the largest or smallest value of a linear expression over such a region, an idea that can appear in JEE Main and JEE Advanced coordinate geometry.
Question types. Long-answer graphing questions in boards; short region-based reasoning in competitive exams.
The trap that costs marks. Declaring a maximum for an unbounded region without checking the half-plane beyond it.
What gets asked in boards. Formulating a problem, drawing the feasible region accurately, listing corner points and deciding optimality, including unbounded regions.
Where it helps for JEE. Regions defined by inequalities in Straight Lines, and finding the largest or smallest value of a linear expression over such a region, an idea that can appear in JEE Main and JEE Advanced coordinate geometry.
Question types. Long-answer graphing questions in boards; short region-based reasoning in competitive exams.
The trap that costs marks. Declaring a maximum for an unbounded region without checking the half-plane beyond it.
Key takeaways
What must you be able to do from this part?
- Terminology: objective function , linear constraints, non-negativity, feasible and optimal solutions
- Formulation: variables, objective and one inequality per resource; the workshop gives and
- Feasible region: the common shaded region, bounded or unbounded, with corners from intercepts and intersections
- Optimum: evaluate at the corners — ₹3800 at ; for unbounded regions, check the half-plane before concluding
If the profit on a chair rose to ₹400, find the workshop's new best mix and explain why the answer changes.
- Formulation: variables, objective and one inequality per resource; the workshop gives and
- Feasible region: the common shaded region, bounded or unbounded, with corners from intercepts and intersections
- Optimum: evaluate at the corners — ₹3800 at ; for unbounded regions, check the half-plane before concluding
If the profit on a chair rose to ₹400, find the workshop's new best mix and explain why the answer changes.