what went wrong in solving this singular ODE?












1












$begingroup$


I want to solve $$x(2-x) y'' +(1+x)y' -frac{3}{x} y = 0$$ with singular-regular point $x_0 =0$, the general solution by Frobenius is of the form $y = x^r sum limits_{n=0}^{infty} a_n x^n$. i found that $r = -1, frac{3}{2}$. substituting the value $r=-1$ and the standard value $a_0 =1$ gave me that $$a_{n+1} = frac{n^2-4n+3}{2n^2-n-3}a_n$$ which means that $a_1 = a_2 = cdots =0$



So in the end i have one solution which is $y = frac{1}{x}(1+0 x^1 +0 x^2+cdots) = frac{1}{x}$ but the correct solution is $y = frac{1}{x}-1$, what went wrong in my solution ?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Why is this tagged as a PDE ?
    $endgroup$
    – Rebellos
    Dec 22 '18 at 10:29










  • $begingroup$
    $a_1=-1$ and $a_2=a_3=...=0$ using the recurrence law you wrote. The expected solution follows.
    $endgroup$
    – Rafa Budría
    Dec 22 '18 at 10:35












  • $begingroup$
    @RafaBudría i see that, missed it, thanks.
    $endgroup$
    – Ahmad
    Dec 22 '18 at 10:41
















1












$begingroup$


I want to solve $$x(2-x) y'' +(1+x)y' -frac{3}{x} y = 0$$ with singular-regular point $x_0 =0$, the general solution by Frobenius is of the form $y = x^r sum limits_{n=0}^{infty} a_n x^n$. i found that $r = -1, frac{3}{2}$. substituting the value $r=-1$ and the standard value $a_0 =1$ gave me that $$a_{n+1} = frac{n^2-4n+3}{2n^2-n-3}a_n$$ which means that $a_1 = a_2 = cdots =0$



So in the end i have one solution which is $y = frac{1}{x}(1+0 x^1 +0 x^2+cdots) = frac{1}{x}$ but the correct solution is $y = frac{1}{x}-1$, what went wrong in my solution ?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Why is this tagged as a PDE ?
    $endgroup$
    – Rebellos
    Dec 22 '18 at 10:29










  • $begingroup$
    $a_1=-1$ and $a_2=a_3=...=0$ using the recurrence law you wrote. The expected solution follows.
    $endgroup$
    – Rafa Budría
    Dec 22 '18 at 10:35












  • $begingroup$
    @RafaBudría i see that, missed it, thanks.
    $endgroup$
    – Ahmad
    Dec 22 '18 at 10:41














1












1








1





$begingroup$


I want to solve $$x(2-x) y'' +(1+x)y' -frac{3}{x} y = 0$$ with singular-regular point $x_0 =0$, the general solution by Frobenius is of the form $y = x^r sum limits_{n=0}^{infty} a_n x^n$. i found that $r = -1, frac{3}{2}$. substituting the value $r=-1$ and the standard value $a_0 =1$ gave me that $$a_{n+1} = frac{n^2-4n+3}{2n^2-n-3}a_n$$ which means that $a_1 = a_2 = cdots =0$



So in the end i have one solution which is $y = frac{1}{x}(1+0 x^1 +0 x^2+cdots) = frac{1}{x}$ but the correct solution is $y = frac{1}{x}-1$, what went wrong in my solution ?










share|cite|improve this question











$endgroup$




I want to solve $$x(2-x) y'' +(1+x)y' -frac{3}{x} y = 0$$ with singular-regular point $x_0 =0$, the general solution by Frobenius is of the form $y = x^r sum limits_{n=0}^{infty} a_n x^n$. i found that $r = -1, frac{3}{2}$. substituting the value $r=-1$ and the standard value $a_0 =1$ gave me that $$a_{n+1} = frac{n^2-4n+3}{2n^2-n-3}a_n$$ which means that $a_1 = a_2 = cdots =0$



So in the end i have one solution which is $y = frac{1}{x}(1+0 x^1 +0 x^2+cdots) = frac{1}{x}$ but the correct solution is $y = frac{1}{x}-1$, what went wrong in my solution ?







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 22 '18 at 11:18









LutzL

60k42057




60k42057










asked Dec 22 '18 at 10:22









AhmadAhmad

2,6151725




2,6151725








  • 1




    $begingroup$
    Why is this tagged as a PDE ?
    $endgroup$
    – Rebellos
    Dec 22 '18 at 10:29










  • $begingroup$
    $a_1=-1$ and $a_2=a_3=...=0$ using the recurrence law you wrote. The expected solution follows.
    $endgroup$
    – Rafa Budría
    Dec 22 '18 at 10:35












  • $begingroup$
    @RafaBudría i see that, missed it, thanks.
    $endgroup$
    – Ahmad
    Dec 22 '18 at 10:41














  • 1




    $begingroup$
    Why is this tagged as a PDE ?
    $endgroup$
    – Rebellos
    Dec 22 '18 at 10:29










  • $begingroup$
    $a_1=-1$ and $a_2=a_3=...=0$ using the recurrence law you wrote. The expected solution follows.
    $endgroup$
    – Rafa Budría
    Dec 22 '18 at 10:35












  • $begingroup$
    @RafaBudría i see that, missed it, thanks.
    $endgroup$
    – Ahmad
    Dec 22 '18 at 10:41








