Inequality Calculator

Solve common inequalities with steps, including linear, compound, absolute-value, rational, quadratic, and polynomial forms.

AI Math Calculator


Loading calculator…
Calculator
0
No history yet
0%

Uploading your file...

Try an example to see it in action

Draw Math Problem

How to Use Inequality Calculator

  1. Add your problem.

    Use Calculator for keypad entry, Math Input for standard notation, or Canvas to draw, handwrite, or upload a photo of an inequality. For example, enter:

    \[ 3x-7 > 11 \]

    or:

    \[ -2\leq3x+4 < 10 \]

  2. Pick a tool.

    The Tools dropdown defaults to step-by-step answers, which is useful when you want an inequality calculator with steps rather than only a final answer. Choose Create Graph when a visual representation would help with the solution set, or choose Explain Like I’m 10 for a simpler explanation of ideas such as reversing a sign after dividing by a negative number.

  3. Set your language.

    Use the language dropdown labeled Default to choose the language for the result.

  4. Get your answer.

    Click Solve to submit the inequality and view the selected steps, explanation, or graph. An inequalities calculator is useful when you want to compare your own work with a clearly organized result.

How to Solve Inequalities

The best method depends on the structure of the inequality. The key is knowing why each operation changes—or does not change—the statement.

One-Step Inequalities

To solve a one-step inequality, isolate the variable with one inverse operation. For example:

\[ x+6 > 14 \]

Subtract \(6\) from both sides:

\[ x > 8 \]

Adding or subtracting the same value from both sides does not change the inequality direction. The solution includes every value greater than \(8\), not just one answer.

Two-Step Inequalities

A two-step inequality usually requires two inverse operations. Consider:

\[ 4x-9 \leq 15 \]

Add \(9\), then divide by \(4\):

\[ 4x \leq 24 \]

\[ x \leq 6 \]

Since \(4\) is positive, the symbol stays pointed in the same direction. The answer is a set of values satisfying the final inequality.

Linear Inequalities

A linear inequality has a variable to the first power, such as:

\[ 5-3x < 17 \]

Isolate \(x\) using inverse operations, but watch for negative factors. If you multiply or divide both sides by a negative value, reverse the inequality sign.

For instance:

\[ -3x < 12 \]

Dividing by \(-3\) gives:

\[ x > -4 \]

The direction reverses because multiplying \(2 < 5\) by \(-1\) produces \(-2 > -5\). The sign does not reverse after addition, subtraction, multiplication by a positive value, or division by a positive value.

If you are solving an equation rather than comparing ranges of values, try the Solve for x Calculator.

Compound Inequalities

A compound inequality uses either an and condition or an or condition.

An “and” condition requires both statements to be true:

\[ 2 < x \leq 7 \]

Its solution is one continuous interval:

\[ (2,7] \]

An “or” condition allows either statement to be true:

\[ x < -3 \quad \text{or} \quad x > 5 \]

That creates two separate solution regions. Do not combine them into one interval unless every value between the endpoints also works.

Absolute Value Inequalities

For the usual absolute-value rules, assume \(a>0\). Think of \(|x|\) as the distance from zero.

\[ |x| < 4 \]

means \(x\) is less than \(4\) units from zero:

\[ -4 < x < 4 \]

But:

\[ |x| > 4 \]

means \(x\) is more than \(4\) units from zero:

\[ x < -4 \quad \text{or} \quad x > 4 \]

Inclusive symbols include the boundary values. If the comparison value is negative, check the statement before applying these patterns: for example, \(|x| < -2\) has no solution because absolute value cannot be negative.

Rational Inequalities

A rational inequality needs careful sign analysis. Consider:

\[ \frac{x-3}{x+2} > 0 \]

The numerator is zero at \(x=3\). The denominator is zero at \(x=-2\), which is a domain restriction and must always be excluded.

These two values divide the number line into intervals. Test the sign of the entire rational expression on each interval to determine where it is positive or negative. Finding the numerator zero and denominator restriction identifies the boundaries, but the interval sign analysis determines the solution.

If you need help simplifying the numerator or denominator before sign analysis, use the factoring calculator.

Quadratic and Polynomial Inequalities

Quadratic, polynomial, and other nonlinear inequalities often require critical values and interval testing. Solving the related equation finds useful boundaries, but it does not automatically solve the inequality.

For example:

\[ x^2-5x+6 > 0\]

can be written as:

\[ (x-2)(x-3) > 0\]

The roots \(2\) and \(3\) divide the number line into three intervals. Determine the sign of the original expression on each interval to find where it is positive. If you first need to find the roots of the related quadratic equation, use the Quadratic Equation Calculator.

Graphing Inequalities

