Expected value random Fibonacci sequence












0












$begingroup$


For a random Fibonacci sequence given by $x_{n}=pm x_{n-1}+x_{n-2}$ , why do we have that $E(x_n)=x_0$? I only see that $E(x_n)=frac{1}{2}(x_{n-1}+x_{n-2})+frac{1}{2}(-x_{n-1}+x_{n-2})=x_{n-2}$










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    $x_{n-2}$ is also a random variable.
    $endgroup$
    – mathworker21
    Dec 28 '18 at 2:17
















0












$begingroup$


For a random Fibonacci sequence given by $x_{n}=pm x_{n-1}+x_{n-2}$ , why do we have that $E(x_n)=x_0$? I only see that $E(x_n)=frac{1}{2}(x_{n-1}+x_{n-2})+frac{1}{2}(-x_{n-1}+x_{n-2})=x_{n-2}$










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    $x_{n-2}$ is also a random variable.
    $endgroup$
    – mathworker21
    Dec 28 '18 at 2:17














0












0








0





$begingroup$


For a random Fibonacci sequence given by $x_{n}=pm x_{n-1}+x_{n-2}$ , why do we have that $E(x_n)=x_0$? I only see that $E(x_n)=frac{1}{2}(x_{n-1}+x_{n-2})+frac{1}{2}(-x_{n-1}+x_{n-2})=x_{n-2}$










share|cite|improve this question









$endgroup$




For a random Fibonacci sequence given by $x_{n}=pm x_{n-1}+x_{n-2}$ , why do we have that $E(x_n)=x_0$? I only see that $E(x_n)=frac{1}{2}(x_{n-1}+x_{n-2})+frac{1}{2}(-x_{n-1}+x_{n-2})=x_{n-2}$







probability






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 28 '18 at 2:10









user2795243user2795243

54




54








  • 1




    $begingroup$
    $x_{n-2}$ is also a random variable.
    $endgroup$
    – mathworker21
    Dec 28 '18 at 2:17














  • 1




    $begingroup$
    $x_{n-2}$ is also a random variable.
    $endgroup$
    – mathworker21
    Dec 28 '18 at 2:17








1




1




$begingroup$
$x_{n-2}$ is also a random variable.
$endgroup$
– mathworker21
Dec 28 '18 at 2:17




$begingroup$
$x_{n-2}$ is also a random variable.
$endgroup$
– mathworker21
Dec 28 '18 at 2:17










1 Answer
1






active

oldest

votes


















0












$begingroup$

You are forgetting that all the $x_i$ are random variables themselves (for $i>1)$. Having considered this, you should reach the following result.$$E[x_n]=frac12 (E[x_{n-1}]+ E[x_{n-2}])+frac12 (-E[x_{n-1}]+ E[x_{n-2}])=E[x_{n-2}]=cdots=begin{cases}x_1&ntext{ odd}\x_0&ntext{ even}end{cases}$$





You may be more convinced by seeing an example. Suppose $x_0=1,x_1=2$. Then $$P(x_2=3)=P(x_2=-1)=frac12$$ Then $E[x_2]=1=x_0$.$$P(x_3=5)=P(x_3=-1)=P(x_3=1)=P(x_3=3)=frac14$$Then $E[x_3]=frac{5-1+1+3}4=frac84=2=x_1$



Finally, $$P(x_4=8)=frac12P(x_4=-2)=frac12P(x_4=2)=P(x_4=4)=P(x_4=0)=P(x_4=-4)=frac18$$ Therefore $$E[x_4]=frac{8-2-2+2+2+4+0-4}8=1=x_0$$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Ok, thanks a lot, yes I concluded the same but I'm reading this paper where they say that $E(x_n)=x_0$ sciencedirect.com/science/article/pii/S0022314X06000229. And it's at the very beginning of the paper, they don't say anything about $n$ or $x_0$ or $x_1$ but now I know that what I thought was right, thank you!
    $endgroup$
    – user2795243
    Dec 28 '18 at 2:44










  • $begingroup$
    @user2795243 it may be possible that the author simply assumes $x_0=x_1$, like in the Fibonacci sequence $1,1,2,3,5,8,13...$. But I do agree, there is confusion there. Glad to help!
    $endgroup$
    – John Doe
    Dec 28 '18 at 2:52











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3054516%2fexpected-value-random-fibonacci-sequence%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0












$begingroup$

