Systems of Inequalities

Find the region satisfying both inequalities by graphing on the same axes; use when a problem has multiple constraints that must all be satisfied.

{yf(x)yg(x)\begin{cases} y \le f(x) \\ y \ge g(x) \end{cases}

Solve a problem with Systems of Inequalities

Type the problem. The solver will use Systems of Inequalities where Systems of Inequalities is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Systems of Inequalities takes
ff
gg
xx
yy
Systems of Inequalities
SymbolMeaning
ffThe function that defines the upper boundary of the region; the expression in yf(x)y \le f(x) that yy stays at or below.
ggThe function that defines the lower boundary of the region; the expression in yg(x)y \ge g(x) that yy stays at or above.
xxThe independent variable (horizontal axis); represents inputs to both functions ff and gg.
yyThe dependent variable (vertical axis); the value that must simultaneously satisfy both yf(x)y \le f(x) and yg(x)y \ge g(x).

When to use it

When a real-world problem has multiple constraints that must all be satisfied at the same time.

Level

Usually taught in: Algebra I · Appears on: SAT

Worked examples

1. Find the region for two linear boundaries with opposite slopes

Problem

Solve the system yx+2y \le x + 2 and yxy \ge -x.
  1. y=x+2 and y=xy = x + 2 \text{ and } y = -x

    Identify the two boundary lines from the system.

  2. x+2=xx + 2 = -x

    Find the intersection point by setting f(x)=g(x)f(x) = g(x).

  3. 2x=22x = -2

    Add xx to both sides.

  4. x=1x = -1

    Divide both sides by 2.

  5. y=(1)=1y = -(-1) = 1

    Substitute x=1x = -1 into y=xy = -x to find the yy-coordinate of the intersection.

Answer: x1 with xyx+2x \ge -1 \text{ with } -x \le y \le x + 2

The region is bounded by two lines that meet at (1,1)(-1, 1). For any xx-value at or to the right of 1-1, the value of yy must lie between the lower boundary y=xy = -x and the upper boundary y=x+2y = x + 2. Points in this wedge-shaped region satisfy both inequalities simultaneously.

2. Solve a system with negative slope and fractional slope

Problem

Solve y2x+4y \le -2x + 4 and y12x1y \ge \frac{1}{2}x - 1.
  1. 2x+4=12x1-2x + 4 = \frac{1}{2}x - 1

    Set the boundary functions equal to find where they intersect.

  2. 2x12x=14-2x - \frac{1}{2}x = -1 - 4

    Move all terms with xx to the left and constants to the right.

  3. 42x12x=5-\frac{4}{2}x - \frac{1}{2}x = -5

    Rewrite 2x-2x as 42x-\frac{4}{2}x to use a common denominator.

  4. 52x=5-\frac{5}{2}x = -5

    Combine the fractions on the left: 4212=52-\frac{4}{2} - \frac{1}{2} = -\frac{5}{2}.

  5. x=5÷(52)=2x = -5 \div \left(-\frac{5}{2}\right) = 2

    Multiply both sides by the reciprocal 25-\frac{2}{5}.

  6. y=2(2)+4=0y = -2(2) + 4 = 0

    Substitute x=2x = 2 into either boundary equation to find yy.

Answer: x2 with 12x1y2x+4x \le 2 \text{ with } \frac{1}{2}x - 1 \le y \le -2x + 4

The boundaries intersect at (2,0)(2, 0). The solution is the region where points satisfy both inequalities, bounded by a line with slope 2-2 on top and a line with slope 12\frac{1}{2} on the bottom. The region exists to the left of x=2x = 2, where the steep negative slope and gentle positive slope create a wedge.

3. Apply constraints to garden dimensions

Problem

A rectangular garden has length yy meters and width xx meters. The perimeter must not exceed 40 meters, and the length must be at least 2 meters more than the width. Write a system of inequalities for valid dimensions.
  1. 2y+2x402y + 2x \le 40

    The perimeter formula 2y+2x2y + 2x must not exceed 40 meters.

  2. y+x20y + x \le 20

    Divide the perimeter inequality by 2 to simplify.

  3. y20xy \le 20 - x

    Rearrange to isolate yy on the left; this is the upper boundary.

  4. yx+2y \ge x + 2

    The length must be at least 2 meters more than the width; this is the lower boundary.

  5. 20x=x+220 - x = x + 2

    Find the corner point by setting the upper and lower boundaries equal.

  6. 18=2x    x=918 = 2x \implies x = 9

    Solve for xx by subtracting xx and subtracting 2.

  7. y=9+2=11y = 9 + 2 = 11

    Substitute x=9x = 9 into y=x+2y = x + 2 to find the corresponding length.

Answer: 0<x9 and x+2y20x0 < x \le 9 \text{ and } x + 2 \le y \le 20 - x

The valid garden dimensions form a triangular region on the graph. When the width is 9 meters, the length is exactly 11 meters, using all 40 meters of perimeter. The width must be positive (greater than 0) and at most 9 meters. For each width xx, the length yy must satisfy both constraints: at least x+2x + 2 (to meet the length-to-width requirement) and at most 20x20 - x (to stay within the perimeter limit).

Common mistakes

Where Systems of Inequalities usually goes wrong
Answer came out wrong
Shading the region where only one inequality is true instead of where both are true.
The solution region must satisfy ALL inequalities simultaneously; only shade the area where both shadings overlap.
Using a solid boundary line for strict inequalities (<< or >>) instead of a dashed line.
Use a solid line for \le and \ge, and a dashed (or dotted) line for << and >>.
Failing to verify which region to shade by testing a point.
Pick a point not on either boundary (such as (0,0)(0, 0) if it is not on the lines), substitute into both inequalities, and shade the side that makes both true.
The mistakeWhy it is wrongThe fix
Shading the region where only one inequality is true instead of where both are true.Students correctly graph both inequalities but shade the area satisfying either constraint (the union) rather than both constraints (the intersection).The solution region must satisfy ALL inequalities simultaneously; only shade the area where both shadings overlap.
Using a solid boundary line for strict inequalities (<< or >>) instead of a dashed line.With y<f(x)y < f(x) (not f(x)\le f(x)), the boundary line itself does not satisfy the inequality, so it should not be included as part of the solution.Use a solid line for \le and \ge, and a dashed (or dotted) line for << and >>.
Failing to verify which region to shade by testing a point.Without checking a test point, students often shade the opposite region or shade incorrectly when both boundaries have unusual slopes.Pick a point not on either boundary (such as (0,0)(0, 0) if it is not on the lines), substitute into both inequalities, and shade the side that makes both true.

Tips and when to use something else

  • Always test a point in your shaded region to verify it satisfies both inequalities; (0,0)(0, 0) is convenient if it is not on a boundary.
  • Find intersection points of the boundaries by setting f(x)=g(x)f(x) = g(x); these corners often matter for optimization problems (use linear programming if you need to maximize or minimize).
  • If the two boundary lines do not intersect or intersect outside the region you care about, the solution might be unbounded (extending to infinity) or empty (no solutions).
  • For real-world constraints like perimeter and dimension limits, clearly identify which boundary is the upper limit and which is the lower limit before writing your inequalities.

Frequently asked questions

What is the difference between a system of inequalities and a system of equations?
With equations, you find specific points (usually one or a line). With inequalities, you find an entire region where all conditions are true. Equations use ==, while inequalities use <<, >>, \le, or \ge.
Why is the solution a shaded region instead of just a line or point?
An inequality describes infinitely many solutions. For example, yxy \ge -x is satisfied by (0,0)(0, 0), (1,5)(1, 5), (3,2)(-3, 2), and countless other points. The shaded region shows all of them at once, whereas a single equation typically has just one solution or a line of solutions.
What does it mean if there is no shaded region (an empty solution set)?
It means the inequalities contradict each other—no point can satisfy all of them simultaneously. For example, y5y \ge 5 and y2y \le 2 cannot both be true for any value of yy, so the system has no solution.
Does a system of inequalities always have infinitely many solutions?
A system of inequalities either has infinitely many solutions (a region) or zero solutions (if the constraints contradict). It cannot have exactly one or finitely many solutions unless you add extra restrictions, such as requiring integer coordinates only.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18