Let a 1 , . . . , a 2 0 1 8 be real numbers so that ∑ i = 1 2 0 1 8 a i = 1 . Find the maximum value of ∑ i = 1 2 0 1 8 a i 2 + 1 a i .
If the answer can be written as 2 0 1 6 2 + 1 x , find ⌊ 2 ∣ ∣ x − 2 0 1 6 2 − 1 ∣ ∣ ⌋ .
Bonus : Generalize!
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.
These values do not produce the maximum.
Set 2017 of the variables equal to x . Then the last variable is 1 − 2 0 1 7 x , and the sum is equal to f ( x ) = x 2 + 1 2 0 1 7 x + ( 1 − 2 0 1 7 x ) 2 + 1 1 − 2 0 1 7 x . Taking the derivative, we find f ′ ( x ) = − ( x 2 + 1 ) 2 ( 4 0 6 8 2 8 9 x 2 − 4 0 3 4 x + 2 ) 2 2 0 1 7 ( 2 0 1 6 x − 1 ) ( 2 0 1 8 x − 1 ) ( 4 0 6 8 2 8 9 x 4 − 4 0 3 4 x 3 − 4 0 6 8 2 8 9 x 2 + 4 0 3 4 x − 4 ) . The polynomial 4 0 6 8 2 8 9 x 4 − 4 0 3 4 x 3 − 4 0 6 8 2 8 9 x 2 + 4 0 3 4 x − 4 has a root that is very close to 1, but not equal to 1.
Log in to reply
I see.I typed the equation in wolfram alpha,and it comes out to be x ≈ 1 ,but I misread it as x = 1 .After I posted the solution,I found out,"Wait, x = 1 shouldn't be the solution!".But I couldn't think of why the answer is still 8189473823.Maybe @Steven Jim should edit it to integers instead of real numbers.
P.S.You are 1 of the solvers,too.How did you solve it?
Relevant wiki: Jensen's Inequality
i think the answer is 2 0 1 8 2 + 1 2 0 1 8 2
consider the concave function f ( x ) = x 2 + 1 x x ∈ ( 0 , 1 ) using Jensen’s Inequality with x 1 + x 2 + ⋯ + x 2 0 1 8 = 1 2 0 1 8 f ( x 1 ) + f ( x 2 ) + ⋯ + f ( x 2 0 1 8 ) ≤ f ( 2 0 1 8 x 1 + x 2 + ⋯ + x 2 0 1 8 ) x 1 2 + 1 x 1 + x 2 2 + 1 x 2 + ⋯ + x 2 0 1 8 2 + 1 x 2 0 1 8 ≤ 2 0 1 8 f ( 2 0 1 8 1 ) x 1 2 + 1 x 1 + x 2 2 + 1 x 2 + ⋯ + x 2 0 1 8 2 + 1 x 2 0 1 8 ≤ 2 0 1 8 2 + 1 2 0 1 8 2
Log in to reply
It's not a concave function,since the variables can be negative.
Problem Loading...
Note Loading...
Set Loading...
This isn't complete yet.
a 1 = − 2 0 1 6 , a 2 = a 3 = . . . = a 2 0 1 8 = 1 ,so x = 8 1 9 7 6 0 2 3 3 7 , y = 8 1 2 8 5 1 4