Show x<=y<=z IFF |x-y|+|y-z|=|x-z|

  • Thread starter Thread starter Kinetica
  • Start date Start date
Kinetica
Messages
83
Reaction score
0

Homework Statement


Hi! Please check my solution.

If x, y, z in R and x<=z, show that x<=y<=z IFF |x-y|+|y-z|=|x-z|

Interpret geometrically.


The Attempt at a Solution



1) Assume that x<=y<=z. We need to prove that |x-y|+|y-z|=|x-z|.

Knowing that x<=y<=z,

-(x-y)+(-(y-z))= -(x-z)
y-x-y+z=-x+z
-x+z=-x+z

2) Assume that |x-y|+|y-z|=|x-z|. We need to prove that x<=y<=z.

a) Assume y<=z<=x.
(x-y)-(y-z)=(x-z)
x-2y+z=x-z
z-2y=z
contradiction

b) Assume z<=x<=y
-(x-y)+(y-z)=(x-z)
-x-z=x-z
contradiction

c) Assume x<=y<=z
-(x-y)+(-(y-z))= -(x-z)
y-x-y+z=-x+z
-x+z=-x+z
Correcto!

Thanks!
 
Physics news on Phys.org
Kinetica said:

Homework Statement


Hi! Please check my solution.

If x, y, z in R and x<=z, show that x<=y<=z IFF |x-y|+|y-z|=|x-z|

Interpret geometrically.


The Attempt at a Solution



1) Assume that x<=y<=z. We need to prove that |x-y|+|y-z|=|x-z|.

Knowing that x<=y<=z,

-(x-y)+(-(y-z))= -(x-z)
y-x-y+z=-x+z
-x+z=-x+z

Seems good. However, I have some problems with your second part:

2) Assume that |x-y|+|y-z|=|x-z|. We need to prove that x<=y<=z.

a) Assume y<=z<=x.
(x-y)-(y-z)=(x-z)
x-2y+z=x-z
z-2y=z
contradiction

you know that x<= z, so why split into the case y<= z<= x? Isn't this supposed to be y<=x<= z?

b) Assume z<=x<=y
-(x-y)+(y-z)=(x-z)
-x-z=x-z
contradiction

Same remark as above. Isn't this supposed to be x<=z<=y?

c) Assume x<=y<=z
-(x-y)+(-(y-z))= -(x-z)
y-x-y+z=-x+z
-x+z=-x+z
Correcto!

Technically, this is not wrong, but it is superfluous. You need to show: "IF blabla THEN x<=y<=z". But what you did here is actually proving the converse...
 
Hi! Thanks for the feedback. I tried fixing the last part according to your comments. What I did, I squared the both sides of

|x-y|+|y-z|=|x-z|,

then, I solved it and squared |xxxx| again in order to get rid of the absolute value. The answer was short but strange. And probably, wrong.

Any help please?
 
Why in Earth did you do that? :confused:

You just need to use the technique you used this far.
So for y<=x<=z, you just need to simplify...

|x-y|+|y-z|=|x-z|

and show that this does hold.

In don't see why you start squaring things. :confused:
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top