Inequality Calculator
Input Parameters
Computed Results
The inequality calculator solves linear and quadratic inequalities to determine the exact range of values that satisfy the expression. It automatically calculates the mathematical solution, interval notation, discriminant, and roots, helping you quickly analyze algebraic boundaries.
How the Inequality Calculator Works
To solve an inequality, the calculator first normalizes the expression by moving all terms to one side, setting it against zero. Depending on the highest exponent of the variable, it applies either linear isolation or the quadratic formula.
Linear Inequalities
For linear inequalities (where the highest power of x is 1), the calculator isolates the variable. If the coefficient of x is negative, dividing or multiplying both sides by that negative number reverses the direction of the inequality sign.
Quadratic Inequalities
For quadratic inequalities, the calculator arranges the terms into the standard form:
It then calculates the discriminant to determine the nature of the roots:
If the discriminant is positive, the equation has two distinct real roots. The calculator uses these roots to divide the number line into intervals and determines which intervals satisfy the original inequality.
Verified Calculation Examples
Here are examples of how different types of inequalities are processed and solved.
Example 1: Quadratic Inequality
Suppose you need to solve the inequality x² - 5x + 6 <= 0.
- Discriminant: 1
- Roots: 2 and 3
- Solution: 2 <= x <= 3
- Interval Notation: [2, 3]
Because the inequality includes "less than or equal to," the solution includes the roots themselves, represented by solid brackets in interval notation.
Example 2: Linear Inequality with a Negative Coefficient
Consider the linear inequality -2x + 8 >= 12.
- Roots: -2
- Solution: x <= -2
- Interval Notation: (-∞, -2]
Here, isolating x requires dividing by -2, which flips the "greater than or equal to" sign to "less than or equal to."
Practical Use Cases
Solving inequalities is a foundational skill in algebra with several practical applications:
- Finding Function Domains: Determining the valid input values for functions, such as ensuring the expression inside a square root remains non-negative.
- Constraint Modeling: Establishing boundaries for real-world scenarios, like calculating the maximum number of items you can purchase within a strict budget.
- Tolerance Analysis: Defining acceptable ranges for engineering measurements or manufacturing specifications where a value must fall between specific upper and lower limits.
Frequently Asked Questions
What is the difference between parentheses and brackets in interval notation?
Parentheses, like ( or ), indicate that the endpoint is not included in the solution (used for < or >). Brackets, like [ or ], indicate that the endpoint is included in the solution (used for <= or >=). Infinity (∞) and negative infinity (-∞) always use parentheses.
Why does the calculator sometimes return 'No solution'?
A 'No solution' result occurs when no real number can satisfy the inequality. For example, the expression x² + 2x + 10 < 0 has a negative discriminant (-36), meaning it never crosses the x-axis and is always positive. Therefore, it can never be less than zero.
What does 'All real numbers' mean as a solution?
This means that every possible real number satisfies the inequality. This typically happens with quadratic expressions that never cross the x-axis and are always greater than zero, such as x² + 1 > 0.