Completely lost on a recurring relation problem.
When \(k=1\) you have: \[ \frac{1+2+\ldots +n}{n^2} = \frac{n(n+1)}{2n^2} = \frac{n+1}{2n} = \frac 12 + \frac 1n \]
The limit will go to \(1/2\).
Much simpler than I was expecting. Thank you.
I haven't tried actually proving it though.
I don't think it should bee too hard to show : \[ 1^k+2^k+3^k+\ldots +n^k\leq cn^k \]
Subtract \(n^k\) from both sides and you get: \[ 1^k+2^k+\ldots + (n-1)^k\leq (c-1)n^k = c'n^k \]
I'm using a bit of circular logic here, aren't I?
Hmm, perhaps I'm wrong, let's rethink this...
\[ 1^k+2^k+\ldots +n^k \leq n^k+n^k+\ldots + n^k = nn^k = n^{k+1} \]
were are using \(0<i\leq n \implies i^k\leq n^k\) for that fist step.
The best way to write it is:\[ 1\leq i\leq n \implies i^k\leq n^k \implies \sum_{i=1}^ni^k \leq \sum_{i=1}^n n^k = nn^k= n^{k+1} \]
You're the best. Would you care to help me on another one real quick? What is the general form of the solutions of a linear homogeneous recurrence relation if its characteristic equation has the roots −1, −1, −1,2,2,5,5,7?
What is a linear homogenous recurrence relations. You need to explain that first.
Example: \[a_{n} = 2a _{n-1} + 4a _{n-2}\] Correct?
Not sure, but if you think so I'd take your word for it. That would basically mean: \[ T(n) = 2T(n-1)+4T(n-2) \]
But what would the characteristic equation be?
Just double checked, and I'm correct. So, the characteristic equation would be: \[r ^{2} - 2r -4\]
=0
shouldn't the degree be equal to the number of roots?
I'm honestly not sure.
Join our real-time social learning platform and learn together with your friends!