hi(adsbygoogle = window.adsbygoogle || []).push({});

I've been reading through some notes and I can't see where a step comes from.

I understand that

[tex] |x| = \left\{\begin{array}{cc} x,& \mbox{ if } x\geq 0\\-x, & \mbox{ if } x \leq0 \end{array}\right[/tex]

The equation I'm stuck on reads as

[tex] f(x) = 1 - | 1- x | \mbox{on} [-2,2] [/tex]

[tex] = \left\{\begin{array}{cc} 2-x,& \mbox{ if } x\geq 1\\x, & \mbox{ if } x \leq 1 \end{array}\right [/tex]

Can someone explain this step?

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Modulus clarification

**Physics Forums | Science Articles, Homework Help, Discussion**