How To Solve System Of Linear Inequalities In Two Variables

9 min read

Introduction

Solving a system of linear inequalities in two variables is a fundamental skill in algebra that extends far beyond the classroom. Whether you are planning a business budget, optimizing a production process, or simply trying to understand the feasible region of a linear programming problem, the ability to interpret and solve these systems empowers you to make informed decisions based on constraints. This article walks you through the conceptual background, step‑by‑step procedures, graphical and algebraic techniques, and common pitfalls, ensuring you can confidently tackle any pair (or larger set) of linear inequalities in two variables.


1. What Is a System of Linear Inequalities?

A linear inequality in two variables (x) and (y) has the general form

[ ax + by ; \text{(≤, <, ≥, >)} ; c, ]

where (a), (b), and (c) are real numbers and the inequality sign can be any of the four relational operators. On top of that, a system consists of two or more such inequalities that must be satisfied simultaneously. The solution set is the collection of all ordered pairs ((x, y)) that make every inequality true Simple as that..

Example:

[ \begin{cases} 2x + 3y \le 12 \ x - y > 1 \end{cases} ]

The goal is to find every point ((x, y)) that lies inside the region defined by the first inequality and on the correct side of the second inequality.


2. Visualizing the Solution: The Feasible Region

2.1 Plotting a Single Inequality

  1. Convert to equality – Replace the inequality sign with “=”. This gives the boundary line.
  2. Draw the line – Use the slope‑intercept form (y = mx + b) or intercept form ( \frac{x}{x_0} + \frac{y}{y_0} = 1) to plot two easy points, then connect them.
  3. Determine shading side
    • Pick a test point not on the line (the origin ((0,0)) works unless the line passes through it).
    • Substitute the test point into the original inequality.
    • If the statement is true, shade the side containing the test point; otherwise, shade the opposite side.
  4. Line style
    • Solid line for “≤” or “≥” (the boundary is included).
    • Dashed line for “<” or “>” (the boundary is excluded).

2.2 Combining Multiple Inequalities

The moment you have two (or more) inequalities, repeat the above steps for each one on the same coordinate plane. The feasible region (also called the solution region or shaded region) is the intersection of all individual shaded areas. Only points that belong to every shaded half‑plane satisfy the whole system.

2.3 Identifying Vertices

If the feasible region is a convex polygon (common when all inequalities are linear and the region is bounded), its vertices (corner points) are of special interest:

  • They are formed by the intersection of two boundary lines.
  • In linear programming, the optimal value of a linear objective function always occurs at a vertex.

Finding vertices algebraically will be covered in Section 4.


3. Algebraic Methods

While the graphical method gives intuition, algebraic techniques are essential for larger systems or when precise coordinates are required.

3.1 Substitution and Elimination

These classic linear‑equation techniques can be adapted to inequalities:

  1. Solve one inequality for a variable (e.g., (y \le 4 - 2x)).
  2. Substitute this expression into the other inequality(s).
  3. Simplify to obtain a single‑variable inequality, which you can solve using standard algebraic rules.
  4. Back‑substitute the solution range into the expression from step 1 to retrieve the corresponding range for the second variable.

Note: When multiplying or dividing an inequality by a negative number, reverse the inequality sign.

3.2 Using Linear Programming (Two‑Variable Simplex)

For optimization problems, the Simplex method reduces to evaluating the objective function at each vertex of the feasible region. The steps are:

  1. Write each inequality in standard form (all variables on the left, constants on the right).
  2. Convert “≤” constraints to equalities by adding slack variables.
  3. Set up a tableau and perform pivot operations until an optimal solution emerges.
  4. The solution gives the optimal ((x, y)) pair and the maximum/minimum value of the objective.

Even if you don’t need the full Simplex algorithm, understanding that the optimum lies at a vertex guides you to compute only those intersection points That alone is useful..


4. Step‑by‑Step Procedure (Graphical Method)

Below is a concrete workflow you can follow for any system of two linear inequalities.

Step 1 – Write each inequality in slope‑intercept form

[ \begin{aligned} 2x + 3y &\le 12 \quad \Rightarrow \quad y \le -\frac{2}{3}x + 4 \ x - y &> 1 \quad \Rightarrow \quad y < x - 1 \quad (\text{reverse sign when isolating } y) \end{aligned} ]

Step 2 – Plot the boundary lines

  • Line 1: (y = -\frac{2}{3}x + 4) (solid).
  • Line 2: (y = x - 1) (dashed because the original sign is “>”).

Mark the intercepts:

  • For Line 1, when (x = 0), (y = 4); when (y = 0), (x = 6).
  • For Line 2, when (x = 0), (y = -1); when (y = 0), (x = 1).

Step 3 – Shade the appropriate side of each line

  • Test point ((0,0)) in the first inequality: (0 \le 12) → true → shade below Line 1.
  • Test point ((0,0)) in the second inequality: (0 < -1) → false → shade above Line 2.

Step 4 – Identify the intersection of the shaded regions

The feasible region is the area below Line 1 and above Line 2. It forms a bounded polygon (in this case, a triangle) That's the whole idea..

Step 5 – Find the vertices (intersection points)

Solve the pair of equations obtained by setting the boundary lines equal:

