Parameter problems: investigating the quadratic

What a parameter is and the special case a = 0, the number of roots, a quadratic that keeps its sign for all x, signs of the roots with Vieta’s theorem, reciprocal roots, the minimum of x₁² + x₂², both roots greater than a number, the position of the parabola’s vertex and linear systems with a parameter — answers written as intervals, with DİM-style closed and coded tasks.

  • Grades 9…11
  • 25 min
  • 12 questions
  • Lesson 44 of 92

In this lesson you will learn

  • Separate the case a = 0 in a quadratic with a parameter and investigate the number of roots with the discriminant
  • Apply the condition (a and D) for a quadratic to keep its sign for all x
  • Turn conditions on the roots (signs, reciprocal roots, x₁² + x₂², roots greater than k) into inequalities with Vieta’s theorem and D
  • Solve tasks on the position of the vertex and on the number of solutions of a linear system with a parameter

“For which values of a…” — DİM entrance exams contain such tasks every year: in 2026, 6 of the 60 tasks of groups I and II had a parameter (a quadratic negative for all x, reciprocal roots, a vertex in quadrant IV, a system with a given solution). A parameter is a fixed number whose value is not known; the task asks us to investigate all its possible values. This lesson builds on “Quadratic equations”, “The quadratic function and its graph” and “Quadratic inequalities and the interval method”.

The case a = 0 and the number of roots

  1. 1. Leading coefficient

    If the coefficient of x² depends on the parameter, check separately the case where it is 0: the equation becomes linear.

  2. 2. Discriminant

    For a ≠ 0, write D in terms of the parameter.

  3. 3. Translate the condition

    Turn the condition in words into inequalities for D, x₁ + x₂, x₁x₂, the vertex or f(k).

  4. 4. System

    Solve the system in the parameter and add the answer of the case a = 0.

  5. 5. Answer

    Write the answer as an interval or a set and check the boundary values separately.

Simple explanation

Think of a parameter as the tuning knob of a radio: every position of the knob gives an ordinary equation with no letter left except x. Let us turn k in x² − 6x + k = 0: for k = 5 we get x² − 6x + 5 = 0 with roots 1 and 5; for k = 9 we get (x − 3)² = 0 with the single root 3; for k = 10 the discriminant is 36 − 40 = −4 and there are no roots. A question “for which k …” does not ask us to try a few values — it asks us to sort all positions of the knob into groups at once.

kEquationD = 36 − 4kRoots
5x² − 6x + 5 = 0161 and 5
9x² − 6x + 9 = 00only 3
10x² − 6x + 10 = 0−4none
D depends on k: for k < 9, D > 0 (two roots); at k = 9, D = 0 (one root); for k > 9, D < 0 (no roots). The three rows are one sample from each of these groups.
  1. Can the x² term disappear? If its coefficient contains the parameter, try separately the value that makes it 0.
  2. Write the discriminant with the parameter in it.
  3. Turn the question into a condition on D (and, if needed, on the sum and the product of the roots), solve it and test one value from your answer.
a ≠ 0: D = b² − 4acD > 0 — two distinct rootsD = 0 — one rootD < 0 — no real roots

Where

a, b, c
the coefficients of ax² + bx + c = 0 (may depend on the parameter)

For a = 0 the equation is bx + c = 0: one root if b ≠ 0; if b = 0, either no roots or every x is a root.

Simple explanation

The number of roots

Problem

1) For which m does (m − 2)x² + 4x + 1 = 0 have exactly one root?
2) For which k does x² − 6x + k = 0 have two distinct roots?
3) For which k does kx² + 2x + 1 = 0 have no roots?

Show solutionHide solution

Solution

1) m = 2: 4x + 1 = 0 ⇒ x = −1/4 — one root, fits.
m ≠ 2: D = 16 − 4(m − 2) = 24 − 4m = 0 ⇒ m = 6 (the equation is 4x² + 4x + 1 = (2x + 1)² = 0).
Answer: m ∈ {2, 6}. Forgetting the case a = 0 loses m = 2.
2) D = 36 − 4k > 0 ⇒ k < 9. Answer: (−∞, 9).
3) k = 0: 2x + 1 = 0 — has a root, does not fit.
k ≠ 0: D = 4 − 4k < 0 ⇒ k > 1. Answer: (1, +∞).
Going deeper

