You are subscribed to this thread Proving conjecture for recursive function

Click For Summary

Homework Help Overview

The discussion revolves around proving a conjecture related to a recursive function defined by specific initial conditions and a recursive formula. The conjecture posits that the function outputs zero for odd inputs and a specific fraction for even inputs.

Discussion Character

  • Exploratory, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss the possibility of using induction to prove the conjecture, suggesting separate proofs for odd and even cases. There is also clarification regarding the correct formulation of the conjecture and its implications.

Discussion Status

The conversation indicates that some participants are providing guidance on how to approach the proof, particularly through induction. There is an acknowledgment of the recursive nature of the function and the need to establish base cases and inductive steps.

Contextual Notes

Participants express uncertainty about the recursive function and its implications for the proof process. There is a mention of the original poster's struggle with the recursive aspect of the problem.

superdog
Messages
3
Reaction score
0
Hi,

Homework Statement



Just having some troubles with a proof i have been asked to do, (sorry for not knowing the math code)

basically, f(1)=0, f(2)=1/3 and f(n)= ((n-1)/(n+1))*f(n-2)

and I've come up with the conjecture that f(n) = 0 when n is odd, and = 1/(n+1) when n is even.

and i have to prove my conjecture, this is where I'm stuck,

Homework Equations



anyone care to point me in the right direction?

The Attempt at a Solution



not really sure what method to use, induction?
 
Physics news on Phys.org
Since you have two statements:
f(2n+1)= 0 and f(2n)= 1/(2n+1), why not try two separate induction proofs?
 
HallsofIvy said:
Since you have two statements:
f(2n+1)= 0 and f(2n)= 1/(2n+1), why not try two separate induction proofs?

Hey,

thanks for your help,

"f(2n)= 1/(2n+1)" you mean 1/(n+1) right, (not being picky just making sure)

yeah, i kinda what your saying, ie: 2n is a generator for all evens and 2n+1 is for odds, however, I'm not really confident on how to actually go through and do a induction proof on either, the recursive function is knda scaring me at the moment
 
superdog said:
"f(2n)= 1/(2n+1)" you mean 1/(n+1) right, (not being picky just making sure)
Halls meant exactly what he said: f(2n)=1/(2n+1). You conjecture is that when n is even, f(n)=1/(n+1). Another way of saying n is even is saying that n=2m, where m is an integer. Apply this to your conjecture: f(n)=1/(n+1)\;\rightarrow\; f(2m) = 1/(2m+1).

To prove some conjecture by induction, you need to show two things:
  • That the conjecture is true for some base case and
  • That if the conjecture is true for some m then it is also true for m+1.

The conjecture is obviously true for m=1 as f(2\cdot1) = 1/(2\cdot1+1) = 1/3. All that remains is proving the recursive relationship.
 
Ahhhh, ok, thanks so much for the help! its all clicking into place now. especially after walking away from the bloody thing for a bit :P

thanks again
Sam
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
915
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K