Overview

In many algebra problems, we are not asked to find the exact roots of a quadratic equation. Instead, we are asked to determine where the roots lie.

For example, a problem might ask:

  • Are both roots greater than a certain number?
  • Are both roots less than a certain number?
  • Is exactly one root inside a given interval?
  • Do both roots lie between two numbers?

These questions are called root-location problems.

They are especially common when a quadratic contains a parameter. Instead of solving for the roots directly, we write inequalities that force the roots to lie in the desired region.

Motivation

Consider a quadratic function

f(x)=Ax2+Bx+C,f(x)=Ax^2+Bx+C,

where A≠0A\neq 0.

The roots of the quadratic equation

Ax2+Bx+C=0Ax^2+Bx+C=0

are the points where the graph of f(x)f(x) intersects the xx-axis.

So locating the roots is really a graph question:

Where does the parabola cross the xx-axis?

For example, if we want exactly one root between 00 and 33, we want the graph to cross the xx-axis once inside that interval and once outside it.

Rather than drawing a new graph every time, we can use a few standard conditions involving:

  • The discriminant
  • The value of the function at endpoints
  • The vertex of the parabola

Important Notation

Throughout this module, let

f(x)=Ax2+Bx+C,f(x)=Ax^2+Bx+C,

where A≠0A\neq 0.

Let the roots be

αandβ.\alpha \quad\text{and}\quad \beta.

The discriminant is

Δ=B2−4AC.\Delta=B^2-4AC.

The xx-coordinate of the vertex is

h=−B2A.h=-\frac{B}{2A}.

The sign of AA tells us whether the parabola opens upwards or downwards.

  • If A>0A > 0, the parabola opens upwards
  • If A<0A < 0, the parabola opens downwards

The expression Af(k)Af(k) is useful because it compares the sign of the value f(k)f(k) with the direction of the parabola.

Why the Discriminant Matters

A quadratic has real roots if and only if

Δ≥0.\Delta\ge 0.

If

Δ<0,\Delta<0,

then the graph does not cross the xx-axis at all, so it makes no sense to ask whether the real roots are greater than or less than some number.

Therefore, whenever we want both roots to be located somewhere, we usually need

Δ≥0.\Delta\ge 0.

In some cases, this condition is automatic from the other inequalities, but it is still useful to understand why it appears.

Case 1: Both Roots Greater Than kk

Suppose we want

α>kandβ>k.\alpha>k \quad\text{and}\quad \beta>k.

Then both roots lie to the right of kk.

The required conditions are:

Δ≥0,\Delta\ge 0,
Af(k)>0,Af(k)>0,

and

−B2A>k.-\frac{B}{2A}>k.

Why These Conditions Work

First, we need real roots, so

Δ≥0.\Delta\ge 0.

Next, if both roots are to the right of kk, then the point x=kx=k lies outside the root interval. At such a point, the graph has the same sign as the leading coefficient. This is captured by

Af(k)>0.Af(k)>0.

Finally, the vertex lies halfway between the two roots, so if both roots are greater than kk, the vertex must also lie to the right of kk:

−B2A>k.-\frac{B}{2A}>k.

Case 2: Both Roots Less Than kk

Suppose we want

α<kandβ<k.\alpha<k \quad\text{and}\quad \beta<k.

Then both roots lie to the left of kk.

The required conditions are:

Δ≥0,\Delta\ge 0,
Af(k)>0,Af(k)>0,

and

−B2A<k.-\frac{B}{2A}<k.

This is very similar to the previous case. The only difference is that the vertex must now lie to the left of kk.

Case 3: One Root on Each Side of kk

Suppose we want one root less than kk and the other root greater than kk:

α<k<β.\alpha<k<\beta.

The required condition is

Af(k)<0.Af(k)<0.

Why Only One Condition?

If A>0A>0, the parabola opens upwards. Between the two roots, the graph lies below the xx-axis, so f(k)<0f(k)<0.

If A<0A<0, the parabola opens downwards. Between the two roots, the graph lies above the xx-axis, so f(k)>0f(k)>0.

In both cases, AA and f(k)f(k) have opposite signs, so

Af(k)<0.Af(k)<0.

This condition already forces the graph to cross the xx-axis on both sides of kk, so we do not need to separately write

Δ≥0.\Delta\ge 0.

Two-Point Root Location

Now suppose we have two real numbers

k1<k2.k_1<k_2.

Many problems ask us to describe where the roots lie relative to the interval

(k1,k2).(k_1,k_2).

There are three especially important cases:

  • Both roots lie inside the interval
  • Exactly one root lies inside the interval
  • One root lies to the left of the interval and the other lies to the right

Case 4: Both Roots Between k1k_1 and k2k_2

Suppose we want

k1<α,β<k2.k_1<\alpha,\beta<k_2.

That means both roots lie inside the interval.

The required conditions are:

Δ≥0,\Delta\ge 0,
Af(k1)>0,Af(k_1)>0,
Af(k2)>0,Af(k_2)>0,

and

k1<−B2A<k2.k_1<-\frac{B}{2A}<k_2.

