You're asking about what it means for a function to be "asymptotically positive" or "asymptotically negative." Here's a breakdown:
Asymptotically Positive
A function f(n) is said to be asymptotically positive if there exists a constant n₀ such that f(n) > 0 for all n ≥ n₀.
In simpler terms: The function eventually becomes and stays positive as n gets large. It might have negative values for small n, but beyond a certain point, it's always positive.
Asymptotically Negative
A function f(n) is said to be asymptotically negative if there exists a constant n₀ such that f(n) < 0 for all n ≥ n₀.
In simpler terms: The function eventually becomes and stays negative as n gets large. It might have positive values for small n, but beyond a certain point, it's always negative.
Key Points:
- "Eventually" is crucial: Asymptotic behavior only cares about what happens as
n approaches infinity. The function's values for small n don't matter.
- Constant Threshold: The positivity or negativity must hold for all
n greater than or equal to some fixed n₀.
- Contrast with "Positive for all n": A function that is "positive for all n" is positive from the very beginning. Asymptotically positive allows for some initial negative values.
Examples:
-
Asymptotically Positive:
f(n) = n - 100 (Negative for n < 100, positive for n ≥ 100)
f(n) = e^n (Always positive, so also asymptotically positive)
f(n) = log(n) (Negative for 0 < n < 1, positive for n ≥ 1)
-
Asymptotically Negative:
f(n) = -n (Always negative, so also asymptotically negative)
f(n) = -log(n) (Positive for 0 < n < 1, negative for n ≥ 1)
f(n) = 100 - n (Positive for n < 100, negative for n ≥ 100)
In the context of asymptotic analysis (Big O, Big Theta, Big Omega), the assumption of asymptotic positivity is often made to simplify definitions and avoid dealing with edge cases where functions might change signs. For example, the definition of little-o (o(f(n))) relies on the function being positive to define the limit properly.