Proof max{f(x),g(x)}=1/2[(f + g) + |f - g|]

  • Thread starter QUBStudent
  • Start date
  • #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
 

Answers and Replies

  • #2
arildno
Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,970
132
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)
 
  • #3
cool thnx for the response
 

Related Threads on Proof max{f(x),g(x)}=1/2[(f + g) + |f - g|]

  • Last Post
Replies
4
Views
12K
  • Last Post
Replies
2
Views
9K
  • Last Post
Replies
1
Views
2K
Replies
7
Views
617
Replies
4
Views
9K
Replies
2
Views
1K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
2
Views
2K
Replies
3
Views
2K
  • Last Post
Replies
16
Views
5K
Top