cscott
- 778
- 1
Can anyone point me to resources showing me how to prove recurance equations like:
I(n) \le c if n = 0
d+I(n-1) if n >= 1
i.e. I(n) \le c + dn
Also for proving things like: 30000n^2 + n \log n is O(n^3) using the basic definition of big-O notation (f(n) \le k \cdot g(n) for some k and n \le n_0)
I never took algebra so I never learned this stuff while CS majors did :( It'd be helpful if I knew what to search for.
I(n) \le c if n = 0
d+I(n-1) if n >= 1
i.e. I(n) \le c + dn
Also for proving things like: 30000n^2 + n \log n is O(n^3) using the basic definition of big-O notation (f(n) \le k \cdot g(n) for some k and n \le n_0)
I never took algebra so I never learned this stuff while CS majors did :( It'd be helpful if I knew what to search for.
Last edited: