so if |x|=(x,if x>=0, and -x, if x<0)(adsbygoogle = window.adsbygoogle || []).push({});

then what would be like |x-7| be equal too and how do you do this i do not understand why |x|equals (x,if x>=0, and -x, if x<0) could you explain it to me?

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

Dismiss Notice

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!

# Absolute values of variables

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