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

  • Thread starter Thread starter QUBStudent
  • Start date Start date
  • Tags Tags
    Proof
AI Thread Summary
The equation max{f(x),g(x)}=1/2[(f + g) + |f - g|] represents the maximum of two functions on the real axis. To derive this equation, consider two cases based on the relationship between f(x) and g(x). If f(x) is greater than or equal to g(x), then the absolute value simplifies to f - g, leading to M(x) = f(x). Conversely, if g(x) is greater than or equal to f(x), the absolute value simplifies to g - f, resulting in M(x) = g(x). This derivation effectively demonstrates how the equation captures the maximum value of the two functions.
QUBStudent
Messages
6
Reaction score
0
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
 
Mathematics news on Phys.org
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)
 
cool thnx for the response
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.

Similar threads

Back
Top