Solve $2y''+y'=0$ using power series












3












$begingroup$


I got the answer $C_0e^{-x/2}$ by doing
$$sum_{n=1}^{infty }:left(x^{n-1}right) left(2nleft(n+1right)C_{n+1}:right)+left(nC_nright) = 0$$
thus giving
$$C_{n+1}= -dfrac{C_n}{2(n+1)}.$$
This leads me to the answer $y = C_0e^{-x/2}$.



However, the answer in my textbook is $C_1e^{-x/2} + C_0$. I've found this to be true, but still couldn't figure out a method of solving the equation so that there are two constants.



Edit: what my textbook did was $$c_{n+2}= -dfrac{1}{2(n+2)}c_{n+1}.$$ , and then substitute $$c_{0}=C_0-2c_1$$ and $$c_1=dfrac{-1}{2}C_1$$ into $y=c_0 +c_1 - dfrac{1}{2*2!}c_{1} x^2. + dfrac{1}{2^2*3!}c_{1} x^3........$



Where did the substitutions come from?










share|cite|improve this question











$endgroup$








  • 3




    $begingroup$
    If you substitute $y(x) = C_0 + C_1 x + C_2 x^2 + ldots$ then the equation reads $2(2C_2 + 3C_3 x + ldots) + (C_1 + 2C_2 x + ldots) = 0$. The recurssion you get only holds from $n=1$ so $C_0$ can be anything so and $C_n$ is determined by $C_1$ giving you a solution on the form $Ae^{-x/2} + B$.
    $endgroup$
    – Winther
    Dec 8 '18 at 16:05












  • $begingroup$
    You can fix the underdetermination with regularization.
    $endgroup$
    – mathreadler
    Dec 8 '18 at 16:11






  • 1




    $begingroup$
    Also don't omit the question in the text-body even if you have it in title.
    $endgroup$
    – mathreadler
    Dec 8 '18 at 16:19










  • $begingroup$
    Use Picard's rule.
    $endgroup$
    – Cesareo
    Dec 8 '18 at 16:27






  • 2




    $begingroup$
    The problem is that you translated each identity $$2nleft(n+1right)C_{n+1}+nC_n = 0$$ as $$2left(n+1right)C_{n+1}+C_n = 0$$ This holds true for every $nne0$ but not for $n=0$.
    $endgroup$
    – Did
    Dec 8 '18 at 16:27


















3












$begingroup$


I got the answer $C_0e^{-x/2}$ by doing
$$sum_{n=1}^{infty }:left(x^{n-1}right) left(2nleft(n+1right)C_{n+1}:right)+left(nC_nright) = 0$$
thus giving
$$C_{n+1}= -dfrac{C_n}{2(n+1)}.$$
This leads me to the answer $y = C_0e^{-x/2}$.



However, the answer in my textbook is $C_1e^{-x/2} + C_0$. I've found this to be true, but still couldn't figure out a method of solving the equation so that there are two constants.



Edit: what my textbook did was $$c_{n+2}= -dfrac{1}{2(n+2)}c_{n+1}.$$ , and then substitute $$c_{0}=C_0-2c_1$$ and $$c_1=dfrac{-1}{2}C_1$$ into $y=c_0 +c_1 - dfrac{1}{2*2!}c_{1} x^2. + dfrac{1}{2^2*3!}c_{1} x^3........$



Where did the substitutions come from?










share|cite|improve this question











