Inequality Solver
Solve algebraic inequalities.
About this tool
Type an inequality and get the solution as intervals. x² − 4 ≤ 0 is true for x ∈ [-2, 2].
How to use
How it works
Move everything to one side and find where the expression equals zero. Those roots split the number line into regions, and the tool tests a point in each region to see which satisfy the inequality. For x² − 4 ≤ 0 the roots are −2 and 2; between them x² − 4 is negative, and since ≤ includes equality the endpoints are closed, giving [-2, 2]. Dividing by a negative number flips the sign: −2x > 6 gives x < −3.
f(x) < 0 or f(x) > 0 → find the roots of f, test each region round bracket = excluded, square bracket = included
Worked example
A quadratic inequality
- Input
- x^2 - 4 <= 0
- Output
- x ∈ [-2, 2]
- Walkthrough
- x² − 4 = (x − 2)(x + 2) has roots −2 and 2. Testing x = 0 gives −4, which is ≤ 0, so the middle region is included; testing x = 3 gives 5, which is not. The endpoints satisfy equality, so they are closed.
Limitations
- The input needs one of <, >, <= or >= (≤ and ≥ also work). A plain equation such as x = 3 returns the message "Enter an inequality like 2x+3 < 7".
- Answers are real intervals joined with ∪. A square touching zero, such as (x − 1)² ≤ 0, is returned as a single point, {x = 1}.
- When every real number works, it says All real numbers (for example 2x + 1 ≤ 2x + 3); when none does, it says No solution (for example x² + 1 < 0).
- Roots that are not whole numbers are shown as decimals, so interval ends may be rounded.
Questions
What is the solution of 2x + 3 < 7?
What is the solution of x^2 - 4 <= 0?
What is the solution of x^2 - 4 > 0?
What is the solution of x^2 - 5x + 6 < 0?
What is the solution of 3x - 2 >= 10?
What is the solution of -2x > 6?
Features
- Interval notation
- Linear, quadratic and higher
- Runs in your browser
Guides
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Variables on both sides — example
Khan Academy
Worked example to check against solver output.
Watch on YouTubeRectangle area as product of dimensions
Khan Academy
Foundational area thinking across math tools.
Watch on YouTube
- Elementary Algebra 2e
OpenStax
Free algebra textbook for equations and polynomials.
- Math | Khan Academy
Khan Academy
Practice paths when a tool result needs more drill.