f(x) ≤ g(x) + O(1)? 带有渐近线的 inequality (不等式)
What is f(x) ≤ g(x) + O(1)? Inequalities With Asymptotics

原始链接: https://jamesoswald.dev/posts/bigoinequality/

这段文字解释了在柯尔莫哥洛夫复杂度中使用的渐近不等式符号“f(x) ≤ g(x) + O(1)”。它与标准的大O符号(f(x) = O(g(x)))相关,后者表示对于足够大的x,f(x)受g(x)常数倍的限制。 然而,“f(x) ≤ g(x) + O(1)”是一个*单侧*界限。这意味着对于大的x,f(x)小于或等于g(x)加上一个常数C。形式上:∃C > 0, ∃x₀, ∀x > x₀, f(x) ≤ g(x) + C。 这不同于f(x) = g(x) + O(1),后者意味着一个双侧界限(g(x) - C ≤ f(x) ≤ g(x) + C)。因此,虽然f(x) = g(x) + O(1) *保证* f(x) ≤ g(x) + O(1),但反之不一定成立——该不等式仅提供一个上界。本质上,这是一个较弱的陈述,仅关注f(x)不超过g(x)(加上一个常数)。

黑客新闻 新 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 f(x) ≤ g(x) + O(1) 是什么意思? 渐近符号不等式 (jamesoswald.dev) 11 分,作者 ibobev 1小时前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请YC | 联系 搜索:
相关文章

原文

Recently I came across asympotic inequalities of the form $f(x) \le g(x) + O(1)$ in Li and Vitanyi’s An Introduction to Kolmogorov Complexity and Its Applications, where this notion is used to discuss bounds on the complexity of strings. In this post I give a brief definition of what this notation means and how it relates to standard asymptotic notation. Particulary, I’m only going to talk about the case of $O(1)$, but the same ideas can be extended to $O(h(x))$ for any function $h(x)$.

Standard Big O Asymptotics