Why is the case a = 0 so different? Let m approach 2 in (m − 2)x² + 4x + 1 = 0. By Vieta, x₁x₂ = 1/(m − 2) and x₁ + x₂ = −4/(m − 2) — both grow without bound in absolute value. One root stays close to −1/4 (the root of 4x + 1 = 0), while the other runs away to infinity: for m = 2.01 the roots are about −0.2502 and −399.75. At m = 2 the runaway root is gone and a single root is left. That is why the value at which the leading coefficient vanishes often appears in the answer of a parameter problem as an isolated point.

Sign up free to keep reading

The rest of the lesson, the quiz and your notes open with an Educora account. Signing up takes a minute, and your progress is saved on all your devices.

A quadratic that keeps its sign for all x

ax² + bx + c > 0 (all x) ⇔ a > 0 and D < 0ax² + bx + c < 0 (all x) ⇔ a < 0 and D < 0

Where

a
direction of the branches: a > 0 — up, a < 0 — down
D < 0
the parabola does not meet the x-axis

For non-strict inequalities (≥ 0, ≤ 0) take D ≤ 0. If a depends on the parameter, check a = 0 separately: bx + c keeps its sign for all x only when b = 0.

Simple explanation

Picture the parabola as a cup. If a > 0 the cup stands upright (the branches point up); if a < 0 it is upside down. D < 0 means that the parabola never reaches the x-axis. An upright cup that does not touch the axis lies entirely above it — the expression is positive for every x. An upside-down cup that does not touch it lies entirely below — the expression is negative for every x.

Check with numbers

Problem

Is x² + 2x + 5 positive for every x? Is −x² + 4x − 5 negative for every x?

Show solutionHide solution

Solution

x² + 2x + 5: a = 1 > 0, D = 4 − 20 = −16 < 0 — an upright cup above the axis, so yes. Try a few values: x = 0 gives 5, x = −1 gives 4, x = 3 gives 20 — all positive.
−x² + 4x − 5: a = −1 < 0, D = 16 − 20 = −4 < 0 — an upside-down cup below the axis, so yes. Its highest point is at x = 2: −4 + 8 − 5 = −1 < 0.

Interactive

Loading simulation…
The parabola y = −x² + 4x + m. Move the slider m: for m < −4 the whole parabola is below the x-axis; at m = −4 it touches the axis.

Quadratics that keep their sign

Problem

1) For which m is −x² + 4x + m < 0 true for all x?
2) For which a is (a − 1)x² − 2(a − 1)x + 3 > 0 true for all x?
3) For which k is the domain of y = √(x² + 2x + k) the whole number line?

Show solutionHide solution

Solution

1) a = −1 < 0 ✓. D = 16 + 4m < 0 ⇒ m < −4. Answer: (−∞, −4).
2) a = 1: 3 > 0 — true for all x, so a = 1 fits.
a ≠ 1: a − 1 > 0 and D/4 = (a − 1)² − 3(a − 1) = (a − 1)(a − 4) < 0 ⇒ 1 < a < 4.
Answer: [1, 4) — 1 is included, 4 is not (for a = 4, D = 0 and the expression is 0 at x = 1).
3) x² + 2x + k ≥ 0 for all x: a = 1 > 0, D = 4 − 4k ≤ 0 ⇒ k ≥ 1. Answer: [1, +∞).

DİM style: a closed task

Problem

For which k is kx² − 4x + k − 3 < 0 true for all x?
A) (−∞, −1) B) (−1, 4) C) (4, +∞) D) (−∞, 0) E) (−∞, −1) ∪ (4, +∞)

Show solutionHide solution

Solution

k = 0: −4x − 3 < 0 holds only for x > −3/4 — does not fit.
k ≠ 0: { k < 0; D/4 = 4 − k(k − 3) < 0 } ⇒ { k < 0; k² − 3k − 4 > 0 } ⇒ { k < 0; k < −1 or k > 4 } ⇒ k < −1.
Answer: A.
Option E solves D < 0 alone and ignores k < 0: for k > 4 the branches point up and the expression is positive.
Going deeper
ax² + bx + c = a · [(x + b/(2a))² − D/(4a²)]ax² + bx + c = a · [(x + b/(2a))² − D/(4a²)]

