Processing math: 100%

Pages

News: Currently the LaTeX and hidden solutions on this blog do not work on Google Reader.
Email me if you have suggestions on how to improve this blog!

Friday, 12 August 2011

Math GRE - #11

For all real numbers x and y, which of the answers below is the expression \frac{x+y+|x-y|}{2} equal to?

  • The maximum of x and y
  • The minimum of x and y
  • |x+y|
  • The average of |x| and |y|
  • The average of |x+y| and x-y

Solution :

The expression is equal to the maximum of x and y.
Suppose x>y. Then |x-y|=x-y and so \frac{x+y+|x-y|}{2}=\frac{x+y+x-y}{2}=x.
Now suppose x<y. Then  |x-y|=-(x-y) and so \frac{x+y+|x-y|}{2}=\frac{x+y-(x-y)}{2}=y.
\therefore\quad\frac{x+y+|x-y|}{2}=\max\{x,y\}.

Can you find a representation for \min\{x,y\}?

2 comments:

Post a Comment

This webpage is LaTeX enabled. To type in-line formulae, type your stuff between two '$'. To type centred formulae, type '\[' at the beginning of your formula and '\]' at the end.

[hide] Kevin said...

This formula is also a nice quick way to see that the function defined to be the maximum of two (real-valued) continuous functions is also continuous (although it's not too bad to do this in a more general topological setting where one doesn't have the luxury of continuous binary operations, it's not nearly as quick). Another use for formula is in the proof for the Stone-Weierstrass theorem.

For the minimum of x and y, one would replace the expresion with \frac{x+y-|x-y|}{2} (hopefully the tex works!)

on 12 August 2011 at 04:31
[hide]

How to Reply to this comment

To reply to this comment please ensure that one of the following lines:
  • @564687438437171172.0
  • @Kevin
is the first line of your comment.
Click here to enter your reply
[hide] Paul Liu said...

Yup! You are correct! And the TeX works :)

on 12 August 2011 at 16:44
[hide]

How to Reply to this comment

To reply to this comment please ensure that one of the following lines:
  • @2876252035321361513.0
  • @Paul Liu
is the first line of your comment.
Click here to enter your reply