Ask your own question, for FREE!
Computer Science 11 Online
OpenStudy (anonymous):

Completely lost on a recurring relation problem.

OpenStudy (anonymous):

OpenStudy (anonymous):

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 \]

OpenStudy (anonymous):

The limit will go to \(1/2\).

OpenStudy (anonymous):

Much simpler than I was expecting. Thank you.

OpenStudy (anonymous):

I haven't tried actually proving it though.

OpenStudy (anonymous):

I don't think it should bee too hard to show : \[ 1^k+2^k+3^k+\ldots +n^k\leq cn^k \]

OpenStudy (anonymous):

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 \]

OpenStudy (anonymous):

I'm using a bit of circular logic here, aren't I?

OpenStudy (anonymous):

Hmm, perhaps I'm wrong, let's rethink this...

OpenStudy (anonymous):

\[ 1^k+2^k+\ldots +n^k \leq n^k+n^k+\ldots + n^k = nn^k = n^{k+1} \]

OpenStudy (anonymous):

were are using \(0<i\leq n \implies i^k\leq n^k\) for that fist step.

OpenStudy (anonymous):

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} \]

OpenStudy (anonymous):

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?

OpenStudy (anonymous):

What is a linear homogenous recurrence relations. You need to explain that first.

OpenStudy (anonymous):

Example: \[a_{n} = 2a _{n-1} + 4a _{n-2}\] Correct?

OpenStudy (anonymous):

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) \]

OpenStudy (anonymous):

But what would the characteristic equation be?

OpenStudy (anonymous):

Just double checked, and I'm correct. So, the characteristic equation would be: \[r ^{2} - 2r -4\]

OpenStudy (anonymous):

=0

OpenStudy (anonymous):

shouldn't the degree be equal to the number of roots?

OpenStudy (anonymous):

I'm honestly not sure.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!