Completing the square. Here (x + b/(2a))² ≥ 0, and it equals 0 at x₀ = −b/(2a). If D < 0, then −D/(4a²) > 0, the square bracket is positive for every x, and the trinomial has the sign of a. If D ≥ 0, the bracket is zero or negative at x₀, so the sign is not kept. This is the proof of the criterion “a > 0 and D < 0”.

A trap where the leading coefficient vanishes

Problem

For which a is (a² − 1)x² + 2(a − 1)x + 2 > 0 true for all x?

Show solutionHide solution

Solution

1) The leading coefficient is 0 at a = ±1.
a = 1: the expression is 2 > 0 — true for all x, so a = 1 fits.
a = −1: −4x + 2 > 0 holds only for x < 1/2 — does not fit.
2) a² − 1 ≠ 0: we need a² − 1 > 0 and D/4 < 0.
D/4 = (a − 1)² − 2(a² − 1) = (a − 1)(a − 1 − 2a − 2) = −(a − 1)(a + 3) < 0 ⇔ (a − 1)(a + 3) > 0 ⇔ a < −3 or a > 1.
Together with a² > 1: a < −3 or a > 1.
3) The boundary a = −3: 8x² − 8x + 2 = 2(2x − 1)² equals 0 at x = 1/2, so the strict inequality fails — −3 is excluded.
Answer: (−∞, −3) ∪ [1, +∞). The point a = 1 comes only from the case of a vanishing leading coefficient — a typical trap.

Conditions on the roots: Vieta’s theorem

x₁ + x₂ = −b/ax₁ · x₂ = c/ax₁² + x₂² = (x₁ + x₂)² − 2x₁x₂x₁ + x₂ = −b/ax₁ · x₂ = c/ax₁² + x₂² = (x₁ + x₂)² − 2x₁x₂

Where

x₁, x₂
the roots of ax² + bx + c = 0

Vieta’s formulas work only when the roots exist: always add the condition D ≥ 0 (D > 0 for distinct roots).

ConditionSystem for the parameter
Roots of opposite signsc/a < 0 (then D > 0 automatically)
Both roots positiveD ≥ 0, x₁ + x₂ > 0, x₁x₂ > 0
Both roots negativeD ≥ 0, x₁ + x₂ < 0, x₁x₂ > 0
Reciprocal roots (x₁x₂ = 1)c/a = 1 and D ≥ 0
Opposite roots (x₁ = −x₂)b = 0 and c/a < 0
Both roots greater than kD ≥ 0, a · f(k) > 0, x₀ = −b/(2a) > k
f(x) = ax² + bx + c. Last row: the point k lies to the left of both roots — there f has the sign of a, and the vertex is to the right of k.

Each of the three conditions in the last row is needed. D ≥ 0 makes sure the roots exist. a · f(k) > 0 says that k is not between the roots: between the roots f has the sign opposite to a. But k can be to the left of both roots or to the right of both — x₀ > k tells these apart. For example, in x² − 2mx + m² − 1 = 0 with m = 0 we have D > 0 and f(2) = 3 > 0, yet the roots are −1 and 1, both less than 2: the condition x₀ > 2 fails (x₀ = 0).

Simple explanation

Vieta’s formulas give the sum and the product of the roots without solving the equation. The roots of x² − 5x + 6 = 0 are 2 and 3: their sum is 5 and their product is 6. The product and the sum show the signs of the roots, just as with ordinary numbers:

  • product negative → the roots have opposite signs: (−2) · 3 = −6;
  • product positive, sum positive → both roots are positive: 2 · 3 = 6, 2 + 3 = 5;
  • product positive, sum negative → both roots are negative: (−2) · (−3) = 6, (−2) + (−3) = −5.
  • But first make sure the roots exist (D ≥ 0): for x² + x + 1 = 0 the “product” is 1, yet the equation has no roots at all.

Both roots positive

Problem

For which k are both roots of x² − 4x + k = 0 positive?

Show solutionHide solution

Solution

1) The roots must exist: D = 16 − 4k ≥ 0 ⇒ k ≤ 4.
2) Sum: x₁ + x₂ = 4 > 0 — always true.
3) Product: x₁x₂ = k > 0.
Together: 0 < k ≤ 4. Check k = 3: x² − 4x + 3 = 0 has roots 1 and 3, both positive ✓. k = −5 is not in the answer: x² − 4x − 5 = 0 has roots −1 and 5.
Answer: (0, 4].
Going deeper

