Proving max (a,b) = \frac{a+b + \left|a+b\right|}{2}

  • Thread starter Thread starter The_Iceflash
  • Start date Start date
  • Tags Tags
    Proof
Click For Summary
SUMMARY

The discussion centers on proving the equation max(a, b) = (a + b + |a - b|) / 2. Three cases are analyzed: Case 1 assumes a > b, Case 2 assumes a < b, and Case 3 assumes a = b. The initial expression provided was incorrect, as it did not yield the maximum value for given inputs. The correct formulation is max(a, b) = (a + b + |a - b|) / 2, which accurately reflects the maximum of two numbers in all cases.

PREREQUISITES
  • Understanding of absolute value functions
  • Familiarity with mathematical proofs
  • Basic knowledge of inequalities
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study the properties of absolute values in mathematical expressions
  • Learn about piecewise functions and their applications
  • Explore mathematical proof techniques, particularly case analysis
  • Investigate the implications of inequalities in algebra
USEFUL FOR

Students studying algebra, mathematicians interested in proofs, and educators teaching mathematical concepts related to inequalities and absolute values.

The_Iceflash
Messages
50
Reaction score
0

Homework Statement


Prove max (a,b) = [tex]\frac{a+b + \left|a+b\right|}{2}[/tex]

Make 3 cases:

Case 1: Assume a > b. Show both sides come out with the same number.
Case 2: Assume a < b. Show both sides come out with the same number.
Case 3: Assume a = b. Show both sides come out with the same number.


Homework Equations


N/A


The Attempt at a Solution



To be honest I'm not sure how to set up both sides to begin with before I even start to break it down to address each case. Once I see how to do that I should be able to be able to prove this.
 
Physics news on Phys.org
First make sure you have the correct statement: if you check your expression for a = 5, b = 10, you get

[tex] \frac{5+10 + |5+10|}{2} = \frac{15 + 15} 2 = 15[/tex]

which is not the maximum of the numbers 5 and 10. Perhaps it should be

[tex] \max(a,b) = \frac{(a+b) + |a-b|}{2}[/tex]

Consider your final case: if [tex]a = b[/tex], what can you say about which one is the maximum? Then, what can you say about how the right-side simplifies if the two inputs are equal?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
5
Views
2K
Replies
2
Views
1K