Induction and Recursion I have NO idea

Click For Summary

Homework Help Overview

The discussion revolves around a problem involving mathematical induction and recursion, specifically focusing on a sequence defined recursively. The original poster expresses confusion regarding the application of induction to prove a formula for the sequence.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants explore the definition of the sequence and the necessary steps for proving the formula through induction. Questions arise about the base case and the induction step, particularly regarding which values need to be verified.

Discussion Status

Some participants have provided guidance on the induction process, suggesting that showing the formula holds for specific values is essential. There is a recognition of the need to clarify the base case and the induction step, but no consensus has been reached on the exact requirements for the proof.

Contextual Notes

There is some uncertainty about the base case, particularly regarding the value of n=1 and its implications for the recursive definition. Participants are also questioning the necessity of proving the formula for multiple values.

1MileCrash
Messages
1,338
Reaction score
41
I think I'm pretty good at standard induction. Never had a problem.

Induction and recursion is mercilessly whooping my ***.

Homework Statement



Let a1 = 1. For each natural number n > 1, let an = 3an-1 - 1.

Prove that for each natural number n, an = 1/2(3n-1 + 1)

Homework Equations





The Attempt at a Solution



WAT

I can "build it." And I don't even feel comfortable doing that. Let S be the set of n for which the theorem holds.

Let n = 2

Theorem holds.

Let n = 3

Theorem holds.

So 2,3 are elements of S.

(Do I have to show it for 2? Or more? Or just one? Why?)

Suppose that n >= 3 and {1,2,...,n} is a subset of S.

I have no idea what to do. At all. Can someone please explain recursion induction to me?
 
Physics news on Phys.org
I think I see..

I know that
an+1 = 3an - 1 because that's the definition.

And based on my assumption, an = 1/2(3n-1[/SUP + 1)

So I can plug it in, and algebraically show that an+1 equals 1/2(3n[/SUP + 1)

Am I on the right track?
 
Yes, that's the idea. Can you do that?
 
Yes, that's what I tried and it worked out.

So for this example, I'd really only need to show it to be true for one value, right?
 
1MileCrash said:
Yes, that's what I tried and it worked out.

So for this example, I'd really only need to show it to be true for one value, right?

Yes, you only need to show it's true for n=1 and you need to show the induction step.
 
Do you mean n = 2? If n = 1, an-1 is undefined?
 
1MileCrash said:
Do you mean n = 2? If n = 1, an-1 is undefined?

Yes, check it for n=2 of course.
 
Ok, got it. Thanks again!
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K