The most elegant case is this one: the number k lies between the roots (x₁ < k < x₂) ⇔ a · f(k) < 0. Neither D nor the vertex is needed: if a parabola with its branches up (a > 0) is below the axis at x = k, it must cross the axis on both sides of k — two roots appear automatically, and k separates them. For a < 0 the picture is flipped.

The number 1 separates the roots

Problem

For which m do the roots of (m − 1)x² − 2mx + m + 3 = 0 satisfy x₁ < 1 < x₂?

Show solutionHide solution

Solution

f(1) = (m − 1) − 2m + m + 3 = 2. Condition: (m − 1) · 2 < 0 ⇒ m < 1.
(m = 1 gives the linear equation −2x + 4 = 0 with a single root, so it does not fit anyway.)
Check m = 0: −x² + 3 = 0, roots ±√3 ≈ ±1.73, and 1 lies between them ✓. For m < 1, D/4 = m² − (m − 1)(m + 3) = 3 − 2m > 0 — the roots really exist, as the theory promised.
Answer: (−∞, 1).

Conditions with Vieta’s theorem

Problem

1) For which k are the roots of x² − 2x + k − 5 = 0 of opposite signs?
2) For which a are the roots of x² + (a − 1)x + a² − 3 = 0 reciprocal?
3) For which a is the sum of the squares of the roots of x² + (a − 2)x − a = 0 the least? What is this least value?
4) For which m are both roots of x² − 2mx + m² − 1 = 0 greater than 2?

Show solutionHide solution

Solution

1) x₁x₂ = k − 5 < 0 ⇒ k < 5. Answer: (−∞, 5).
2) x₁x₂ = a² − 3 = 1 ⇒ a = ±2.
a = 2: x² + x + 1 = 0, D = 1 − 4 = −3 < 0 — no roots, a = 2 is rejected.
a = −2: x² − 3x + 1 = 0, D = 9 − 4 = 5 > 0 ✓.
Answer: −2.
3) x₁ + x₂ = 2 − a, x₁x₂ = −a; D = (a − 2)² + 4a = a² + 4 > 0 — the roots always exist.
x₁² + x₂² = (2 − a)² + 2a = a² − 2a + 4 = (a − 1)² + 3. The least value is 3, at a = 1.
4) D/4 = m² − (m² − 1) = 1 > 0 ✓; f(2) = 4 − 4m + m² − 1 = m² − 4m + 3 > 0 ⇒ m < 1 or m > 3; x₀ = m > 2.
System: m > 3. Check: the roots are m − 1 and m + 1, and m − 1 > 2 ⇔ m > 3. Answer: (3, +∞).
Going deeper

Trap: the minimum lies outside the allowed values

Problem

For which a is the sum of the squares of the roots of x² − 2ax + a + 6 = 0 the least?

Show solutionHide solution

Solution

x₁ + x₂ = 2a, x₁x₂ = a + 6 ⇒ x₁² + x₂² = 4a² − 2a − 12.
The naive answer is the vertex of this parabola in a: a = 1/4. But for a = 1/4 the equation x² − 0.5x + 6.25 = 0 has D < 0 — there are no roots at all!
The roots exist only when D/4 = a² − a − 6 = (a − 3)(a + 2) ≥ 0, that is, a ≤ −2 or a ≥ 3. On these rays g(a) = 4a² − 2a − 12 decreases up to −2 and increases from 3 on, so the least value is at an endpoint: g(−2) = 8, g(3) = 18.
Answer: a = −2. Check: the equation becomes x² + 4x + 4 = 0, the roots are −2 and −2, and 4 + 4 = 8.

DİM style: a coded task

Problem

For which m are the roots of (m − 1)x² + 10x + 3m − 7 = 0 reciprocal?

Show solutionHide solution

Solution

m ≠ 1 (otherwise the equation is linear). x₁x₂ = (3m − 7)/(m − 1) = 1 ⇒ 3m − 7 = m − 1 ⇒ m = 3.
Check: m = 3 ⇒ 2x² + 10x + 2 = 0, D = 100 − 16 = 84 > 0 — the roots exist and their product is 2/2 = 1.
Answer: 3.

