When does the triangle inequality hold for absolute value?

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
5 replies · 2K views
lepton123
Messages
11
Reaction score
0

Homework Statement


abs(x+y+z)≤abs(x)+abs(y)+abs(z) indicate when this equality holds and prove this statement


Homework Equations



Triangle inequality?

The Attempt at a Solution


I have nothing :/
 
Physics news on Phys.org
What is the absolute value of x? if x => 0 then abs(x)=x, else it is -x.

So make a table with all of the possible cases and see what happens!
 
Drat, I was hoping that that I wouldn't have to do a case analysis; is there a more elegant way of solving this though?
 
I don't know elegant ... I grew up on a farm!

So once you have carried out the detailed work you can apply your own standards of elegance and cleverness ... and write something elegant!
 
Assume (by renaming of variables) that x ≤ y ≤ z. Then you have 4 cases to check, it shouldn't be too tedious.
 
x + y + z <= |x| + |y| + |z|
- x - y - z <= |x| + |y| + |z|

(definition of the absolute value)