PDA

View Full Version : Prove by induction


Firben
Dec9-11, 10:32 AM
Prove by induction that n^2 + n ≤ 2^n

for all integers n≥5

How i did:

Case(1)

Suppose that n = 5

LHS = 5^2 +5 = 30

RHS = 2^5 = 32

30 ≤ 32

Ok LHS ≤ RHS

Case (2)

Suppose thats true for n=p≥5. Show that its true for n = p+1

What should i do next ? I had a memory loss here :(

Fredrik
Dec9-11, 10:43 AM
Just write down (p+1)^2+(p+1) and work with that expression until you see that it's \leq 2^{p+1}. You will have to use the assumption p^2+p\leq 2^p.

Firben
Dec12-11, 09:28 AM
LHS(p+1) = (p+1)^2 + p+1 = p^2 + 2p + 1 + p + 1 = p^2 +3p + 2

How can i continue ?

Mentallic
Dec12-11, 09:59 AM
LHS(p+1) = (p+1)^2 + p+1 = p^2 + 2p + 1 + p + 1 = p^2 +3p + 2

How can i continue ?

Well, what's your assumption?

Firben
Dec12-11, 01:25 PM
Yes, i think so

Fredrik
Dec12-11, 01:34 PM
No, he asked "what's your assumption?", and you were supposed to answer "that the formula I want to prove for all n≥5 holds when n=p".