Natural Numbers and Induction (Analysis with and Introduction to ProofC)

k3N70n
Messages
66
Reaction score
0

Homework Statement



Prove that: 1^3 + 2^3 + ... + n^3 = (1 + 2 + ... + n)^2 for all n where n is a natural number

Homework Equations



Proof by induction:
a) p(1) is true
b) assume p(k) is true then prove p(k+1) for it

The Attempt at a Solution



I gave this a try for a while but I'm quite stuck.

So far using proof by induction:
p(1) = 1^3 = 1^2 is true

assume that p(k) = 1^3 + 2^3 + ... + k^3 = (1 + 2 + ... + k)^2 is true
then:
p(k+1) = 1^3 + 2^3 + ... + k^3 + (k + 1)^3
= (1 + 2 + ... + k)^2 + (k + 1)^3

Now I'm really not sure where to go or if I'm going the right way. Any sort of hint would be greatly appreciated. Thanks.

-Kentt
 
Physics news on Phys.org
Simplify 1+2+3+...k.
 
\sum_{n=1}^k n= \frac{(k+1)(k)}{2} btw.
You may also like to know that \sum_{n=1}^k n^3 = \frac{(k+1)^2k^2}{4}=(\frac{(k+1)k}{2})^2...o nvm Thats what your trying to prove...
 
Thanks IMDerek. Got it done.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top