Equations & Inequalities

Solving Linear Inequalities

Solve a linear inequality the way you solve a linear equation: isolate the variable with inverse operations, and reverse the inequality symbol whenever you multiply or divide both sides by a negative number. The answer is a range of values, such as x>5x > 5, not a single number.

ax+b<c  ⇒  x<c−ba if a>0,x>c−ba if a<0ax+b<c \;\Rightarrow\; x<\frac{c-b}{a}\ \text{if } a>0, \qquad x>\frac{c-b}{a}\ \text{if } a<0

Try it with your numbers

Show every step

A linear inequality compares a first-degree expression using <<, >>, ≤\le or ≥\ge instead of ==. If solving one-step equations already feels automatic, you own nearly all of the skill. The rest is one rule about negatives, and the sections below show where that rule comes from so you do not have to memorize it blindly.

How do you solve linear inequalities step by step?

Every linear inequality has a boundary, the value where both sides are equal. Solving the matching equation finds that boundary, and the inequality symbol then tells you which side of it works. That is why the process mirrors two-step equations, and why longer problems follow the same order as multi-step equations.

  1. Clear fractions and parentheses.
  2. Add or subtract so the variable term sits alone on one side.
  3. Divide or multiply to leave a lone xx, flipping the symbol only if that number is negative.
  4. Read the result and describe the set of solutions.

Take 2(x−3)+5≤112(x-3)+5 \le 11.

2x−6+5≤112x−1≤112x≤12x≤6\begin{aligned} 2x - 6 + 5 &\le 11 \\ 2x - 1 &\le 11 \\ 2x &\le 12 \\ x &\le 6 \end{aligned}

The boundary is x=6x = 6, and it is included because of the ≤\le. Substituting x=6x = 6 gives 2(3)+5=112(3) + 5 = 11, which is allowed, and every smaller number keeps the left side at or below 1111.

Quick check

Solve 4x−3≥134x - 3 \ge 13.

Why does the sign flip when you divide by a negative?

Number line showing 2 and 5 reflected across zero to negative 2 and negative 5, reversing the order
Multiplying 2 < 5 by −1 reflects both points across zero, so the true statement becomes −2 > −5.

Start with a true statement: 2<52 < 5. Multiply both sides by −1-1 and you get −2-2 and −5-5. On the number line, −2-2 sits to the right of −5-5, so the true statement is now −2>−5-2 > -5. Multiplying by a negative reflects the whole number line across zero, and a reflection reverses left-to-right order. Adding or subtracting only slides the line, so those operations never flip anything. Dividing by a negative is the same reflection, so it flips too.

Solve −4x+9>21-4x + 9 > 21.

−4x+9>21−4x>12x<−3\begin{aligned} -4x + 9 &> 21 \\ -4x &> 12 \\ x &< -3 \end{aligned}

Dividing by −4-4 reversed the symbol. There is also a method that avoids the flip entirely: add 4x4x to both sides to get 9>21+4x9 > 21 + 4x, then −12>4x-12 > 4x, then −3>x-3 > x. That reads as x<−3x < -3, the same answer, because the variable’s coefficient stayed positive the whole time.

The flip trap

The symbol flips because of what you multiply or divide by, not because a negative appears somewhere. In x+(−3)>2x + (-3) > 2 or x−(−3)>2x - (-3) > 2 nothing flips. Only a negative coefficient on the variable triggers it.

The same fork appears in literal equations. For ax<bax < b, the answer is x<bax < \frac{b}{a} when a>0a > 0 but x>bax > \frac{b}{a} when a<0a < 0, so the problem cannot be finished until the sign of aa is known.

Solving linear inequalities with variables on both sides

When xx appears on both sides, collect the variable terms on the side where its coefficient is larger. That keeps the final coefficient positive and removes the chance of a forgotten flip. The idea is the same one used in equations with variables on both sides, with one extra check at the end.

Solve x2+1≥2x3−2\frac{x}{2} + 1 \ge \frac{2x}{3} - 2. Multiply every term by 66, the least common denominator. It is positive, so the symbol stays put.

3x+6≥4x−126≥x−1218≥x\begin{aligned} 3x + 6 &\ge 4x - 12 \\ 6 &\ge x - 12 \\ 18 &\ge x \end{aligned}

Read 18≥x18 \ge x from the variable’s point of view: xx is at most 1818, so x≤18x \le 18. A quick check: at x=18x = 18 both sides equal 1010, at x=0x = 0 the statement 1≥−21 \ge -2 is true, and at x=30x = 30 the statement 16≥1816 \ge 18 is false.

If you had moved 4x4x to the left instead, you would reach −x+6≥−12-x + 6 \ge -12, then −x≥−18-x \ge -18, and the flip gives the same x≤18x \le 18. Both routes work, but the first one cannot go wrong on the sign. Clearing fractions with a positive denominator is always safe. Only a negative multiplier flips the symbol.

Linear inequalities with no solution or every solution

Sometimes the variable cancels completely. Then the leftover statement decides everything. In 3(x+2)>3x+13(x+2) > 3x + 1, distributing gives 3x+6>3x+13x + 6 > 3x + 1, and subtracting 3x3x leaves 6>16 > 1. That is true no matter what xx is, so every real number is a solution, written (−∞,∞)(-\infty, \infty).

Compare 2x−5≤2x−92x - 5 \le 2x - 9. Subtracting 2x2x leaves −5≤−9-5 \le -9, which is false for every xx, so the solution set is empty. Do not write x=0x = 0 or leave it blank. Write “no solution.”

Why the variable cancels

Both sides have the same slope, so the lines y=3x+6y = 3x + 6 and y=3x+1y = 3x + 1 are parallel and never cross. One line always sits above the other, so the inequality holds everywhere or nowhere.

This is the inequality version of an identity and a contradiction. When you see matching xx terms on both sides before you simplify, you can predict this outcome before doing any algebra.

Writing the answer: number line and interval notation

One solution can be written three ways: as an inequality, on a number line, and in interval notation. Many teachers want all three. On a number line, an open circle means the endpoint is excluded and a closed circle means it is included. The shading points the same way the symbol does when xx is on the left.

Inequality Number line Interval notation
x>5x > 5 open circle at 55, arrow right (5,∞)(5, \infty)
x≤−3x \le -3 closed circle at −3-3, arrow left (−∞,−3](-\infty, -3]
−2≤x<4-2 \le x < 4 closed at −2-2, open at 44 [−2,4)[-2, 4)

The conventions in interval notation are short: the smaller number goes on the left, parentheses mean excluded, brackets mean included, and infinity always gets a parenthesis because it is not a number you can reach. The most common slip is writing the endpoints in the wrong order, such as (4,−2](4, -2].

Quick check

Write x≤−3x \le -3 in interval notation.

How do you check a linear inequality answer?

Number line for x less than negative 3 with three test values checked in the inequality negative 4x plus 9 greater than 21
For −4x + 9 > 21 with answer x < −3, the values −4, −3 and 0 confirm inside, boundary and outside.

Equations can be checked with one substitution. Inequalities need three, and they take under a minute. Test the boundary, one value inside your answer, and one value outside it.

Take the answer x<−3x < -3 from −4x+9>21-4x + 9 > 21. At the boundary x=−3x = -3, the left side is 2121, which is not greater than 2121, so −3-3 is rightly excluded. Inside the answer, x=−4x = -4 gives 16+9=25>2116 + 9 = 25 > 21, which is true. Outside it, x=0x = 0 gives 9>219 > 21, which is false.

This check catches the most common error. If you had forgotten to flip and written x>−3x > -3, the test value 00 would have shown the answer was backwards. The boundary test also tells you whether to use an open or closed endpoint, since it only passes for ≤\le and ≥\ge.

Try this: Solve 5−2x≥15 - 2x \ge 1, then check it with the boundary value, one number from your answer and one number outside it. You should land on x≤2x \le 2.

Compound and three-part linear inequalities

A three-part inequality squeezes an expression between two bounds. The rule is to do the same operation to all three parts. Solve −3<2x+1≤9-3 < 2x + 1 \le 9.

−4<2x≤8−2<x≤4\begin{aligned} -4 &< 2x \le 8 \\ -2 &< x \le 4 \end{aligned}

