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
The_Iceflash
Messages
50
Reaction score
0

Homework Statement


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

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

<br /> \frac{5+10 + |5+10|}{2} = \frac{15 + 15} 2 = 15<br />

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

<br /> \max(a,b) = \frac{(a+b) + |a-b|}{2}<br />

Consider your final case: if a = b, 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?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top