Inequality Calculator

Solve a linear inequality and see its solution on a number line.

Use one letter, brackets and one =, <, >, ≤ or ≥ sign.

Try

Result

You entered3x−3<x+53x - 3 < x + 5

x<4\displaystyle x < 4

Interval notation

(−∞,4)\displaystyle (-\infty, 4)

Set-builder notation

{x∣x<4}\displaystyle \{x \mid x < 4\}
Show the work
  1. Distributive property

    Multiply the number outside each bracket by every term inside it, so the brackets disappear and like terms can be collected.

    Using k(p+q)=kp+kqk(p + q) = kp + kq

    3x−3<x+53x - 3 < x + 5
  2. Collect the variable terms on one side

    Move every xx term to the left by subtracting xx from both sides. The xx terms on the left then add up to 2x2x.

    2x−3<52x - 3 < 5
  3. Collect the numbers on the other side

    Move the plain number to the right by adding 33 to both sides, so the left side keeps only the variable term.

    2x<82x < 8
  4. Divide both sides by the coefficient

    The coefficient of xx is 22. Divide both sides by it to leave xx alone; the number is positive, so the sign stays.

    x<4x < 4
  5. Result

    So the solution is x<4x < 4, which is the interval (−∞,4)(-\infty, 4).

Worked examples