Proving the Solution to a Recurrence Relation Using Mathematical Induction

In summary, the sequence defined by:S(n) = 3∙2 n-1 - 2 is the same sequence defined by recursion as:T(n) = 2T(n – 1) + 2 for n > 1 and T(1) = 1.
  • #1
jokiemay
18
0
Hi all, I've been struggling with a large piece of coursework. been quite stressed latley and now I am struggling while aproaching my deadline. i need help answering this question.

Use mathematical induction to show that
S(n) = 3 × 2 n-1 -2
is the solution for the recurrence relation:
T(n) = 2T(n – 1) + 2 for n > 1 and T(1) = 1


Ive answered so far
Base T(1)=1
LS : T2 = 12 = 1 RS: 1T = 1(1) = 1
So n > 1 is True
Induction T(n) = 2T(n-1) + 2 for all n > 1

T(n) = 2T(n – 1) + 3
= 2T (n -1) + 3
= 2(2T(n − 2) + 1) + 1
=2( n + 4) 2n-1 -2
= 6n -3
S(n) = 3 × 2 n-1 -2


Im really confused - can you guys help out
 
Last edited by a moderator:
Physics news on Phys.org
  • #2


I am confused by your notation.
Taken literally, 3 × 2 n-1 -2 = 6n-1-2=6n-3
But why did you write it so complicated? In addition, it does not satisfy the recurrence relation.
12=1
This is wrong.
So n > 1 is True
Do you mean n=1?
= 2(2T(n − 2) + 1) + 1
=2( n + 4) 2n-1 -2
What happens here?
 
  • #3


jokiemay said:
Use mathematical induction to show that
S(n) = 3 × 2 n-1 -2
is the solution for the recurrence relation:
T(n) = 2T(n – 1) + 2 for n > 1 and T(1) = 1

mfb said:
I am confused by your notation.
Taken literally, 3 × 2 n-1 -2 = 6n-1-2=6n-3

Might this be what the OP means?

S(n) = 3 * 2 n-1 -2

As just plain text, this would be written as S(n) = 3 * 2^(n-1) -2
 
  • #4
jokiemay said:
Hi all, I've been struggling with a large piece of coursework. been quite stressed latley and now I am struggling while aproaching my deadline. i need help answering this question.

Use mathematical induction to show that
S(n) = 3 × 2 n-1 -2
is the solution for the recurrence relation:
T(n) = 2T(n – 1) + 2 for n > 1 and T(1) = 1

Ive answered so far
Base T(1)=1
LS : T2 = 12 = 1 RS: 1T = 1(1) = 1
So n > 1 is True
Induction T(n) = 2T(n-1) + 2 for all n > 1

T(n) = 2T(n – 1) + 3
= 2T (n -1) + 3
= 2(2T(n − 2) + 1) + 1
=2( n + 4) 2n-1 -2
= 6n -3
S(n) = 3 × 2 n-1 -2

I'm really confused - can you guys help out
How is Sn related to Tn ?

As Mark44 pointed out, it appears that the formula for Sn should be
Sn = 3∙2(n-1)-2
Using the recurrence relation for Tn the first few values in the sequence [Tn] are
1, 4, 10, 22, 46, …​
 
  • #5
sorry its T2=1 / 2 = 1

the confusing part is why Sn is related to Tn , I am just going to base it on Tn.
The statement n > 1 is true

and by the replys i seem to have gone very wrong somewhere?
 
  • #6
jokiemay said:
sorry its T2=1 / 2 = 1
I Have no idea what this means! According to "T(n) = 2T(n – 1) + 2 for n > 1 and T(1) = 1", T(2)= 2T(1)+ 2= 2(1)+ 2= 4.

the confusing part is why Sn is related to Tn , I am just going to base it on Tn.
The statement n > 1 is true

and by the replys i seem to have gone very wrong somewhere?
You still haven't told us what "S(n) = 3 × 2 n-1 -2" means! Is it, as has been suggested, S(n)= 3(2^(n-1))- 2?
 
  • #7
