Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra intermediate

Problem

Let be the set of points in the Cartesian plane that satisfy What is the total length of all the lines that make up ?
Solution
We'll use this helpful result a few times: for any real numbers and , the graph of is a "diamond": a square of side length centered at whose sides form angles of with the axes. (To see this, first draw the graph of . Then, the graph of is just the result of translating in the -direction by , and then in the -direction by .)

Since the given equation only involves and , it is symmetric about the two axes. That is, it is sufficient to consider only the first quadrant, and then multiply our answer by to account for all four quadrants. So, assume .Then the equation becomes Seeing and , we take cases on the values of and relative to :

If , then the given equation becomes This is the equation of the standard diamond centered at , which is completely contained in the region . If , then the given equation becomes This is the equation of the standard diamond centered at , which is again contained in the correct region. If , then we get the standard diamond centered at , as in the last case. If , then the given equation becomes This is the equation of the standard diamond centered at , which is again contained in the region .

Thus, the graph of the given equation in the first quadrant consists of four standard diamonds, so the graph of the given equation in the whole plane consists of standard diamonds. These diamonds do not overlap, and each one has perimeter . So, the overall length of the lines that make up the graph is .

Below is the whole graph of the equation (tick marks are at ).
Final answer
64\sqrt{2}