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

How prove the maximum of 2 functions

  1. Apr 9, 2005 #1

    The maximum of 2 functions, namely f(x) and g(x) is defined as…

    M(x) = ½ [ ( f + g ) + | f – g | ]

    Can someone show me how this is proved out
    or derived please?

    Many Thx! :smile:
  2. jcsd
  3. Apr 9, 2005 #2


    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    (a) Can you prove it for numbers?
    I.E. max(x, y) = ((x + y) + |x - y|) / 2

    (b) Once you've done that, can you then prove it for functions?
  4. Apr 9, 2005 #3
    How to prove the maximum of 2 functions

    Thx Hurkyl,

    Yes you are correct it works for both numbers as well as functions. But what I need to know is where or how did this equation come about – that is, do you know how it was created from First Principles – and please tell me how this is done if you know!

    Many thx!
  5. Apr 9, 2005 #4


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    Dearly Missed

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook