πAI Math Solver

Learn

Inequality Calculator

This inequality calculator solves one-variable inequalities like ax + b < c in one click: three numbers in, the boundary point and the solution set out — flip rule handled. It is the inequality calculator for quick homework checks, and one inequality calculator for every linear inequality.

Fill a, b, c of ax + b < c; the boundary and the solution set come back.

x+<
Type an inequality like 2x + 3 < 11 — the AI will fill the form and explain every step

How to use this inequality calculator

Fill three boxes, click Calculate. This inequality calculator handles any one-variable inequality of the form ax+b<cax + b < c. The same form with >>, ≤\le or ≥\ge works too.

  • Coefficient of x (a) — the number multiplying xx, such as 2 in 2x+3<112x + 3 < 11
  • Constant (b) — the number added to axax, such as 3
  • Right-hand side (c) — what the left side is compared against, such as 11

You get two rows back. The boundary point solves the equation ax+b=cax + b = c. It is where the answer starts or ends. The probe value is the left side computed one unit right of that boundary. Compare the probe with cc. If the probe satisfies your inequality, solutions run to the right; if not, they run left.

This page is more than a static inequality calculator — it is also an AI tutor you can ask. The question box takes plain words, photos, and follow-ups. Ask it to fill the three boxes from a word problem. Ask why dividing by a negative flips the sign. Every number still comes from the form on this page, so nothing is guessed.

What this page actually computes

An equation hands you a handful of answers. An inequality hands you a whole stretch of them. That stretch is called the solution set. Take 2x+3<112x + 3 < 11: the answer is every xx below 4, not one single number. A search for a solve inequality calculator is really a search for the two ends of that stretch. Most hunts for solutions for inequality problems are the same hunt for two ends. The inequality calculator graph below shows the answer at a glance.

Read the picture: the open dot at 4 says that 4 itself is out. The shading covers every number less than 4, and each shaded point is one of the solutions to the inequality. Ask what is solution of an inequality, and the answer is exactly this shaded stretch. In interval notation the same answer reads (−∞,4)(-\infty, 4). So the inequality calculator reports both forms. It works as an inequality solver, and it doubles as an interval notation calculator.

01234567x < 4

Solution set of 2x + 3 < 11 on the number line: the inequality calculator's first worked answer — open dot at 4 (4 is excluded), shading over every x less than 4

The flip rule — what solving inequalities adds

Here is what separates an inequality calculator from an equation solver: the flip rule. Add or subtract any number from both sides, and the direction never changes. Multiply or divide by a positive number, and it still never changes. Multiply or divide by a negative number, and the sign must reverse: << becomes >>, ≤\le becomes ≥\ge.

This is an old observation. Smith and Gale's Elements of Analytic Geometry (1904) put it in one line: “changing signs throughout an inequality reverses the inequality sign.” People sometimes call the result inequality equations — but a true inequality keeps its sign, or flips it whole.

SymbolMeaningFlips to
<<less than>>
>>greater than<<
≤\leless than or equal to≥\ge
≥\gegreater than or equal to≤\le

The letters on this page match the form fields exactly:

LetterMeaning
aacoefficient of xx (field a)
bbconstant added to axax (field b)
ccright-hand side (field c)

The boundary sits where ax+b=cax + b = c, so x=c−bax = \dfrac{c - b}{a}. That is the first row the inequality calculator returns. On the second row, the inequality calculator applies the flip rule for you.

Reading the two output rows

Type any aa, bb, cc and the inequality calculator answers in two rows. Row one is the boundary: the exact point where ax+b=cax + b = c. Row two is the probe: the inequality calculator drops one point past the boundary and reports the left side there. Compare the probe with cc, and the direction of the solution set is decided — no guesswork, no sign errors. The inequality calculator therefore answers two questions at once: where the edge is, and which side is in.

Example 1 — a strict inequality

Solve 2x+3<112x + 3 < 11, then describe the solution set.

  1. Subtract 3 from both sides: 2x<82x < 8.
  2. Divide by 2 — positive, so no flip: x<4x < 4.
  3. Boundary point 4, open dot, shading to the left. Interval notation: (−∞,4)(-\infty, 4).

Type a=2a = 2, b=3b = 3, c=11c = 11 into the inequality calculator above. It returns the boundary 4 and the probe value 13. At one unit right of 4 the left side reads 1313, and 13<1113 < 11 is false. The solutions therefore lie to the left — exactly where the inequality calculator pointed. Confirm the interval (−∞,4)(-\infty, 4) with the inequality calculator in the same run.

Example 2 — divide by a negative and flip

Solve −3x+2≥11-3x + 2 \ge 11, then describe the solution set.

  1. Subtract 2 from both sides: −3x≥9-3x \ge 9.
  2. Divide by −3-3 — negative, so flip: x≤−3x \le -3.
  3. Boundary point −3-3, closed dot, shading to the left. Interval notation: (−∞,−3](-\infty, -3] — read it as the interval the inequality calculator writes beside the graph.

Set a=−3a = -3, b=2b = 2, c=11c = 11 in the inequality calculator. It returns boundary −3-3 and probe value 88. One unit right of −3-3 the left side reads 88, and 8≥118 \ge 11 is false, so the solutions run left. Because aa is negative, the inequality calculator's flip rule turns that into x≤−3x \le -3. The picture below agrees.

Read it backwards too: with a=−3a = -3, b=2b = 2 and boundary −3-3, the right side is c=(−3)(−3)+2=11c = (-3)(-3) + 2 = 11 — exactly the cc you started with. Any two of aa, bb, cc and the boundary pin down the fourth.

