Recurrence relation $a_n+1=a_n+(b-a_n)cdot x$Let the sequence be defined recursively $X_n+1=pX_n+q$ for p nonzero and $X_1$ arbitrary. In what conditions does the sequence converge?Solving the recurrence relation $a_n = fracg1-ga_n-1$Solving a recurrence relation, $a_n = sqrtn(n+1)a_n-1 + n!(n+1)^3/2$recurrence relation related problemsWhy does this recurrence relation generate a sinusoidal curve?Linear Homogeneous Recurrence Relations and Inhomogenous Recurrence RelationsAmateur Math and a Linear Recurrence RelationSolving recurrence relation $f(n) = f(lfloorsqrt nrfloor) + 1; f(1) = 1, f(2) = 1$Recurrence with Polynomial Coefficients of $n$Solve complexity of recurrence relationSolving recurrence relation $a_n=3a_n-1-2a_n-2+2^n$
When a wind turbine does not produce enough electricity how does the power company compensate for the loss?
What do you call someone who likes to pick fights?
Is divide-by-zero a security vulnerability?
For which categories of spectra is there an explicit description of the fibrant objects via lifting properties?
Does a difference of tense count as a difference of meaning in a minimal pair?
What can I do if someone tampers with my SSH public key?
Is it a Cyclops number? "Nobody" knows!
Why do we say ‘pairwise disjoint’, rather than ‘disjoint’?
How to resolve: Reviewer #1 says remove section X vs. Reviewer #2 says expand section X
Doesn't allowing a user mode program to access kernel space memory and execute the IN and OUT instructions defeat the purpose of having CPU modes?
Are small insurances worth it?
Did Amazon pay $0 in taxes last year?
What are some noteworthy "mic-drop" moments in math?
Street obstacles in New Zealand
Why do phishing e-mails use faked e-mail addresses instead of the real one?
Can one live in the U.S. and not use a credit card?
Which classes are needed to have access to every spell in the PHB?
Does an unused member variable take up memory?
Signed and unsigned numbers
Plausibility of Mushroom Buildings
Specifying a starting column with colortbl package and xcolor
Trig Subsitution When There's No Square Root
Windows Server Datacenter Edition - Unlimited Virtual Machines
Why couldn't the separatists legally leave the Republic?
Recurrence relation $a_n+1=a_n+(b-a_n)cdot x$
Let the sequence be defined recursively $X_n+1=pX_n+q$ for p nonzero and $X_1$ arbitrary. In what conditions does the sequence converge?Solving the recurrence relation $a_n = fracg1-ga_n-1$Solving a recurrence relation, $a_n = sqrtn(n+1)a_n-1 + n!(n+1)^3/2$recurrence relation related problemsWhy does this recurrence relation generate a sinusoidal curve?Linear Homogeneous Recurrence Relations and Inhomogenous Recurrence RelationsAmateur Math and a Linear Recurrence RelationSolving recurrence relation $f(n) = f(lfloorsqrt nrfloor) + 1; f(1) = 1, f(2) = 1$Recurrence with Polynomial Coefficients of $n$Solve complexity of recurrence relationSolving recurrence relation $a_n=3a_n-1-2a_n-2+2^n$
$begingroup$
I'd like to know how to find a general term for this recurrence:
$$a_n+1=a_n+(b-a_n)cdot x, textwhere b, x are positive constants$$
Background:
Linear interpolation equation for a starting point $a$ and ending point $b$ looks like this: $f(x)=(b-a)cdot x$. I assume $x in [0, 1]$. So for $x=1$ we are at the point $b$.
It is used in computer graphics to move things around :) Very often the parameters of the function are swaped, $x$ becomes constant and $a$ is taken from the previous iteration of a recursion. It gives an effect of homographic-function-like approaching to $b$ (there is a horizontal asymptote in $b$).
I want to find an exact solution for $a_n$. If I'm correct the relation is a following recurrence:
$$a_n+1=a_n+(b-a_n)cdot x$$
I'm curious about the method to get the solution. Wolfram alpha gave me $$a(n)=c_1(1-x)^n-1-b(1-x)^n+b$$
sequences-and-series discrete-mathematics recurrence-relations
$endgroup$
|
show 2 more comments
$begingroup$
I'd like to know how to find a general term for this recurrence:
$$a_n+1=a_n+(b-a_n)cdot x, textwhere b, x are positive constants$$
Background:
Linear interpolation equation for a starting point $a$ and ending point $b$ looks like this: $f(x)=(b-a)cdot x$. I assume $x in [0, 1]$. So for $x=1$ we are at the point $b$.
It is used in computer graphics to move things around :) Very often the parameters of the function are swaped, $x$ becomes constant and $a$ is taken from the previous iteration of a recursion. It gives an effect of homographic-function-like approaching to $b$ (there is a horizontal asymptote in $b$).
I want to find an exact solution for $a_n$. If I'm correct the relation is a following recurrence:
$$a_n+1=a_n+(b-a_n)cdot x$$
I'm curious about the method to get the solution. Wolfram alpha gave me $$a(n)=c_1(1-x)^n-1-b(1-x)^n+b$$
sequences-and-series discrete-mathematics recurrence-relations
$endgroup$
1
$begingroup$
Note that $a_n = -qa_n-1 + kq$. This is a linear, nonhomogenous recurrence relation, for which there are general methods to solve it. Some are done in this video - youtube.com/watch?v=EfF_XSEX1Sk. If you would like more specific help, you should edit your OP to include the relevant details - including context, what you know, your attempts at the problem, and what exactly is giving you trouble. (MSE dislikes being used as a site where people just expect us to give solutions to your homework and as posted this question looks exactly like that kind of scenario.)
$endgroup$
– Eevee Trainer
yesterday
$begingroup$
Okay, thank you for your tip. I'm writing the context right now.
$endgroup$
– LukeN
yesterday
$begingroup$
Try this here $$a_n=c_1 (-q)^n-1+frack q left(1-(-q)^nright)q+1$$
$endgroup$
– Dr. Sonnhard Graubner
yesterday
3
$begingroup$
@Dr.SonnhardGraubner The solution doesn't help if the OP wants to know how to get there.
$endgroup$
– Toby Mak
yesterday
1
$begingroup$
Seems alright. At least it seems to sufficiently establish from the context that you're not exactly familiar with solving recurrence relations. I maintain that the video I linked would still be a good resource for the general method though, or whatever results you can dig up for solving (non)homogenous linear recurrences (might be a bit of a trawl if you're not familiar with them and depending on how much you need to learn). If I'm feeling up to it (and remember) and no one else has, I might present a write-up specific to this example tomorrow, but for now it's 5 AM for me so I should sleep :p
$endgroup$
– Eevee Trainer
yesterday
|
show 2 more comments
$begingroup$
I'd like to know how to find a general term for this recurrence:
$$a_n+1=a_n+(b-a_n)cdot x, textwhere b, x are positive constants$$
Background:
Linear interpolation equation for a starting point $a$ and ending point $b$ looks like this: $f(x)=(b-a)cdot x$. I assume $x in [0, 1]$. So for $x=1$ we are at the point $b$.
It is used in computer graphics to move things around :) Very often the parameters of the function are swaped, $x$ becomes constant and $a$ is taken from the previous iteration of a recursion. It gives an effect of homographic-function-like approaching to $b$ (there is a horizontal asymptote in $b$).
I want to find an exact solution for $a_n$. If I'm correct the relation is a following recurrence:
$$a_n+1=a_n+(b-a_n)cdot x$$
I'm curious about the method to get the solution. Wolfram alpha gave me $$a(n)=c_1(1-x)^n-1-b(1-x)^n+b$$
sequences-and-series discrete-mathematics recurrence-relations
$endgroup$
I'd like to know how to find a general term for this recurrence:
$$a_n+1=a_n+(b-a_n)cdot x, textwhere b, x are positive constants$$
Background:
Linear interpolation equation for a starting point $a$ and ending point $b$ looks like this: $f(x)=(b-a)cdot x$. I assume $x in [0, 1]$. So for $x=1$ we are at the point $b$.
It is used in computer graphics to move things around :) Very often the parameters of the function are swaped, $x$ becomes constant and $a$ is taken from the previous iteration of a recursion. It gives an effect of homographic-function-like approaching to $b$ (there is a horizontal asymptote in $b$).
I want to find an exact solution for $a_n$. If I'm correct the relation is a following recurrence:
$$a_n+1=a_n+(b-a_n)cdot x$$
I'm curious about the method to get the solution. Wolfram alpha gave me $$a(n)=c_1(1-x)^n-1-b(1-x)^n+b$$
sequences-and-series discrete-mathematics recurrence-relations
sequences-and-series discrete-mathematics recurrence-relations
edited yesterday
rtybase
11.4k31533
11.4k31533
asked yesterday
LukeNLukeN
286
286
1
$begingroup$
Note that $a_n = -qa_n-1 + kq$. This is a linear, nonhomogenous recurrence relation, for which there are general methods to solve it. Some are done in this video - youtube.com/watch?v=EfF_XSEX1Sk. If you would like more specific help, you should edit your OP to include the relevant details - including context, what you know, your attempts at the problem, and what exactly is giving you trouble. (MSE dislikes being used as a site where people just expect us to give solutions to your homework and as posted this question looks exactly like that kind of scenario.)
$endgroup$
– Eevee Trainer
yesterday
$begingroup$
Okay, thank you for your tip. I'm writing the context right now.
$endgroup$
– LukeN
yesterday
$begingroup$
Try this here $$a_n=c_1 (-q)^n-1+frack q left(1-(-q)^nright)q+1$$
$endgroup$
– Dr. Sonnhard Graubner
yesterday
3
$begingroup$
@Dr.SonnhardGraubner The solution doesn't help if the OP wants to know how to get there.
$endgroup$
– Toby Mak
yesterday
1
$begingroup$
Seems alright. At least it seems to sufficiently establish from the context that you're not exactly familiar with solving recurrence relations. I maintain that the video I linked would still be a good resource for the general method though, or whatever results you can dig up for solving (non)homogenous linear recurrences (might be a bit of a trawl if you're not familiar with them and depending on how much you need to learn). If I'm feeling up to it (and remember) and no one else has, I might present a write-up specific to this example tomorrow, but for now it's 5 AM for me so I should sleep :p
$endgroup$
– Eevee Trainer
yesterday
|
show 2 more comments
1
$begingroup$
Note that $a_n = -qa_n-1 + kq$. This is a linear, nonhomogenous recurrence relation, for which there are general methods to solve it. Some are done in this video - youtube.com/watch?v=EfF_XSEX1Sk. If you would like more specific help, you should edit your OP to include the relevant details - including context, what you know, your attempts at the problem, and what exactly is giving you trouble. (MSE dislikes being used as a site where people just expect us to give solutions to your homework and as posted this question looks exactly like that kind of scenario.)
$endgroup$
– Eevee Trainer
yesterday
$begingroup$
Okay, thank you for your tip. I'm writing the context right now.
$endgroup$
– LukeN
yesterday
$begingroup$
Try this here $$a_n=c_1 (-q)^n-1+frack q left(1-(-q)^nright)q+1$$
$endgroup$
– Dr. Sonnhard Graubner
yesterday
3
$begingroup$
@Dr.SonnhardGraubner The solution doesn't help if the OP wants to know how to get there.
$endgroup$
– Toby Mak
yesterday
1
$begingroup$
Seems alright. At least it seems to sufficiently establish from the context that you're not exactly familiar with solving recurrence relations. I maintain that the video I linked would still be a good resource for the general method though, or whatever results you can dig up for solving (non)homogenous linear recurrences (might be a bit of a trawl if you're not familiar with them and depending on how much you need to learn). If I'm feeling up to it (and remember) and no one else has, I might present a write-up specific to this example tomorrow, but for now it's 5 AM for me so I should sleep :p
$endgroup$
– Eevee Trainer
yesterday
1
1
$begingroup$
Note that $a_n = -qa_n-1 + kq$. This is a linear, nonhomogenous recurrence relation, for which there are general methods to solve it. Some are done in this video - youtube.com/watch?v=EfF_XSEX1Sk. If you would like more specific help, you should edit your OP to include the relevant details - including context, what you know, your attempts at the problem, and what exactly is giving you trouble. (MSE dislikes being used as a site where people just expect us to give solutions to your homework and as posted this question looks exactly like that kind of scenario.)
$endgroup$
– Eevee Trainer
yesterday
$begingroup$
Note that $a_n = -qa_n-1 + kq$. This is a linear, nonhomogenous recurrence relation, for which there are general methods to solve it. Some are done in this video - youtube.com/watch?v=EfF_XSEX1Sk. If you would like more specific help, you should edit your OP to include the relevant details - including context, what you know, your attempts at the problem, and what exactly is giving you trouble. (MSE dislikes being used as a site where people just expect us to give solutions to your homework and as posted this question looks exactly like that kind of scenario.)
$endgroup$
– Eevee Trainer
yesterday
$begingroup$
Okay, thank you for your tip. I'm writing the context right now.
$endgroup$
– LukeN
yesterday
$begingroup$
Okay, thank you for your tip. I'm writing the context right now.
$endgroup$
– LukeN
yesterday
$begingroup$
Try this here $$a_n=c_1 (-q)^n-1+frack q left(1-(-q)^nright)q+1$$
$endgroup$
– Dr. Sonnhard Graubner
yesterday
$begingroup$
Try this here $$a_n=c_1 (-q)^n-1+frack q left(1-(-q)^nright)q+1$$
$endgroup$
– Dr. Sonnhard Graubner
yesterday
3
3
$begingroup$
@Dr.SonnhardGraubner The solution doesn't help if the OP wants to know how to get there.
$endgroup$
– Toby Mak
yesterday
$begingroup$
@Dr.SonnhardGraubner The solution doesn't help if the OP wants to know how to get there.
$endgroup$
– Toby Mak
yesterday
1
1
$begingroup$
Seems alright. At least it seems to sufficiently establish from the context that you're not exactly familiar with solving recurrence relations. I maintain that the video I linked would still be a good resource for the general method though, or whatever results you can dig up for solving (non)homogenous linear recurrences (might be a bit of a trawl if you're not familiar with them and depending on how much you need to learn). If I'm feeling up to it (and remember) and no one else has, I might present a write-up specific to this example tomorrow, but for now it's 5 AM for me so I should sleep :p
$endgroup$
– Eevee Trainer
yesterday
$begingroup$
Seems alright. At least it seems to sufficiently establish from the context that you're not exactly familiar with solving recurrence relations. I maintain that the video I linked would still be a good resource for the general method though, or whatever results you can dig up for solving (non)homogenous linear recurrences (might be a bit of a trawl if you're not familiar with them and depending on how much you need to learn). If I'm feeling up to it (and remember) and no one else has, I might present a write-up specific to this example tomorrow, but for now it's 5 AM for me so I should sleep :p
$endgroup$
– Eevee Trainer
yesterday
|
show 2 more comments
2 Answers
2
active
oldest
votes
$begingroup$
This is equivalent to
$$a_n+1=(1-x)a_n+bcdot x$$
which can be solved using characteristic polynomials. In fact, you can use this ready-to-use result for
$$a_n+1=pa_n+q$$
where $p=(1-x)$ and $q=bx$. The result is
$$a_n=A+Bcdot p^n=A+Bcdot (1-x)^n$$
where $A,B$ are some constants depending on $a_0$. Further in that link
$$a_n=-fracqp-1+left(a_1+fracqp-1right)p^n-1=\
fracbxx+left(a_1-fracbxxright)(1-x)^n-1=
colorredb+left(a_1-bright)(1-x)^n-1=\
b+left((1-x)a_0+bx-bright)(1-x)^n-1=colorredb+left(a_0-bright)(1-x)^n=\
a_0(1-x)(1-x)^n-1-b(1-x)^n+b$$
where $c_1=a_0(1-x)$-constant. I don't know how Wolfram alpha decides on these constants.
$endgroup$
add a comment |
$begingroup$
This is a so-called arithmetico-geometric sequence.
Notice that
$$a_n+1-b=a_n-b+(b-a_n)x=(1-x)(a_n-b).$$
Then by induction,
$$a_n-b=(1-x)^n(a_0-b),$$
or
$$a_n=(1-x)^n(a_0-b)+b.$$
Except when $x=1$, $a_n$ tends to $b$.
$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%2f3140965%2frecurrence-relation-a-n1-a-nb-a-n-cdot-x%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
This is equivalent to
$$a_n+1=(1-x)a_n+bcdot x$$
which can be solved using characteristic polynomials. In fact, you can use this ready-to-use result for
$$a_n+1=pa_n+q$$
where $p=(1-x)$ and $q=bx$. The result is
$$a_n=A+Bcdot p^n=A+Bcdot (1-x)^n$$
where $A,B$ are some constants depending on $a_0$. Further in that link
$$a_n=-fracqp-1+left(a_1+fracqp-1right)p^n-1=\
fracbxx+left(a_1-fracbxxright)(1-x)^n-1=
colorredb+left(a_1-bright)(1-x)^n-1=\
b+left((1-x)a_0+bx-bright)(1-x)^n-1=colorredb+left(a_0-bright)(1-x)^n=\
a_0(1-x)(1-x)^n-1-b(1-x)^n+b$$
where $c_1=a_0(1-x)$-constant. I don't know how Wolfram alpha decides on these constants.
$endgroup$
add a comment |
$begingroup$
This is equivalent to
$$a_n+1=(1-x)a_n+bcdot x$$
which can be solved using characteristic polynomials. In fact, you can use this ready-to-use result for
$$a_n+1=pa_n+q$$
where $p=(1-x)$ and $q=bx$. The result is
$$a_n=A+Bcdot p^n=A+Bcdot (1-x)^n$$
where $A,B$ are some constants depending on $a_0$. Further in that link
$$a_n=-fracqp-1+left(a_1+fracqp-1right)p^n-1=\
fracbxx+left(a_1-fracbxxright)(1-x)^n-1=
colorredb+left(a_1-bright)(1-x)^n-1=\
b+left((1-x)a_0+bx-bright)(1-x)^n-1=colorredb+left(a_0-bright)(1-x)^n=\
a_0(1-x)(1-x)^n-1-b(1-x)^n+b$$
where $c_1=a_0(1-x)$-constant. I don't know how Wolfram alpha decides on these constants.
$endgroup$
add a comment |
$begingroup$
This is equivalent to
$$a_n+1=(1-x)a_n+bcdot x$$
which can be solved using characteristic polynomials. In fact, you can use this ready-to-use result for
$$a_n+1=pa_n+q$$
where $p=(1-x)$ and $q=bx$. The result is
$$a_n=A+Bcdot p^n=A+Bcdot (1-x)^n$$
where $A,B$ are some constants depending on $a_0$. Further in that link
$$a_n=-fracqp-1+left(a_1+fracqp-1right)p^n-1=\
fracbxx+left(a_1-fracbxxright)(1-x)^n-1=
colorredb+left(a_1-bright)(1-x)^n-1=\
b+left((1-x)a_0+bx-bright)(1-x)^n-1=colorredb+left(a_0-bright)(1-x)^n=\
a_0(1-x)(1-x)^n-1-b(1-x)^n+b$$
where $c_1=a_0(1-x)$-constant. I don't know how Wolfram alpha decides on these constants.
$endgroup$
This is equivalent to
$$a_n+1=(1-x)a_n+bcdot x$$
which can be solved using characteristic polynomials. In fact, you can use this ready-to-use result for
$$a_n+1=pa_n+q$$
where $p=(1-x)$ and $q=bx$. The result is
$$a_n=A+Bcdot p^n=A+Bcdot (1-x)^n$$
where $A,B$ are some constants depending on $a_0$. Further in that link
$$a_n=-fracqp-1+left(a_1+fracqp-1right)p^n-1=\
fracbxx+left(a_1-fracbxxright)(1-x)^n-1=
colorredb+left(a_1-bright)(1-x)^n-1=\
b+left((1-x)a_0+bx-bright)(1-x)^n-1=colorredb+left(a_0-bright)(1-x)^n=\
a_0(1-x)(1-x)^n-1-b(1-x)^n+b$$
where $c_1=a_0(1-x)$-constant. I don't know how Wolfram alpha decides on these constants.
edited yesterday
answered yesterday
rtybasertybase
11.4k31533
11.4k31533
add a comment |
add a comment |
$begingroup$
This is a so-called arithmetico-geometric sequence.
Notice that
$$a_n+1-b=a_n-b+(b-a_n)x=(1-x)(a_n-b).$$
Then by induction,
$$a_n-b=(1-x)^n(a_0-b),$$
or
$$a_n=(1-x)^n(a_0-b)+b.$$
Except when $x=1$, $a_n$ tends to $b$.
$endgroup$
add a comment |
$begingroup$
This is a so-called arithmetico-geometric sequence.
Notice that
$$a_n+1-b=a_n-b+(b-a_n)x=(1-x)(a_n-b).$$
Then by induction,
$$a_n-b=(1-x)^n(a_0-b),$$
or
$$a_n=(1-x)^n(a_0-b)+b.$$
Except when $x=1$, $a_n$ tends to $b$.
$endgroup$
add a comment |
$begingroup$
This is a so-called arithmetico-geometric sequence.
Notice that
$$a_n+1-b=a_n-b+(b-a_n)x=(1-x)(a_n-b).$$
Then by induction,
$$a_n-b=(1-x)^n(a_0-b),$$
or
$$a_n=(1-x)^n(a_0-b)+b.$$
Except when $x=1$, $a_n$ tends to $b$.
$endgroup$
This is a so-called arithmetico-geometric sequence.
Notice that
$$a_n+1-b=a_n-b+(b-a_n)x=(1-x)(a_n-b).$$
Then by induction,
$$a_n-b=(1-x)^n(a_0-b),$$
or
$$a_n=(1-x)^n(a_0-b)+b.$$
Except when $x=1$, $a_n$ tends to $b$.
edited yesterday
answered yesterday
Yves DaoustYves Daoust
130k676227
130k676227
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%2f3140965%2frecurrence-relation-a-n1-a-nb-a-n-cdot-x%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
1
$begingroup$
Note that $a_n = -qa_n-1 + kq$. This is a linear, nonhomogenous recurrence relation, for which there are general methods to solve it. Some are done in this video - youtube.com/watch?v=EfF_XSEX1Sk. If you would like more specific help, you should edit your OP to include the relevant details - including context, what you know, your attempts at the problem, and what exactly is giving you trouble. (MSE dislikes being used as a site where people just expect us to give solutions to your homework and as posted this question looks exactly like that kind of scenario.)
$endgroup$
– Eevee Trainer
yesterday
$begingroup$
Okay, thank you for your tip. I'm writing the context right now.
$endgroup$
– LukeN
yesterday
$begingroup$
Try this here $$a_n=c_1 (-q)^n-1+frack q left(1-(-q)^nright)q+1$$
$endgroup$
– Dr. Sonnhard Graubner
yesterday
3
$begingroup$
@Dr.SonnhardGraubner The solution doesn't help if the OP wants to know how to get there.
$endgroup$
– Toby Mak
yesterday
1
$begingroup$
Seems alright. At least it seems to sufficiently establish from the context that you're not exactly familiar with solving recurrence relations. I maintain that the video I linked would still be a good resource for the general method though, or whatever results you can dig up for solving (non)homogenous linear recurrences (might be a bit of a trawl if you're not familiar with them and depending on how much you need to learn). If I'm feeling up to it (and remember) and no one else has, I might present a write-up specific to this example tomorrow, but for now it's 5 AM for me so I should sleep :p
$endgroup$
– Eevee Trainer
yesterday