For a one-variable inequality, start by marking the endpoint on a number line. Use an open circle for strict inequalities such as \(x>4\), because \(4\) is not included. Use a closed circle for inclusive inequalities such as \(x\geq4\), because \(4\) is included.

Shade toward the values that satisfy the statement. An “or” inequality can have multiple shaded regions, while a two-sided “and” inequality may shade only the space between two endpoints.

Writing the Solution Set

You can write a solution set in inequality notation or interval notation. These two statements mean the same thing:

\[ x > 4 \]

\[ (4,\infty) \]

The first uses an inequality symbol; the second uses interval notation. A number line can show the same set with an open circle at \(4\) and shading to the right.

Unlike an equation solved by one value, an inequality may have one interval, several intervals, all real numbers, no solutions, or another appropriate set of values.

Concept Explainer

An inequality compares two expressions using:

\[ <,\quad >,\quad \leq,\quad \geq \]

An equation asks when two expressions are equal. An inequality asks which values make one expression greater than, less than, or equal to another in the stated direction.

For example:

\[ x > 3 \]

is true for every value greater than \(3\). In contrast:

\[ x \geq 3 \]

also includes \(3\). That difference determines whether the endpoint is open or closed on a number line.

The negative-number rule matters because order reverses when you multiply or divide by a negative value. For example:

\[ -2x \leq 8 \]

becomes:

\[ x \geq -4 \]

after dividing both sides by \(-2\).

Worked Example

Solve:

\[ -5x+17 \geq 42 \]

  1. \[ -5x+17-17 \geq 42-17 \]

    Subtract \(17\) from both sides to remove the constant.

  2. \[ -5x \geq 25 \]

    The variable term is now isolated.

  3. \[ \frac{-5x}{-5} \leq \frac{25}{-5} \]

    Divide by \(-5\), so the inequality sign must reverse.

  4. \[ x \leq -5 \]

    Every value less than or equal to \(-5\) satisfies the inequality.

  5. \[ -5(-6)+17=47 \geq 42 \]

    Since \(x=-6\) makes the original inequality true, it belongs in the solution set.

  6. \[ -5(-4)+17=37 \not \geq 42 \]

    Since \(x=-4\) does not make the original inequality true, it does not belong in the solution set.

On a number line, use a closed circle at \(-5\) because equality is allowed. Shade left because values smaller than \(-5\) also satisfy the inequality.

Common Mistakes

Questions

Inequality Questions Students Ask

What is an inequality?

+

An inequality is a mathematical statement that compares two expressions using symbols such as \(<\), \(>\), \(\leq\), or \(\geq\). It can have many solutions because it often describes a range of values rather than one exact value.

How do you solve an inequality?

+

Use inverse operations to isolate the variable, just as you would with an equation. Add, subtract, multiply, or divide the same quantity on both sides, and reverse the inequality only when multiplying or dividing by a negative value.

How do you solve a one-step inequality?

+

Undo the single operation attached to the variable. For \(x+6>14\), subtract \(6\) from both sides to get \(x>8\).

How do you solve a two-step inequality?

+

First remove the added or subtracted constant, then multiply or divide to isolate the variable. For \(4x-9\leq15\), add \(9\) and divide by \(4\), giving \(x\leq6\).

How do you solve a linear inequality?

+

Use inverse operations to isolate the variable, then check whether you multiplied or divided by a negative value. For example, dividing \(-3x<12\) by \(-3\) gives \(x>-4\), not \(x<-4\).

How do you solve a compound inequality?

+

For an “and” inequality, find values that satisfy both conditions at the same time. For an “or” inequality, combine the values that satisfy either condition, which can create separate intervals.

How do you solve an absolute value inequality?

+

When \(a > 0\), \(|x|< a \) becomes a middle interval: \( -a0\), \(|x| > a\) becomes two outside conditions: \( x<-a \quad \text{or} \quad x>a \)

How do you solve a rational inequality?

+

Find the zeros of the numerator and the values that make the denominator zero. Use those boundaries to form intervals, test the sign of the complete expression in each interval, and exclude all denominator-zero values.

What do open and closed circles mean on an inequality graph?

+

An open circle means the endpoint is not included, so it is used for \(<\) and \(>\). A closed circle means the endpoint is included, so it is used for \(\leq\) and \(\geq\).

How do you write an inequality solution in interval notation?

+

Use parentheses for excluded endpoints and brackets for included endpoints. For example, \(x>4\) becomes \((4,\infty)\), while \(x\leq4\) becomes \((-\infty,4]\).

Can an inequality have no solution or infinitely many solutions?

+

Yes, an inequality can result in no solution or be true for all real numbers. For example, \(\vert{}x\vert{} < -5\) has no solution because absolute values are never negative. Conversely, \(x^2 \geq 0\) is true for every real number.

You're offline