How do you solve the recurrence relation P(n) = 1 + 5n by induction?

  • Context:
  • Thread starter Thread starter Fernando Revilla
  • Start date Start date
  • Tags Tags
    Recurrence Relation
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
Fernando Revilla
Gold Member
MHB
Messages
631
Reaction score
0
I quote a question from Yahoo! Answers

Solve P(n) = 1 + 5n by induction?
Closed form solution: P(n) = 1 + 5n
from, P(n) = {1 if n = 1
P(n-1) + 5 if n > 1}

I have given a link to the topic there so the OP can see my response.
 
Mathematics news on Phys.org
The recurrence relation is $p(n)=p(n-1)+5,\; p(1)=1$. Then, $p(n)=1+5n$ is a solution.

Basis Step $p(1)=1+5\cdot 0=1$.

Induction Step
Suppose the relation is true for $n$. Then, $p(n)=1+5n$, so
$$p(n+1)=1+5(n+1)=1+5n+5=p(n)+5$$

As a consqeuence, the relation is true for $n+1$.