Absolute Values: Is it a Mistake or Something I Don't Know?

AI Thread Summary
The discussion centers on the properties of absolute values, specifically the equivalence of |5-x| and |x-5|, which is confirmed by the definition that |a| = |-a|. Participants clarify that while |5-x| does not equal |5| + |-x|, it does equal |x-5|. The concept that the absolute value represents the positive magnitude of a number is emphasized, leading to the conclusion that |x| - |-x| equals zero. This understanding of absolute values is noted as particularly useful in programming contexts. The conversation reinforces the fundamental properties of absolute values in mathematics.
Jeff Ford
Messages
154
Reaction score
2
An example in my textbook gives

\vert \frac{5-x}{5x} \vert \Leftrightarrow \frac {1}{5} (\frac{1}{\vert x \vert}) (\vert x-5 \vert)

Is there something I don't know about absolute values that allows \vert 5-x \vert to become \vert x-5 \vert or is this a mistake in the text?
 
Physics news on Phys.org
What would you say about |x| - |-x|?
 
It would be zero. So \vert 5 \vert + \vert -x \vert \Longleftrightarrow \vert -5 \vert + \vert x \vert

Thanks for the push.
 
Well yes, but in your case |5-x| doesn't necessarily equal |5| + |-x|, but it does equal |x-5|, as you asked in the first place.
 
By definition |a|=|-a|. Let a=x-5 and the result is obvious.
 
TD said:
What would you say about |x| - |-x|?

\vert x \vert - \vert-x \vert = 0

The absolute value a number simply means that its positive, no matter what. So abs(x) - (abs(-x) would be the same as abs(x) - abs(x). This is actaully quite usfull in the field of programming.
 
Last edited:
Back
Top