$endgroup$








  • 3




    $begingroup$
    If you substitute $y(x) = C_0 + C_1 x + C_2 x^2 + ldots$ then the equation reads $2(2C_2 + 3C_3 x + ldots) + (C_1 + 2C_2 x + ldots) = 0$. The recurssion you get only holds from $n=1$ so $C_0$ can be anything so and $C_n$ is determined by $C_1$ giving you a solution on the form $Ae^{-x/2} + B$.
    $endgroup$
    – Winther
    Dec 8 '18 at 16:05












  • $begingroup$
    You can fix the underdetermination with regularization.
    $endgroup$
    – mathreadler
    Dec 8 '18 at 16:11






  • 1




    $begingroup$
    Also don't omit the question in the text-body even if you have it in title.
    $endgroup$
    – mathreadler
    Dec 8 '18 at 16:19










  • $begingroup$
    Use Picard's rule.
    $endgroup$
    – Cesareo
    Dec 8 '18 at 16:27






  • 2




    $begingroup$
    The problem is that you translated each identity $$2nleft(n+1right)C_{n+1}+nC_n = 0$$ as $$2left(n+1right)C_{n+1}+C_n = 0$$ This holds true for every $nne0$ but not for $n=0$.
    $endgroup$
    – Did
    Dec 8 '18 at 16:27
















3












3








3





$begingroup$


I got the answer $C_0e^{-x/2}$ by doing
$$sum_{n=1}^{infty }:left(x^{n-1}right) left(2nleft(n+1right)C_{n+1}:right)+left(nC_nright) = 0$$
thus giving
$$C_{n+1}= -dfrac{C_n}{2(n+1)}.$$
This leads me to the answer $y = C_0e^{-x/2}$.



However, the answer in my textbook is $C_1e^{-x/2} + C_0$. I've found this to be true, but still couldn't figure out a method of solving the equation so that there are two constants.



Edit: what my textbook did was $$c_{n+2}= -dfrac{1}{2(n+2)}c_{n+1}.$$ , and then substitute $$c_{0}=C_0-2c_1$$ and $$c_1=dfrac{-1}{2}C_1$$ into $y=c_0 +c_1 - dfrac{1}{2*2!}c_{1} x^2. + dfrac{1}{2^2*3!}c_{1} x^3........$



Where did the substitutions come from?










share|cite|improve this question











$endgroup$




I got the answer $C_0e^{-x/2}$ by doing
$$sum_{n=1}^{infty }:left(x^{n-1}right) left(2nleft(n+1right)C_{n+1}:right)+left(nC_nright) = 0$$
thus giving
$$C_{n+1}= -dfrac{C_n}{2(n+1)}.$$
This leads me to the answer $y = C_0e^{-x/2}$.



However, the answer in my textbook is $C_1e^{-x/2} + C_0$. I've found this to be true, but still couldn't figure out a method of solving the equation so that there are two constants.



Edit: what my textbook did was $$c_{n+2}= -dfrac{1}{2(n+2)}c_{n+1}.$$ , and then substitute $$c_{0}=C_0-2c_1$$ and $$c_1=dfrac{-1}{2}C_1$$ into $y=c_0 +c_1 - dfrac{1}{2*2!}c_{1} x^2. + dfrac{1}{2^2*3!}c_{1} x^3........$



Where did the substitutions come from?







ordinary-differential-equations power-series






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 16 '18 at 5:49







Fourth

















asked Dec 8 '18 at 15:59









Fourth Fourth

514




