Quadratic Inequality Solver

JJ Ben-Joseph headshot JJ Ben-Joseph

Provide coefficients and choose an inequality.

Quadratic Expressions and Their Graphs

A quadratic inequality involves a second-degree polynomial and an inequality sign. The general form is ax2+bx+c>0 or variants using β‰₯, <, or ≀. The polynomial f(x)=ax2+bx+c traces a parabola when graphed on the Cartesian plane. Solving the inequality amounts to identifying which regions of the x‑axis yield function values above or below zero. Because parabolas are continuous and only change sign at their roots, the solution typically consists of one or two intervals.

The orientation of the parabola hinges on the leading coefficient a. If a>0, the parabola opens upward, resembling a U‑shape. If a<0, it opens downward, forming an inverted U. This orientation determines where the function is positive or negative relative to its roots. Our solver analyzes these aspects and outputs solution sets using interval notation, a concise mathematical language for describing subsets of real numbers.

Discriminant and Roots

The discriminant D of a quadratic is given by D=b2-4ac. It reveals how many real roots the polynomial has:

Roots, when they exist, are computed using the quadratic formula:

x=-bΒ±D2a

The values of these roots, combined with the sign of a, tell us on which intervals the inequality holds. The solver sorts the roots as r_1 and r_2 with r_1<r_2, ensuring the interval description is well ordered.

Interval Logic

Once the roots are known, the sign of the quadratic between and outside these points follows a predictable pattern. For a>0, the quadratic is positive outside the roots and negative between them. For a<0, the signs reverse. The solver uses these rules to construct intervals. Boundary points are included or excluded depending on whether the inequality is strict (> or <) or inclusive (β‰₯ or ≀).

The table summarizes the possible outcomes when D>0:

OrientationInequalitySolution
a>0>(-∞,r_1)βˆͺ(r_2,∞)
a>0β‰₯(-∞,r_1]βˆͺ[r_2,∞)
a>0<(r_1,r_2)
a>0≀[r_1,r_2]
a<0>(r_1,r_2)
a<0β‰₯[r_1,r_2]
a<0<(-∞,r_1)βˆͺ(r_2,∞)
a<0≀(-∞,r_1]βˆͺ[r_2,∞)

When D=0, the quadratic touches the x‑axis at a single point r. If a>0 and the inequality is strict (>), the solution is all real numbers except r. For β‰₯, every real number satisfies the inequality. If the inequality is <, no solutions exist because the parabola lies entirely above or on the axis. The opposite statements hold when a<0. If D<0, the parabola never crosses the axis; thus for a>0, inequalities > and β‰₯ are satisfied for all real numbers, while < and ≀ have no solution. The roles reverse for a<0.

Linear and Degenerate Cases

If a=0, the expression reduces to a linear inequality bx+c. Solving it involves simple algebra: isolate x by moving c to the other side and dividing by b. The direction of the inequality flips if b<0. If both a and b are zero, the expression becomes a constant c. In that scenario, the inequality is either always true or always false depending on the sign of c relative to the chosen relation. The solver handles these degenerate cases to provide comprehensive answers.

Worked Example

Consider the inequality 2x2-5x-3<0. Here a=2, b=-5, and c=-3, with relation <. The discriminant is D=-52-4Γ—2Γ—-3=25+24=49, yielding roots r_1=5-74=-0.5 and r_2=5+74=3. Because a>0 and the inequality is <, the solution is (-0.5,3). Plugging any value from this interval into the original expression yields a negative result, while numbers outside the interval give positive values.

Historical and Educational Context

Quadratic inequalities have been studied since the advent of algebra. Medieval mathematicians explored them while solving practical problems involving areas and geometric constraints. Today, they remain a cornerstone of high school algebra curricula. Understanding them reinforces concepts like factoring, completing the square, and the quadratic formula. Graphical reasoning provides a visual understanding: students learn that the solution set corresponds to regions where the parabola lies above or below the axis. This dual algebraic and geometric perspective deepens comprehension and prepares students for calculus, where analyzing where functions are positive or negative underpins optimization and integral sign changes.

In applied fields, quadratic inequalities appear in physics for modeling projectile motion constraints, in economics for profit regions, and in engineering for stability analysis. Knowing how to describe solution sets accurately ensures that designs meet safety margins or that predictions remain within feasible boundaries. Interval notation also translates neatly into programming logic for simulations and control systems, making these mathematical skills broadly applicable.

Using the Solver

Enter coefficients a, b, and c, select the inequality symbol, and click Solve. The output lists the discriminant, the real roots if they exist, and the solution set in interval notation. The Copy button facilitates transferring the result into reports or assignments. All computations run locally in your browser for speed and privacy. Experiment with different coefficients to see how the intervals shift as the parabola moves and stretches. By observing patterns across cases, you will gain an intuitive grasp of how quadratic inequalities behave.

Whether you are checking homework or analyzing a real-world constraint, this solver provides quick, reliable results accompanied by thorough explanations. Mastery of quadratic inequalities paves the way for tackling more complex polynomial inequalities and fosters a deeper appreciation for the harmony between algebraic manipulation and graphical interpretation.

Related Calculators

Quadratic Equation Solver – Quickly Solve axΒ² + bx + c = 0

Solve quadratic equations instantly with our Quadratic Equation Solver. Simply input your coefficients to find real or complex roots easily.

quadratic equation solver solve quadratic equations roots of quadratic equation quadratic formula calculator

Quadratic Factoring Calculator

Factor a quadratic polynomial ax^2 + bx + c into linear factors using the quadratic formula.

quadratic factoring calculator factor trinomial quadratic roots discriminant

Absolute Value Equation Solver

Solve absolute value equations and inequalities of the form |ax + b| = c, providing all real solutions or intervals.

absolute value equation solver absolute value inequality algebra tool