My book presents the following: $$7 \le x \le 9 $$ so $$ -1 \le x - 8 \le 1 $$ and $$ |x-8| \le 1$$
I usually get confused with the way that taking the absolute value of an expression works. Could anybody explain why the inequalities above are equivalent? I understand how the first and the second one are equivalent but not how the third one is equivalent to the second one.
On a number line, $|x-a|$ represents the (non-negative) distance between $x$ and $a$. So $|x-8| \leq 1$ can be interpreted as: The distance between $x$ and $8$ is no more than $1$ unit. This immediately gives you $7 \leq x \leq 9$.
To analyze this the other direction, if $a \leq x \leq b$, then think of the midpoint: $\frac{a+b}{2}$, and half the distance from $a$ to $b$: $\frac{b-a}{2}$. You obtain:
$$ \left| x - \frac{a+b}{2} \right| \leq \frac{b-a}{2}.$$