Minimum sum

Given the following sum: S = i = 1 n a i b i w h e r e a i , b i > 0 S = \sum_{i=1}^n a_i b_i \ \ \ where \ a_i \ ,\ b_i > 0 S S is minimal when the two equences [ a 1 , a 2 , , a n ] [ a_1,a_2,\cdots,a_n] and [ b 1 , b 2 , , b n ] [b_1,b_2,\cdots,b_n]

are sorted ---------------

can not be determined in creasing order in dereasing order the same way one increasing and one decreasing

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.

1 solution

Hasmik Garyaka
Sep 21, 2017

One example. Let both sequences will be 1,2,3,4,5,...n If both are increasing, it will be sum of n^2. If one is increasing and one decreasing, it will be sum of n(n-i).

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...