Question

Difficulty: HardIntegers, Absolute Value, and Number Lines

Two integers, xx and yy, are positioned on a number line. The distance between xx and 11 is twice the distance between yy and 22. If the distance between xx and yy is exactly 55 units, what is the sum of all possible values of x+yx + y?

Answer: 17

Answer

The sum of all possible values of x+yx + y is 1717.
Representing the distances algebraically yields the system x1=2y2|x - 1| = 2|y - 2| and xy=5|x - y| = 5. Since xx and yy must be integers, splitting these equations into positive and negative cases yields exactly three valid integer coordinate pairs: (13,8)(13, 8), (5,0)(5, 0), and (7,2)(-7, -2). The sums (x+yx + y) for these pairs are 2121, 55, and 9-9, respectively. Adding these possible sums together gives a final total of 1717.

Step-by-Step Solution

1
Set up the absolute value expressions representing the distances.
x1=2y2|x - 1| = 2|y - 2| and xy=5|x - y| = 5
Distance on a number line between two points aa and bb is mathematically defined as ab|a - b|.
2
Split the distance condition xy=5|x - y| = 5 into two coordinate cases.
x=y+5x = y + 5 or x=y5x = y - 5
An absolute value equation of the form A=B|A| = B splits into A=BA = B or A=BA = -B.
3
Substitute x=y+5x = y + 5 into the first equation and solve for integer values of yy.
y=8y = 8 (which gives x=13x = 13) and y=0y = 0 (which gives x=5x = 5)
This generates the first set of valid integer coordinates satisfying all constraints.
4
Substitute x=y5x = y - 5 into the first equation and solve for integer values of yy.
y=2y = -2 (which gives x=7x = -7); the second algebraic option y=10/3y = 10/3 is discarded because it is not an integer
This generates the remaining valid integer coordinates satisfying all constraints.
5
Sum the value of x+yx + y for all three valid coordinate pairs.
(13+8)+(5+0)+(72)=21+59=17(13 + 8) + (5 + 0) + (-7 - 2) = 21 + 5 - 9 = 17
The question asks for the sum of all possible values of the expression x+yx + y.

Key Concept

Using absolute value to represent distances on a number line and solving systems of absolute value equations under integer constraints.
Estimated Time:2m 30s
Rate this question