-7-6-5-4-3-2-101x ≤ -3

Solution set of -3x + 2 ≥ 11 on the number line: closed dot at -3 (included), shading over every x less than or equal to -3, as the inequality calculator draws it

Same form, three different answers

Same shape, different signs — watch the inequality calculator handle each case. 2x+3<112x + 3 < 11 has a=2a = 2: positive, no flip, answer x<4x < 4. −3x+2≥11-3x + 2 \ge 11 has a=−3a = -3: negative, flip, answer x≤−3x \le -3. And 4x−7≥14x - 7 \ge 1 has a=4a = 4: positive again, so the inequality calculator keeps the direction and returns x≥2x \ge 2. Run all three through the inequality calculator and compare the rows: the boundary moves with bb and cc, while the flip rule follows the sign of aa.

Three common mistakes with inequalities

  1. Forgetting the flip. Dividing −3x≥9-3x \ge 9 by −3-3 and writing x≥−3x \ge -3 keeps the wrong direction — the answer is x≤−3x \le -3. Test x=−4x = -4: it works in the original, and −4≥−3-4 \ge -3 is false.
  2. Mismatched brackets in interval notation. A strict inequality takes a parenthesis, an inclusive one takes a square bracket. Infinity always gets a parenthesis, because you never reach it.
  3. Testing the boundary instead of the inside. The boundary is where the answer changes sides, so it usually fails the test. Pick an interior point, such as x=0x = 0 for x<4x < 4 — or read the probe row, which is the inequality calculator testing that point for you.

The inequality calculator never skips the flip. On paper, the test point is your safety net: one quick check turns a wrong inequality solution into a right one. All three mistakes are one-glance fixes on the inequality calculator's two rows.

Problem 1

Amara has 21 dollars to spend at a fair. Entry costs 5 dollars and each ride ticket costs 4 dollars, so buying nn tickets costs 4n+54n + 5 dollars, which must stay under 21: 4n+5<214n + 5 < 21. What is the greatest whole number of ride tickets she can buy? Check the boundary with the inequality calculator above.

⏱ 00:00
Page 1
Problem 2

A chemist chills a solution before adding a reagent. The temperature in °C is −4t+3-4t + 3 after tt minutes, and the reagent may only be added once the temperature is below −15-15 °C: −4t+3<−15-4t + 3 < -15. After how many minutes is adding the reagent first allowed? Set the three form fields and the inequality calculator hands you the boundary in one pass.

⏱ 00:00
Page 1

Frequently asked questions

1

Can I use this inequality calculator as an interval notation calculator?

Yes. Every answer appears twice: once as an inequality such as $x < 4$, once in interval notation such as $(-\infty, 4)$. Strict endpoints get parentheses and included endpoints get square brackets. The two notations always match, which is what makes this inequality calculator double as an interval notation calculator — one pass, both notations, no re-typing. The bracket always matches the dot the inequality calculator draws.

2

Is this inequality calculator also a calculator for inequalities and graphing?

It is. Each solution comes with a number-line picture: a dot at the boundary and shading on the solution side. Whether you call it a graphing inequalities calc or a solver, the output is the same. That is the picture a graphing inequalities calculator draws — and the inequality calculator sets the dot hollow or solid to match the strictness of the sign. The interval form comes from the same inequality calculator run.

3

When does the inequality sign flip on this inequality calculator?

Only when you multiply or divide both sides by a negative number. Subtracting 3 or dividing by 2 never changes direction. In $-3x \ge 9$, dividing by $-3$ gives $x \le -3$, not $x \ge -3$. If you forget, test one value: the probe row is exactly where the inequality calculator catches that slip. The flip is applied in the same pass as the boundary, and both rows of the inequality calculator update together.

4

What is a solution set on this inequality calculator?

It is the full stretch of values that make an inequality true. For $2x + 3 < 11$ the solution set is every real number below 4, written $(-\infty, 4)$. The solution set calculator on this page names the boundary, the direction, and the interval in one pass. Feed it $a = -3$, $b = 2$, $c = 11$ and the inequality calculator returns $(-\infty, -3]$ the same way; for $-4t + 3 < -15$ it returns $(4.5, \infty)$ from the same two rows. Every interval on this inequality calculator is written straight from its number line.

5

I typed “solve the inequality calculator” — what do I do here?

You are in the right place. To solve the inequality, read $a$, $b$ and $c$ off your problem and type them into the three boxes. Press Calculate: you get the boundary point and the direction of the solution set. Then ask the AI box to walk through the steps. That is all this inequality calculator, sometimes typed shorthand as “inequality cal”, ever promised. The two output rows are where the promise is kept — the inequality calculator prints them together.

6

What does the word disjunction mean for this inequality calculator?

A disjunction joins two statements with “or”, such as $x < -1$ or $x > 3$, and its solution set has two separate pieces. The inequality calculator on this page solves single linear inequalities. A compound one is handled by running the inequality calculator once per piece, each run returning the same two rows.

7

What is the definition of inequality in mathematics?

It is a statement that two expressions compare in a set order: one is less than, greater than, or possibly equal to the other, written with $<$, $>$, $\le$ or $\ge$. In that sense the inequality mathematical definition is the sentence $ax + b < c$ itself. This inequality calculator takes that sentence apart: boundary first, then direction, then interval. The inequality calculator sticks to that exact form. Read $a$, $b$, $c$ from any such sentence and the inequality calculator takes it apart the same way.

Related practice