Inequality Region Calculator

Plot linear constraints accurately. Reveal feasible vertices and objective extremes clearly.

Calculator Inputs

Enter up to six linear conditions in the form ax + by relation c. Blank rows are ignored automatically.

Constraint 1

Example: 2x + 1y ≤ 18 becomes a=2, b=1, relation ≤, c=18.

Constraint 2

Example: 2x + 1y ≤ 18 becomes a=2, b=1, relation ≤, c=18.

Constraint 3

Example: 2x + 1y ≤ 18 becomes a=2, b=1, relation ≤, c=18.

Constraint 4

Example: 2x + 1y ≤ 18 becomes a=2, b=1, relation ≤, c=18.

Constraint 5

Example: 2x + 1y ≤ 18 becomes a=2, b=1, relation ≤, c=18.

Constraint 6

Example: 2x + 1y ≤ 18 becomes a=2, b=1, relation ≤, c=18.

Plotting Box

The region is clipped to this box. Use wider bounds to inspect larger feasible sets.

Objective Function

The calculator evaluates the objective at each feasible vertex and returns the best detected point.

Actions

Suggested starter set: x + y ≤ 12, x ≥ 2, y ≥ 1, and 2x + y ≤ 18.

Example Data Table

Constraint a b Relation c Meaning
1 1 1 12 x + y ≤ 12
2 1 0 2 x ≥ 2
3 0 1 1 y ≥ 1
4 2 1 18 2x + y ≤ 18

With objective Z = 3x + 2y, the calculator inspects corner points, calculates polygon measures, and identifies the best feasible vertex.

Formula Used

General constraint: ax + by ∘ c, where ∘ can be ≤, ≥, or =.

Boundary line: ax + by = c.

Intersection of two boundaries: solve the linear system a₁x + b₁y = c₁ and a₂x + b₂y = c₂.

Determinant: D = a₁b₂ − a₂b₁.

Coordinates: x = (c₁b₂ − c₂b₁) / D and y = (a₁c₂ − a₂c₁) / D, when D ≠ 0.

Objective function: Z = px + qy, evaluated at each feasible vertex.

Polygon area: the shoelace formula is used after sorting feasible vertices counterclockwise.

This approach is ideal for two-variable linear inequality systems, classroom graphing checks, and small linear-programming style region studies.

How to Use This Calculator

  1. Enter each condition using coefficients for x and y, then choose ≤, ≥, or =.
  2. Set the plotting box so the visible graph covers the region you want to inspect.
  3. Optionally enter an objective function to test maximum or minimum corner values.
  4. Press Calculate Region to display the result above the form.
  5. Review the plot, the feasible vertices, area, perimeter, centroid, and optimal point.
  6. Use the download buttons to export the summary as CSV or PDF.

Frequently Asked Questions

1. What does this calculator actually find?

It plots boundary lines, tests feasible points, builds the visible feasible polygon, lists vertices, measures area and perimeter, and checks an objective function.

2. Can it solve inequalities with equalities too?

Yes. You can mix ≤, ≥, and = conditions. Equality rows act as exact boundary lines and still participate in vertex detection.

3. Why does the plotting box matter?

The graph and polygon are clipped to the chosen x and y limits. Wider limits reveal more of large or partly unbounded regions.

4. Does it work for more than two variables?

No. This page is designed for two-variable systems only, because feasible regions are graphed in the x-y plane.

5. How is the optimum point selected?

The calculator evaluates the objective function at every feasible vertex and returns the highest or lowest value, depending on your chosen mode.

6. What if no region appears?

Your conditions may be inconsistent, or the feasible area may lie outside the chosen plotting box. Try wider bounds or review the inequalities.

7. Why are some blank rows allowed?

Blank rows let you use fewer than six constraints without editing the page structure. Empty rows are ignored during calculation.

8. Can I use this for linear programming practice?

Yes. It is useful for classroom examples, corner-point method practice, and quick checks of bounded feasible sets and objective values.

Related Calculators

algebra inequality calculatorinequality solution set calculatorinequality number line calculatorinequality graph solverinequality graph plotterrational inequality calculatorpolynomial inequality calculatoronline inequality solverinequality step solverinequality shading calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.