Two methods: Vieta and the graph

Problem

For which a does x² − 6x + 5 = a have two distinct positive roots?

Show solutionHide solution

Solution

With Vieta: x² − 6x + 5 − a = 0. D = 36 − 4(5 − a) = 16 + 4a > 0 ⇒ a > −4; x₁x₂ = 5 − a > 0 ⇒ a < 5; x₁ + x₂ = 6 > 0 ✓. Answer: (−4, 5).
With the graph: the parabola y = x² − 6x + 5 has vertex (3, −4) and meets the y-axis at (0, 5). The line y = a cuts the part with x > 0 at two points only for −4 < a < 5. For a = 5 the roots are 0 and 6 — 0 is not positive; for a = −4 there is one root. Both methods give the same answer.

Written task: a full investigation

Problem

For which a does ax² − (a + 1)x + 1 = 0 have two distinct positive roots? Write all stages of the solution.

Show solutionHide solution

Solution

Solution. 1) a = 0: −x + 1 = 0 ⇒ x = 1 — one root, so a = 0 does not fit.
2) a ≠ 0: D = (a + 1)² − 4a = (a − 1)². Two distinct roots need D > 0 ⇒ a ≠ 1.
3) Roots: x = ((a + 1) ± |a − 1|)/(2a), i.e. x₁ = 1 and x₂ = 1/a (check: ax² − (a + 1)x + 1 = (ax − 1)(x − 1)).
4) x₁ = 1 > 0; x₂ = 1/a > 0 ⇒ a > 0.
5) Combine the conditions: a > 0 and a ≠ 1.
Answer: (0, 1) ∪ (1, +∞).
Criteria: the case a = 0 investigated — ⅓; the roots (or the D and Vieta conditions) found correctly — ⅔; a ≠ 1 taken into account and the answer written correctly — 1.

The vertex of the parabola and a parameter

x₀ = −b/(2a)y₀ = f(x₀) = −D/(4a)x₀ = −b/(2a)y₀ = f(x₀) = −D/(4a)

Where

(x₀; y₀)
the vertex of y = ax² + bx + c

The vertex lies in quadrant I if x₀ > 0, y₀ > 0; II if x₀ < 0, y₀ > 0; III if x₀ < 0, y₀ < 0; IV if x₀ > 0, y₀ < 0. On the x-axis ⇔ D = 0; on the y-axis ⇔ b = 0.

Simple explanation

The vertex is the turning point of the parabola: its lowest point when a > 0 and its highest point when a < 0. If the parabola has roots, the x-coordinate of the vertex lies exactly halfway between them. For example, y = x² − 6x + 5 has roots 1 and 5, and halfway between them is x₀ = 3 = −(−6)/(2 · 1). Then y₀ = 9 − 18 + 5 = −4, so the vertex is (3, −4): x₀ is positive and y₀ is negative — that is quadrant IV. To find the quadrant, only the signs of x₀ and y₀ matter.

Interactive

Loading simulation…
The vertex of y = x² − 2mx + 2m + 3 is (m, −m² + 2m + 3). Check with the slider m: the vertex is in quadrant IV only for m > 3.

Where the vertex lies

Problem

1) For which m is the vertex of y = x² − 2mx + 2m + 3 in quadrant IV?
2) For which c does the parabola y = x² + 4x + c touch the x-axis?
3) For which m does the vertex of y = x² + 2(m − 3)x + 5 lie on the y-axis?

Show solutionHide solution

Solution

1) x₀ = m, y₀ = m² − 2m² + 2m + 3 = −m² + 2m + 3.
{ m > 0; −m² + 2m + 3 < 0 } ⇒ { m > 0; m² − 2m − 3 > 0 } ⇒ { m > 0; m < −1 or m > 3 } ⇒ m > 3.
Answer: (3, +∞).
2) Touching means the vertex is on the x-axis: D = 16 − 4c = 0 ⇒ c = 4 (y = (x + 2)²).
3) x₀ = −(m − 3) = 0 ⇒ m = 3.

Linear systems with a parameter

