Comparing two absolute value equations

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 1K views
marksyncm
Messages
100
Reaction score
5
Hello,

How does one go about algebraically checking if [itex]|x+|y+z||[/itex] and [itex]||x+y|+z|[/itex] are equal?
 
Mathematics news on Phys.org
The way that always works is to consider all possible cases. There are four absolute value signs, for each of which there are two possibilities: that the number they contain is negative or not. That gives ##2^4=16## cases to consider. If you consider each one in turn, and show that in that case the equality holds, and that is true for all cases, you will have proven the whole thing. If even one fails, it is disproven.

Often there will be a quicker way, specific to the particularities of the problem, that uses things like the triangle inequality. But if you can't find one, you can always fall back on the above 'brute force' method.
 
andrewkirk, this is exactly what I was looking for. Thank you.

fresh_42, thank you for your input as well, your last post is an interesting way of approaching this.