Minimum Sum Value

Algebra Level 2

Let y 1 , y 2 , y 3 , , y 8 y_1, y_2, y_3, \ldots, y_{8} be a permutation of the numbers 1 , 2 , 3 , , 8 1, 2, 3, \ldots, 8 . What is the minimum value of i = 1 8 ( y i + i ) 2 \displaystyle \sum_{i=1}^8 (y_i + i )^2 ?


The answer is 648.

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.

7 solutions

Sagnik Saha
Jan 30, 2014

We use Titu's lemma. ( y 1 + 1 ) 2 + ( y 2 + 2 ) 2 + . . . + ( y 8 + 8 ) 2 = ( y 1 + 1 ) 2 1 + ( y 2 + 2 ) 2 1 + . . . + ( y 8 + 8 ) 2 1 (y_1 + 1)^2 + (y_2 + 2 )^2 + ... + (y_8 + 8)^2 = \dfrac{(y_1 + 1)^2}{1} + \dfrac{(y_2 + 2 )^2}{1} + ... + \dfrac{(y_8 + 8)^2}{1}

( y 1 + 1 + y 2 + 2 + . . . + y 8 + 8 ) 2 1 + 1 + . . . + 1 \geq \dfrac{(y_1 + 1 + y_2 + 2 + ... + y_8 + 8)^2}{1+1+...+1}

= [ 2 ( 1 + 2 + . . . + 8 ) ] 2 8 = 7 2 2 8 = 648 = \dfrac{ [2(1+2+...+8)]^2}{8} = \dfrac{72^2}{8} = \boxed{648}

Q.E.D.

Equality holds for y 1 + 1 = y 2 + 2 = = y 8 + 8 y i = 9 i y_1+1=y_2+2= \cdots = y_8+8 \Rightarrow y_i = 9 - i for i { 1 , 2 , , 8 } i \in \{1,2, \cdots ,8\} .

A Brilliant Member - 7 years, 3 months ago

The same can be achieved using rearrangement inequality

Eddie The Head - 7 years, 3 months ago

What are y's I do get the idea of permutations of the numbers ?

Vishal Yadav - 4 years, 3 months ago
Chew-Seong Cheong
Oct 21, 2014

I used the Root-Mean Square-Arithmetic Mean Inequality. I think it is simpler. The inequality rule gives that:

i = 1 8 ( y i + i ) 2 8 i = 1 8 ( y i + i ) 8 \sqrt{\dfrac {\sum_{i=1} ^8 {(y_i+i)^2}} {8}} \ge \dfrac {\sum_{i=1} ^8 {(y_i+i)}} {8}

Squaring both sides, i = 1 8 ( y i + i ) 2 8 ( i = 1 8 ( y i + i ) 8 ) 2 = ( 9 ) 2 = 81 \dfrac {\sum_{i=1} ^8 {(y_i+i)^2}} {8} \ge \left( \dfrac {\sum_{i=1} ^8 {(y_i+i)}} {8} \right)^2 = (9)^2 = 81

i = 1 8 ( y i + i ) 2 81 × 8 = 648 \Rightarrow \sum_{i=1} ^8 {(y_i+i)^2} \ge 81\times 8 = \boxed {648}

In fact equality happens when the terms on both sides of the inequality are the same, that is RMS=AM. This happens when y i + i = 9 y_i+i=9 .

When i = 1 8 9 2 8 = 9 = i = 1 8 9 8 \sqrt{\dfrac {\sum_{i=1} ^8 {9^2}} {8}} = 9 = \dfrac {\sum_{i=1} ^8 {9}} {8} and i = 1 8 ( y i + i ) 2 = 648 \sum_{i=1} ^8 {(y_i+i)^2} = \boxed {648}

Rearrangement or titu's lemma will strike easily, but this won't. Great solution, as always.

Pratyush Pandey - 4 years, 8 months ago

Did in this way only.A good approach.

D K - 2 years, 10 months ago
Sayan Das
Oct 27, 2016

My solution is not as elegant as others. By rearrangement inequality ,we can see that the sum is minimal when we set y1=8 .........y8=1 And then we can see the magic happen.as the sum would be S= 8×9^2=648

Actually, rearrangement inequality was exactly how I set up the question.

Calvin Lin Staff - 4 years, 7 months ago
Matthew C
Sep 26, 2019