514








  • 3




    $begingroup$
    If you substitute $y(x) = C_0 + C_1 x + C_2 x^2 + ldots$ then the equation reads $2(2C_2 + 3C_3 x + ldots) + (C_1 + 2C_2 x + ldots) = 0$. The recurssion you get only holds from $n=1$ so $C_0$ can be anything so and $C_n$ is determined by $C_1$ giving you a solution on the form $Ae^{-x/2} + B$.
    $endgroup$
    – Winther
    Dec 8 '18 at 16:05












  • $begingroup$
    You can fix the underdetermination with regularization.
    $endgroup$
    – mathreadler
    Dec 8 '18 at 16:11






  • 1




    $begingroup$
    Also don't omit the question in the text-body even if you have it in title.
    $endgroup$
    – mathreadler
    Dec 8 '18 at 16:19










  • $begingroup$
    Use Picard's rule.
    $endgroup$
    – Cesareo
    Dec 8 '18 at 16:27






  • 2




    $begingroup$
    The problem is that you translated each identity $$2nleft(n+1right)C_{n+1}+nC_n = 0$$ as $$2left(n+1right)C_{n+1}+C_n = 0$$ This holds true for every $nne0$ but not for $n=0$.
    $endgroup$
    – Did
    Dec 8 '18 at 16:27
















  • 3




    $begingroup$
    If you substitute $y(x) = C_0 + C_1 x + C_2 x^2 + ldots$ then the equation reads $2(2C_2 + 3C_3 x + ldots) + (C_1 + 2C_2 x + ldots) = 0$. The recurssion you get only holds from $n=1$ so $C_0$ can be anything so and $C_n$ is determined by $C_1$ giving you a solution on the form $Ae^{-x/2} + B$.
    $endgroup$
    – Winther
    Dec 8 '18 at 16:05












  • $begingroup$
    You can fix the underdetermination with regularization.
    $endgroup$
    – mathreadler
    Dec 8 '18 at 16:11






  • 1




    $begingroup$
    Also don't omit the question in the text-body even if you have it in title.
    $endgroup$
    – mathreadler
    Dec 8 '18 at 16:19










  • $begingroup$
    Use Picard's rule.
    $endgroup$
    – Cesareo
    Dec 8 '18 at 16:27






  • 2




    $begingroup$
    The problem is that you translated each identity $$2nleft(n+1right)C_{n+1}+nC_n = 0$$ as $$2left(n+1right)C_{n+1}+C_n = 0$$ This holds true for every $nne0$ but not for $n=0$.
    $endgroup$
    – Did
    Dec 8 '18 at 16:27










3




3




$begingroup$
If you substitute $y(x) = C_0 + C_1 x + C_2 x^2 + ldots$ then the equation reads $2(2C_2 + 3C_3 x + ldots) + (C_1 + 2C_2 x + ldots) = 0$. The recurssion you get only holds from $n=1$ so $C_0$ can be anything so and $C_n$ is determined by $C_1$ giving you a solution on the form $Ae^{-x/2} + B$.
$endgroup$
– Winther
Dec 8 '18 at 16:05






$begingroup$
If you substitute $y(x) = C_0 + C_1 x + C_2 x^2 + ldots$ then the equation reads $2(2C_2 + 3C_3 x + ldots) + (C_1 + 2C_2 x + ldots) = 0$. The recurssion you get only holds from $n=1$ so $C_0$ can be anything so and $C_n$ is determined by $C_1$ giving you a solution on the form $Ae^{-x/2} + B$.
$endgroup$
– Winther
Dec 8 '18 at 16:05














$begingroup$
You can fix the underdetermination with regularization.
$endgroup$
– mathreadler
Dec 8 '18 at 16:11




$begingroup$
You can fix the underdetermination with regularization.
$endgroup$
– mathreadler
Dec 8 '18 at 16:11




1




1




$begingroup$
Also don't omit the question in the text-body even if you have it in title.
$endgroup$
– mathreadler
Dec 8 '18 at 16:19




$begingroup$
Also don't omit the question in the text-body even if you have it in title.
$endgroup$
– mathreadler
Dec 8 '18 at 16:19












$begingroup$
Use Picard's rule.
$endgroup$
– Cesareo
Dec 8 '18 at 16:27




$begingroup$
Use Picard's rule.
$endgroup$
– Cesareo
Dec 8 '18 at 16:27




2




2




$begingroup$
The problem is that you translated each identity $$2nleft(n+1right)C_{n+1}+nC_n = 0$$ as $$2left(n+1right)C_{n+1}+C_n = 0$$ This holds true for every $nne0$ but not for $n=0$.
$endgroup$
– Did
Dec 8 '18 at 16:27






$begingroup$
The problem is that you translated each identity $$2nleft(n+1right)C_{n+1}+nC_n = 0$$ as $$2left(n+1right)C_{n+1}+C_n = 0$$ This holds true for every $nne0$ but not for $n=0$.
$endgroup$
– Did
Dec 8 '18 at 16:27












