AMC 10 Step by Step

2023 AMC 10B Problem 22

P21-25~5 minPrint

How many distinct values of xx satisfy ⌊x⌋2−3x+2=0,\lfloor{x}\rfloor^2-3x+2=0, where ⌊x⌋\lfloor{x}\rfloor denotes the largest integer less than or equal to xx ?

Log in to save your progress.
Show solution without answering

Key insight

Call the floor k. Then x = (k squared + 2)/3, and this x must really have floor k. Only k = 0, 1, 2, 3 pass that test.

Solution

⌊x⌋\lfloor x \rfloor is always a whole number, so give it a name and try values.

1. Name the floor. Let k=⌊x⌋k = \lfloor x \rfloor, a whole number (possibly 00 or negative). The equation says k2−3x+2=0k^2 - 3x + 2 = 0, so
x=k2+23.x = \frac{k^2 + 2}{3}.
2. The catch. This xx only counts if its floor really is kk. That means xx must be at least kk but less than k+1k + 1.
3. Try values of kk.

kk−1-10011223344
x=k2+23x = \frac{k^2+2}{3}1123\frac{2}{3}1122113\frac{11}{3}66
⌊x⌋\lfloor x \rfloor110011223366
equals kk?noyesyesyesyesno

4. Why no other kk works. The condition x<k+1x < k + 1 means k2+2<3k+3k^2 + 2 < 3k + 3, that is, k2<3k+1k^2 < 3k + 1.
- For k=4k = 4: 16<1316 < 13 is false. For bigger kk, k2k^2 grows much faster than 3k+13k + 1, so it stays false.
- For k=−1k = -1: 1<−21 < -2 is false. For more negative kk, k2k^2 is positive and 3k+13k + 1 is negative, so it stays false.
(The other condition, x≥kx \ge k, turns into k2−3k+2≥0k^2 - 3k + 2 \ge 0, or (k−1)(k−2)≥0(k - 1)(k - 2) \ge 0, which is true for every whole number kk.)
5. Count. The solutions are x=23,1,2,113x = \frac{2}{3}, 1, 2, \frac{11}{3}. Check one: x=113x = \frac{11}{3} has floor 33, and 9−11+2=09 - 11 + 2 = 0. That is 44 values.

The answer is (B) 4\boxed{\textbf{(B)}\ 4}.

Why this works

An equation with ⌊x⌋\lfloor x \rfloor is really many ordinary equations, one for each whole-number value of the floor. Solve for xx in terms of that whole number kk, then keep only the answers that land between kk and k+1k + 1. That condition allows only a few values of kk.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Let k=⌊x⌋k = \lfloor x \rfloor, an integer. The equation gives xx in terms of kk:
x=k2+23.x = \frac{k^2 + 2}{3}.
For this to be consistent we need ⌊x⌋=k\lfloor x \rfloor = k, i.e. k≤k2+23<k+1k \le \frac{k^2 + 2}{3} < k + 1. Multiply by 33:

  • Left inequality: 3k≤k2+2  ⟺  k2−3k+2≥0  ⟺  (k−1)(k−2)≥03k \le k^2 + 2 \iff k^2 - 3k + 2 \ge 0 \iff (k-1)(k-2) \ge 0, so k≤1k \le 1 or k≥2k \ge 2: every integer satisfies this.
  • Right inequality: k2+2<3k+3  ⟺  k2−3k−1<0k^2 + 2 < 3k + 3 \iff k^2 - 3k - 1 < 0. The roots of k2−3k−1k^2 - 3k - 1 are 3±132≈−0.30\frac{3 \pm \sqrt{13}}{2} \approx -0.30 and 3.303.30, so the integers allowed are k=0,1,2,3k = 0, 1, 2, 3.

Each kk gives one xx: k=0⇒x=23k = 0 \Rightarrow x = \frac{2}{3}; k=1⇒x=1k = 1 \Rightarrow x = 1; k=2⇒x=2k = 2 \Rightarrow x = 2; k=3⇒x=113k = 3 \Rightarrow x = \frac{11}{3}. Quick check: ⌊2/3⌋=0\lfloor 2/3 \rfloor = 0 and ⌊11/3⌋=3\lfloor 11/3 \rfloor = 3, as required. That is 44 distinct solutions.

The answer is (B) 4\boxed{\textbf{(B)}\ 4}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.