Skip to content
Glacius
FoundationsConcept reference

Inequalities

A solution of a scalar inequality is any value that makes its ordered comparison true.

On this page 7 sections
  1. Overview
  2. An inequality describes a range of allowed values
  3. The bar still matters after solving
  4. Check your understanding
  5. Key takeaway
  6. Sources & further reading
  7. Concept connections
Solution of x+2<7: the ray x<5 extends left from an open endpoint at 5. The endpoint is excluded.Solution of x+2<7: the ray x<5 extends left from an open endpoint at 5. The endpoint is excluded.
Figure 1Solution of x+2<7: the ray x<5 extends left from an open endpoint at 5. The endpoint is excluded.
Link to this figure ↗Download SVGDownload PNG

01An inequality describes a range of allowed values#

An inequality describes a range of allowed values. The sign << means less than, >> greater than. Adding a bar, as in ≤\le or ≥\ge, allows equality too.

The expression on the left must be below 7.

x+2<7x+2<7

Starting from x+2<7x+2<7, subtract 22 from both sides. Moving both values by the same amount keeps their order.

Solve the one-step inequality.

x<5x<5

Multiplying or dividing by a positive number also keeps the order. A negative multiplier reverses it: 2<52<5, but −2>−5-2>-5.

Divide both sides of −2x<6-2x<6 by −2 and reverse the sign.

x>−3x>-3
Check your reasoning

Solve −3x≥12-3x\ge12.

  1. Ax≥−4x\ge-4
  2. Bx≤−4x\le-4
  3. Cx≤4x\le4
Show answer and explanation
x≤−4x\le-4

Divide by −3-3, reversing ≥\ge to ≤\le. The endpoint is 12/(−3)=−412/(-3)=-4.

02The bar still matters after solving#

The bar still matters after solving. For x≤4x\le4, the value 44 is allowed; for x<4x<4, it is not. Dividing by a negative reverses direction but does not remove equality.

For the condition −2x<6-2x<6, test x=0x=0.

−2(0)<6is true-2(0)<6\quad\text{is true}
Check your reasoning

A display allows x+3≤11x+3\le11. What is the largest allowed value of xx?

Show answer and explanation
8

Subtract 33: x≤8x\le8. Equality is allowed, so 88 is included.

03Check your understanding#

Check your reasoning

A sensor rule is −5x>10-5x>10. Which range satisfies it?

  1. Ax>−2x>-2
  2. Bx<2x<2
  3. Cx<−2x<-2
Show answer and explanation
x<−2x<-2

Dividing by −5-5 reverses the inequality and gives x<−2x<-2.

Key takeaway

Undo the operation on both sides. Reverse the inequality only when multiplying or dividing by a negative number; preserve whether equality is allowed.

  • Solve a one-step scalar inequality

Sources & further reading

  1. [1]

Reference this concept

Link to this page, a section, or an individual figure.

Glacius. “Inequalities.” Math behind ML. /learn/f-inequality