How to find the closed form of the recursive equation, if 2 of the 3 roots of the characteristic equation are...
$begingroup$
The given recursive equation is $$f(n) = f(n-1) + 3f(n-3) + 2n$$
The characteristic equation for $$f(n) = f(n-1) - 3f(n-3)$$ is $r^3 - r^2 - 3 = 0$, which has $2$ imaginary roots and $1$ real root whose approximate value is $1.8637$
The linear part is $2n$ and $f(n)$ can be transformed into a linear equation using the form $f(n) = cn + d$, where $c$ and $d$ are constants.
I am not sure about how to handle the cubic characteristic equation with $1$ real root. According to me, the solution to recursive part should be of the form $$(a_1 + a_2n + a_3n^2)times(1.8637)^n$$
$a_1, a_2, a_3$ can be found out using the initial conditions of the recursion. But this gives me a wrong answer.
$1.8637$ is the real root of the characteristic equation.
closed-form recursion
$endgroup$
add a comment |
$begingroup$
The given recursive equation is $$f(n) = f(n-1) + 3f(n-3) + 2n$$
The characteristic equation for $$f(n) = f(n-1) - 3f(n-3)$$ is $r^3 - r^2 - 3 = 0$, which has $2$ imaginary roots and $1$ real root whose approximate value is $1.8637$
The linear part is $2n$ and $f(n)$ can be transformed into a linear equation using the form $f(n) = cn + d$, where $c$ and $d$ are constants.
I am not sure about how to handle the cubic characteristic equation with $1$ real root. According to me, the solution to recursive part should be of the form $$(a_1 + a_2n + a_3n^2)times(1.8637)^n$$
$a_1, a_2, a_3$ can be found out using the initial conditions of the recursion. But this gives me a wrong answer.
$1.8637$ is the real root of the characteristic equation.
closed-form recursion
$endgroup$
add a comment |
$begingroup$
The given recursive equation is $$f(n) = f(n-1) + 3f(n-3) + 2n$$
The characteristic equation for $$f(n) = f(n-1) - 3f(n-3)$$ is $r^3 - r^2 - 3 = 0$, which has $2$ imaginary roots and $1$ real root whose approximate value is $1.8637$
The linear part is $2n$ and $f(n)$ can be transformed into a linear equation using the form $f(n) = cn + d$, where $c$ and $d$ are constants.
I am not sure about how to handle the cubic characteristic equation with $1$ real root. According to me, the solution to recursive part should be of the form $$(a_1 + a_2n + a_3n^2)times(1.8637)^n$$
$a_1, a_2, a_3$ can be found out using the initial conditions of the recursion. But this gives me a wrong answer.
$1.8637$ is the real root of the characteristic equation.
closed-form recursion
$endgroup$
The given recursive equation is $$f(n) = f(n-1) + 3f(n-3) + 2n$$
The characteristic equation for $$f(n) = f(n-1) - 3f(n-3)$$ is $r^3 - r^2 - 3 = 0$, which has $2$ imaginary roots and $1$ real root whose approximate value is $1.8637$
The linear part is $2n$ and $f(n)$ can be transformed into a linear equation using the form $f(n) = cn + d$, where $c$ and $d$ are constants.
I am not sure about how to handle the cubic characteristic equation with $1$ real root. According to me, the solution to recursive part should be of the form $$(a_1 + a_2n + a_3n^2)times(1.8637)^n$$
$a_1, a_2, a_3$ can be found out using the initial conditions of the recursion. But this gives me a wrong answer.
$1.8637$ is the real root of the characteristic equation.
closed-form recursion
closed-form recursion
edited Jan 18 at 10:49
lioness99a
3,8362727
3,8362727
asked Jan 18 at 9:51


