Maths Olympiad Prep

Library / /114 of 348

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. Spacing and $ signs are ignored.

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 and solution reproduced as published; topic and difficulty added by this site.