AMC 10 Step by Step

2016 AMC 10A Problem 4

P1-10~2 minPrint

The remainder can be defined for all real numbers xx and yy with y≠0y \neq 0 by rem(x,y)=x−y⌊xy⌋\text{rem} (x ,y)=x-y\left \lfloor \frac{x}{y} \right \rfloor where ⌊xy⌋\left \lfloor \dfrac{x}{y} \right \rfloor denotes the greatest integer less than or equal to xy\dfrac{x}{y} . What is the value of rem(38,−25)\text{rem}\left(\dfrac{3}{8}, -\dfrac{2}{5}\right) ?

Log in to save your progress.
Show solution without answering

Key insight

The division 3/8 divided by -2/5 is -15/16, a bit above -1. Rounding down gives -1, not 0, so the answer is 3/8 - 2/5 = -1/40.

Solution

This is a "follow the definition" problem. The only danger is rounding a negative number down.

1. Here x=38x = \tfrac38 and y=−25y = -\tfrac25. First find xy\tfrac{x}{y}. Dividing by a fraction means multiplying by its flip:
38÷(−25)=38⋅(−52)=−1516.\frac{3}{8} \div \left(-\frac{2}{5}\right) = \frac{3}{8} \cdot \left(-\frac{5}{2}\right) = -\frac{15}{16}.
2. Now take the greatest integer less than or equal to −1516-\tfrac{15}{16}. As a decimal, −1516=−0.9375-\tfrac{15}{16} = -0.9375. On the number line it sits between −1-1 and 00. The integer 00 is bigger than −0.9375-0.9375, so it is not allowed. The greatest integer that is not bigger is −1-1.
3. Put the pieces into the formula:
rem=x−y⋅(−1)=38−(−25)(−1)=38−25.\text{rem} = x - y \cdot (-1) = \frac{3}{8} - \left(-\frac{2}{5}\right)(-1) = \frac{3}{8} - \frac{2}{5}.
4. With denominator 4040: 1540−1640=−140\frac{15}{40} - \frac{16}{40} = -\frac{1}{40}.

The answer is (B) −140\boxed{\textbf{(B)}\ -\frac{1}{40}}.

Why this works

"Greatest integer less than or equal to" always rounds down, toward the left on the number line. For positive numbers that looks like chopping off the decimal, but for negative numbers it moves further from zero: the result for −0.9375-0.9375 is −1-1. As a check, this kind of remainder always has the same sign as yy and is smaller in size than yy, and −140-\tfrac{1}{40} fits both.

Concise solution

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

First compute the quotient:
xy=3/8−2/5=38⋅(−52)=−1516.\frac{x}{y} = \frac{3/8}{-2/5} = \frac{3}{8} \cdot \left(-\frac{5}{2}\right) = -\frac{15}{16}.

The floor of −1516-\tfrac{15}{16} is the greatest integer that is at most −0.9375-0.9375, which is −1-1 (not 00, since 0>−0.93750 > -0.9375).

Now apply the definition:
rem(38,−25)=38−(−25)(−1)=38−25=1540−1640=−140.\text{rem}\left(\tfrac{3}{8}, -\tfrac{2}{5}\right) = \frac{3}{8} - \left(-\frac{2}{5}\right)(-1) = \frac{3}{8} - \frac{2}{5} = \frac{15}{40} - \frac{16}{40} = -\frac{1}{40}.

The answer is (B) −140\boxed{\textbf{(B)}\ -\frac{1}{40}}.

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.