FundamentholLog inStart lesson 1 freeBack to app

Roots Lie In An Interval

MathsQuadratic Equations
For JEE aspirants
All quadratic equations formulas for JEE on one page →

When a JEE problem asks for the parameter values that make the roots of a quadratic lie in an interval, three tools give the answer: the discriminant decides whether the roots are real, the sign of tells whether is inside or outside the roots, and the vertex tells which side of they sit on. This page applies them to all eight standard cases, from both roots positive to both roots that lie in an interval , with eight solved examples for JEE Main and JEE Advanced.

On this page1Three tools2Eight standard cases3Solved examples and practice
Key Formulas - Quick Reference
  1. Let with . Three tools:
  2. Reality of roots: (or for distinct)
  3. ★ Must learnSign at boundary: where is a real number of interest
  4. Position of vertex:
  5. ★ Must learnBoth roots positive: , ,
  6. Both roots negative: , ,
  7. Opposite signs (0 between roots): (equivalently )
  8. ★ Must learnBoth roots : , ,
  9. Both roots : , ,
  10. ★ Must learn lies strictly between roots: ,
  11. Exactly one root in : (when neither nor is a root)
  12. ★ Must learnBoth roots in : , , ,

1. The Three-Tool Framework

For a quadratic with real coefficients () and real roots (assume ), three quantities decide where the roots lie relative to any real number :

  • Discriminant : ensures the roots are real. Use for real roots and for real distinct roots.
  • Sign of : if lies outside the roots (either or ), then . If lies between the roots (), then .
  • Vertex position : the vertex is the midpoint of the roots, i.e. . Comparing to tells which side of the roots sit on.
Why and not just ? Multiplying by flips the parabola when , so the condition "outside the roots gives positive" holds uniformly regardless of the sign of . This normalisation makes the same set of formulas work for both upward-opening and downward-opening parabolas.
Sign of a times f of k for a point k relative to the roots of a quadratic Parabola opening upward showing that a times f of k is positive when k is outside the roots and negative when k lies between the roots. a > 0: f(x) = (x − 1)(x − 3) x α β k: a f(k) > 0 k: a f(k) < 0 k: a f(k) > 0
Figure 1: For a parabola with real distinct roots : when lies outside , and when lies strictly between the roots. Drawn for with (dark brown dots on the axis).
Why a times f of k works for a downward parabola Downward parabola minus x minus 1 times x minus 3. Outside the roots f of k is negative, between them positive; a times f of k is positive outside and negative between, as for an upward parabola. a < 0: f(x) = −(x − 1)(x − 3) outside: f(k) < 0, so a f(k) > 0 between: f(k) > 0, so a f(k) < 0 x α β k: a f(k) > 0 k: a f(k) < 0 k: a f(k) > 0
Figure 2: With the parabola opens downward and the sign of flips: outside the roots and between them. Multiplying by restores the rule of Figure 1: outside, between.
Key idea
means is between the roots (so they are real); when the roots are real, means is outside them, whatever the sign of , and the vertex tells on which side.
Exam Trick

Sketch first: draw the parabola with its roots where the question wants them, mark (or and ) and read off the conditions: the sign of at each marked point, where the vertex must be, and real roots. Figure 7 lists the outcomes.

2. Standard Cases

Case I: Both roots are positive

Both means the sum and product of roots are both positive:

Case II: Both roots are negative

Both means the sum is negative but product is positive:

Case III: One root positive, one negative (origin lies between them)

If the roots are on opposite sides of , then :

(No condition on needed - the sign condition alone guarantees .)

Both roots positive, both negative, or of opposite signs Three parabolas: roots 1 and 3 both to the right of the y-axis, roots minus 1 and minus 3 both to the left, and roots minus 1 and 2 on opposite sides, with their sums and products. Case I: both positive S = 4 > 0 P = 3 > 0 Case II: both negative S = −4 < 0 P = 3 > 0 Case III: opposite signs P = −2 < 0 0 is between
Figure 3: The signs of the roots read from and (with real roots, ): , and . The -axis is the line .
Quick Recall: tap to check
Are both roots of positive?
Yes: , sum , product (roots and ).
Do the roots of have opposite signs?
Yes: (roots and ).
has sum and product . Both roots negative?
No: , the roots are not real.

