Between 9 9 and n n is a huge difference!

Algebra Level 5

Let a 1 , a 2 , . . . , a 9 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. -1 \le a_1,a_2,...,a_9 \le 1\quad \text{and}\quad { a }_{ 1 }^{ 3 }+{ a }_{ 2 }^{ 3 }+\cdots+{ a }_{ 9 }^{ 3 }=0. Find the maximum value of a 1 + a 2 + + a 9 a_1+a_2+\cdots+a_9 to 2 decimal places.


Inspired by this person .

Here is a harder version of the above problem.


The answer is 3.00.

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.

3 solutions

Jon Haussmann
Mar 3, 2018

Since 1 a i 1 -1 \le a_i \le 1 for all i i , ( a i 1 2 ) 2 ( a i + 1 ) 0. \left( a_i - \frac{1}{2} \right)^2 (a_i + 1) \ge 0. This expands as a i 3 3 4 a i + 1 4 0. a_i^3 - \frac{3}{4} a_i + \frac{1}{4} \ge 0. Summing over 1 i 9 1 \le i \le 9 , we get 3 4 i = 1 9 a i + 9 4 0. -\frac{3}{4} \sum_{i = 1}^9 a_i + \frac{9}{4} \ge 0. Therefore, i = 1 9 a i 3. \sum_{i = 1}^9 a_i \le 3.

Equality occurs when one of the a i a_i is equal to 1 -1 , and the other eight are equal to 1/2.

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 ) f(x) such that x 3 f ( x ) x^3 \geq f(x) over the domain 1 x 1 -1 \leq x \leq 1 . If so, we can create in inequality involving the sum of a i 3 a_i ^3 , the sum of a i 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 ) f(x) is the tangent to y = x 3 y = x^3 , that passes through ( 1 , 1 ) (-1, -1) . The point of tangent occurs at x = 1 2 x = \frac{ 1}{2} . Hence, y = x 3 f ( x ) y = x^3 - f(x) has a single root at x = 1 x = -1 and a double root at x = 1 2 x = \frac{1}{2} , thus y = A ( x 1 2 ) 2 ) ( x + 1 ) y = A ( x - \frac{1}{2} ) ^2 ) ( x + 1 ) .

Calvin Lin Staff - 3 years, 3 months ago

naha kepikirannya? aing mah nteu da

I Gede Arya Raditya Parameswara - 3 years, 3 months ago

Nice!

Where did you find that inequality? I never thought I’d be that easy!

Steven Jim - 3 years, 3 months ago

Log in to reply

We know that the equality case occurs with the values 1 -1 and 1 2 \frac{1}{2} , so you can try building an inequality around these cases. You know that a i + 1 0 a_i + 1 \ge 0 , so it makes sense to have a i + 1 a_i + 1 as a factor. Also, you want a i 1 2 a_i - \frac{1}{2} as a factor, but you need two factors, because a i a_i could be less than or greater than 1 2 \frac{1}{2} . (It also helps to have two factors, because you want a term of a i 3 a_i^3 .)

Interesting, a similar approach works here: https://brilliant.org/problems/inequality-1-4/ .

Jon Haussmann - 3 years, 3 months ago
Mark Hennings
Mar 3, 2018

If we write a j = cos x j a_j = \cos x_j for each j j , we want to maximize f ( x ) = j = 1 9 cos x j f(\mathbf{x}) \; = \; \sum_{j=1}^9 \cos x_j subject to the criterion g ( x ) = j = 1 9 cos 3 x j = 0 g(\mathbf{x}) \; = \; \sum_{j=1}^9 \cos^3 x_j \; = \; 0 Using the method of Lagrange multipliers, at an extremal point we must be able to find λ \lambda such that f x j λ g x j = sin x j ( 1 3 λ cos 2 x j ) = 0 \frac{\partial f}{\partial x_j} - \lambda \frac{\partial g}{\partial x_j} \; = \; -\sin x_j(1 - 3\lambda \cos^2x_j) \; = \; 0 for each j j . Thus we must be able to find some 1 u 1 -1 \le u \le 1 such that cos x j { 1 , 1 , u , u } \cos x_j \in \{1,-1,u,-u\} for all j j . Thus we must be able to find integers a , b , c , d 0 a,b,c,d \ge 0 such that a + b + c + d = 9 a+b+c+d=9 and f = a b + ( c d ) u g = a b + ( c d ) u 3 = 0 f \; = \; a - b + (c - d)u \hspace{2cm} g \; = \; a - b + (c - d)u^3 \; = \; 0 (so, at the extremal point, a a of the cos x j \cos x_j are equal to 1 1 , b b are equal to 1 -1 , c c are equal to u u and d d are equal to u -u . This implies that a b c d |a-b| \le |c-d| and that u = ( a b c d ) 1 3 u \,= \, -\left(\tfrac{a-b}{c-d}\right)^{\frac13} .

Thus we need to maximise the expression F ( a , b , c , d ) = ( a b ) 1 3 [ ( a b ) 2 3 ( c d ) 2 3 ] F(a,b,c,d) \; =\; (a - b)^{\frac13}\left[(a - b)^{\frac23} - (c - d)^{\frac23}\right] over all 4 4 -tuples ( a , b , c , d ) (a,b,c,d) of non-negative integers such that a + b + c + d = 9 a+b+c+d = 9 and a b c d |a-b| \le |c-d| . There are 110 110 such 4 4 -tuples, and it is easy to check that F F is maximized at ( 0 , 1 , 8 , 0 ) (0,1,8,0) , and the maximum value of F F is 3 \boxed{3} .

Calvin Lin Staff
Mar 3, 2018

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 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 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 y = x^3, -1 \leq 0 \leq 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 ) (-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 1 2 ) 2 ( a i + 1 ) 0. \left( a_i - \frac{1}{2} \right)^2 (a_i + 1) \ge 0.

For completely, let's do this properly using coordinate geometry. Suppose that the line segment has endpoints ( a , a 3 ) , ( b , b 3 ) ( -a, -a^3), ( b, b^3 ) with 0 a , b 1 0 \leq a, b \leq 1 . The line between these 2 points satisfies

y + a 3 x + a = b 3 + a 3 b + a \frac{ y + a^3 } { x + a } = \frac{ b^3 + a^3 } { b + a }

The x x- intercept occurs when y = 0 y = 0 , hence is equal to x = a + a 3 a 2 a b + b 2 x^* = - a + \frac{ a^3 } { a^2 - ab + b^2 } . For a fixed value of a a , to maximize this value, we want to minimize a 2 a b + b 2 a^2 - ab + b^2 , which happens when b = a 2 b = \frac{a}{2} . For this value of b b , we get x = a 3 x^* = \frac{a}{3} . Thus, the maximum value of the x-intercept is 1 3 \frac{1}{3} . We know that we want to use the points ( 1 , 1 ) , ( 1 2 , 1 8 ) (-1, -1), ( \frac{1}{2} , \frac{1}{8} ) .

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.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...