How can I tell if a sequence can be a recursive sequence
Obviously 1, 1, 2, 3, 5, 8, etc.. is possibly a recursive sequence because we know it's the Fibonacci sequence and because it's really easy to see the pattern. It's recursive "function" for the form $a(n_{i - 1}) + b (n_{i - 2})$ where $a = 1$ and $b = 1$.
But how do we know for sure that 1, 2, 3, 4, _, _, etc.. can't have a recursive function? where there is a $a$ or $b$ that works for that sequence?
linear-algebra
add a comment |
Obviously 1, 1, 2, 3, 5, 8, etc.. is possibly a recursive sequence because we know it's the Fibonacci sequence and because it's really easy to see the pattern. It's recursive "function" for the form $a(n_{i - 1}) + b (n_{i - 2})$ where $a = 1$ and $b = 1$.
But how do we know for sure that 1, 2, 3, 4, _, _, etc.. can't have a recursive function? where there is a $a$ or $b$ that works for that sequence?
linear-algebra
Argh I don't know how to make more than one character go in a subscript can someone help me out? Thanks!
– ming
Dec 3 '18 at 8:52
to make multiple subscript charachters you can do : normal text_{your subscript text} which gives: $$normal text_{your subscript text}$$ Place all characters inside brackets
– TheD0ubleT
Dec 3 '18 at 8:59
Fancy, thanks!!
– ming
Dec 3 '18 at 9:40
add a comment |
Obviously 1, 1, 2, 3, 5, 8, etc.. is possibly a recursive sequence because we know it's the Fibonacci sequence and because it's really easy to see the pattern. It's recursive "function" for the form $a(n_{i - 1}) + b (n_{i - 2})$ where $a = 1$ and $b = 1$.
But how do we know for sure that 1, 2, 3, 4, _, _, etc.. can't have a recursive function? where there is a $a$ or $b$ that works for that sequence?
linear-algebra
Obviously 1, 1, 2, 3, 5, 8, etc.. is possibly a recursive sequence because we know it's the Fibonacci sequence and because it's really easy to see the pattern. It's recursive "function" for the form $a(n_{i - 1}) + b (n_{i - 2})$ where $a = 1$ and $b = 1$.
But how do we know for sure that 1, 2, 3, 4, _, _, etc.. can't have a recursive function? where there is a $a$ or $b$ that works for that sequence?
linear-algebra
linear-algebra
edited Dec 3 '18 at 9:40
asked Dec 3 '18 at 8:51
ming
3165
3165
Argh I don't know how to make more than one character go in a subscript can someone help me out? Thanks!
– ming
Dec 3 '18 at 8:52
to make multiple subscript charachters you can do : normal text_{your subscript text} which gives: $$normal text_{your subscript text}$$ Place all characters inside brackets
– TheD0ubleT
Dec 3 '18 at 8:59
Fancy, thanks!!
– ming
Dec 3 '18 at 9:40
add a comment |
Argh I don't know how to make more than one character go in a subscript can someone help me out? Thanks!
– ming
Dec 3 '18 at 8:52
to make multiple subscript charachters you can do : normal text_{your subscript text} which gives: $$normal text_{your subscript text}$$ Place all characters inside brackets
– TheD0ubleT
Dec 3 '18 at 8:59
Fancy, thanks!!
– ming
Dec 3 '18 at 9:40
Argh I don't know how to make more than one character go in a subscript can someone help me out? Thanks!
– ming
Dec 3 '18 at 8:52
Argh I don't know how to make more than one character go in a subscript can someone help me out? Thanks!
– ming
Dec 3 '18 at 8:52
to make multiple subscript charachters you can do : normal text_{your subscript text} which gives: $$normal text_{your subscript text}$$ Place all characters inside brackets
– TheD0ubleT
Dec 3 '18 at 8:59
to make multiple subscript charachters you can do : normal text_{your subscript text} which gives: $$normal text_{your subscript text}$$ Place all characters inside brackets
– TheD0ubleT
Dec 3 '18 at 8:59
Fancy, thanks!!
– ming
Dec 3 '18 at 9:40
Fancy, thanks!!
– ming
Dec 3 '18 at 9:40
add a comment |
1 Answer
1
active
oldest
votes
You might want to look into : Solving homogeneous linear recurrence relations with constant coefficients.
We can easily find the solutions for this kind of linear recurrence relation:
If $x^2-ax-b = 0$ has 2 real solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=A*r_1^n + B*r_2^n$
If $x^2-ax-b = 0$ has 1 real solution $r$ then the sequence looks like : $u_n=(n*A+B)*r^n $
If $x^2-ax-b = 0$ has 2 complex solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=|r|^n*(Acos(ntheta)+Bsin(ntheta))$ with $theta = arg(r)$
As you can see there is always r^n which prevents linear sequences like $1,2,3,4,5...$ (except if $r = 1$)
In that case your characteristic polynomial looks like $(r-1)^2=0$, thus your recursive relation looks like $u_n=2u_{n-1}-u_{n-2}$
Also, you'll need $A = 1$ and $B = 0$.
that means $u_0=0$ and $u_1=1$
Note: I can make a more in depth answer but is is very well described in the article i have linked
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3023803%2fhow-can-i-tell-if-a-sequence-can-be-a-recursive-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
You might want to look into : Solving homogeneous linear recurrence relations with constant coefficients.
We can easily find the solutions for this kind of linear recurrence relation:
If $x^2-ax-b = 0$ has 2 real solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=A*r_1^n + B*r_2^n$
If $x^2-ax-b = 0$ has 1 real solution $r$ then the sequence looks like : $u_n=(n*A+B)*r^n $
If $x^2-ax-b = 0$ has 2 complex solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=|r|^n*(Acos(ntheta)+Bsin(ntheta))$ with $theta = arg(r)$
As you can see there is always r^n which prevents linear sequences like $1,2,3,4,5...$ (except if $r = 1$)
In that case your characteristic polynomial looks like $(r-1)^2=0$, thus your recursive relation looks like $u_n=2u_{n-1}-u_{n-2}$
Also, you'll need $A = 1$ and $B = 0$.
that means $u_0=0$ and $u_1=1$
Note: I can make a more in depth answer but is is very well described in the article i have linked
add a comment |
You might want to look into : Solving homogeneous linear recurrence relations with constant coefficients.
We can easily find the solutions for this kind of linear recurrence relation:
If $x^2-ax-b = 0$ has 2 real solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=A*r_1^n + B*r_2^n$
If $x^2-ax-b = 0$ has 1 real solution $r$ then the sequence looks like : $u_n=(n*A+B)*r^n $
If $x^2-ax-b = 0$ has 2 complex solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=|r|^n*(Acos(ntheta)+Bsin(ntheta))$ with $theta = arg(r)$
As you can see there is always r^n which prevents linear sequences like $1,2,3,4,5...$ (except if $r = 1$)
In that case your characteristic polynomial looks like $(r-1)^2=0$, thus your recursive relation looks like $u_n=2u_{n-1}-u_{n-2}$
Also, you'll need $A = 1$ and $B = 0$.
that means $u_0=0$ and $u_1=1$
Note: I can make a more in depth answer but is is very well described in the article i have linked
add a comment |
You might want to look into : Solving homogeneous linear recurrence relations with constant coefficients.
We can easily find the solutions for this kind of linear recurrence relation:
If $x^2-ax-b = 0$ has 2 real solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=A*r_1^n + B*r_2^n$
If $x^2-ax-b = 0$ has 1 real solution $r$ then the sequence looks like : $u_n=(n*A+B)*r^n $
If $x^2-ax-b = 0$ has 2 complex solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=|r|^n*(Acos(ntheta)+Bsin(ntheta))$ with $theta = arg(r)$
As you can see there is always r^n which prevents linear sequences like $1,2,3,4,5...$ (except if $r = 1$)
In that case your characteristic polynomial looks like $(r-1)^2=0$, thus your recursive relation looks like $u_n=2u_{n-1}-u_{n-2}$
Also, you'll need $A = 1$ and $B = 0$.
that means $u_0=0$ and $u_1=1$
Note: I can make a more in depth answer but is is very well described in the article i have linked
You might want to look into : Solving homogeneous linear recurrence relations with constant coefficients.
We can easily find the solutions for this kind of linear recurrence relation:
If $x^2-ax-b = 0$ has 2 real solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=A*r_1^n + B*r_2^n$
If $x^2-ax-b = 0$ has 1 real solution $r$ then the sequence looks like : $u_n=(n*A+B)*r^n $
If $x^2-ax-b = 0$ has 2 complex solutions $r_1$ and $r_2$ then the sequence looks like : $u_n=|r|^n*(Acos(ntheta)+Bsin(ntheta))$ with $theta = arg(r)$
As you can see there is always r^n which prevents linear sequences like $1,2,3,4,5...$ (except if $r = 1$)
In that case your characteristic polynomial looks like $(r-1)^2=0$, thus your recursive relation looks like $u_n=2u_{n-1}-u_{n-2}$
Also, you'll need $A = 1$ and $B = 0$.
that means $u_0=0$ and $u_1=1$
Note: I can make a more in depth answer but is is very well described in the article i have linked
answered Dec 3 '18 at 9:44
TheD0ubleT
39218
39218
add a comment |
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3023803%2fhow-can-i-tell-if-a-sequence-can-be-a-recursive-sequence%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Argh I don't know how to make more than one character go in a subscript can someone help me out? Thanks!
– ming
Dec 3 '18 at 8:52
to make multiple subscript charachters you can do : normal text_{your subscript text} which gives: $$normal text_{your subscript text}$$ Place all characters inside brackets
– TheD0ubleT
Dec 3 '18 at 8:59
Fancy, thanks!!
– ming
Dec 3 '18 at 9:40