What is the least value of the sum $|p-1|+|p-2|+\cdots+|p-10|$?

  • Context: MHB 
  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Value
Click For Summary

Discussion Overview

The discussion revolves around finding the least value of the sum $|p-1|+|p-2|+\cdots+|p-10|$ for $p \in \mathbb{R}$. The focus is on exploring the mathematical reasoning behind this expression.

Discussion Character

  • Mathematical reasoning

Main Points Raised

  • One participant poses the problem of determining the least value of the sum.
  • Another participant expresses enthusiasm for the question and suggests they have a solution.
  • A third participant reiterates the problem statement without additional context or contributions.
  • A fourth participant thanks others for their participation and references a solution from another source without providing details.

Areas of Agreement / Disagreement

The discussion does not show clear consensus or resolution, as various participants have contributed differently without a unified conclusion.

Contextual Notes

Some posts lack depth in mathematical exploration, and there is no clear progression towards a solution or agreement on the approach.

anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Determine the least value of the sum $|p-1|+|p-2|+\cdots+|p-10|$ where $p \in R$.
 
Mathematics news on Phys.org
Nice question, here is a solution
I think p=5.5

|------|------|------|------|--\/--|------|------|------|------|
1...2...3...4...5.,5.5,..6...7...8...9...10

The sum equal in this case 9+7+5+3+1 = 25
 
anemone said:
Determine the least value of the sum $|p-1|+|p-2|+\cdots+|p-10|$ where $p \in R$.

Hello.

by symmetry:

If it were 9 elements:

4+3+2+1+0+|-1|+|-2|+|-3|+|-4|=20

Is now equivalent to insert "5" or "- 5"

Solution: p \in{ } [6,5]

Regards.
 
$Let \; \; S(p) = \sum_{i=1}^{10}\left | p-i \right |= \sum_{i=1}^{10}\sqrt{(p-i)^2} \\\\ S'(p)= \sum_{i=1}^{10}\frac{(p-i)}{|p-i|}= (\pm) 1(\pm) 1...(\pm) 1$,
where each sign depends on the sign of the difference: $p-i$.
The minimal sum requires: $S'(p)=0$, which happens when the signed ones annihilate:

$\sum_{i=1}^{10} (\pm )1 = 0.$ (Therefore, the case $p=i$ is not of interest here)

Thus, there must be exactly five $+1$ and five $-1$. Therefore $p$ is the midpoint between $5$ and $6$

And the minimal sum is: $S_{min}=2*(5*5.5-15)=25$.
 
Thank you so much for participating, guys! :)

Solution taken from other intelligent mind:
[FONT=MathJax_Main]|
Note that $|p-m|+|p-(11-m)| \ge 11-2m$. If we are to add the inequalities for $m=1,\,2,\,3,\,4,\,5$, we get $|p-1|+|p-2|+\cdots+|p-9|+|p-10| \ge 55-2(1+2+3+4+5)=25$, hence, the least value of the specified sum is 25.
 

Similar threads

  • · Replies 48 ·
2
Replies
48
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K