做测试 登录 English
← 练习 1,192 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
基础代数 (10)
统计 (13)
方程与不等式 (42)
函数与三角 (30)
多项式 (34)
数列 (34)
指数与对数 (30)
最值 (18)
复数 (34)
二次曲线(圆锥曲线) (22)
逻辑 (14)

练习及解答

练习 1,192
What is the minimum value of $|x-1|+|2x-1|+|3x-1|+\cdots+|20x-1|$?
← 返回第 1,192 题
解答
  1. $f(x)=\sum_{k=1}^{20}k\left|x-\frac1k\right|$ is piecewise linear, with slope (weight of the points $\frac1k$ left of $x$) minus (weight of those to the right), where $\frac1k$ has weight $k$. So $f$ is smallest where the weights strictly to the left and strictly to the right of $x$ are each at most half of the total weight $210$, that is, at most $105$.
  2. Since $15+16+\cdots+20=105$ and $1+2+\cdots+14=105$, the slope is $0$ on $\left[\frac1{15},\frac1{14}\right]$, so $f$ is constant and minimal there; in particular the minimum is attained at $x=\frac1{15}$.
  3. $f\left(\frac1{15}\right)=\sum_{k=1}^{15}\left(1-\frac k{15}\right)+\sum_{k=16}^{20}\left(\frac k{15}-1\right)=(15-8)+(6-5)=\boxed{8}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份