Quadratic Equations and Inequalities with Parameters

In a quadratic equation or inequality with a parameter, the discriminant, the sum and product of the roots and the sign of the leading coefficient decide for which parameter values the solutions exist or have a given property. In brief: the equation x2 − 4x + m = 0 has two real roots when D = 16 − 4m > 0, i.e., m < 4; one double root when m = 4; and no real root when m > 4.

Parameter problems ask for a range of parameter values, not for a single number. They combine all the tools of quadratic equations: the discriminant, Vieta’s formulas, the vertex and sign analysis. A reliable procedure and attention to the special case a = 0 make them manageable. This guide explains the standard question types with worked examples and a summary table of conditions.

How do you find the number of roots depending on a parameter?

  1. If the coefficient of x2 contains the parameter, check separately the value for which it equals zero, as the equation then becomes linear.
  2. Otherwise, compute the discriminant D as an expression in the parameter.
  3. Solve D > 0, D = 0 and D < 0.

Example 1: x2 − 4x + m = 0

D = 16 − 4m. Two roots for m < 4, one double root for m = 4, none for m > 4. The vertex of the parabola y = x2 − 4x + m is at (2, m − 4), which explains the result: the parabola touches the axis when m − 4 = 0.

Example 2: (m − 1)x2 + 2mx + m + 2 = 0

If m = 1, the equation is 2x + 3 = 0, with one solution x = −3/2. If m ≠ 1, D = 4m2 − 4(m − 1)(m + 2) = 4m2 − 4(m2 + m − 2) = −4m + 8. Two roots when D > 0, i.e., m < 2 (and m ≠ 1). One double root when m = 2, and none for m > 2. The complete answer: for m < 2 and m ≠ 1, two roots; for m = 1, one root; for m = 2, one double root; for m > 2, none.

How do you control the signs of the roots?

Use the discriminant and Vieta’s formulas: the sum x1 + x2 = −b/a and the product x1x2 = c/a.

Example 3: x2 − 2mx + m + 2 = 0 with two positive roots

D = 4m2 − 4(m + 2) = 4(m2 − m − 2) = 4(m − 2)(m + 1) ≥ 0, so m ≤ −1 or m ≥ 2. Sum: 2m > 0, so m > 0. Product: m + 2 > 0, so m > −2. Together: m ≥ 2. For m = 3: x2 − 6x + 5 = 0 has roots 1 and 5, both positive ✓.

Example 4: roots of opposite signs

x2 + (m − 1)x + m − 4 = 0: product m − 4 < 0, so m < 4. For m = 0: x2 − x − 4 = 0, D = 17 > 0, with roots of different signs ✓.

How do you set conditions on the roots?

Express the condition with S and P, then solve for the parameter. A condition such as x12 + x22 = 10 becomes S2 − 2P = 10.

Example 5

x2 − (m + 1)x + m = 0 has the sum m + 1 and the product m. Then x12 + x22 = (m + 1)2 − 2m = m2 + 1. Setting m2 + 1 = 10 gives m = ±3. The discriminant is (m + 1)2 − 4m = (m − 1)2 ≥ 0 for all m, so both values are valid. For m = 3, the roots are 1 and 3, and 1 + 9 = 10 ✓.

How do you handle inequalities that hold for all x?

The quadratic expression ax2 + bx + c is positive for all real x exactly when a > 0 and D < 0. It is negative for all x exactly when a < 0 and D < 0. For non-strict inequalities ≥ 0 or ≤ 0, allow D = 0.

Example 6

For which k is x2 + kx + 4 > 0 for all x? We need D = k2 − 16 < 0, so −4 < k < 4. For k = 4 the expression is (x + 2)2, which is zero at x = −2, so k = 4 is excluded for a strict inequality, but allowed for ≥ 0.

Example 7: a coefficient that may vanish

For which m does (m − 2)x2 + 2(m − 2)x + 3 > 0 for all x? If m = 2, the expression is 3 > 0, true. If m ≠ 2, we need m − 2 > 0 and D = 4(m − 2)2 − 12(m − 2) < 0. Let t = m − 2 > 0: 4t2 − 12t < 0, so 0 < t < 3, i.e., 2 < m < 5. Combined with m = 2: 2 ≤ m < 5.

Table of conditions

Conditions for properties of ax² + bx + c = 0 with a ≠ 0
Property Conditions
Two different real rootsD > 0
One double rootD = 0
No real rootsD < 0
Both roots positiveD ≥ 0, −b/a > 0, c/a > 0
Both roots negativeD ≥ 0, −b/a < 0, c/a > 0
Roots of opposite signsc/a < 0
Expression positive for all xa > 0, D < 0
Expression negative for all xa < 0, D < 0

Where do such problems come from?

Parameter problems became common with the development of symbolic algebra, where letters for known quantities allowed general formulas. They became a standard part of secondary school and university entrance examinations in many countries in the twentieth century because they test the understanding of the relationships between roots, coefficients and graphs.

Where are they used today?

An engineer may need to know for which values of a design parameter a system has no real oscillation, which is the condition D < 0 for the characteristic equation. In economics, a parameter such as a tax rate decides whether an equilibrium exists. In physics, the condition for a real solution gives limits on possible values, such as the maximum range of a projectile.

Which mistakes are common?

Forgetting the case when the leading coefficient is zero

If a depends on the parameter, check the value that makes it zero. The equation becomes linear.

Dividing the discriminant condition incorrectly

Solving a quadratic inequality in the parameter needs the sign chart, not just the equation D = 0.

Using only the sum and product

Vieta’s formulas describe the roots even if they are complex. For real roots, always add the condition D ≥ 0.

Mixing strict and non-strict conditions

“Positive for all x” means D < 0, but “non-negative for all x” allows D = 0.