Why These Conditions Work

We need real roots, so

Δ≥0.\Delta\ge 0.

The endpoints k1k_1 and k2k_2 must both lie outside the root interval. Therefore the graph at both endpoints must have the same sign as the leading coefficient:

Af(k1)>0Af(k_1)>0

and

Af(k2)>0.Af(k_2)>0.

Finally, the vertex lies halfway between the two roots. If both roots are inside the interval, the vertex must also be inside the interval:

k1<−B2A<k2.k_1<-\frac{B}{2A}<k_2.

All four conditions are needed. If the vertex condition is missing, it is possible for both roots to lie outside the interval while still having the correct endpoint signs.

Case 5: Exactly One Root Between k1k_1 and k2k_2

Suppose we want exactly one root in the interval

(k1,k2).(k_1,k_2).

The required condition is

f(k1)f(k2)<0.f(k_1)f(k_2)<0.

Why This Works

If

f(k1)f(k2)<0,f(k_1)f(k_2)<0,

then f(k1)f(k_1) and f(k2)f(k_2) have opposite signs.

Since a quadratic function is continuous, the graph must cross the xx-axis somewhere between k1k_1 and k2k_2.

A quadratic has at most two real roots. If the signs at the two endpoints are opposite, the number of crossings inside the interval is odd. Therefore, there is exactly one root in the interval.

This is often the simplest root-location case.

Case 6: One Root on Each Side of the Interval

Say we want

α<k1<k2<β.\alpha<k_1<k_2<\beta.

That means the entire interval lies between the two roots.

The required conditions are:

Af(k1)<0Af(k_1)<0

and

Af(k2)<0.Af(k_2)<0.

Why These Conditions Work

If A>0A>0, the parabola opens upwards and is negative between its two roots. As such, if both f(k1)f(k_1) and f(k2)f(k_2) are negative, both points lie between the roots.

If A<0A<0, the parabola opens downwards and is positive between its two roots. As such, if both f(k1)f(k_1) and f(k2)f(k_2) are positive, both points again lie between the roots.

Both situations are captured by

Af(k1)<0Af(k_1)<0

and

Af(k2)<0.Af(k_2)<0.

This guarantees one root to the left of k1k_1 and the other root to the right of k2k_2.

Summary of Conditions

Let

f(x)=Ax2+Bx+Cf(x)=Ax^2+Bx+C

with A≠0A\neq 0, discriminant

Δ=B2−4AC,\Delta=B^2-4AC,

and vertex xx-coordinate

h=−B2A.h=-\frac{B}{2A}.

One-Point Cases

Suppose h=−B2Ah=-\frac{B}{2A}.

Both roots greater than kk

If both roots are greater than kk, use the conditions

Δ≥0,\Delta\ge 0,
Af(k)>0,Af(k)>0,

and

h>k.h>k.

Both roots less than kk

If both roots are less than kk, use the conditions

Δ≥0,\Delta\ge 0,
Af(k)>0,Af(k)>0,

and

h<k.h<k.

One root on each side of kk

If one root is less than kk and the other root is greater than kk, use the condition

Af(k)<0.Af(k)<0.

This condition already guarantees that the parabola crosses the xx-axis on both sides of kk.

Two-Point Cases

Assume

k1<k2.k_1<k_2.

Both roots in (k1,k2)(k_1,k_2)

If both roots lie inside the interval (k1,k2)(k_1,k_2), use the conditions

Δ≥0,\Delta\ge 0,
Af(k1)>0,Af(k_1)>0,
Af(k2)>0,Af(k_2)>0,

and

k1<h<k2.k_1<h<k_2.

Exactly one root in (k1,k2)(k_1,k_2)

If exactly one root lies inside the interval (k1,k2)(k_1,k_2), use the condition

f(k1)f(k2)<0.f(k_1)f(k_2)<0.

This means the function has opposite signs at the two endpoints.

One root left of k1k_1, one root right of k2k_2

If one root lies to the left of k1k_1 and the other lies to the right of k2k_2, use the conditions

Af(k1)<0Af(k_1)<0

and

Af(k2)<0.Af(k_2)<0.

This means both endpoints lie between the two roots.

Worked Examples

Example 1

Find all real values of tt such that both roots of

x2−2tx+t+3=0x^2-2tx+t+3=0

are greater than 11.

Let

f(x)=x2−2tx+t+3.f(x)=x^2-2tx+t+3.

Here,

A=1,B=−2t,C=t+3.A=1, \qquad B=-2t, \qquad C=t+3.

We want both roots to be greater than 11, so we use Case 1 with k=1k=1.

First,

Δ=(−2t)2−4(1)(t+3)=4t2−4t−12.\Delta=(-2t)^2-4(1)(t+3) = 4t^2-4t-12.

We need

4t2−4t−12≥0.4t^2-4t-12\ge 0.

Dividing by 44 gives

t2−t−3≥0.t^2-t-3\ge 0.

Thus

t≤1−132ort≥1+132.t\le \frac{1-\sqrt{13}}{2} \quad\text{or}\quad t\ge \frac{1+\sqrt{13}}{2}.

