Let 0 ≤ x k ≤ 1 for all k = 1 , 2 , . . . , 2 0 1 8 . Maximize f ( x 1 , x 2 , . . . , x 2 0 1 8 ) = x 1 + x 2 + . . . + x 2 0 1 8 − x 1 x 2 . . . x 2 0 1 8 .
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.
Problem Loading...
Note Loading...
Set Loading...
Notice that since f is a linear function in every one of it's variables, its maximum value is achieved when every x k is either 1 or 0 . If we have k zeroes and 2 0 1 8 − k ones, then f ( x 1 , . . . , x k ) = 2 0 1 8 − k if k > 0 and f ( x 1 , . . . , x k ) = 2 0 1 7 if k = 0 . Either way, the maximum value of f is 2 0 1 7 .