PYQ Vault

CDS Mathematics · Quadratic Equations

Perfect Squares, Signs and Location of Roots

A quadratic is a perfect square when its discriminant is zero, keeps one sign when the discriminant is negative, and has a root between two numbers when its values there have opposite signs.

Why this matters

Ten PYQs, the harder half of the discriminant questions. The sum and product give the signs of the roots, the value of the quadratic at a point tells you which side of it the roots lie, and 'integer roots' needs the discriminant to be a perfect square.

Concept 1 of 2: Perfect squares and expressions of one sign

A quadratic that never crosses the xx-axis has the same sign everywhere; one that just touches it is a perfect square. Both are statements about the discriminant.

Definition

For ax2+bx+cax^2 + bx + c:

  • it is a perfect square   ⟺  \iff b2−4ac=0b^2 - 4ac = 0 (with a>0a > 0);
  • it is positive for every xx   ⟺  \iff a>0a > 0 and b2−4ac<0b^2 - 4ac < 0;
  • it is negative for every xx   ⟺  \iff a<0a < 0 and b2−4ac<0b^2 - 4ac < 0.

Collect the xx terms first: mx2+mx+8x+9mx^2 + mx + 8x + 9 has b=m+8b = m + 8.

Perfect square

ax2+bx+c=a(x+b2a)2  ⟺  b2=4acax^2 + bx + c = a\left(x + \tfrac{b}{2a}\right)^2 \iff b^2 = 4ac

Worked example

For what kk is kx2+12x+4kx^2 + 12x + 4 a perfect square?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

CDS · 2023 · CDS (I) 2023 — Elementary Mathematics · Q44Moderate

Example 1 · Quadratic Equations · Perfect Squares, Signs and Location of Roots

For what values of mm, is mx2+mx+8x+9mx^2 + mx + 8x + 9 a perfect square ?

A perfect square can be zero somewhere

(x−2)2(x - 2)^2 is a perfect square but not positive for EVERY xx: it is 00 at x=2x = 2. 'Positive for all xx' needs D<0D < 0, strictly.

Concept 2 of 2: Signs, integer roots and roots between two numbers

The product of the roots says whether they have the same sign; the sum says which. For location, an upward parabola is negative only between its roots, so its value at a point tells you whether the point lies between them.

Definition

For real roots of ax2+bx+c=0ax^2 + bx + c = 0:

  • opposite signs   ⟺  ca<0\iff \dfrac ca < 0;
  • both positive   ⟺  ca>0\iff \dfrac ca > 0 and −ba>0-\dfrac ba > 0; both negative   ⟺  ca>0\iff \dfrac ca > 0 and −ba<0-\dfrac ba < 0.
  • For a>0a > 0, f(k)<0f(k) < 0 means kk lies between the roots. One root in (p,q)(p, q) and the other in (q,r)(q, r): f(p)>0f(p) > 0, f(q)<0f(q) < 0, f(r)>0f(r) > 0.
  • Integer roots need the discriminant to be a perfect square.

A point between the roots

a>0, f(k)<0  ⇒  α<k<βa > 0,\ f(k) < 0 \;\Rightarrow\; \alpha < k < \beta

Worked example

For how many integers λ\lambda does x2−6x+λ=0x^2 - 6x + \lambda = 0 have one root in (1,3)(1, 3) and the other in (3,5)(3, 5)?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

CDS · 2016 · CDS (II) 2016 — Elementary Mathematics · Q2Hard

Example 2 · Quadratic Equations · Perfect Squares, Signs and Location of Roots

If λ\lambda is an integer and α\alpha, β\beta are the roots of 4x2−16x+λ4=04x^2 - 16x + \frac{\lambda}{4} = 0 such that 1<α<21 < \alpha < 2 and 2<β<32 < \beta < 3, then how many values can λ\lambda take ?

Opposite signs does not need D > 0 separately

If ca<0\dfrac ca < 0, then b2−4ac>0b^2 - 4ac > 0 automatically, since −4ac-4ac is positive. A statement giving D>0D > 0 adds nothing to a product condition.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (2)

Watch out for (2)

Test yourself on Quadratic Equations

20 past CDS questions from this chapter, timed at 24 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.