sta|ker
- 12
- 0
Homework Statement
Let f(x) = 2x^{3} + 3x\log{x}, prove f \in O(x^{3}) using the Big-O Definition.
Homework Equations
Big-O definition:
f(x) \in O(g(x)) if |f(x)| \leq C|g(x)| and x \geq k where C and k are both positive integers.
The Attempt at a Solution
I basically set C=4 and k=4, then wrote it out:
|2x^{3}+3x\log{x}| \leq 4|x^{3}| where x \geq 4
then using 4 for x:
256 \geq 152
According to the definition this proves it. It just seems to simple for an assignment (not the only problem on it, but still). Did I prove this correctly? Or do I completely not understand? I can prove it using limits, but she wants us to use the Big-O therom.