← Math — Semester A midterm

appeared in 9/10

Quadratic equation with a parameter: location of the roots

What it looks like on the exam

"For which mm does the equation have two negative roots greater than −3-3" or "one root less than 1 and the other greater than 1".

📘 The lesson on this topic in the courseQuadratic function→

How to solve

When asked where the roots of f(x)=ax2+bx+cf(x)=ax^2+bx+c (with a parameter) lie — do not solve the equation! Use the parabola's properties: are there roots? (Δ\Delta), where is the vertex? (xv=−b2ax_v=-\frac{b}{2a}), and what is the sign of ff at a given point. These three tools cover every case.

Δ=b2−4ac,xv=−b2a,x1+x2=−ba,x1x2=ca\Delta=b^2-4ac,\qquad x_v=-\frac{b}{2a},\qquad x_1+x_2=-\frac ba,\quad x_1x_2=\frac ca

The idea of a⋅f(k)a\cdot f(k): if a⋅f(k)<0a\cdot f(k)<0, the point kk is between the roots (the parabola “opens” and f(k)f(k) is on the other side). If a⋅f(k)>0a\cdot f(k)>0, both roots are on the same side of kk — and then the vertex shows which side.

The method, step by step

  1. Write aa, bb, cc as expressions in the parameter. If aa can be zero — handle that case separately.

    Why: In that case there is no parabola.

  2. Translate the requirement into the parabola's position relative to the given points (on a sketch).

    Why: A small sketch shows which conditions are needed.

  3. Write every condition: Δ\Delta, the vertex position, a⋅f(k)a\cdot f(k) at each boundary point.

    Why: Every typical case has a fixed list (see below).

  4. Solve each condition separately.

    Why: Usually quadratic inequalities in the parameter.

  5. Intersect all the solutions (“and”).

    Why: All conditions must hold.

  6. Check one boundary value by substitution.

    Why: To make sure no value got in or dropped out by mistake.

Cases you will meet

kk between the roots

a⋅f(k)<0a\cdot f(k)<0

Both roots greater than kk

Δ>0,xv>k,a⋅f(k)>0\Delta>0,\quad x_v>k,\quad a\cdot f(k)>0

Both roots less than kk

Δ>0,xv<k,a⋅f(k)>0\Delta>0,\quad x_v<k,\quad a\cdot f(k)>0

Both roots in (p,q)(p,q)

Δ>0, p<xv<q, af(p)>0, af(q)>0\Delta>0,\ p<x_v<q,\ a f(p)>0,\ a f(q)>0

The interval [p,q][p,q] between the roots

af(p)<0,af(q)<0a f(p)<0,\quad a f(q)<0

Roots of opposite sign / both positive

Opposite signs: ca<0\frac ca<0. Both positive: Δ≥0\Delta\ge0, −ba>0-\frac ba>0, ca>0\frac ca>0.

Full topic in the course →
1

Fully worked example

Worked example

For which mm does x2−2mx+m+2=0x^2-2mx+m+2=0 have two distinct roots, both greater than 11?

Solution

IdeaThree conditions: Δ>0\Delta>0, the vertex right of 11, and f(1)>0f(1)>0 (a=1>0a=1>0).
  1. Δ=4m2−4(m+2)>0⇒m2−m−2>0⇒m<−1\Delta=4m^2-4(m+2)>0\Rightarrow m^2-m-2>0\Rightarrow m<-1 or m>2m>2.

    Why: Two distinct roots.

  2. xv=m>1x_v=m>1.

    Why: The vertex is between the roots, so to the right of 11.

  3. f(1)=1−2m+m+2=3−m>0⇒m<3f(1)=1-2m+m+2=3-m>0\Rightarrow m<3.

    Why: The parabola is positive at 11: both roots on the same side.

  4. Intersection: 2<m<32<m<3.

    Why: All three conditions together.

Checkm=2.5m=2.5: x2−5x+4.5=0x^2-5x+4.5=0, x=5±72≈1.18, 3.82x=\frac{5\pm\sqrt7}{2}\approx1.18,\ 3.82 — both above 11 ✓.
Common mistakeForgetting the vertex condition and also getting m<−1m<-1 (then both roots are negative).

Practice