Let a 1 , a 2 , . . . , a 9 be reals such that − 1 ≤ a 1 , a 2 , . . . , a 9 ≤ 1 and a 1 3 + a 2 3 + ⋯ + a 9 3 = 0 . Find the maximum value of a 1 + a 2 + ⋯ + a 9 to 2 decimal places.
Here is a harder version of the above problem.
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.
What made you think of the first inequality?
(There's actually a certain principle involved here, and I can elaborate further. The inequality isn't just plucked from mid-air)
Explanation: Since the variable are seperable (no cross terms), we want to find a linear function f ( x ) such that x 3 ≥ f ( x ) over the domain − 1 ≤ x ≤ 1 . If so, we can create in inequality involving the sum of a i 3 , the sum of a i , and a constant term. This approach is known as the tangent line inequality , which is useful in cases where the variables are separable (no cross terms).
With some vidauzliation/guessing, you can convince yourself that f ( x ) is the tangent to y = x 3 , that passes through ( − 1 , − 1 ) . The point of tangent occurs at x = 2 1 . Hence, y = x 3 − f ( x ) has a single root at x = − 1 and a double root at x = 2 1 , thus y = A ( x − 2 1 ) 2 ) ( x + 1 ) .
naha kepikirannya? aing mah nteu da
Nice!
Where did you find that inequality? I never thought I’d be that easy!
Log in to reply
We know that the equality case occurs with the values − 1 and 2 1 , so you can try building an inequality around these cases. You know that a i + 1 ≥ 0 , so it makes sense to have a i + 1 as a factor. Also, you want a i − 2 1 as a factor, but you need two factors, because a i could be less than or greater than 2 1 . (It also helps to have two factors, because you want a term of a i 3 .)
Interesting, a similar approach works here: https://brilliant.org/problems/inequality-1-4/ .
If we write a j = cos x j for each j , we want to maximize f ( x ) = j = 1 ∑ 9 cos x j subject to the criterion g ( x ) = j = 1 ∑ 9 cos 3 x j = 0 Using the method of Lagrange multipliers, at an extremal point we must be able to find λ such that ∂ x j ∂ f − λ ∂ x j ∂ g = − sin x j ( 1 − 3 λ cos 2 x j ) = 0 for each j . Thus we must be able to find some − 1 ≤ u ≤ 1 such that cos x j ∈ { 1 , − 1 , u , − u } for all j . Thus we must be able to find integers a , b , c , d ≥ 0 such that a + b + c + d = 9 and f = a − b + ( c − d ) u g = a − b + ( c − d ) u 3 = 0 (so, at the extremal point, a of the cos x j are equal to 1 , b are equal to − 1 , c are equal to u and d are equal to − u . This implies that ∣ a − b ∣ ≤ ∣ c − d ∣ and that u = − ( c − d a − b ) 3 1 .
Thus we need to maximise the expression F ( a , b , c , d ) = ( a − b ) 3 1 [ ( a − b ) 3 2 − ( c − d ) 3 2 ] over all 4 -tuples ( a , b , c , d ) of non-negative integers such that a + b + c + d = 9 and ∣ a − b ∣ ≤ ∣ c − d ∣ . There are 1 1 0 such 4 -tuples, and it is easy to check that F is maximized at ( 0 , 1 , 8 , 0 ) , and the maximum value of F is 3 .
We first relax the constraint that there are exactly 9 values, and allow for the weighted average of several distinct values.
Consider the graph y = x 3 . We want to place several points such that the sum of the y-coordinates is 0, and hence the average is 0, while trying to maximize the x-intercept, and hence their average.
If the
a
i
consisted of 2 distinct values, then the visual image is as follows:
Consider all pairs of points on the curve, and draw the connecting line segment. Then, the place where this connecting line cuts the x-axis will give us a weighted average (with positive weights, have yet to determine the exact weights, or guarantee if we can have an integer number of them) such that the sum of the y-coordinates is 0, and we can determine the corresponding x-intercept.
What happens if we have 3 or more distinct values? The equivalent idea is to take the convex hull of these points, which gives us the set of possible values where, with suitably determined positive weights, we can get the corresponding averages. However, taking the convex hull of these points gets potentially hard to generalize.
To simplify this idea, note that we can simply take the line segments which intersect the x-axis, and we know that the intersection of the convex hull with the x-axis must lie within the points determined by these line segments.
As such, this ultimately reduces to:
Take any line segment with endpoints on the graph y = x 3 , − 1 ≤ 0 ≤ 1 . What is the maximum possible x-intercept of these line segments?
Visually, it should not be hard to convince yourself that we want one point at ( − 1 , − 1 ) , and the other point such that the line segment is tangential to the curve. This is the green line. Note: With some thought, you can see how this motivate's Jon's first inequality of ( a i − 2 1 ) 2 ( a i + 1 ) ≥ 0 .
For completely, let's do this properly using coordinate geometry. Suppose that the line segment has endpoints ( − a , − a 3 ) , ( b , b 3 ) with 0 ≤ a , b ≤ 1 . The line between these 2 points satisfies
x + a y + a 3 = b + a b 3 + a 3
The x − intercept occurs when y = 0 , hence is equal to x ∗ = − a + a 2 − a b + b 2 a 3 . For a fixed value of a , to maximize this value, we want to minimize a 2 − a b + b 2 , which happens when b = 2 a . For this value of b , we get x ∗ = 3 a . Thus, the maximum value of the x-intercept is 3 1 . We know that we want to use the points ( − 1 , − 1 ) , ( 2 1 , 8 1 ) .
We now deal with the initial constraint relaxation. It is clear to see that the maximum value can indeed be achieved by taking the weights 1 and 8, which sum to the 9, as required in the problem.
Problem Loading...
Note Loading...
Set Loading...
Since − 1 ≤ a i ≤ 1 for all i , ( a i − 2 1 ) 2 ( a i + 1 ) ≥ 0 . This expands as a i 3 − 4 3 a i + 4 1 ≥ 0 . Summing over 1 ≤ i ≤ 9 , we get − 4 3 i = 1 ∑ 9 a i + 4 9 ≥ 0 . Therefore, i = 1 ∑ 9 a i ≤ 3 .
Equality occurs when one of the a i is equal to − 1 , and the other eight are equal to 1/2.