Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need help with proof

  1. Apr 9, 2005 #1
    hi, max{f(x),g(x)}=1/2[(f + g) + |f - g|] is the equation of the maximum of two functions on the real axis. Can anyone give me a hint on how to show where this equation comes from or how it is derived
  2. jcsd
  3. Apr 9, 2005 #2


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

    Let M(x) be your max. function.
    Suppose that, for a particular choice of x, f(x)>=g(x).
    Then, |f-g|=f-g, from which follows that M(x)=f(x).
    If g(x)>=f(x), then |f-g|=g-f, that is, M(x)=g(x)
  4. Apr 9, 2005 #3
    cool thnx for the response
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook