Skip to content

Inequality calculator: linear and quadratic

Free TutorAura tool · no sign-up · Updated

Choose a linear inequality (ax+bax + b compared with cx+dcx + d) or a quadratic one (ax2+bx+cax^2 + bx + c compared with 0), enter the numbers and the sign, and the calculator solves it step by step.

Inequalities are solved like equations, with one extra rule: multiplying or dividing both sides by a negative number reverses the inequality sign.

Loading the tool

Linear inequalities

Example: 3x+5<203x + 5 < 20. Subtract 5: 3x<153x < 15. Divide by 3: x<5x < 5.

With a sign flip: 2x+1≥5x−82x + 1 \geq 5x - 8. Subtract 5x5x: −3x+1≥−8-3x + 1 \geq -8. Subtract 1: −3x≥−9-3x \geq -9. Divide by −3-3 and reverse the sign: x≤3x \leq 3.

Quadratic inequalities

  1. Solve the equation =0= 0 to find the critical values.
  2. Sketch the graph: a positive x2x^2 term gives a ∪ shape.
  3. Read off where the graph is below the axis (for <<) or above it (for >>).

Example: x2−5x+6<0x^2 - 5x + 6 < 0. Roots x=2x = 2 and x=3x = 3. The ∪-shaped graph is below the axis between them: 2<x<32 < x < 3.

Example: x2−9>0x^2 - 9 > 0. Roots ±3\pm 3; above the axis outside them: x<−3x < -3 or x>3x > 3.

Signs and number lines

SymbolMeaningOn a number line
<<less thanopen circle
≤\leqless than or equal tofilled circle
>>greater thanopen circle
≥\geqgreater than or equal tofilled circle

Integer solutions: for −2<x≤3-2 < x \leq 3, the whole numbers are −1,0,1,2,3-1, 0, 1, 2, 3.

Double inequalities

For −1<2x+3≤9-1 < 2x + 3 \leq 9, do the same thing to all three parts: subtract 3 to get −4<2x≤6-4 < 2x \leq 6, then divide by 2: −2<x≤3-2 < x \leq 3. Our inequalities questions include these and number-line questions.

Common mistakes

  • Forgetting to flip the sign when dividing by a negative.
  • For quadratics, writing x<2x < 2 and x<3x < 3 instead of reading the graph.
  • Using a filled circle for << on a number line.

See our guide to linear inequalities, and solve the quadratic equation part with the quadratic equation solver.

Exam tips

  • Keep the xx term positive where possible (move it to the side where it stays positive) to avoid sign flips.
  • For quadratics, always include the sketch: it's where most marks come from.
  • Use "and" for a region between two values, written as one double inequality; use "or" for two separate regions.

Frequently asked questions

How do you solve an inequality?

Like an equation: do the same to both sides. But if you multiply or divide by a negative number, reverse the inequality sign.

Why does the sign flip with a negative?

Multiplying by a negative reverses the order of numbers: 2 < 3, but −2 > −3.

How do you solve a quadratic inequality?

Find the roots of the quadratic, sketch the graph, then read off the x-values where the graph is above or below the x-axis as the inequality requires.

Is anything I type sent to a server?

No. The calculation runs in your browser and nothing is stored.

Sources

  1. GCSE mathematics: subject content and assessment objectives. Department for Education.
  2. Cambridge IGCSE Mathematics 0580 syllabus. Cambridge International.