A question defines an f(x) that is x when x is rational and 1-x when x is irrational, and asks for the points where the function is continuous. The answer equates the two expressions and says the answer's $\frac{1}{2}$.
Why is this so? I can only think of the graph being nearly a combination of $y=x$ and $y=1-x$. How does the intersection point give the point of continuity?