Say I have a function f(n) = 4n + log n, I know this would be in Θ (n), because with a large input, n or (4n) is much more significant than log n. It grows much slower. My question is that if I am not sure which side of the polynomial is more significant ( 4n or log n), how would I approach such a problem. You may use the same example or any other example to show me how.
Note: You may assume f(x) can be expressed in term of big Θ. Thanks a lot for the your effort, guys! I really appreciate your help.
Thanks again.