Next,

f(1)=1−2t+t+3=4−t.f(1)=1-2t+t+3=4-t.

Since A=1A=1, the condition

Af(1)>0Af(1)>0

becomes

4−t>0,4-t>0,

so

t<4.t<4.

Finally, the vertex has xx-coordinate

h=−B2A=t.h=-\frac{B}{2A}=t.

We need

t>1.t>1.

Combining all three conditions gives

1+132≤t<4.\frac{1+\sqrt{13}}{2}\le t<4.

Example 2

Find all real values of cc such that both roots of

x2−5x+c=0x^2-5x+c=0

lie in the interval (1,4)(1,4).

Let

f(x)=x2−5x+c.f(x)=x^2-5x+c.

Here,

A=1,B=−5.A=1, \qquad B=-5.

The vertex is

h=−B2A=52.h=-\frac{B}{2A}=\frac{5}{2}.

Since

1<52<4,1<\frac{5}{2}<4,

the vertex condition is already satisfied.

Now compute the discriminant:

Δ=25−4c.\Delta=25-4c.

We need

25−4c≥0,25-4c\ge 0,

so

c≤254.c\le \frac{25}{4}.

Next,

f(1)=1−5+c=c−4f(1)=1-5+c=c-4

and

f(4)=16−20+c=c−4.f(4)=16-20+c=c-4.

Since A=1A=1, we need

f(1)>0f(1)>0

and

f(4)>0.f(4)>0.

As such

c−4>0,c-4>0,

so

c>4.c>4.

Combining the conditions gives

4<c≤254.4<c\le \frac{25}{4}.

Example 3

Find all real values of cc such that exactly one root of

x2−5x+c=0x^2-5x+c=0

lies in the interval (1,4)(1,4).

Let

f(x)=x2−5x+c.f(x)=x^2-5x+c.

For exactly one root in (1,4)(1,4), use Case 5:

f(1)f(4)<0.f(1)f(4)<0.

But

f(1)=c−4f(1)=c-4

and

f(4)=c−4.f(4)=c-4.

As such

f(1)f(4)=(c−4)2.f(1)f(4)=(c-4)^2.

This can never be negative.

Therefore, there are no real values of cc for which exactly one root lies in (1,4)(1,4).

This makes sense because the quadratic

x2−5x+cx^2-5x+c

has axis of symmetry

x=52,x=\frac{5}{2},

which is exactly in the middle of the interval. Its roots are symmetric around the centre of the interval, so they enter or leave the interval together.

Example 4

Find all real values of cc such that one root of

x2−5x+c=0x^2-5x+c=0

lies to the left of 11 and the other lies to the right of 44.

We want

α<1<4<β.\alpha<1<4<\beta.

So we use Case 6:

Af(1)<0Af(1)<0

and

Af(4)<0.Af(4)<0.

Since A=1A=1, this becomes

f(1)<0f(1)<0

and

f(4)<0.f(4)<0.

Now

f(1)=c−4f(1)=c-4

and

f(4)=c−4.f(4)=c-4.

Therefore we need

c−4<0.c-4<0.

So

c<4.c<4.

Therefore, for every

c<4,c<4,

one root lies to the left of 11 and the other lies to the right of 44.

At Least One Root in an Interval

Sometimes a problem asks for at least one root in

(k1,k2).(k_1,k_2).

This is not a single new case. It is the union of two possibilities:

  • Exactly one root lies in the interval
  • Both roots lie in the interval

So you should combine Case 5 and Case 4.

In contest problems, it is often easier to solve these two cases separately and then take the union of the answer sets.

Key Contest Insight

Root-location problems are graph problems disguised as algebra problems.

The conditions are not random inequalities. Each one has a geometric meaning:

  • Δ≥0\Delta\ge 0 ensures real roots exist.
  • Af(k)>0Af(k)>0 means kk lies outside the interval between the roots.
  • Af(k)<0Af(k)<0 means kk lies between the roots.
  • −B2A-\frac{B}{2A} gives the horizontal position of the vertex.

Once these ideas are clear, the cases become much easier to remember.

Strategy Tips

  • Start by writing down f(x)f(x), AA, BB, CC, and Δ\Delta
  • Compute the vertex coordinate h=−B2Ah=-\frac{B}{2A}
  • Decide which root-location case matches the problem
  • Write the required inequalities carefully
  • Solve all inequalities and take their common solution
  • Be careful with strict intervals such as (k1,k2)(k_1,k_2)
  • If the problem says 'at least one root', split it into cases

Common Pitfalls

  • Forgetting to check the discriminant when both roots are required
  • Using f(k)>0f(k)>0 instead of Af(k)>0Af(k)>0 when the parabola may open downwards
  • Forgetting that the vertex lies midway between the two roots
  • Combining endpoint conditions incorrectly
  • Treating 'exactly one root in an interval' the same as 'both roots in an interval'
  • Ignoring whether the interval is open or closed

Practice Problems

StatusSourceProblem NameDifficultyTags

Module Progress:

Join the Discord Community!

Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.