[ -\frac{2}{3}x + 4 = x - 1 \quad \Longrightarrow \quad \frac{5}{3}x = 5 \quad \Longrightarrow \quad x = 3, ] [ y = x - 1 = 2. ]

Other vertices are the intercepts that also satisfy both inequalities:

  • Intersection of Line 1 with the (x)-axis: ((6,0)) → check (0 < 5) (true).
  • Intersection of Line 2 with the (y)-axis: ((0,-1)) → check (-1 \le 4) (true).

Thus the feasible region’s vertices are ((0,-1)), ((6,0)), and ((3,2)).

Step 6 – Verify each vertex satisfies all original inequalities

Plug each vertex back into the original system. If a vertex fails any inequality, discard it (this can happen when a boundary line is dashed, i.e., not part of the solution) Still holds up..

Step 7 – (Optional) Optimize an objective function

If you need to maximize (P = 2x + y), evaluate (P) at each vertex:

  • (P(0,-1) = -1)
  • (P(6,0) = 12)
  • (P(3,2) = 8)

The maximum occurs at ((6,0)) with (P = 12).


5. Common Mistakes and How to Avoid Them

Mistake Why It Happens Correct Approach
Using the wrong test point Forgetting that the test point must not lie on the boundary line.
Skipping verification of vertices Believing that any intersection of boundary lines automatically satisfies the system. **
Reversing the inequality sign incorrectly Multiplying/dividing by a negative number but forgetting to flip the sign. After shading, examine whether the region extends infinitely; unbounded regions have no maximum for a maximizing objective (unless additional constraints are added). g.
Ignoring the line style Treating a dashed line as solid (including the boundary). Write a reminder: “If you multiply or divide by a negative, reverse the inequality.
Assuming the feasible region is always bounded Some systems produce an unbounded region (e. , two parallel half‑planes that open outward). Always substitute each vertex into all original inequalities to confirm validity.

6. Extending to More Than Two Inequalities

When you have three or more linear inequalities in two variables, the procedure remains the same: plot each line, shade the appropriate half‑plane, and find the common intersection. g.Still, the feasible region may become more complex (e., a pentagon).

Counterintuitive, but true.

  1. List all boundary equations and solve pairwise to obtain all possible intersection points.
  2. Filter those points that satisfy every inequality.
  3. Order the valid points cyclically to visualize the polygon (use a graphing calculator or software for accuracy).

The number of vertices will be at most (\binom{n}{2}) where (n) is the number of inequalities, but many intersections will be discarded because they lie outside the feasible region Small thing, real impact..


7. Frequently Asked Questions (FAQ)

Q1: Can a system of linear inequalities have no solution?
Yes. If the shaded half‑planes do not overlap at all, the feasible region is empty. Take this: (x > 2) and (x < 1) cannot be satisfied simultaneously.

Q2: What does it mean when the feasible region is a line segment?
When two inequalities are “tight” (both are equalities) and the remaining inequalities force the solution onto that line, the solution set collapses to a line segment or even a single point That's the part that actually makes a difference..

Q3: How do I handle fractions when plotting?
Multiply every inequality by the least common denominator to eliminate fractions before graphing. This preserves the solution set because you are scaling both sides by a positive number.

Q4: Is there a quick way to know if the region is bounded?
If the system contains at least one “≤” or “≥” inequality that limits the variable in each direction (both upper and lower bounds for (x) and (y)), the region is likely bounded. Formal tests involve checking whether the set of direction vectors that satisfy all inequalities is limited.

Q5: Can I use technology?
Absolutely. Graphing calculators, spreadsheet tools, or free online graphing utilities (Desmos, GeoGebra) can plot half‑planes and automatically shade the feasible region, saving time and reducing errors.


8. Real‑World Applications

  1. Dietary Planning – Nutritionists model calorie, protein, and vitamin constraints as linear inequalities; feasible diets are points in the feasible region.
  2. Manufacturing – A factory may have limits on labor hours and raw material usage. Solving the system tells the manager the allowable production mix of two products.
  3. Finance – Portfolio allocation often involves risk‑return trade‑offs expressed as inequalities; the feasible set represents permissible investment combinations.
  4. Urban Planning – Zoning laws (e.g., maximum building height vs. minimum green space) translate into linear constraints on land‑use variables.

Understanding how to solve these systems equips you with a versatile analytical tool applicable across science, engineering, economics, and everyday decision‑making And it works..


9. Conclusion

Mastering the solution of systems of linear inequalities in two variables blends visual intuition with algebraic rigor. Whether you are preparing for an exam, optimizing a business process, or simply exploring the geometry of constraints, the systematic approach outlined here will guide you to accurate and insightful results. By converting each inequality to its boundary line, correctly shading half‑planes, locating the intersection (feasible region), and verifying vertices, you obtain a complete description of all possible solutions. Remember to double‑check sign reversals, respect line styles, and always validate your final points against every original inequality. With practice, the process becomes second nature, turning complex constraint problems into clear, manageable visualizations That's the part that actually makes a difference..

Newest Stuff

New This Week

On a Similar Note

Keep the Thread Going

Thank you for reading about How To Solve System Of Linear Inequalities In Two Variables. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home