2019 AMC 10B Problem 9

Attempt Problem 9 of the 2019 AMC 10B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2019 AMC 10B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

9.

The function ff is defined by f(x)=xxf(x) = \lfloor|x|\rfloor - |\lfloor x \rfloor| for all real numbers x,x, where r\lfloor r \rfloor denotes the greatest integer less than or equal to the real number r.r. What is the range of f?f?

{1,0} \{-1, 0\}

The set of nonpositive integers

{1,0,1}\{-1, 0, 1\}

{0} \{0\}

The set of nonnegative integers

Answer: A
Concepts:floor and ceiling functionsabsolute valuecasework
Difficulty rating: 1370
Solution:

If x0x\ge0, then x=x=x\lfloor|x|\rfloor=\lfloor x\rfloor=|\lfloor x\rfloor|, so f(x)=0f(x)=0.

If xx is a negative integer, both terms equal x|x|, so again f(x)=0f(x)=0.

If xx is negative and not an integer, write x=ktx=-k-t, where kk is a nonnegative integer and 0<t<10<t<1. Then x=k\lfloor|x|\rfloor=k, while x=k1=k+1|\lfloor x\rfloor|=|-k-1|=k+1, so f(x)=1f(x)=-1.

Therefore, the range is {1,0}.\{-1,0\}.

Thus, the answer is A .

← Problem 8#8
Full Exam

Problem 9 in Other Years