Arnav KaushikArnav Kaushik
62
62
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
You can't ignore the complex roots. Take, for instance, $g(n) = -g(n-2)$, with the characteristic equation $r^2 + 1 = 0$. The general solution to this recursion is $g(n) = a_1i^n + a_2(-i)^n$. If $g(0)$ and $g(1)$ happen to be real (so that the entire sequence is real), then that just forces $a_1$ and $a_2$ to be just so that the imaginary part of $a_1i^n$ and the imaginary part of $a_2(-i)^n$ cancel. This $(a_1 + a_2n + a_3n^2)$ business is what you do if you have a multiple root.
With that in mind, the general solution to (the homogenous part of) your recursion is
$$
f(n) = a_1r_1^n + a_2r_2^n + a_3r_3^n
$$
where $r_1, r_2, r_3$ are the three distinct roots to the characteristic equation.
$endgroup$
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%2f3078034%2fhow-to-find-the-closed-form-of-the-recursive-equation-if-2-of-the-3-roots-of-th%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
$begingroup$
You can't ignore the complex roots. Take, for instance, $g(n) = -g(n-2)$, with the characteristic equation $r^2 + 1 = 0$. The general solution to this recursion is $g(n) = a_1i^n + a_2(-i)^n$. If $g(0)$ and $g(1)$ happen to be real (so that the entire sequence is real), then that just forces $a_1$ and $a_2$ to be just so that the imaginary part of $a_1i^n$ and the imaginary part of $a_2(-i)^n$ cancel. This $(a_1 + a_2n + a_3n^2)$ business is what you do if you have a multiple root.
With that in mind, the general solution to (the homogenous part of) your recursion is
$$
f(n) = a_1r_1^n + a_2r_2^n + a_3r_3^n
$$
where $r_1, r_2, r_3$ are the three distinct roots to the characteristic equation.
$endgroup$
add a comment |
$begingroup$
You can't ignore the complex roots. Take, for instance, $g(n) = -g(n-2)$, with the characteristic equation $r^2 + 1 = 0$. The general solution to this recursion is $g(n) = a_1i^n + a_2(-i)^n$. If $g(0)$ and $g(1)$ happen to be real (so that the entire sequence is real), then that just forces $a_1$ and $a_2$ to be just so that the imaginary part of $a_1i^n$ and the imaginary part of $a_2(-i)^n$ cancel. This $(a_1 + a_2n + a_3n^2)$ business is what you do if you have a multiple root.
With that in mind, the general solution to (the homogenous part of) your recursion is
$$
f(n) = a_1r_1^n + a_2r_2^n + a_3r_3^n
$$
where $r_1, r_2, r_3$ are the three distinct roots to the characteristic equation.
$endgroup$
add a comment |
$begingroup$
You can't ignore the complex roots. Take, for instance, $g(n) = -g(n-2)$, with the characteristic equation $r^2 + 1 = 0$. The general solution to this recursion is $g(n) = a_1i^n + a_2(-i)^n$. If $g(0)$ and $g(1)$ happen to be real (so that the entire sequence is real), then that just forces $a_1$ and $a_2$ to be just so that the imaginary part of $a_1i^n$ and the imaginary part of $a_2(-i)^n$ cancel. This $(a_1 + a_2n + a_3n^2)$ business is what you do if you have a multiple root.
With that in mind, the general solution to (the homogenous part of) your recursion is
$$
f(n) = a_1r_1^n + a_2r_2^n + a_3r_3^n
$$
where $r_1, r_2, r_3$ are the three distinct roots to the characteristic equation.
$endgroup$
You can't ignore the complex roots. Take, for instance, $g(n) = -g(n-2)$, with the characteristic equation $r^2 + 1 = 0$. The general solution to this recursion is $g(n) = a_1i^n + a_2(-i)^n$. If $g(0)$ and $g(1)$ happen to be real (so that the entire sequence is real), then that just forces $a_1$ and $a_2$ to be just so that the imaginary part of $a_1i^n$ and the imaginary part of $a_2(-i)^n$ cancel. This $(a_1 + a_2n + a_3n^2)$ business is what you do if you have a multiple root.
With that in mind, the general solution to (the homogenous part of) your recursion is
$$
f(n) = a_1r_1^n + a_2r_2^n + a_3r_3^n
$$
where $r_1, r_2, r_3$ are the three distinct roots to the characteristic equation.
answered Jan 18 at 9:59


ArthurArthur
116k7116199
116k7116199
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.
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%2f3078034%2fhow-to-find-the-closed-form-of-the-recursive-equation-if-2-of-the-3-roots-of-th%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