If x and y are two non-negative integers. And x + y = n , where n is a non-negative odd integers, find the maximum value of x × y .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
if Every Variable is a Positive Integer , why can't we apply A.M - G.M , from that condition i got ⟹ 2 x + y = ( x y ) 2 1 ⟹ x × y = 4 n 2
Log in to reply
Sambrant this is a AM-GM inequality, you cannot use it here. Although the AM makes a little bit of sense here as it splits up the series into two half and your answer would have been correct but only in the case of even set of integers(here it is odd ). But Geometric mean is something else. It does not relate the question given at hand. For an explicit example take the two numbers 2 , 4 it's arithmetic mean is 3 , while the geometric mean is 2 2 . You can just interpret that AM>GM but nothing about the product.
n is odd.
Problem Loading...
Note Loading...
Set Loading...
A number n if even, when divided into two halfs then they produce the maximum product.
Whereas, in case n is odd, we slit it up as 2 n + 1 and 2 n − 1 .
Then the product in this case will be maximum and will be 2 n + 1 × 2 n − 1 = 4 n 2 − 1