Finding the general formula for a sequence: Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Finding the general formula $a_n$ for $a_n = frac12a_n-1 + 2a_n-2$Another quick induction question for a recursively defined sequence (with closed form formula given)Finding a closed-form formula for a sequence that is defined recursivelyFinding the formula for nth term of a sequenceSolve recurrence by generating functionsHow to find the general formula for this recursive problem?Find an explicit formula for a sequenceIterated sequence - general formulaFinding a closed form formula for a recursive sequence.What is the explicit formula for the general term of the sequence?
How discoverable are IPv6 addresses and AAAA names by potential attackers?
Is the Standard Deduction better than Itemized when both are the same amount?
Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?
If 'B is more likely given A', then 'A is more likely given B'
What is a Meta algorithm?
Does surprise arrest existing movement?
Did Kevin spill real chili?
How to find all the available tools in macOS terminal?
Doubts about chords
How to deal with a team lead who never gives me credit?
Why is "Consequences inflicted." not a sentence?
Difference between these two cards?
The logistics of corpse disposal
Why does Python start at index -1 when indexing a list from the end?
Can a non-EU citizen traveling with me come with me through the EU passport line?
Is there a documented rationale why the House Ways and Means chairman can demand tax info?
What is this single-engine low-wing propeller plane?
Is it true to say that an hosting provider's DNS server is what links the entire hosting environment to ICANN?
What do you call a plan that's an alternative plan in case your initial plan fails?
Letter Boxed validator
Using et al. for a last / senior author rather than for a first author
Do I really need recursive chmod to restrict access to a folder?
How widely used is the term Treppenwitz? Is it something that most Germans know?
Single word antonym of "flightless"
Finding the general formula for a sequence:
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Finding the general formula $a_n$ for $a_n = frac12a_n-1 + 2a_n-2$Another quick induction question for a recursively defined sequence (with closed form formula given)Finding a closed-form formula for a sequence that is defined recursivelyFinding the formula for nth term of a sequenceSolve recurrence by generating functionsHow to find the general formula for this recursive problem?Find an explicit formula for a sequenceIterated sequence - general formulaFinding a closed form formula for a recursive sequence.What is the explicit formula for the general term of the sequence?
$begingroup$
I have a sequence:
$a_0 = 0; a_1 = 4; a_2 = 9; a_n = 4a_n-1 - 5a_n-2 + 2a_n-3$
I want to find the general formula.
sequences-and-series combinatorics discrete-mathematics recurrence-relations characteristic-functions
$endgroup$
add a comment |
$begingroup$
I have a sequence:
$a_0 = 0; a_1 = 4; a_2 = 9; a_n = 4a_n-1 - 5a_n-2 + 2a_n-3$
I want to find the general formula.
sequences-and-series combinatorics discrete-mathematics recurrence-relations characteristic-functions
$endgroup$
2
$begingroup$
Are you familiar with the standard methods of solving such recursions (such as characteristic polynomials)? If you are, this is a standard example. If you are not, this is a good introduction.
$endgroup$
– lulu
Apr 1 at 0:41
2
$begingroup$
I believe your computations for the sequence start to go wrong at $84$.
$endgroup$
– amd
Apr 1 at 1:22
1
$begingroup$
I agree with @amd; I got 81 instead of 84
$endgroup$
– J. W. Tanner
Apr 1 at 1:36
add a comment |
$begingroup$
I have a sequence:
$a_0 = 0; a_1 = 4; a_2 = 9; a_n = 4a_n-1 - 5a_n-2 + 2a_n-3$
I want to find the general formula.
sequences-and-series combinatorics discrete-mathematics recurrence-relations characteristic-functions
$endgroup$
I have a sequence:
$a_0 = 0; a_1 = 4; a_2 = 9; a_n = 4a_n-1 - 5a_n-2 + 2a_n-3$
I want to find the general formula.
sequences-and-series combinatorics discrete-mathematics recurrence-relations characteristic-functions
sequences-and-series combinatorics discrete-mathematics recurrence-relations characteristic-functions
edited Apr 4 at 11:31
J. Lastin
asked Apr 1 at 0:38
J. LastinJ. Lastin
12412
12412
2
$begingroup$
Are you familiar with the standard methods of solving such recursions (such as characteristic polynomials)? If you are, this is a standard example. If you are not, this is a good introduction.
$endgroup$
– lulu
Apr 1 at 0:41
2
$begingroup$
I believe your computations for the sequence start to go wrong at $84$.
$endgroup$
– amd
Apr 1 at 1:22
1
$begingroup$
I agree with @amd; I got 81 instead of 84
$endgroup$
– J. W. Tanner
Apr 1 at 1:36
add a comment |
2
$begingroup$
Are you familiar with the standard methods of solving such recursions (such as characteristic polynomials)? If you are, this is a standard example. If you are not, this is a good introduction.
$endgroup$
– lulu
Apr 1 at 0:41
2
$begingroup$
I believe your computations for the sequence start to go wrong at $84$.
$endgroup$
– amd
Apr 1 at 1:22
1
$begingroup$
I agree with @amd; I got 81 instead of 84
$endgroup$
– J. W. Tanner
Apr 1 at 1:36
2
2
$begingroup$
Are you familiar with the standard methods of solving such recursions (such as characteristic polynomials)? If you are, this is a standard example. If you are not, this is a good introduction.
$endgroup$
– lulu
Apr 1 at 0:41
$begingroup$
Are you familiar with the standard methods of solving such recursions (such as characteristic polynomials)? If you are, this is a standard example. If you are not, this is a good introduction.
$endgroup$
– lulu
Apr 1 at 0:41
2
2
$begingroup$
I believe your computations for the sequence start to go wrong at $84$.
$endgroup$
– amd
Apr 1 at 1:22
$begingroup$
I believe your computations for the sequence start to go wrong at $84$.
$endgroup$
– amd
Apr 1 at 1:22
1
1
$begingroup$
I agree with @amd; I got 81 instead of 84
$endgroup$
– J. W. Tanner
Apr 1 at 1:36
$begingroup$
I agree with @amd; I got 81 instead of 84
$endgroup$
– J. W. Tanner
Apr 1 at 1:36
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
These are called linear difference equations. Solve the characteristic equation and use the initial values to find the appropriate constants. After, working it out, the solution to your problem is $2^n+3n-1$.
$endgroup$
add a comment |
$begingroup$
HINT: Note that for all $ninBbbN$ you have
$$beginpmatrixa_n+3\ a_n+2\ a_n+1endpmatrix
=beginpmatrix4&-5&2\1&0&0\0&1&0endpmatrix
beginpmatrixa_n+2\ a_n+1\ a_nendpmatrix.$$
$endgroup$
add a comment |
$begingroup$
$lambda^n = 4lambda^n-1 - 5lambda^n-2 + 2lambda^n-3$
$lambda^3 - 4lambda^2 + 5lambda - 2 = (lambda - 2)(lambda -1)^2$
$lambda_1 = 2; lambda_2,3 = 1$
$a_n = alpha(lambda_1)^n + beta(lambda_2)^n + gammacdot n(lambda_3)^n$
$a_0 = 0 = alpha + beta$
$a_1 = 4 = 2alpha +beta +gamma$
$a_2 = 9 = 4alpha +beta +2gamma$
$alpha = 1; beta = -1; gamma = 3$
$a_n = 2^n +3n - 1$
$endgroup$
add a comment |
Your Answer
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%2f3170067%2ffinding-the-general-formula-for-a-sequence%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
These are called linear difference equations. Solve the characteristic equation and use the initial values to find the appropriate constants. After, working it out, the solution to your problem is $2^n+3n-1$.
$endgroup$
add a comment |
$begingroup$
These are called linear difference equations. Solve the characteristic equation and use the initial values to find the appropriate constants. After, working it out, the solution to your problem is $2^n+3n-1$.
$endgroup$
add a comment |
$begingroup$
These are called linear difference equations. Solve the characteristic equation and use the initial values to find the appropriate constants. After, working it out, the solution to your problem is $2^n+3n-1$.
$endgroup$
These are called linear difference equations. Solve the characteristic equation and use the initial values to find the appropriate constants. After, working it out, the solution to your problem is $2^n+3n-1$.
answered Apr 1 at 6:37
Geethu JosephGeethu Joseph
3358
3358
add a comment |
add a comment |
$begingroup$
HINT: Note that for all $ninBbbN$ you have
$$beginpmatrixa_n+3\ a_n+2\ a_n+1endpmatrix
=beginpmatrix4&-5&2\1&0&0\0&1&0endpmatrix
beginpmatrixa_n+2\ a_n+1\ a_nendpmatrix.$$
$endgroup$
add a comment |
$begingroup$
HINT: Note that for all $ninBbbN$ you have
$$beginpmatrixa_n+3\ a_n+2\ a_n+1endpmatrix
=beginpmatrix4&-5&2\1&0&0\0&1&0endpmatrix
beginpmatrixa_n+2\ a_n+1\ a_nendpmatrix.$$
$endgroup$
add a comment |
$begingroup$
HINT: Note that for all $ninBbbN$ you have
$$beginpmatrixa_n+3\ a_n+2\ a_n+1endpmatrix
=beginpmatrix4&-5&2\1&0&0\0&1&0endpmatrix
beginpmatrixa_n+2\ a_n+1\ a_nendpmatrix.$$
$endgroup$
HINT: Note that for all $ninBbbN$ you have
$$beginpmatrixa_n+3\ a_n+2\ a_n+1endpmatrix
=beginpmatrix4&-5&2\1&0&0\0&1&0endpmatrix
beginpmatrixa_n+2\ a_n+1\ a_nendpmatrix.$$
answered Apr 1 at 2:26
ServaesServaes
30.6k342101
30.6k342101
add a comment |
add a comment |
$begingroup$
$lambda^n = 4lambda^n-1 - 5lambda^n-2 + 2lambda^n-3$
$lambda^3 - 4lambda^2 + 5lambda - 2 = (lambda - 2)(lambda -1)^2$
$lambda_1 = 2; lambda_2,3 = 1$
$a_n = alpha(lambda_1)^n + beta(lambda_2)^n + gammacdot n(lambda_3)^n$
$a_0 = 0 = alpha + beta$
$a_1 = 4 = 2alpha +beta +gamma$
$a_2 = 9 = 4alpha +beta +2gamma$
$alpha = 1; beta = -1; gamma = 3$
$a_n = 2^n +3n - 1$
$endgroup$
add a comment |
$begingroup$
$lambda^n = 4lambda^n-1 - 5lambda^n-2 + 2lambda^n-3$
$lambda^3 - 4lambda^2 + 5lambda - 2 = (lambda - 2)(lambda -1)^2$
$lambda_1 = 2; lambda_2,3 = 1$
$a_n = alpha(lambda_1)^n + beta(lambda_2)^n + gammacdot n(lambda_3)^n$
$a_0 = 0 = alpha + beta$
$a_1 = 4 = 2alpha +beta +gamma$
$a_2 = 9 = 4alpha +beta +2gamma$
$alpha = 1; beta = -1; gamma = 3$
$a_n = 2^n +3n - 1$
$endgroup$
add a comment |
$begingroup$
$lambda^n = 4lambda^n-1 - 5lambda^n-2 + 2lambda^n-3$
$lambda^3 - 4lambda^2 + 5lambda - 2 = (lambda - 2)(lambda -1)^2$
$lambda_1 = 2; lambda_2,3 = 1$
$a_n = alpha(lambda_1)^n + beta(lambda_2)^n + gammacdot n(lambda_3)^n$
$a_0 = 0 = alpha + beta$
$a_1 = 4 = 2alpha +beta +gamma$
$a_2 = 9 = 4alpha +beta +2gamma$
$alpha = 1; beta = -1; gamma = 3$
$a_n = 2^n +3n - 1$
$endgroup$
$lambda^n = 4lambda^n-1 - 5lambda^n-2 + 2lambda^n-3$
$lambda^3 - 4lambda^2 + 5lambda - 2 = (lambda - 2)(lambda -1)^2$
$lambda_1 = 2; lambda_2,3 = 1$
$a_n = alpha(lambda_1)^n + beta(lambda_2)^n + gammacdot n(lambda_3)^n$
$a_0 = 0 = alpha + beta$
$a_1 = 4 = 2alpha +beta +gamma$
$a_2 = 9 = 4alpha +beta +2gamma$
$alpha = 1; beta = -1; gamma = 3$
$a_n = 2^n +3n - 1$
answered Apr 4 at 11:32
J. LastinJ. Lastin
12412
12412
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%2f3170067%2ffinding-the-general-formula-for-a-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
2
$begingroup$
Are you familiar with the standard methods of solving such recursions (such as characteristic polynomials)? If you are, this is a standard example. If you are not, this is a good introduction.
$endgroup$
– lulu
Apr 1 at 0:41
2
$begingroup$
I believe your computations for the sequence start to go wrong at $84$.
$endgroup$
– amd
Apr 1 at 1:22
1
$begingroup$
I agree with @amd; I got 81 instead of 84
$endgroup$
– J. W. Tanner
Apr 1 at 1:36