Given \( f(x) = \begin{cases}
x & \text{if } x \text{ is rational} \\
x^2 & \text{if } x \text{ is irrational}
\end{cases} \)
At \( x = 1 \), \( f(1) = 1 \).
For \( x \) rational, \( |f(x) - f(1)| = |x - 1| \).
For \( x \) irrational, \( |f(x) - f(1)| = |x^2
Show more…