Mathematical Induction (Fibonacci sequence)

In summary, the problem is that the student is trying to do mathematical induction, but is having trouble with the equations. He is using a method that has worked in the past, but is not working for the problem at hand.
  • #1
Rob Hal
13
0
Hi,

I'm looking for some help regarding a problem I have.
It's a problem I'm doing for my computer science class, and we need to prove certain conjectures using mathematical induction. Now, I've never learned mathematical induction in any class, so I'm basing everything I know about it off the course book.

So, I'm given the Fibonnaci sequence defined by the relation:
if k is 1 or 2, then f(k) = 1
else if k > 2, then f(k) = f(k-1) + f(k-2)

I have to do the following...
For the Fibonacci sequence, shot that, for all n>=2, f(n)2 + f(n-1)2 = f(2*n-1).
For the Fibonacci sequence, show that, for all n>2, f(n-1)*f(n+1) = f(n)2+(-1)n.

Okay, so I know I do it in three steps...
1. I do the basis, and I prove that for a certain value, it works out. I did that.
2. I assume that the conjecture works for a certain value, k. Okay.
3. I test to see if the conjecture works for a value k+1... Here is where I get stuck. I've been replacing n in both equations for k+1, but I'm not able to solve the equations. Am I doing something wrong? Should I try something else?

Any help will be much appreciated.
Thank you
 
Physics news on Phys.org
  • #2
Wait a sec..

The way you have those set up, neither of the two things you have to prove are correct in the first place.

To make this a somewhat more constructive response (hehe), usually you prove recurrence relations (which is what the fibonnaci sequence is) with strong induction, a variant of mathematical induction. Do you know about that?
 
  • #3
The problem I am given asks this specifically:

"Use mathematical induction to prove each of the following conjectures. In your proofs, be sure to state clearly the base case, the induction hypotheses, and what you’re attempting to prove in the induction step. "

And the two equations I posted previously are exactly what we have to prove. They're supposed to be correct...

As for strong induction... I have no idea. Like I said earlier, mathematical induction is not something I have ever formally been taught. I've been using my course lecture notes as a guide to what I should be doing.

The methode I've been using has worked for a few other problems I had, but just not these two...
 
  • #4
f(1)=1
f(2)=1
f(3)=2

Consider the base case for your first proof

Let n=2. Then f(2)*2+f(1)*2 = f(3)
But (1)(2) + (1)(2) = 4, not f(3)=2

I don't think your notation is very clear. f(n)2 is seen to me as 2*f(n)
 
  • #5
I suspect that, by "f(n)2 + f(n-1)2", Rob Hal means "f(n)2+ f(n-1)2".
 
  • #6
For strong induction (and induction too), you take, say f(n-1)f(n+1) you subs in what you think will help (f(k)=f(k-1)+f(k-2)) and rearrange, now whenever you get an expression f(k-1)f(k+1) where k<n (not just k=n-1) you may assume the result for k by induction. So you use the truth of (possbily) all (or some) of the statements indexed k where k<n. So if in your manipulations you ended up with

f(n-3)f(n-1) +f(n-5)f(n-3) you could replace that with f(n-1)f(n-1) + (-1)^{n-1} + f(n-4)f(n-4)+(-1)^{n-4}
 
  • #7
Yeah, I posted it wrong...

I copy pasted the equations and didn't realize that the ^ sign didn't go with them...

For the Fibonacci sequence, shot that, for all n>=2, f(n)^2 + f(n-1)^2 = f(2*n-1).
For the Fibonacci sequence, show that, for all n>2, f(n-1)*f(n+1) = f(n)^2+(-1)^n.

My mistake.
 
  • #8
How 'bout this...

Perhaps it would be easier if I tried to see what I'm doing wrong with a simpler problem. (or at least, one that looks like it should be simple to me)

So show that n^5 - n is divisible by 5 for all n > 0.

Okay, so I can easily prove the basis by substituting in any number.

So, for n = k, it holds that k^5-k is divisible by 5

Now, I let n = k + 1 to prove by it...
So I have (k+1)^5 - (k+1)
And that is equal to k^5 +5*k^4+9*k^3+9*k^2+5*k - k.
To prove that it would be divisible by 5, I can group (k^5-k) together and 5(k^4 + k) together... problem is, I'm left with 9*k^3 + 9*k^2 which I can't prove is divisible by five...

So I based this off of an example I had, although slightly different... I think I may be completely off here.
 
  • #9
Erm, you might find it easier if you worked out 5C2 correctly.
 
  • #10
Hoooo boy... yeah, that was bad.
Okay. Then I am on the right track.
Thanks!
 
  • #11
For the Fibonacci sequence, show that, for all n>=2, f(n)^2 + f(n-1)^2 = f(2*n-1).

That one stumped while trying to work from left to right, then I tried starting with the RHS and it suddenly seemed to come out dead easy.

Start by using repeated applications of the defining recursion forumla on f(2n-1) (and induction on k) to show that,

f(2n-1) = f(k)*f(2n-k) + f(k-1)*f(2n-k-1)

Suddenly it was too easy. :)
 
Last edited:
  • #12
Same with a lot of induction problems. I started the other one several times and it didn't drop out until I picked a non-obvious move and it worked in a line. non-obvious means that because of the way it's written we try and get f(k-1)f(k+1) and subs for that for k<n, (we work left to right) but actually if you get a f(k)f(k) for some k<n then subs in from there it comes out all of a sudden.
 

1. How is mathematical induction used to prove properties of the Fibonacci sequence?

Mathematical induction is a proof technique used to show that a statement is true for all natural numbers. In the case of the Fibonacci sequence, induction can be used to prove various properties such as the closed-form formula or the relationship between consecutive terms.

2. What is the general form of the Fibonacci sequence?

The Fibonacci sequence is a series of numbers where each term is the sum of the two previous terms, starting with 0 and 1. The general form of the sequence is:Fn = Fn-1 + Fn-2, where F0 = 0 and F1 = 1.

3. How is the Fibonacci sequence related to the golden ratio?

The golden ratio, also known as phi (φ), is a mathematical constant approximately equal to 1.618. It is closely related to the Fibonacci sequence as the ratio of consecutive terms approaches phi as the sequence continues. This can be seen in the fact that the ratio of any two consecutive terms in the sequence gets closer and closer to phi as the sequence goes on.

4. Can mathematical induction be used to prove the Fibonacci sequence is infinite?

Yes, mathematical induction can be used to prove that the Fibonacci sequence is infinite. This can be shown by proving that for any natural number n, there exists a term in the sequence greater than n. This means that there is no largest term in the sequence, making it infinite.

5. Are there any real-world applications of the Fibonacci sequence?

Yes, the Fibonacci sequence has various real-world applications in fields such as finance, computer science, and nature. For example, it can be used to model population growth, predict stock prices, and optimize algorithms. In nature, the Fibonacci sequence can be seen in the growth patterns of plants and the arrangement of leaves on a stem.

Similar threads

Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
Replies
11
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
924
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
537
  • Calculus and Beyond Homework Help
Replies
13
Views
953
  • Math Proof Training and Practice
Replies
10
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Back
Top