Case IV: Both roots greater than a real number

All three conditions are needed:

Case V: Both roots less than a real number

The vertex decides on which side of k the roots lie Two parabolas with the vertical line x equals 1. Both are positive at x equals 1. The one with vertex at 2.5 has both roots greater than 1; the one with vertex at minus 1.5 has both roots less than 1. (x − 2)(x − 3): vertex 2.5 > k (x + 1)(x + 2): vertex −1.5 < k k = 1: a f(k) > 0 for both x k = 1 roots > k roots < k
Figure 4: and hold for both parabolas ( and ), so is outside the roots of each. Only the vertex says which side: puts both roots above (Case IV), puts both below (Case V).
Both roots on one side of Three conditions: , and the vertex on that side of (Figure 4).
between the rootsOne condition: . It already forces and says nothing about the vertex.
Exam Trick

Both roots greater than ? Shift: put . The new quadratic in must have both roots positive, which is Case I with the sum and product. In Solved Example 1(ii), gives : , and , so again.

Case VI: lies strictly between the roots

This means one root is less than and the other is greater than :

Key idea
One number between the roots needs one condition, ; both roots on one side of need all three tools.

Case VII: Exactly one root lies between and

If exactly one of lies in the open interval and neither nor is a root, then and take opposite signs:

Exam Trick

Exactly one root in : the test misses a root sitting at an end, because the product is then . Check and by hand: has roots and so exactly one root () lies in although .

Case VIII: Both roots lie in

All four conditions needed:

Three cases for roots and an interval Three parabolas showing both roots inside an interval, exactly one root inside, and k lying between the roots. k1 k2 Case VIII: both roots in (k1, k2) k1 k2 Case VII: exactly one root in (k1, k2) k Case VI: k between the roots
Figure 5: Three common interval configurations. Green segments/marks indicate the interval or point of interest, red dots are the roots.
Both roots in an interval needs all four conditions Two panels on the interval 1 to 4. Top: a parabola with both roots inside, positive at both ends, vertex inside. Bottom: a parabola positive at both ends with vertex inside but above the axis, so it has no real roots. All four hold: roots 1.5 and 3 k1 = 1 k2 = 4 vertex 2.25 D < 0: the other three hold, no roots k1 = 1 k2 = 4 vertex 2.5
Figure 6: Case VIII on . Top: has , , and vertex inside, so both roots are in the interval. Bottom: has , and vertex inside, but : no real roots at all.
Exactly one root in : the graph changes sign across the interval (then check the ends).
Both roots in Four conditions: , , and (Figure 6).
Quick Recall: tap to check
Is between the roots of ?
Yes: and , so .
Write the conditions for both roots of to exceed .
, and .
Does have exactly one root in ?
Yes: , , product (the root is ).
Key idea
For both roots in an interval: , at both ends and the vertex inside; for exactly one root, look for a sign change across the interval, then check the ends.
JEE Advanced

Equations in or . Put The equation has a real solution exactly when the quadratic in has a root in : a location-of-roots question.

Example: . With it becomes , that is . The root is never a sine, so a solution exists exactly when . When the quadratic does not factor, combine the interval cases of Figure 7 and check by hand, or use the vertex as in Solved Example 8.

