(a) Find a closed-form solution for this recurrence relation: an=2⋅an−1−n+1 with a1=2a (b) Prove that your closed-form solution is correct.

shadsiei

shadsiei

Answered question

2021-01-31

(a) Find a closed-form solution for this recurrence relation: an=2an1n+1 with a1=2a
(b) Prove that your closed-form solution is correct.

Answer & Explanation

Fatema Sutton

Fatema Sutton

Skilled2021-02-01Added 88 answers

(a) Given an=(2an1)n+1
a1=2
Let us determine the first terms of the sequence until we notice a pettern:
a1=2=1+1
a2=2a12+1=2(2)2=41=3=2+1
a3=2a23+1=2(3)3=61=4=3+1
a4=2a34+1=2(4)4=81=5=4+1
a5=2a45+1=2(5)5=101=6=5+1
a6=2a56+1=2(6)6=121=7=6+1
Thus we note that an=n+1 appears to hold in general.
(b) Given
an=(2an1)n+1
a1=2
To proof: an=n+1 for all positive integers.
Proof by induction
Let P(n) be the statement an=n+1
Basis step n=1
an=a1=2
n+1=1+1=2
Thus P(1) is true
Inductive step Let P(k) be true.
ak=k+1
We need to proof that P(k+1) is true.
ak+1=2a((k+1)1)(k+1)+1=(2ak)k

=2(k+1)k=2k+2k=k+2=(k+1)+1
Thus P(k+1) is true.
Conclusion By the principle of mathematical induction, P(n) is true for all positive integers n.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?