Finding homogennous and particular solution of an equation
$begingroup$
Let's say I have an equation like this:
$Sn = 2 cdot S(n-1) + 2^{(n+1)} - 2$
Now I know that I need to transform it to look like this:
$S(n+1) - 2 cdot Sn = 2^{(n+2)} - 2$
From this I can get the characteristic equation: $lambda - 2$ and from that the characteristic number 2. But how do I find the particular solution? And how do I then add it all together? Any explanations or links to materials are appreciated. I did find some but it did not make sense to me.
discrete-mathematics homogeneous-equation
$endgroup$
add a comment |
$begingroup$
Let's say I have an equation like this:
$Sn = 2 cdot S(n-1) + 2^{(n+1)} - 2$
Now I know that I need to transform it to look like this:
$S(n+1) - 2 cdot Sn = 2^{(n+2)} - 2$
From this I can get the characteristic equation: $lambda - 2$ and from that the characteristic number 2. But how do I find the particular solution? And how do I then add it all together? Any explanations or links to materials are appreciated. I did find some but it did not make sense to me.
discrete-mathematics homogeneous-equation
$endgroup$
$begingroup$
Please typeset the equations using MathJax.
$endgroup$
– Yves Daoust
Jan 21 at 10:12
add a comment |
$begingroup$
Let's say I have an equation like this:
$Sn = 2 cdot S(n-1) + 2^{(n+1)} - 2$
Now I know that I need to transform it to look like this:
$S(n+1) - 2 cdot Sn = 2^{(n+2)} - 2$
From this I can get the characteristic equation: $lambda - 2$ and from that the characteristic number 2. But how do I find the particular solution? And how do I then add it all together? Any explanations or links to materials are appreciated. I did find some but it did not make sense to me.
discrete-mathematics homogeneous-equation
$endgroup$
Let's say I have an equation like this:
$Sn = 2 cdot S(n-1) + 2^{(n+1)} - 2$
Now I know that I need to transform it to look like this:
$S(n+1) - 2 cdot Sn = 2^{(n+2)} - 2$
From this I can get the characteristic equation: $lambda - 2$ and from that the characteristic number 2. But how do I find the particular solution? And how do I then add it all together? Any explanations or links to materials are appreciated. I did find some but it did not make sense to me.
discrete-mathematics homogeneous-equation
discrete-mathematics homogeneous-equation
edited Jan 21 at 18:34


