Last verified · v1.0
Calculator · math
Corner Point Calculator (Intersection Of Two Lines)
Find the exact corner point where two linear equations intersect. Enter six coefficients in standard form to instantly compute x, y coordinates or distance from origin.
Inputs
Corner Point Value
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
What Is a Corner Point Calculator?
A corner point calculator finds the exact (x, y) intersection of two straight lines given in standard form a₁x + b₁y = c₁ and a₂x + b₂y = c₂. In linear programming, the optimal solution to any maximization or minimization problem always occurs at one of these corner points—also called vertices—of the feasible region. Rather than graphing lines by hand or working through multi-step algebra, users enter six coefficients and receive precise intersection coordinates in seconds.
The Formula: Cramer’s Rule Applied
The calculator applies Cramer’s Rule, a closed-form determinant method for solving 2×2 linear systems. Given two equations in standard form, the intersection coordinates are:
- x-coordinate: x = (c₁b₂ − c₂b₁) ÷ (a₁b₂ − a₂b₁)
- y-coordinate: y = (a₁c₂ − a₂c₁) ÷ (a₁b₂ − a₂b₁)
The shared denominator D = a₁b₂ − a₂b₁ is the determinant of the 2×2 coefficient matrix. A non-zero determinant guarantees one unique intersection point. When D = 0, the lines are parallel or coincident and no unique corner point exists.
Variable Definitions
- a₁ — Coefficient of x in the first equation (a₁x + b₁y = c₁)
- b₁ — Coefficient of y in the first equation
- c₁ — Constant on the right-hand side of the first equation
- a₂ — Coefficient of x in the second equation
- b₂ — Coefficient of y in the second equation
- c₂ — Constant on the right-hand side of the second equation
- D — Determinant: a₁b₂ − a₂b₁ (denominator for both coordinates)
Step-by-Step Worked Example
Consider two constraint boundaries from a production planning model:
- Line 1 (labor hours): 2x + 3y = 12, so a₁ = 2, b₁ = 3, c₁ = 12
- Line 2 (material units): x + y = 5, so a₂ = 1, b₂ = 1, c₂ = 5
Step 1 — Compute the determinant: D = (2)(1) − (1)(3) = 2 − 3 = −1
Step 2 — Solve for x: x = (c₁b₂ − c₂b₁) ÷ D = (12 × 1 − 5 × 3) ÷ (−1) = (12 − 15) ÷ (−1) = 3
Step 3 — Solve for y: y = (a₁c₂ − a₂c₁) ÷ D = (2 × 5 − 1 × 12) ÷ (−1) = (10 − 12) ÷ (−1) = 2
The corner point is (3, 2). Verification: 2(3) + 3(2) = 12 ✔ and 3 + 2 = 5 ✔. The distance from the origin to this vertex is √(3² + 2²) = √13 ≈ 3.606 units.
Why Corner Points Matter in Linear Programming
The Corner Point Theorem states that if a linear objective function attains an optimal value over a bounded convex feasible region, that optimum occurs at a vertex of the region. According to the Richland Community College Linear Programming Corner Point Table, every bounded feasible region formed by linear constraints has a finite set of vertices, and evaluating the objective function at each vertex is sufficient to identify the global optimum—no calculus required. The University of Wisconsin–Madison COMAP Linear Programming Guide demonstrates that a feasible region defined by m linear constraints can produce up to m(m−1)/2 pairwise intersection candidates; for just 5 constraints, that means up to 10 corner point calculations. Automating each calculation with this tool eliminates the tedious algebra and reduces arithmetic errors.
Real-World Applications
- Operations research: Maximizing profit subject to labor, machine time, and raw material constraints
- Nutrition science: Minimizing dietary cost while satisfying minimum nutrient requirements
- Manufacturing: Optimizing the production mix for two products sharing limited machine capacity
- Finance: Allocating a portfolio between two assets under return and risk budget constraints
- Transportation logistics: Minimizing shipping cost across two overlapping regional supply boundaries
Special Cases to Watch
When D = a₁b₂ − a₂b₁ = 0, the two lines share the same slope. Parallel lines (same slope, different intercepts) never intersect, meaning no corner point exists for that constraint pair. Coincident lines (same slope, same intercept) overlap entirely and produce infinitely many solutions. In both cases division by zero is undefined, and the calculator alerts users rather than returning an erroneous result.
Reference