Reputation: 11
I'm having trouble with this question. I know that for one function to equal big theta of another, the limit as n tends towards infinity of f(n)/g(n) has to equal a non-zero constant. But I've never evaluated a limit with summations (let alone two summations with one over the other). Could someone explain or point me in the right direction? Thanks!
Upvotes: 0
Views: 122
Reputation: 15035
These are geometric series. There is a standard formula for evaluating them:
So the question becomes:
Which is false as 3^n
grows exponentially faster than 2^n
, so they cannot be of the same complexity class.
Upvotes: 1