# Dealing with absolutes

Algebra Level 2

Let $$f(x) = |x| - |x-1|$$

Let $$A$$ be the maximum value of $$f(x)$$ and $$B$$ be the minimum value of $$f(x)$$.

Find $$A - B$$.

Notation: $$| \cdot |$$ denotes the absolute value function.

×