Flowchart: which conditions to write for roots in an interval Flowchart. For one number k: if k must lie between the roots, use a times f of k less than zero; if both roots must be on a given side of k, use D at least zero, a times f of k positive and the vertex on that side of k. If exactly one root is in the interval and the other root is free, use f of k1 times f of k2 negative and if k1 or k2 is a root, test the other root. If both roots are in the interval, use four conditions. Anything else: sketch the roots where they must be and write the sign of a times f at each marked number, plus D and the vertex if needed; at least one root in the interval is the union of exactly one and both. yes no yes no yes no yes no Where must the roots lie? one number k: k between the roots? a·f(k) < 0 (D > 0 follows) one number k: both roots on a given side of k? D ≥ 0, a·f(k) > 0, vertex on that side exactly one in (k1, k2), other root free? f(k1)·f(k2) < 0; if k1 or k2 is a root, test the other root both in (k1, k2)? D ≥ 0, a·f(k1) > 0, a·f(k2) > 0, k1 < vertex < k2 anything else (several requirements): sketch the roots where they must be, then write the sign of a·f at each marked number, plus D and the vertex if needed; 'at least one in (k1, k2)' = exactly one ∪ both
Figure 7: Flowchart for location-of-roots problems for , with , vertex at and : decide where the roots must be, then write only the conditions that case needs. Signs of the roots (Cases I to III) are the case , read from the sum and product.
Mind map: roots of a quadratic in an interval Mind map with six branches: the three tools, signs of roots, one number k, an interval, shortcuts and common traps. Three tools D: real roots? a·f(k): in or out vertex: which side Signs of roots, D ≥ 0 both +: S > 0, P > 0 both −: S < 0, P > 0 opposite: P < 0 One number k between: a·f(k) < 0 one side: D ≥ 0, a·f(k) > 0, vertex Interval (k1, k2) one root: sign change both: 4 conditions check the ends Shortcuts shift x = t + k sketch first sin x = t, t in [−1, 1] Watch out D > 0 or D ≥ 0? multiply f(k) by a open or closed ends Roots in an interval
Figure 8: Mind map of location of roots: the three tools, signs of the roots, one number , an interval , shortcuts and the usual traps.

3. Solved Examples

Solved Example 1
For the quadratic , find the values of for which:
(i) one root is smaller than and the other is greater than ;
(ii) both roots are greater than ;
(iii) both roots lie in ;
(iv) exactly one root lies in .
Solution:

Let . Here , , . Compute:

(i) lies between the roots: need and .

  • or

Intersection: .

(ii) Both roots : need , , and .

  • or

Intersection: .

(iii) Both roots in : need , , , and .

  • or
  • for all (auto-satisfied)

The last condition needs , but the first needs or . No overlap: .

(iv) Exactly one root in : need and .

  • or

Intersection: .

A family of quadratics through one point Three parabolas x squared minus m minus 3 x plus m for m equal to 6, 9.5 and 12, all through the point 1, 4, with the strip between x equals 1 and 2 shaded. m = 6: D < 0, no real roots m = 9.5: both roots > 2 m = 12: 2 between the roots (1, 4) lies on every curve shaded strip: 1 < x < 2 x y 1 2
Figure 9: Solved Example 1. Every member of passes through , which is why is automatic. For the curve is below the axis at : lies between the roots and one root () is in . For both roots ( and ) exceed .
Solved Example 2
Find for which exactly one root of lies between and .
Solution:

Let . For exactly one root in , need .

Both and are negative (since ), so their product is positive: with , for every . No passes the test.

The roots confirm it. Dividing by : , so . Since , one root is below and the other above : neither is ever in (Figure 10). Answer:

The roots never enter the interval from 1 to 2 Graph of the two roots 2 plus and minus the square root of 3 plus 2 to the minus a, against a from minus 3 to 3. The upper root stays above 3.7 and the lower below 0.3, so the shaded strip between 1 and 2 is never reached. larger root 2 + √(3 + 2−a) smaller root 2 − √(3 + 2−a) strip 1 < x < 2: never reached a x 1 2
Figure 10: Solved Example 2. With the roots are . The larger root stays above and the smaller below for every , so neither enters the strip .
Solved Example 3
Find the values of for which the expression is the product of two linear factors.
Solution:

Treat the expression as a quadratic in :

By the quadratic formula,

The expression factors into two linear (in and ) factors iff the quantity under the square root is a perfect square in :

This is a perfect square in iff its discriminant is zero:

Solved Example 4
Find the values of for which both roots of lie between and .
Solution:

Here and for every . The other three conditions of Case VIII:

  • or
  • or
  • vertex :

Intersection: .

Check: the roots are and , and , give the same interval.

Solved Example 5
Find for which both roots of are positive.
Solution:

Case I: real roots, positive sum, positive product.

  • or
  • sum
  • product

Intersection: .

Solved Example 6
If both roots of are less than , then
(A)
(B)
(C)
(D)
Solution:

Case V with :

  • or
  • vertex :

Together: . Answer: .

Solved Example 7
Exactly one root of lies in exactly when
(A)
(B)
(C)
(D)
Solution:

and . The sign test needs , so .

Ends: gives the roots and , gives the double root ; neither puts a root inside . Answer: .

Solved Example 8
For which real does have a real solution ?
Solution:

Put : we need a root of in .

The vertex lies outside , so is decreasing there and has at most one root in it. That root exists exactly when and do not have the same strict sign:

So . At the root is ; at it is .

Practice Questions
  1. Find for which both roots of are positive.Answer:
  2. For which do the roots of have opposite signs?Answer: Every real : the product is .
  3. For which does lie between the roots of ?Answer: , since .
  4. Find for which both roots of are greater than .Answer:
  5. Find for which exactly one root of lies in .Answer: or ; the ends and come from checking a root at or
  6. For which are both roots of negative?Answer:

Common Mistakes to Avoid

Watch out
  • Forgetting the discriminant condition. Even when the sign and vertex conditions are satisfied, if the roots are complex and no configuration involving 'roots on the real line' applies.
  • Using for 'strictly between the roots' cases. Case VI (a point strictly between roots) needs , since would make both roots coincide with the alleged 'between' point.
  • Forgetting to multiply by when is not known to be positive. The condition ' outside the roots' is , not .
  • Comparing the vertex with the wrong side of . Both roots greater than needs ; both less than needs .
  • Solving 'exactly one root in ' with a strict inequality on . The condition already forces , so no separate discriminant check is needed.
  • Assuming inclusive versus exclusive boundaries automatically. If the problem asks 'both roots in ' (open interval), use strict inequalities at the boundary; if (closed), the boundaries can be roots.
  • Using for 'exactly one root in ' without checking the ends: a root at or makes the product (Exam Trick 3, Practice 5).
  • Treating 'both roots greater than ' as 'the larger root greater than ': the smaller root must exceed too, which is why both and the vertex condition are needed.

Frequently Asked Questions

How do you find the values of a parameter for which both roots of a quadratic lie in a given interval?

Use the three-tool framework: (1) the discriminant to ensure real roots, (2) at each endpoint to ensure the endpoint lies outside the roots, and (3) the vertex lies strictly inside the interval. All three conditions together are necessary and sufficient.

What is the condition for a real number to lie between the roots of ?

The number lies strictly between the roots if and only if (which automatically forces ). Multiplying by handles both upward and downward parabolas uniformly.

Why do we multiply by in these conditions?

For an upward parabola (), means is outside the roots. For a downward parabola (), the sign flips: means is outside. Multiplying by normalises both cases: always means 'outside the roots', regardless of the sign of .

What is the condition for exactly one root of a quadratic to lie in an interval ?

Exactly one root lies in if and only if , provided neither nor is itself a root. This is because is continuous and a sign change between and forces an odd number of roots inside; for a quadratic that means exactly one.

What is the difference between and in interval problems?

allows the two roots to coincide (double root), while requires distinct roots. For 'both roots in an interval' problems, is standard unless the problem explicitly says 'distinct'. For 'point strictly between roots', is required, since would collapse the roots.

How do you tell if both roots of a quadratic are positive?

Both roots are positive if and only if (real roots), sum of roots , and product of roots . Equivalently, , , and .

How does the vertex position help decide root location?

The vertex is the midpoint of the two roots. Comparing to a boundary tells which side of the roots lie on: if and both roots exist, both are (provided has the correct sign); if , both are .

Can a quadratic with negative leading coefficient satisfy these conditions?

Yes - all the standard conditions carry over unchanged if you use instead of . The three-tool framework is designed to work for either sign of . Just remember to multiply by everywhere except in the discriminant and vertex conditions, which are already sign-neutral.

Keep going

Related in this chapter

Quadratic Equations
All concepts in Quadratic Equations →