You are forgetting that all the $x_i$ are random variables themselves (for $i>1)$. Having considered this, you should reach the following result.$$E[x_n]=frac12 (E[x_{n-1}]+ E[x_{n-2}])+frac12 (-E[x_{n-1}]+ E[x_{n-2}])=E[x_{n-2}]=cdots=begin{cases}x_1&ntext{ odd}\x_0&ntext{ even}end{cases}$$





You may be more convinced by seeing an example. Suppose $x_0=1,x_1=2$. Then $$P(x_2=3)=P(x_2=-1)=frac12$$ Then $E[x_2]=1=x_0$.$$P(x_3=5)=P(x_3=-1)=P(x_3=1)=P(x_3=3)=frac14$$Then $E[x_3]=frac{5-1+1+3}4=frac84=2=x_1$



Finally, $$P(x_4=8)=frac12P(x_4=-2)=frac12P(x_4=2)=P(x_4=4)=P(x_4=0)=P(x_4=-4)=frac18$$ Therefore $$E[x_4]=frac{8-2-2+2+2+4+0-4}8=1=x_0$$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Ok, thanks a lot, yes I concluded the same but I'm reading this paper where they say that $E(x_n)=x_0$ sciencedirect.com/science/article/pii/S0022314X06000229. And it's at the very beginning of the paper, they don't say anything about $n$ or $x_0$ or $x_1$ but now I know that what I thought was right, thank you!
    $endgroup$
    – user2795243
    Dec 28 '18 at 2:44










  • $begingroup$
    @user2795243 it may be possible that the author simply assumes $x_0=x_1$, like in the Fibonacci sequence $1,1,2,3,5,8,13...$. But I do agree, there is confusion there. Glad to help!
    $endgroup$
    – John Doe
    Dec 28 '18 at 2:52
















0












$begingroup$

You are forgetting that all the $x_i$ are random variables themselves (for $i>1)$. Having considered this, you should reach the following result.$$E[x_n]=frac12 (E[x_{n-1}]+ E[x_{n-2}])+frac12 (-E[x_{n-1}]+ E[x_{n-2}])=E[x_{n-2}]=cdots=begin{cases}x_1&ntext{ odd}\x_0&ntext{ even}end{cases}$$





You may be more convinced by seeing an example. Suppose $x_0=1,x_1=2$. Then $$P(x_2=3)=P(x_2=-1)=frac12$$ Then $E[x_2]=1=x_0$.$$P(x_3=5)=P(x_3=-1)=P(x_3=1)=P(x_3=3)=frac14$$Then $E[x_3]=frac{5-1+1+3}4=frac84=2=x_1$



Finally, $$P(x_4=8)=frac12P(x_4=-2)=frac12P(x_4=2)=P(x_4=4)=P(x_4=0)=P(x_4=-4)=frac18$$ Therefore $$E[x_4]=frac{8-2-2+2+2+4+0-4}8=1=x_0$$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Ok, thanks a lot, yes I concluded the same but I'm reading this paper where they say that $E(x_n)=x_0$ sciencedirect.com/science/article/pii/S0022314X06000229. And it's at the very beginning of the paper, they don't say anything about $n$ or $x_0$ or $x_1$ but now I know that what I thought was right, thank you!
    $endgroup$
    – user2795243
    Dec 28 '18 at 2:44










  • $begingroup$
    @user2795243 it may be possible that the author simply assumes $x_0=x_1$, like in the Fibonacci sequence $1,1,2,3,5,8,13...$. But I do agree, there is confusion there. Glad to help!
    $endgroup$
    – John Doe
    Dec 28 '18 at 2:52














0












0








0





$begingroup$

You are forgetting that all the $x_i$ are random variables themselves (for $i>1)$. Having considered this, you should reach the following result.$$E[x_n]=frac12 (E[x_{n-1}]+ E[x_{n-2}])+frac12 (-E[x_{n-1}]+ E[x_{n-2}])=E[x_{n-2}]=cdots=begin{cases}x_1&ntext{ odd}\x_0&ntext{ even}end{cases}$$





You may be more convinced by seeing an example. Suppose $x_0=1,x_1=2$. Then $$P(x_2=3)=P(x_2=-1)=frac12$$ Then $E[x_2]=1=x_0$.$$P(x_3=5)=P(x_3=-1)=P(x_3=1)=P(x_3=3)=frac14$$Then $E[x_3]=frac{5-1+1+3}4=frac84=2=x_1$



