Compound inequalities: and, or, and the sign flip

Solve each condition, reverse the inequality only when multiplying or dividing by a negative, then combine by intersection or union.

LaTeX article Updated July 13, 2026

a<x<bx<a or x>ba<x<b\qquad x<a\ \text{or}\ x>b

The inequality sign records order

Adding or subtracting the same amount preserves order. Multiplying or dividing by a positive also preserves it.

A negative scale reverses the number line, so the inequality direction must reverse. This is not a memorized exception; it follows from order.

2x<8x>4-2x<8\Rightarrow x>-4

And means intersection

A double inequality such as 2 < x ≤ 7 asks for values satisfying both a lower and upper bound. Solve all three parts with the same operation.

Interval notation uses parentheses for excluded endpoints and brackets for included endpoints.

2<x7(2,7]2<x\le7\Longleftrightarrow(2,7]

Or means union

An or statement keeps values from either branch. The solution may be two separate rays rather than one interval.

Absolute-value inequalities often produce these patterns: less than gives an inside interval, while greater than gives outside rays.

x>3x<3 or x>3|x|>3\Longleftrightarrow x<-3\ \text{or}\ x>3

Worked example

Common mistakes

  • Flipping the sign after adding a negative instead of multiplying by one.
  • Keeping a union for an and statement.
  • Using a bracket at a strict endpoint.

Keep these ideas

  • Only negative multiplication or division flips order.
  • And keeps overlap.
  • Or keeps the union.
Vocab
System of equations
Math glossarySystem of equations
{f(x,y)=0g(x,y)=0\begin{cases}f(x,y)=0\\g(x,y)=0\end{cases}

Equations whose solution must satisfy all members at once.

Learn more
Substitution method
Math glossarySubstitution method
y=f(x)g(x,y)=g(x,f(x))y=f(x)\Rightarrow g(x,y)=g(x,f(x))

Replaces a variable with an equal expression.

Learn more
Elimination method
Math glossaryElimination method
ax+by=cax+dy=e\begin{aligned}ax+by&=c\\-ax+dy&=e\end{aligned}

Combines equations so one variable cancels.

Learn more
Inequality
Math glossaryInequality
x<4x<4

A statement comparing quantities by order rather than exact equality.

Learn more
Solution set
Math glossarySolution set
{x:x2}\{x:x\ge2\}

The set of every value satisfying a statement.

Learn more
Math glossary