LPP solver (graphical method)
Solve a linear programming problem in two variables by the graphical method, as ISC Mathematics asks for it: the constraint lines and the shaded feasible region, every corner point with its value of Z, and the maximum or minimum.
How to use it
- 1Type the objective, e.g. Maximise Z = 5x + 3y.
- 2Type each constraint on its own line, including x, y >= 0 if the question has it.
- 3Press Solve to see the feasible region, every corner point and the optimum.
Maximise Z = 5x + 3y
This is the kind of answer you get. Put these values in the boxes or type your own.
Answer
- Maximum of Z
- $\dfrac{235}{19}$
- At
- $x = \dfrac{20}{19}$, $y = \dfrac{45}{19}$
Graph
The shaded part is the feasible region; the dots are its corner points.
Corner points
| Corner (x, y) | Z = 5x + 3y |
|---|---|
| (0, 0) | 0 |
| (0, 3) | 9 |
| ($\dfrac{20}{19}$, $\dfrac{45}{19}$) | $\dfrac{235}{19}$ ← optimal |
| (2, 0) | 10 |
Method
- Draw each constraint as a line: 3x + 5y = 15, 5x + 2y = 10, x = 0, y = 0
- Shade the side of each line that satisfies its inequality (test the origin when the line misses it). The region shaded by all of them is the feasible region.
- Find its corner points: where the boundary lines meet.
- Work out Z at each corner; the largest value is the maximum.
About the LPP solver (graphical method)
What it does
Solves a linear programming problem in two variables by the graphical (corner point) method: it draws each constraint line, shades the feasible region, lists every corner point with the value of Z there, and picks the maximum or the minimum.
The corner point method
- Draw each constraint as a line and shade the side that satisfies it.
- The feasible region is where all the shaded sides overlap. With x, y ≥ 0 it lies in the first quadrant.
- Find the corner points of the region.
- Work out Z at each corner point. The largest value is the maximum and the smallest is the minimum.
If no point satisfies every constraint, or the region is unbounded in the direction where Z keeps improving, there is no optimum and the tool says so.
How to write the input
Type ≤ as <= and ≥ as >=; the buttons under the box insert them. Write the objective as “Maximise Z = 5x + 3y” or “Minimise Z = 3x + 5y”, and x, y >= 0 as its own line.
Common questions
Do I have to type x, y >= 0?
Yes, if the question says x and y cannot be negative. Write it as its own line, x, y >= 0.
What is a corner point?
A point where two boundary lines of the feasible region meet. If Z has a maximum or minimum on a bounded region, it is reached at a corner point.
What if Z has the same best value at two corners?
Then every point on the edge joining them gives that value, and the tool says so in the answer.
Practise on real ISC questions
- Solve the following linear programming problem graphically and interpret your result of $Z = 2x - 5y$ subject…2023 Specimen
- A linear programming problem is given by $Z = px + qy$ where $p, q > 0$ subject to the constraints…2025 Specimen
- The corner points of the feasible region determined by the system of linear constraints are as shown below…2025 Practice
- The feasible region for an L.P.P. is shown in the adjoining figure: Based on the given graph, answer the…2026 Specimen
- A farm is engaged in breeding hens. The hens are fed products A and B grown in the farm which contains…2021 Specimen
- A carpenter has 90, 80 and 50 running feet respectively of teak wood, plywood and rosewood which is used to…2019
- A company uses three machines to manufacture two types of shirts, half sleeves and full sleeves. The number…2020
- Aman has ₹ 1500 to purchase rice and wheat for his grocery shop. Each sack of rice and wheat costs ₹ 180 and…2024
- A linear programming problem (LPP) is given as: Maximize $Z = x + 2y$ subject to the constraints…2025 Practice
- Raunak is a small-scale entrepreneur who sells sewing machines in a rural market. He wants to expand his…2026
More Mathematics tools
- Matrix inverse and equations solverDeterminant, minors, cofactors, adjoint and inverse; or solve equations by the matrix method.
- Matrix calculator and equation solverProducts, sums, powers, transposes and inverses of matrices of any size, and equations like AX = B.
- Regression lines calculatorBoth regression lines, b_yx, b_xy and r from data, summary sums or the two lines; with estimates.
- Probability distribution calculatorFind k, the mean, variance and standard deviation of a random variable, with the working table.
- 3D geometry and vectors calculatorPoints, vectors, lines and planes: distances, angles, foot and image, shortest distance, intersections.
- Bayes' theorem and binomial calculatorBayes' theorem with the total probability table, or a binomial distribution with P(X = r), mean and variance.
- Venn diagram generator and visualiserDraw the Venn diagram of two or three events and shade A ∪ B, A′ ∩ B, (A ∪ B)′ or B given A step by step, with the probability.
- Probability solver for events A, B and CPress buttons for what you know about two or three events and whether they are independent, mutually exclusive or exhaustive; every probability that follows is worked out step by step.