Here's the question you clicked on:

## ParthKohli Group Title How do I prove that if the sum of two numbers is $$x$$, then $$\frac{x}{2}, \frac{x}{2}$$ maximizes the product? one year ago one year ago

• This Question is Closed
1. Thoughts Group Title

Is it x/2 , x/2 ?

2. ParthKohli Group Title

Yes

3. ParthKohli Group Title

Let the two numbers be $$(x - n)(x -k) = x^2 - nx - kx + nk= x^2 - (n+k) x + nk$$. I don't know if that helps.

4. modphysnoob Group Title

square rule helps

5. ParthKohli Group Title

I just have to maximize $$x^2 - (n + k)x + nk$$ but have no idea how.

6. Zarkon Group Title

a+b=x a*b=max use calculus

7. satellite73 Group Title

i wouldn't

8. satellite73 Group Title

i would argue by symmetry call one $$a$$ and the other $$b$$ with $$a+b=x$$ then since this equation is symmetric in $$a$$ and $$b$$, i.e. you cannot tell them apart, it must be largest in the middle

9. ParthKohli Group Title

But it can also be the smallest

10. satellite73 Group Title

by which i mean the product must be largest in the middle but you can write as @Zarkon said maximize $$a(x-a)$$ using calculus

11. satellite73 Group Title

can't be the smallest if $$a=x$$ or $$b=x$$ you get $$ab=0$$

12. satellite73 Group Title

i.e. it is smallest at the endpoint of the interval

13. satellite73 Group Title

or for that matter you can find the max of $$ax-a^2$$ is at the vertex, which gives $$\frac{x}{2}$$

14. ParthKohli Group Title

Yeah, that's a good idea.

15. Thoughts Group Title

Let those numbers be a and b a + b = x You have to prove that : $$ab < \cfrac{x^2}{4}$$ a + b = x $$\cfrac{a+b}{2} = \cfrac{x}{2}$$ Using A.M - G.M inequality : $$\cfrac{\alpha + \beta}{2} > \sqrt{\alpha \beta}$$ Therefore : $$\cfrac{a+b}{2} > \sqrt{ab}$$ $$\cfrac{x}{2} > \sqrt{ab}$$ $$\cfrac{x^2 }{4} > ab$$ or : $$ab < \cfrac{x^2}{4}$$

16. Thoughts Group Title

Hence Proved (if that was to prove basically :) )

17. ParthKohli Group Title

It should be $$\le$$ and $$\ge$$, but I get your point. Real good :-)

18. satellite73 Group Title

nah, i like symmetry more look, you call one $$a$$ and the other $$b$$ where $$a+b=x$$ but i come along and call the first one $$b$$ and the second one $$a$$ and write $$b+a=x$$ it is pretty clear that there is no difference between them so how could you favour $$a$$ over $$b$$ somehow, so that the answer would not be $$a=b$$ ?

19. Thoughts Group Title

Symmetry is good too. But I think using AM - GM inequality is also fine and good. :)

20. Zarkon Group Title

what if x<0

21. satellite73 Group Title

then i am probably wrong

22. Zarkon Group Title

I'm referring to the AM - GM inequality

23. satellite73 Group Title

actually i think i am still right

24. Zarkon Group Title

you are

25. satellite73 Group Title

happens about once a day, sometimes twice

26. Zarkon Group Title

lol

27. ParthKohli Group Title

lol

28. Thoughts Group Title

Done (in a clever 5th grade way) ;)

29. Thoughts Group Title

Have a look at my solution :

30. Thoughts Group Title

No problem then : $$\bf { a+b = x\\ \text{Now} \space , (a-b)^2 \ge 0 \\ a^2 + b^2 - 2ab \ge 0 \\ a^2 + b^2 \ge 2ab \\ a^2 + b^2 + 2ab \ge 4ab \\ (a+b)^2 \ge 4ab \\ \cfrac{(a+b)^2}{4} \ge ab \\ \cfrac{x^2}{4} \ge ab \\ }$$ $$\textbf{Proved }$$ ....

31. Thoughts Group Title

Looks better now. Isn't it @ParthKohli @Zarkon @satellite73 :)

32. ParthKohli Group Title

Ah! Great one again!

33. Thoughts Group Title

Good to hear.