1 Answer
1






active

oldest

votes


















-1












$begingroup$

$$ frac{mathrm{d^2}y }{mathrm{d} x^2}=-frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
frac{mathrm{d} }{mathrm{d}x}left ( frac{mathrm{d}y }{mathrm{d} x} right ) = -frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
ln{frac{mathrm{d}y}{mathrm{d}x}} = frac{-x}{2}+c \
frac{mathrm{d}y}{mathrm{d}x} = c_{1}e^{-frac{x}{2}}
\ y=c_{1}e^{-frac{x}{2}}+c_{2}
$$






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    The intent is to use power series.
    $endgroup$
    – Sean Roberson
    Dec 15 '18 at 6:06











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3031280%2fsolve-2yy-0-using-power-series%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









-1












$begingroup$

$$ frac{mathrm{d^2}y }{mathrm{d} x^2}=-frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
frac{mathrm{d} }{mathrm{d}x}left ( frac{mathrm{d}y }{mathrm{d} x} right ) = -frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
ln{frac{mathrm{d}y}{mathrm{d}x}} = frac{-x}{2}+c \
frac{mathrm{d}y}{mathrm{d}x} = c_{1}e^{-frac{x}{2}}
\ y=c_{1}e^{-frac{x}{2}}+c_{2}
$$






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    The intent is to use power series.
    $endgroup$
    – Sean Roberson
    Dec 15 '18 at 6:06
















-1












$begingroup$

$$ frac{mathrm{d^2}y }{mathrm{d} x^2}=-frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
frac{mathrm{d} }{mathrm{d}x}left ( frac{mathrm{d}y }{mathrm{d} x} right ) = -frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
ln{frac{mathrm{d}y}{mathrm{d}x}} = frac{-x}{2}+c \
frac{mathrm{d}y}{mathrm{d}x} = c_{1}e^{-frac{x}{2}}
\ y=c_{1}e^{-frac{x}{2}}+c_{2}
$$






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    The intent is to use power series.
    $endgroup$
    – Sean Roberson
    Dec 15 '18 at 6:06














-1












-1








-1





$begingroup$

$$ frac{mathrm{d^2}y }{mathrm{d} x^2}=-frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
frac{mathrm{d} }{mathrm{d}x}left ( frac{mathrm{d}y }{mathrm{d} x} right ) = -frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
ln{frac{mathrm{d}y}{mathrm{d}x}} = frac{-x}{2}+c \
frac{mathrm{d}y}{mathrm{d}x} = c_{1}e^{-frac{x}{2}}
\ y=c_{1}e^{-frac{x}{2}}+c_{2}
$$






share|cite|improve this answer









$endgroup$



$$ frac{mathrm{d^2}y }{mathrm{d} x^2}=-frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
frac{mathrm{d} }{mathrm{d}x}left ( frac{mathrm{d}y }{mathrm{d} x} right ) = -frac{1}{2} frac{mathrm{d} y}{mathrm{d} x} \
ln{frac{mathrm{d}y}{mathrm{d}x}} = frac{-x}{2}+c \
frac{mathrm{d}y}{mathrm{d}x} = c_{1}e^{-frac{x}{2}}
\ y=c_{1}e^{-frac{x}{2}}+c_{2}
$$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 8 '18 at 16:17









Lakshya SinhaLakshya Sinha

724




724








  • 1




    $begingroup$
    The intent is to use power series.
    $endgroup$
    – Sean Roberson
    Dec 15 '18 at 6:06














  • 1




    $begingroup$
    The intent is to use power series.
    $endgroup$
    – Sean Roberson
    Dec 15 '18 at 6:06








1




1




$begingroup$
The intent is to use power series.
$endgroup$
– Sean Roberson
Dec 15 '18 at 6:06




$begingroup$
The intent is to use power series.
$endgroup$
– Sean Roberson
Dec 15 '18 at 6:06


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3031280%2fsolve-2yy-0-using-power-series%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents