Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 3 - Section 3.2 - The Growth of Functions - Exercises - Page 216: 18

Answer

$1^{k}+2^{k}+\ldots+n^{k}$ is $O\left(n^{k+1}\right)$ with $k=1$ and $C=1$.

Work Step by Step

We have given that $k$ is a positive integer in order to show that $1^{k}+2^{k}+\ldots+n^{k}$ is $O\left(n^{k+1}\right)$ for convenience sake, we choose $k=1$ and $C=1$. Whenever $x>k=1$, we then obtain: $\begin{aligned}\left|1^{k}+2^{k}+\ldots+n^{k}\right| &=1^{k}+2^{k}+\ldots+n^{k} \\ & \leq n^{k}+n^{k}+\ldots+n^{k} \end{aligned}$ Note that the sum $1^{k}+2^{k}+\ldots+n^{k}$ contains $n$ terms and thus the sum $n^{k}+n^{k}+\ldots+n^{k}$ contains $n$ terms with each term $n^{k}$. $=n$$ \cdot n^{k}$ $=n^{k+1}$ $=\left|n^{k+1}\right|$ By the Big- O definition, we then obtained that $1^{k}+2^{k}+\ldots+n^{k}$ is $O\left(n^{k+1}\right)$ with $k=1$ and $C=1$.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.