Finally, $$P(x_4=8)=frac12P(x_4=-2)=frac12P(x_4=2)=P(x_4=4)=P(x_4=0)=P(x_4=-4)=frac18$$ Therefore $$E[x_4]=frac{8-2-2+2+2+4+0-4}8=1=x_0$$






share|cite|improve this answer











$endgroup$



You are forgetting that all the $x_i$ are random variables themselves (for $i>1)$. Having considered this, you should reach the following result.$$E[x_n]=frac12 (E[x_{n-1}]+ E[x_{n-2}])+frac12 (-E[x_{n-1}]+ E[x_{n-2}])=E[x_{n-2}]=cdots=begin{cases}x_1&ntext{ odd}\x_0&ntext{ even}end{cases}$$





You may be more convinced by seeing an example. Suppose $x_0=1,x_1=2$. Then $$P(x_2=3)=P(x_2=-1)=frac12$$ Then $E[x_2]=1=x_0$.$$P(x_3=5)=P(x_3=-1)=P(x_3=1)=P(x_3=3)=frac14$$Then $E[x_3]=frac{5-1+1+3}4=frac84=2=x_1$



Finally, $$P(x_4=8)=frac12P(x_4=-2)=frac12P(x_4=2)=P(x_4=4)=P(x_4=0)=P(x_4=-4)=frac18$$ Therefore $$E[x_4]=frac{8-2-2+2+2+4+0-4}8=1=x_0$$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Dec 28 '18 at 2:33

























answered Dec 28 '18 at 2:28









John DoeJohn Doe

11.2k11239




11.2k11239












  • $begingroup$
    Ok, thanks a lot, yes I concluded the same but I'm reading this paper where they say that $E(x_n)=x_0$ sciencedirect.com/science/article/pii/S0022314X06000229. And it's at the very beginning of the paper, they don't say anything about $n$ or $x_0$ or $x_1$ but now I know that what I thought was right, thank you!
    $endgroup$
    – user2795243
    Dec 28 '18 at 2:44










  • $begingroup$
    @user2795243 it may be possible that the author simply assumes $x_0=x_1$, like in the Fibonacci sequence $1,1,2,3,5,8,13...$. But I do agree, there is confusion there. Glad to help!
    $endgroup$
    – John Doe
    Dec 28 '18 at 2:52


















  • $begingroup$
    Ok, thanks a lot, yes I concluded the same but I'm reading this paper where they say that $E(x_n)=x_0$ sciencedirect.com/science/article/pii/S0022314X06000229. And it's at the very beginning of the paper, they don't say anything about $n$ or $x_0$ or $x_1$ but now I know that what I thought was right, thank you!
    $endgroup$
    – user2795243
    Dec 28 '18 at 2:44










  • $begingroup$
    @user2795243 it may be possible that the author simply assumes $x_0=x_1$, like in the Fibonacci sequence $1,1,2,3,5,8,13...$. But I do agree, there is confusion there. Glad to help!
    $endgroup$
    – John Doe
    Dec 28 '18 at 2:52
















$begingroup$
Ok, thanks a lot, yes I concluded the same but I'm reading this paper where they say that $E(x_n)=x_0$ sciencedirect.com/science/article/pii/S0022314X06000229. And it's at the very beginning of the paper, they don't say anything about $n$ or $x_0$ or $x_1$ but now I know that what I thought was right, thank you!
$endgroup$
– user2795243
Dec 28 '18 at 2:44




$begingroup$
Ok, thanks a lot, yes I concluded the same but I'm reading this paper where they say that $E(x_n)=x_0$ sciencedirect.com/science/article/pii/S0022314X06000229. And it's at the very beginning of the paper, they don't say anything about $n$ or $x_0$ or $x_1$ but now I know that what I thought was right, thank you!
$endgroup$
– user2795243
Dec 28 '18 at 2:44












$begingroup$
@user2795243 it may be possible that the author simply assumes $x_0=x_1$, like in the Fibonacci sequence $1,1,2,3,5,8,13...$. But I do agree, there is confusion there. Glad to help!
$endgroup$
– John Doe
Dec 28 '18 at 2:52




$begingroup$
@user2795243 it may be possible that the author simply assumes $x_0=x_1$, like in the Fibonacci sequence $1,1,2,3,5,8,13...$. But I do agree, there is confusion there. Glad to help!
$endgroup$
– John Doe
Dec 28 '18 at 2:52


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3054516%2fexpected-value-random-fibonacci-sequence%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei