Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
f(n) が Θ(g(n)) の場合、関数 2 f(n)は常に Θ(2 g(n) ) ですか? なぜですか、そうでないのですか?
このステートメントは誤りです。f(n) = 2n と g(n) = n を取ります。2n = Θ(n) であるため、f(n) = Θ(g(n)) となります。
ただし、2 f(n) = 2 2n = 4 nおよび 2 g(n) = 2 nですが、4 n ≠ Θ(2 n ) です。あなたはこれを見ることができます
リムn → ∞ 4 n / 2 n =リムn → ∞ 2 n = ∞
リムn → ∞ 4 n / 2 n
=リムn → ∞ 2 n
= ∞
お役に立てれば!