I have no idea how to solve the following question and will be grateful for any help. Suppose we are

Jerry Villegas

Jerry Villegas

Answered question

2022-05-27

I have no idea how to solve the following question and will be grateful for any help. Suppose we are given   n   real numbers   y 1 , . . . , y n  . Is there any simple way to minimize function   f ( y ) = k = 1 n | y k y | ?

Answer & Explanation

Scarlet Reid

Scarlet Reid

Beginner2022-05-28Added 8 answers

Without loss of generality, suppose that y 1 y 2 y n .
k = 1 n | y k y | = 1 2 [ k = 1 n | y n + 1 k y | + k = 1 n | y y k | ] 1 2 k = 1 n | y n + 1 k y k |
Equality holds only when y [ y k , y n + 1 k ] or [ y n + 1 k , y k ] for arbitrary k.

If n is even, the minimize attains when y [ y n 2 , y n + 1 2 ].

If n is odd, the minimize attains when y = y n + 1 2 .

Do you have a similar question?

Recalculate according to your conditions!

New Questions in High school geometry

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?