## 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\}$?

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.