a₁/a₂ ≠ b₁/b₂ — one solutiona₁/a₂ = b₁/b₂ ≠ c₁/c₂ — no solutiona₁/a₂ = b₁/b₂ = c₁/c₂ — infinitely many solutionsa₁/a₂ ≠ b₁/b₂ — one solutiona₁/a₂ = b₁/b₂ ≠ c₁/c₂ — no solutiona₁/a₂ = b₁/b₂ = c₁/c₂ — infinitely many solutions

Where

a₁x + b₁y = c₁ a₂x + b₂y = c₂
the equations of the system

Geometrically the lines intersect, are parallel or coincide. If a denominator is 0, check a₁b₂ − a₂b₁ = 0 instead of the ratios. More in “Systems of linear equations”.

Systems with a parameter

Problem

1) For which m does { mx + 4y = 8; x + my = 4 } have one solution, no solution, infinitely many solutions?
2) For which a and b is the pair (2, −3) a solution of { ax + 2y = 4; 3x − by = 15 }?
3) For which k does { 2x + ky = 5; x + 3y = 2 } have no solution?

Show solutionHide solution

Solution

1) m/1 = 4/m ⇔ m² = 4 ⇔ m = ±2.
m ≠ ±2 — one solution.
m = 2: 2/1 = 4/2 = 8/4 = 2 — infinitely many solutions (the equations are the same).
m = −2: −2/1 = 4/(−2) = −2, but 8/4 = 2 ≠ −2 — no solution.
2) Substitute x = 2, y = −3: 2a − 6 = 4 ⇒ a = 5; 6 + 3b = 15 ⇒ b = 3.
3) 2/1 = k/3 ⇒ k = 6; 5/2 ≠ 2 ✓ — for k = 6 the lines are parallel and there is no solution.
Going deeper

University linear algebra describes the system a₁x + b₁y = c₁, a₂x + b₂y = c₂ with determinants: Δ = a₁b₂ − a₂b₁, Δx = c₁b₂ − c₂b₁, Δy = a₁c₂ − a₂c₁. If Δ ≠ 0, the only solution is x = Δx/Δ, y = Δy/Δ (Cramer’s rule). If Δ = 0 but Δx or Δy is not 0, there is no solution; if all three are 0 (and each equation really describes a line), there are infinitely many. The ratio test of this lesson is the condition Δ = 0 written with fractions.

With Cramer’s rule

Problem

Solve { mx + 4y = 8; x + my = 4 } for every m with determinants.

Show solutionHide solution

Solution

Δ = m² − 4, Δx = 8m − 16 = 8(m − 2), Δy = 4m − 8 = 4(m − 2).
m ≠ ±2: x = 8(m − 2)/((m − 2)(m + 2)) = 8/(m + 2), y = 4/(m + 2). Check m = 0: x = 4, y = 2; indeed 4y = 8 and x = 4.
m = 2: Δ = Δx = Δy = 0 — infinitely many solutions.
m = −2: Δ = 0, Δx = −32 ≠ 0 — no solution.
The classification is the same as in the example above, but now we also get the solution itself.
Coded tasks: write the answer as a number
  1. 1.x² − 6x + k = 0 has exactly one root when k =
  2. 2.The greatest integer k for which x² − 6x + k = 0 has two distinct roots:
  3. 3.One root of x² + px + 12 = 0 is 3 ⇒ p =
  4. 4.In x² − 4x + m = 0, x₁² + x₂² = 10 ⇒ m =
  5. 5.The y-coordinate of the vertex of y = x² − 2mx + m² + 3:
  6. 6.{ 3x + ay = 6; x + 2y = 2 } has infinitely many solutions ⇒ a =

Remember

  • If the leading coefficient depends on the parameter, first investigate the case a = 0 separately.
  • ax² + bx + c > 0 for all x ⇔ a > 0, D < 0; < 0 ⇔ a < 0, D < 0.
  • Conditions on the roots are written with Vieta’s formulas, always together with D ≥ 0 (or D > 0).
  • The vertex is (−b/(2a), −D/(4a)): the quadrant is set by the signs of its coordinates.
  • A linear system: the ratios a₁/a₂, b₁/b₂, c₁/c₂ decide between one, no and infinitely many solutions.
Spotted a mistake or something inaccurate in this lesson?

Check yourself

12 questions. Every correct answer earns XP.

Question 1 / 12

Question 1 / 12. When is ax² + bx + c > 0 true for all x (a ≠ 0)?