Maths Olympiad Prep

Library / /119 of 353

Algebra Difficulty 4.8 AIME Find the answer

Determine the sum of all distinct real values of xx such that x+x+x+x=1|||\cdots||x|+x|\cdots|+x|+x|=1 where there are 2017 xx 's in the equation.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Note that x+x=2x|x+| x||=2 x when xx is nonnegative, and is equal to 0 otherwise. Thus, when there are 2017 xx 's, the expression equals 2017x2017 x when x0x \geq 0 and x-x otherwise, so the two solutions to the equation are x=1x=-1 and 12017\frac{1}{2017}, and their sum is 20162017-\frac{2016}{2017}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.