1




1




$begingroup$
Why is this tagged as a PDE ?
$endgroup$
– Rebellos
Dec 22 '18 at 10:29




$begingroup$
Why is this tagged as a PDE ?
$endgroup$
– Rebellos
Dec 22 '18 at 10:29












$begingroup$
$a_1=-1$ and $a_2=a_3=...=0$ using the recurrence law you wrote. The expected solution follows.
$endgroup$
– Rafa Budría
Dec 22 '18 at 10:35






$begingroup$
$a_1=-1$ and $a_2=a_3=...=0$ using the recurrence law you wrote. The expected solution follows.
$endgroup$
– Rafa Budría
Dec 22 '18 at 10:35














$begingroup$
@RafaBudría i see that, missed it, thanks.
$endgroup$
– Ahmad
Dec 22 '18 at 10:41




$begingroup$
@RafaBudría i see that, missed it, thanks.
$endgroup$
– Ahmad
Dec 22 '18 at 10:41










1 Answer
1






active

oldest

votes


















1












$begingroup$

You have



$$
a_{n + 1} = a_nfrac{n^2 - 4n + 3}{2n^2 - n - 3}
$$



Using $a_0 = color{blue}{1}$ you get



$$
a_1 = 1 frac{3}{(-3)} = color{red}{-1}
$$



and



$$
a_2 = 0 = a_3 = cdots
$$



So one of the solutions is



$$
y_1(x) = x^{-1}left(a_0 + a_1 x + a_2 x^2 + cdots right) = x^{-1}left[color{blue}{1} + (color{red}{-1})xright] = -1 + 1/x
$$






share|cite|improve this answer









$endgroup$














    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%2f3049281%2fwhat-went-wrong-in-solving-this-singular-ode%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$

    You have



    $$
    a_{n + 1} = a_nfrac{n^2 - 4n + 3}{2n^2 - n - 3}
    $$



    Using $a_0 = color{blue}{1}$ you get



    $$
    a_1 = 1 frac{3}{(-3)} = color{red}{-1}
    $$



    and



    $$
    a_2 = 0 = a_3 = cdots
    $$



    So one of the solutions is



    $$
    y_1(x) = x^{-1}left(a_0 + a_1 x + a_2 x^2 + cdots right) = x^{-1}left[color{blue}{1} + (color{red}{-1})xright] = -1 + 1/x
    $$






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      You have



      $$
      a_{n + 1} = a_nfrac{n^2 - 4n + 3}{2n^2 - n - 3}
      $$



      Using $a_0 = color{blue}{1}$ you get



      $$
      a_1 = 1 frac{3}{(-3)} = color{red}{-1}
      $$



      and



      $$
      a_2 = 0 = a_3 = cdots
      $$



      So one of the solutions is



      $$
      y_1(x) = x^{-1}left(a_0 + a_1 x + a_2 x^2 + cdots right) = x^{-1}left[color{blue}{1} + (color{red}{-1})xright] = -1 + 1/x
      $$






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        You have



        $$
        a_{n + 1} = a_nfrac{n^2 - 4n + 3}{2n^2 - n - 3}
        $$



        Using $a_0 = color{blue}{1}$ you get



        $$
        a_1 = 1 frac{3}{(-3)} = color{red}{-1}
        $$



        and



        $$
        a_2 = 0 = a_3 = cdots
        $$



        So one of the solutions is



        $$
        y_1(x) = x^{-1}left(a_0 + a_1 x + a_2 x^2 + cdots right) = x^{-1}left[color{blue}{1} + (color{red}{-1})xright] = -1 + 1/x
        $$






        share|cite|improve this answer









        $endgroup$



        You have



        $$
        a_{n + 1} = a_nfrac{n^2 - 4n + 3}{2n^2 - n - 3}
        $$



        Using $a_0 = color{blue}{1}$ you get



        $$
        a_1 = 1 frac{3}{(-3)} = color{red}{-1}
        $$



        and



        $$
        a_2 = 0 = a_3 = cdots
        $$



        So one of the solutions is



        $$
        y_1(x) = x^{-1}left(a_0 + a_1 x + a_2 x^2 + cdots right) = x^{-1}left[color{blue}{1} + (color{red}{-1})xright] = -1 + 1/x
        $$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 22 '18 at 10:45









        caveraccaverac

        14.8k31130




        14.8k31130






























            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%2f3049281%2fwhat-went-wrong-in-solving-this-singular-ode%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

            Le Mesnil-Réaume

            Ida-Boy-Ed-Garten

            web3.py web3.isConnected() returns false always