No other theorems are necessary for this problem! Hint: i = 1 8 ( y i + i ) 2 = y i 2 + i 2 + 2 ( y i i ) \sum\limits_{i=1}^8 (y_i+i)^2 = \sum y_i^2 + \sum i^2 + 2\sum (y_i\cdot i) Observe that the first two sums are equal, and independent of the permutation, sum of squares from 1 to 8. So we are left trying to minimize i = 1 8 ( y i i ) \sum\limits_{i=1}^8 (y_i\cdot i) , and here we can apply rearragement inequality.

Responding to your first sentence: Isn't the rearrangement inequality a theorem?

Calvin Lin Staff - 1 year, 8 months ago

My bad, I saw this problem on the Rearrangment Inequality page, so I assumed it was an exercise for that section. I was confused why more complicated theorems were used in other commenter's solutions.

Matthew C - 1 year, 8 months ago

Log in to reply

Ah. The problems could appear in any wiki, so there could be multiple ways of approaching them (esp for inequalities).

Calvin Lin Staff - 1 year, 8 months ago
Jake Lai
Nov 21, 2014

This solution uses the AM-GM Inequality.

By AM-GM Inequality, i = 1 8 ( y i + i ) 2 8 i = 1 8 ( y i + i ) 2 8 \frac{\sum_{i=1}^{8} (y_{i}+i)^{2}}{8} \geq \sqrt[8]{\prod_{i=1}^{8} (y_{i}+i)^{2}} .

From this, we derive i = 1 8 ( y i + i ) 2 8 i = 1 8 ( y i + i ) 4 \sum_{i=1}^{8} (y_{i}+i)^{2} \geq 8\sqrt[4]{\prod_{i=1}^{8} (y_{i}+i)} .

Equality is achieved when all y i + i = 9 y_{i}+i = 9 .

Hence, min ( i = 1 8 ( y i + i ) 2 ) = 8 i = 1 8 9 4 = 8 × 9 8 / 4 = 648 \min(\sum_{i=1}^{8} (y_{i}+i)^{2}) = 8\sqrt[4]{\prod_{i=1}^{8} 9} = 8 \times 9^{8/4} = \boxed{648} .

There is a flaw.

Just because equality occurs when all are 9 does not mean it gives the minimum. For example what is the minimum value of x + y + y x+y+y when x y = 1 xy=1 ? If we say that since

x + y + y 3 ( x y z ) 1 3 x+y+y \geq 3(xyz)^{\frac {1}{3}} and equality thus occurs at x=y then the answer will be wrong. Also the value of the geometric mean has a loose lower bound which will not give the answer.

Joel Tan - 6 years, 3 months ago

Using rearrangement inequality.

Prasit Sarapee
Feb 21, 2016

( 8 + 1 ) 2 + ( 7 + 2 ) 2 + ( 6 + 3 ) 2 + . . . + ( 1 + 8 ) 2 = 8 9 2 = 648 (8+1)^{2} + (7+2)^{2} + (6+3)^{2} + ... + (1+8)^{2} = 8*9^{2} = 648

In your own words, why do you think that gives us the minimum?

Calvin Lin Staff - 5 years, 3 months ago

Log in to reply

I think if yi=1,2,3,4,5,6,7,8 such that ( 1 + 1 ) 2 + ( 2 + 2 ) 2 + ( 3 + 3 ) 2 + . . . + ( 8 + 8 ) 2 = 4 ( 1 / 6 ) ( 8 + 1 ) ( 2 8 + 1 ) = 816 (1+1)^{2} + (2+2)^{2} + (3+3)^{2} + ... + (8+8)^{2} = 4*(1/6)*(8+1)(2*8+1) = 816
is the maximum .

Prasit Sarapee - 5 years, 3 months ago

It follows by Rearrangement inequality or Greediness algorithm doesn't it? Pairing the maximum of one series and the minimum of another series gives us the least summation than all other permutations possible.

Pratyush Pandey - 4 years, 8 months ago

Log in to reply

Not necessarily so, further justification is required.

For example, the proper justification relies on the concaveness of the quadratic function. E.g. if we were minimizing sin ( y i + i ) \sum \sin ( y_i + i ) , we do not necessarily want to pair up "max with min".

Calvin Lin Staff - 4 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...