The solution is (−2,4](-2, 4]. A negative in the middle needs more care. For −2≤−x<5-2 \le -x < 5, multiply all parts by −1-1, flipping both symbols: 2≥x>−52 \ge x > -5. Then rewrite with the smallest number first, −5<x≤2-5 < x \le 2, so it reads left to right.

Not every compound inequality is a single chain. An “or” statement such as x<−1x < -1 or x>3x > 3 is two separate pieces joined by a union. The full toolkit, including “and” versus “or,” is in compound inequalities. The same two shapes appear in absolute value inequalities: ∣x∣<4|x| < 4 becomes the chain −4<x<4-4 < x < 4, and ∣x∣>4|x| > 4 becomes the “or” type.

Quick check

Solve −5≤3x+1<10-5 \le 3x + 1 < 10.

Linear inequalities word problems: at least and at most

The hard part of a word problem is choosing the symbol. These phrases cover most cases:

  • “At least” or “minimum of”: ≥\ge
  • “At most,” “no more than” or “maximum of”: ≤\le
  • “More than” or “exceeds”: >>
  • “Fewer than” or “under”: <<

A gym charges a 2525 sign-up fee plus 1818 per month. How many months can you pay for with a budget of at most 200200? Write 25+18m≤20025 + 18m \le 200, so 18m≤17518m \le 175 and m≤17518≈9.72m \le \frac{175}{18} \approx 9.72. Months come in whole numbers, so the answer is 99 months. Check: 99 months cost 25+162=18725 + 162 = 187, but 1010 months would cost 205205.

That rounding direction matters. A budget cap rounds down, because rounding up breaks the limit. A requirement such as “at least 9.729.72 boxes needed” rounds up. The setup is the same as in linear equation word problems, with one added decision about what the answer means in the real situation.

Linear inequalities in two variables and where the method stops

With two variables, the solution is a region, not a ray. To graph y>2x−1y > 2x - 1, draw the boundary line through (0,−1)(0, -1) with slope 22 (the form from slope-intercept form makes this quick). The line is dashed because the symbol is strict. Test (0,0)(0, 0): 0>−10 > -1 is true, so shade the side containing the origin, which is above the line. If the test point is on the line, pick another one.

The one-variable method has a limit. It depends on multiplying by a number whose sign you know. In x+1x−2>0\frac{x+1}{x-2} > 0, you cannot multiply both sides by x−2x - 2, because it is positive for some xx and negative for others, and you would not know whether to flip. Instead, find where the expression equals zero or is undefined, at x=−1x = -1 and x=2x = 2, and test a number in each region. The solution is x<−1x < -1 or x>2x > 2. The clearing techniques in solving rational equations apply to the same expressions, but inequalities demand that extra sign analysis.

Practice problems

0 of 5 solved

  1. Solve x+7<15x + 7 < 15.

  2. Solve 5x−4≥215x - 4 \ge 21.

  3. Solve −3x+2<14-3x + 2 < 14.

  4. Solve 4(x−1)≤6x+84(x - 1) \le 6x + 8.

  5. Solve 2x−13>x+42−1\frac{2x-1}{3} > \frac{x+4}{2} - 1.

Common questions

When do you flip the inequality sign?

Flip it only when you multiply or divide both sides by a negative number. Adding or subtracting never flips the symbol, even when the number you add or subtract is negative.

Is solving an inequality the same as solving an equation?

The steps are the same: simplify, collect variable terms, then divide. The differences are the negative-number flip and the answer, which is a range of values instead of one number.

What is the difference between an open circle and a closed circle?

An open circle (or parenthesis) means the endpoint is not part of the solution, which goes with << and >>. A closed circle (or bracket) means the endpoint is included, which goes with ≤\le and ≥\ge.

Can a linear inequality have no solution?

Yes. If the variable cancels and you are left with a false statement such as −5≤−9-5 \le -9, no value works. If it cancels and leaves a true statement such as 6>16 > 1, every real number works.

What does at least and at most mean in an inequality?

At least means the value can be that number or more, so use ≥\ge. At most means that number or less, so use ≤\le.

How do you graph a linear inequality with two variables?

Graph the boundary line, making it solid for ≤\le or ≥\ge and dashed for << or >>. Test a point not on the line, such as (0,0)(0,0), and shade the side that makes the inequality true.

Up next