jokiemay said:
sorry its T2=1 / 2 = 1
What you're saying is that 1/2 = 1. Even my dog knows this is not true. If I put only half the usual amount of food in his bowl, he let's me know that I have made a mistake.
 
  • #8
cheers for your help, @ mark, the layout that the coursework has been set is confusing me. I am emailing my leacturer to enquire about the questiion.
 
  • #9
SammyS said:
How is Sn related to Tn ?

As Mark44 pointed out, it appears that the formula for Sn should be
Sn = 3∙2(n-1)-2   This has a typo.
Using the recurrence relation for Tn the first few values in the sequence [Tn] are
1, 4, 10, 22, 46, …​
Well, I had a typo in Post #4. Quoted above.

Sn should be:   Sn = 3∙2(n-1) - 2 .

It appears that your problem should read something like:
Use mathematical induction to show that the sequence defined by:
S(n) = 3∙2 n-1 - 2​
is the same sequence defined by recursion as:
T(n) = 2T(n – 1) + 2 for n > 1 and T(1) = 1​

(If you calculate the first few terms, you will see that they definitely start out the same.)
 
  • #10
Base S(1)=1, so T(1)=S(1)
for some n, T(n)=S(n), then:
T(n+1) = 2T(n)+2 = 2(3×2^(n-1) -2) +2 = 3 × 2^n-4+2 = 3×2^n-2 = S(n+1)

Proof that T(n)=S(n) then T(n+1)=S(n+1), and as we have T(1)=S(1) i have proven by induction that T(n)=S(n) for any n in the positive integers
 
Last edited:
  • #12
jokiemay said:
Base S(1)=1, so T(1)=S(1)
for some n, T(n)=S(n), then:
T(n+1) = 2T(n)+2 = 2(3×2^(n-1) -2) +2 = 3 × 2^n-4+2 = 3×2^n-2 = S(n+1)

Proof that T(n)=S(n) then T(n+1)=S(n+1), and as we have T(1)=S(1) i have proven by induction that T(n)=S(n) for any n in the positive integers
So, you went from deciding to "take a hit" on this problem, to solving it.

Way to go !
 
  • #13
Thanks all.

Ive to change T(1) = 1 to T(1)=0 and re write the equation.
 
  • #14
jokiemay said:
Thanks all.

Ive to change T(1) = 1 to T(1)=0 and re write the equation.
Write down the first several terms of this new sequence.
 

FAQ: Proving the Solution to a Recurrence Relation Using Mathematical Induction

1. What is mathematical induction?

Mathematical induction is a proof technique used to prove that a statement is true for all natural numbers. It involves proving a base case (usually when n=1) and then showing that if the statement is true for a particular value of n, it must also be true for n+1. This process is repeated until the statement is shown to be true for all natural numbers.

2. How is mathematical induction different from other proof techniques?

Mathematical induction is different from other proof techniques because it is specifically used to prove statements about natural numbers. It relies on the property that if a statement is true for a particular value of n, it must also be true for the next value of n. Other proof techniques, such as direct proof, proof by contradiction, or proof by contrapositive, may be used for more general statements.

3. What is the importance of mathematical induction?

Mathematical induction is an important tool in the field of mathematics because it allows us to prove statements that hold true for all natural numbers. This is especially useful in areas such as number theory, combinatorics, and discrete mathematics. It also helps to build a strong foundation for understanding more complex mathematical concepts.

4. Are there any limitations to mathematical induction?

While mathematical induction is a powerful tool, it does have its limitations. It can only be used to prove statements about natural numbers, and it may not be applicable to all types of mathematical problems. Additionally, it may not always be the most efficient or straightforward way to prove a statement.

5. How can I improve my skills in using mathematical induction?

The best way to improve your skills in using mathematical induction is through practice. Work through a variety of problems and pay attention to the techniques used in each solution. You can also seek out resources, such as textbooks or online tutorials, that provide step-by-step explanations and examples of mathematical induction proofs. Additionally, it can be helpful to discuss your solutions with others and learn from their approaches.

Similar threads

Back
Top