Show max(a,b) = (a + b + |a-b|)+2

  • Thread starter Thread starter Diffy
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on proving the equation max{a,b} = (a + b + |a - b|)/2 for two real numbers a and b. The user attempts to demonstrate this using properties of real numbers, including the least upper bound (LUB) and the definition of absolute value. The solution involves breaking down the cases where a is greater than or less than b, ultimately confirming that the formula holds true by analyzing the absolute value in relation to the differences between a and b.

PREREQUISITES
  • Understanding of real number properties, including order and field properties.
  • Familiarity with the concept of least upper bounds (LUB).
  • Knowledge of absolute value definitions and properties.
  • Basic algebraic manipulation skills.
NEXT STEPS
  • Study the properties of absolute values in real analysis.
  • Explore proofs involving least upper bounds (LUB) in real numbers.
  • Learn about piecewise functions and their applications in mathematical proofs.
  • Investigate the implications of case analysis in mathematical reasoning.
USEFUL FOR

Mathematics students, educators, and anyone interested in understanding the properties of real numbers and their applications in proofs involving maximum functions.

Diffy
Messages
441
Reaction score
0

Homework Statement


let a and b be two real numbers show that max{a,b} = (a + b + |a - b|)/2


Homework Equations


I have all the field properties of the real numbers and order, LUB and existence of square root.

I also have definition of absolute value.


The Attempt at a Solution


This is very easy for me to see on the real line. If I break it into (a+b)/2 + |a+b|/2 then it is clear that I am taking the midpoint and adding half the distance between a and b.

However I am not sure I should argue it that way. I think that I should somehow be using my LUB properties but I don't know how.

Any help is appreciated.
 
Physics news on Phys.org


Split it into the two cases a>=b and a<b?
 


I did think about doing it that way, but I think within each of those cases there will be 3 others as well.

So assume a < b, then I have to consider if a and b are positive, if a and b are negative and if a is negative b is positive.

And all I really know by assuming a < b is that b - a > 0. Which I can't seem to make a connection to the formula (a + b + |a-b|)/2.
 


Diffy said:
I did think about doing it that way, but I think within each of those cases there will be 3 others as well.

So assume a < b, then I have to consider if a and b are positive, if a and b are negative and if a is negative b is positive.

And all I really know by assuming a < b is that b - a > 0. Which I can't seem to make a connection to the formula (a + b + |a-b|)/2.

If a<b then i) max(a,b)=b and ii) a-b<0, so |a-b|=-(a-b). Can you check it works now?
 


Thanks so much
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K