Corner Point Calculator
Calculate corner points (vertices) of a feasible region from linear equations. Solve line intersections using Cramer's rule with visual graph.
About
In linear programming, the optimal value of an objective function occurs at a corner point (vertex) of the feasible region. A corner point is defined as the intersection of exactly two boundary lines from a system of linear inequalities. Misidentifying these vertices leads to incorrect optimal solutions and flawed resource allocation decisions. This calculator solves all pairwise intersections of your linear equations using Cramer's rule, computes the determinant D = a1b2 โ a2b1, and reports each vertex coordinate with configurable decimal precision.
The tool detects parallel lines (determinant = 0) and coincident lines automatically. Note: this calculator finds geometric intersection points of lines. It does not evaluate inequality feasibility. You must verify that each corner point satisfies all constraints in your system. For systems with n lines, there are at most n(n โ 1)2 possible intersection points.
Formulas
Given two lines in standard form:
The system determinant (Cramer's rule):
If D โ 0, the unique intersection point is:
If D = 0, the lines are parallel (no intersection) or coincident (infinite intersections). The total number of pairwise intersections for n lines:
Where a1, b1, c1 are coefficients of the first line, a2, b2, c2 are coefficients of the second line, D is the system determinant, and x, y are the coordinates of the intersection (corner) point.
Reference Data
| Number of Lines | Max Corner Points | Pairwise Combinations | Typical Application |
|---|---|---|---|
| 2 | 1 | 1 | Single constraint intersection |
| 3 | 3 | 3 | Triangle feasible region |
| 4 | 6 | 6 | Quadrilateral LP region |
| 5 | 10 | 10 | Pentagon feasible region |
| 6 | 15 | 15 | Complex multi-constraint LP |
| 7 | 21 | 21 | Production scheduling |
| 8 | 28 | 28 | Portfolio optimization |
| 9 | 36 | 36 | Transportation problems |
| 10 | 45 | 45 | Network flow models |
| 12 | 66 | 66 | Multi-resource allocation |
| 15 | 105 | 105 | Large-scale LP |
| 20 | 190 | 190 | Industrial optimization |
| n | n(n โ 1)2 | C(n, 2) | General formula |