Let and be the numbers of real roots of the quadratic equationsandrespectively, where denotes the greatest integer . Then is equal to
Solution
Core idea. An equation with the greatest integer is examined one unit interval at a time.
Concept refresher. For an integer , exactly when . An equation has a root in that interval only if takes the value there. For a real , when and
when .
Picture the situation. In the first equation the staircase of the greatest integer must meet a parabola that opens downward with its top at height 5. On each step the staircase is constant while the parabola rises through a short range, and the two ranges never match. The second equation is an upward parabola on each side of the corner at , cutting the axis three times in all.
Approach. Show that the first equation has no root by examining each unit interval, count the roots of the second by cases, and combine the counts.
Step 1: First equation
It says , so and , where the right side increases. With , a root in needs , which is . No integer satisfies this, so .
Step 2: Second equation, right of the corner
For the equation is , that is , with roots 7 and , both allowed.
Step 3: Second equation, left of the corner
For the equation is , with roots and , of which only is below . So . With and , .
Answer. 9
Sanity check. For the first equation, at the left side is and at it is , positive throughout that step, and it jumps to 1 at ; it never reaches zero.
Common wrong answers
- 16: Counting twice, once in each case, makes and gives 16; it is a single root.
- 19: Replacing by gives and suggests , hence ; the greatest integer is not the number itself, and that quadratic has no real root anyway.
Key takeaway
The trap. A root that lies at the corner of a modulus belongs to one case only.
How toppers think. They turn the condition for a root on a unit interval into an inequality in the integer.
Remember. means .
More on Equations Reducible to Quadratics
- The number of the real solutions of the equation: x|x + 3| + |x - 1| - 2 = 0 is
- If α and β (α < β) are the roots of the equation (-2 + √(3))(|√(x) - 3|) + (x - 6√(x)); + (9 - 2√(3)) = 0, x…
- The number of distinct real solutions of the equation x|x + 4| + 3|x + 2| + 10 = 0 is
- All 33 on Equations Reducible to Quadratics ›