EdOverflow
25119
25119
asked Jan 21 at 10:09
ponikoliponikoli
416
416
$begingroup$
Please typeset the equations using MathJax.
$endgroup$
– Yves Daoust
Jan 21 at 10:12
add a comment |
$begingroup$
Please typeset the equations using MathJax.
$endgroup$
– Yves Daoust
Jan 21 at 10:12
$begingroup$
Please typeset the equations using MathJax.
$endgroup$
– Yves Daoust
Jan 21 at 10:12
$begingroup$
Please typeset the equations using MathJax.
$endgroup$
– Yves Daoust
Jan 21 at 10:12
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
The homogeneous equation reads
$$S_n=2S_{n-1}$$ and by induction
$$S_n=2^nS_0.$$
Now let us find a particular solution for the term $-2$, and let us try a constant $a$:
$$a=2a-2$$ yields the solution $a=2$.
Now finding a particular solution for the term $2^{n+1}$ is more tricky. You will be tempted to use the Ansatz $b,2^n$, but as this is of the same form as the homogeneous solution, it won't work:
$$b,2^n=2b,2^{n-1}+2^{n+1}$$ has no solution.
Inspired by the theory of linear ODEs, we will try $bn,2^n$, and
$$bn,2^n=2b(n-1)2^{n-1}+2^{n+1},$$ giving $b=2$.
The global solution is just the sum of these contributions,
$$S_n=c,2^n+2n,2^n+2.$$
Indeed,
$$S_n-2S_{n-1}=c,2^n-c,2^n+2n,2^n-2(n-1),2^n+2-4=2^{n+1}-2.$$
You determine $c$ from the initial condition,
$$S_0=c+2.$$
$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%2f3081701%2ffinding-homogennous-and-particular-solution-of-an-equation%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$
The homogeneous equation reads
$$S_n=2S_{n-1}$$ and by induction
$$S_n=2^nS_0.$$
Now let us find a particular solution for the term $-2$, and let us try a constant $a$:
$$a=2a-2$$ yields the solution $a=2$.
Now finding a particular solution for the term $2^{n+1}$ is more tricky. You will be tempted to use the Ansatz $b,2^n$, but as this is of the same form as the homogeneous solution, it won't work:
$$b,2^n=2b,2^{n-1}+2^{n+1}$$ has no solution.
Inspired by the theory of linear ODEs, we will try $bn,2^n$, and
$$bn,2^n=2b(n-1)2^{n-1}+2^{n+1},$$ giving $b=2$.
The global solution is just the sum of these contributions,
$$S_n=c,2^n+2n,2^n+2.$$
Indeed,
$$S_n-2S_{n-1}=c,2^n-c,2^n+2n,2^n-2(n-1),2^n+2-4=2^{n+1}-2.$$
You determine $c$ from the initial condition,
$$S_0=c+2.$$
$endgroup$
add a comment |
$begingroup$
The homogeneous equation reads
$$S_n=2S_{n-1}$$ and by induction
$$S_n=2^nS_0.$$
Now let us find a particular solution for the term $-2$, and let us try a constant $a$:
$$a=2a-2$$ yields the solution $a=2$.
Now finding a particular solution for the term $2^{n+1}$ is more tricky. You will be tempted to use the Ansatz $b,2^n$, but as this is of the same form as the homogeneous solution, it won't work:
$$b,2^n=2b,2^{n-1}+2^{n+1}$$ has no solution.
Inspired by the theory of linear ODEs, we will try $bn,2^n$, and
$$bn,2^n=2b(n-1)2^{n-1}+2^{n+1},$$ giving $b=2$.
The global solution is just the sum of these contributions,
$$S_n=c,2^n+2n,2^n+2.$$
Indeed,
$$S_n-2S_{n-1}=c,2^n-c,2^n+2n,2^n-2(n-1),2^n+2-4=2^{n+1}-2.$$
You determine $c$ from the initial condition,
$$S_0=c+2.$$
$endgroup$
add a comment |
$begingroup$
The homogeneous equation reads
$$S_n=2S_{n-1}$$ and by induction
$$S_n=2^nS_0.$$
Now let us find a particular solution for the term $-2$, and let us try a constant $a$:
$$a=2a-2$$ yields the solution $a=2$.
Now finding a particular solution for the term $2^{n+1}$ is more tricky. You will be tempted to use the Ansatz $b,2^n$, but as this is of the same form as the homogeneous solution, it won't work:
$$b,2^n=2b,2^{n-1}+2^{n+1}$$ has no solution.
Inspired by the theory of linear ODEs, we will try $bn,2^n$, and
$$bn,2^n=2b(n-1)2^{n-1}+2^{n+1},$$ giving $b=2$.
The global solution is just the sum of these contributions,
$$S_n=c,2^n+2n,2^n+2.$$
Indeed,
$$S_n-2S_{n-1}=c,2^n-c,2^n+2n,2^n-2(n-1),2^n+2-4=2^{n+1}-2.$$
You determine $c$ from the initial condition,
$$S_0=c+2.$$
$endgroup$
The homogeneous equation reads
$$S_n=2S_{n-1}$$ and by induction
$$S_n=2^nS_0.$$
Now let us find a particular solution for the term $-2$, and let us try a constant $a$:
$$a=2a-2$$ yields the solution $a=2$.
Now finding a particular solution for the term $2^{n+1}$ is more tricky. You will be tempted to use the Ansatz $b,2^n$, but as this is of the same form as the homogeneous solution, it won't work:
$$b,2^n=2b,2^{n-1}+2^{n+1}$$ has no solution.
Inspired by the theory of linear ODEs, we will try $bn,2^n$, and
$$bn,2^n=2b(n-1)2^{n-1}+2^{n+1},$$ giving $b=2$.
The global solution is just the sum of these contributions,
$$S_n=c,2^n+2n,2^n+2.$$
Indeed,
$$S_n-2S_{n-1}=c,2^n-c,2^n+2n,2^n-2(n-1),2^n+2-4=2^{n+1}-2.$$
You determine $c$ from the initial condition,
$$S_0=c+2.$$
answered Jan 21 at 10:28
Yves DaoustYves Daoust
129k676227
129k676227
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%2f3081701%2ffinding-homogennous-and-particular-solution-of-an-equation%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
$begingroup$
Please typeset the equations using MathJax.
$endgroup$
– Yves Daoust
Jan 21 at 10:12