Solve $(1+x^2) f''(x) + 4x f'(x) + 2 f(x)=0$ via power series method.












1












$begingroup$


I have trouble finding a closed expression for the following problem:




$$(1+x^2) f''(x) + 4x f'(x) + 2 f(x)=0$$ where also $f'(0)=0$ and $f(0)=1$



Solve this via a power series method, so suppose $f(x)= sum_{n=0} ^{infty}a_n x^n$. Find its radius of convergence and a closed expression.




I tried solving this, but I get a really nasty expression. We first plug in our Ansatz into the differential eqution, with the usual derivatives:
$$ (1+x^2)sum_{n=0} ^{infty}n (n-1)a_n x^{n-2}+ 4xsum_{n=0} ^{infty}n a_n x^{n-1} + 2 sum_{n=0} ^{infty}a_n x^{n}=0$$
We now multiply out the factors:
$$ sum_{n=0} ^{infty}n (n-1)a_n x^{n-2} +sum_{n=0} ^{infty}n (n-1)a_n x^{n} + sum_{n=0} ^{infty}4n a_n x^{n} + sum_{n=0} ^{infty}2a_n x^{n}=0$$
We apply a shift to the first sum:
$$ sum_{n=0} ^{infty}(n+2) (n+1)a_{n+2} x^{n} +sum_{n=0} ^{infty}n (n-1)a_n x^{n} + sum_{n=0} ^{infty}4n a_n x^{n} + sum_{n=0} ^{infty}2a_n x^{n}=0$$



We now use the identity theorem for power series to compare coefficients and get for $n geq 2$:
$$ (n+2)(n+1)a_{n+2} + n(n-1)a_n + 4n a_n +2a_n=0$$
After rewriting, we get:
$$ (n+2)(n+1)a_{n+2} + (n+2)(n+1)a_{n}=0$$
$$ a_{n+2} = - a_n$$
Which is not a nice expression, since $a_0=1$ and $a_1=0$ this tells me that $a_2=-1$, $a_4 =1$, $a_6=-1$ and all odd terms are $0$.



What am I missing here?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Why are all odd terms $0$?
    $endgroup$
    – Bernard
    Feb 1 at 13:55










  • $begingroup$
    @Bernard $f'(0)=0$.
    $endgroup$
    – Floris Claassens
    Feb 1 at 13:58










  • $begingroup$
    But you wrote $a_1=1$!
    $endgroup$
    – Bernard
    Feb 1 at 14:01






  • 3




    $begingroup$
    Why do you think that is not nice? The geometric series can easily be identified as $frac1{1+x^2}$.
    $endgroup$
    – LutzL
    Feb 1 at 14:02






  • 1




    $begingroup$
    general solution is $frac{c_1x+c_2}{1+x^2}$
    $endgroup$
    – Aleksas Domarkas
    Feb 1 at 14:07
















1












$begingroup$


I have trouble finding a closed expression for the following problem:




$$(1+x^2) f''(x) + 4x f'(x) + 2 f(x)=0$$ where also $f'(0)=0$ and $f(0)=1$



Solve this via a power series method, so suppose $f(x)= sum_{n=0} ^{infty}a_n x^n$. Find its radius of convergence and a closed expression.




I tried solving this, but I get a really nasty expression. We first plug in our Ansatz into the differential eqution, with the usual derivatives:
$$ (1+x^2)sum_{n=0} ^{infty}n (n-1)a_n x^{n-2}+ 4xsum_{n=0} ^{infty}n a_n x^{n-1} + 2 sum_{n=0} ^{infty}a_n x^{n}=0$$
We now multiply out the factors:
$$ sum_{n=0} ^{infty}n (n-1)a_n x^{n-2} +sum_{n=0} ^{infty}n (n-1)a_n x^{n} + sum_{n=0} ^{infty}4n a_n x^{n} + sum_{n=0} ^{infty}2a_n x^{n}=0$$
We apply a shift to the first sum:
$$ sum_{n=0} ^{infty}(n+2) (n+1)a_{n+2} x^{n} +sum_{n=0} ^{infty}n (n-1)a_n x^{n} + sum_{n=0} ^{infty}4n a_n x^{n} + sum_{n=0} ^{infty}2a_n x^{n}=0$$



We now use the identity theorem for power series to compare coefficients and get for $n geq 2$:
$$ (n+2)(n+1)a_{n+2} + n(n-1)a_n + 4n a_n +2a_n=0$$
After rewriting, we get:
$$ (n+2)(n+1)a_{n+2} + (n+2)(n+1)a_{n}=0$$
$$ a_{n+2} = - a_n$$
Which is not a nice expression, since $a_0=1$ and $a_1=0$ this tells me that $a_2=-1$, $a_4 =1$, $a_6=-1$ and all odd terms are $0$.



What am I missing here?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Why are all odd terms $0$?
    $endgroup$
    – Bernard
    Feb 1 at 13:55










  • $begingroup$
    @Bernard $f'(0)=0$.
    $endgroup$
    – Floris Claassens
    Feb 1 at 13:58










  • $begingroup$
    But you wrote $a_1=1$!
    $endgroup$
    – Bernard
    Feb 1 at 14:01






  • 3




    $begingroup$
    Why do you think that is not nice? The geometric series can easily be identified as $frac1{1+x^2}$.
    $endgroup$
    – LutzL
    Feb 1 at 14:02






  • 1




    $begingroup$
    general solution is $frac{c_1x+c_2}{1+x^2}$
    $endgroup$
    – Aleksas Domarkas
    Feb 1 at 14:07














1












1








1





$begingroup$


I have trouble finding a closed expression for the following problem:




$$(1+x^2) f''(x) + 4x f'(x) + 2 f(x)=0$$ where also $f'(0)=0$ and $f(0)=1$



Solve this via a power series method, so suppose $f(x)= sum_{n=0} ^{infty}a_n x^n$. Find its radius of convergence and a closed expression.




I tried solving this, but I get a really nasty expression. We first plug in our Ansatz into the differential eqution, with the usual derivatives:
$$ (1+x^2)sum_{n=0} ^{infty}n (n-1)a_n x^{n-2}+ 4xsum_{n=0} ^{infty}n a_n x^{n-1} + 2 sum_{n=0} ^{infty}a_n x^{n}=0$$
We now multiply out the factors:
$$ sum_{n=0} ^{infty}n (n-1)a_n x^{n-2} +sum_{n=0} ^{infty}n (n-1)a_n x^{n} + sum_{n=0} ^{infty}4n a_n x^{n} + sum_{n=0} ^{infty}2a_n x^{n}=0$$
We apply a shift to the first sum:
$$ sum_{n=0} ^{infty}(n+2) (n+1)a_{n+2} x^{n} +sum_{n=0} ^{infty}n (n-1)a_n x^{n} + sum_{n=0} ^{infty}4n a_n x^{n} + sum_{n=0} ^{infty}2a_n x^{n}=0$$



We now use the identity theorem for power series to compare coefficients and get for $n geq 2$:
$$ (n+2)(n+1)a_{n+2} + n(n-1)a_n + 4n a_n +2a_n=0$$
After rewriting, we get:
$$ (n+2)(n+1)a_{n+2} + (n+2)(n+1)a_{n}=0$$
$$ a_{n+2} = - a_n$$
Which is not a nice expression, since $a_0=1$ and $a_1=0$ this tells me that $a_2=-1$, $a_4 =1$, $a_6=-1$ and all odd terms are $0$.



What am I missing here?










share|cite|improve this question











$endgroup$




I have trouble finding a closed expression for the following problem:




$$(1+x^2) f''(x) + 4x f'(x) + 2 f(x)=0$$ where also $f'(0)=0$ and $f(0)=1$



Solve this via a power series method, so suppose $f(x)= sum_{n=0} ^{infty}a_n x^n$. Find its radius of convergence and a closed expression.




I tried solving this, but I get a really nasty expression. We first plug in our Ansatz into the differential eqution, with the usual derivatives:
$$ (1+x^2)sum_{n=0} ^{infty}n (n-1)a_n x^{n-2}+ 4xsum_{n=0} ^{infty}n a_n x^{n-1} + 2 sum_{n=0} ^{infty}a_n x^{n}=0$$
We now multiply out the factors:
$$ sum_{n=0} ^{infty}n (n-1)a_n x^{n-2} +sum_{n=0} ^{infty}n (n-1)a_n x^{n} + sum_{n=0} ^{infty}4n a_n x^{n} + sum_{n=0} ^{infty}2a_n x^{n}=0$$
We apply a shift to the first sum:
$$ sum_{n=0} ^{infty}(n+2) (n+1)a_{n+2} x^{n} +sum_{n=0} ^{infty}n (n-1)a_n x^{n} + sum_{n=0} ^{infty}4n a_n x^{n} + sum_{n=0} ^{infty}2a_n x^{n}=0$$



We now use the identity theorem for power series to compare coefficients and get for $n geq 2$:
$$ (n+2)(n+1)a_{n+2} + n(n-1)a_n + 4n a_n +2a_n=0$$
After rewriting, we get:
$$ (n+2)(n+1)a_{n+2} + (n+2)(n+1)a_{n}=0$$
$$ a_{n+2} = - a_n$$
Which is not a nice expression, since $a_0=1$ and $a_1=0$ this tells me that $a_2=-1$, $a_4 =1$, $a_6=-1$ and all odd terms are $0$.



What am I missing here?







real-analysis 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 Feb 1 at 16:12







Wesley Strik

















asked Feb 1 at 13:44









Wesley StrikWesley Strik

2,189424




2,189424












  • $begingroup$
    Why are all odd terms $0$?
    $endgroup$
    – Bernard
    Feb 1 at 13:55










  • $begingroup$
    @Bernard $f'(0)=0$.
    $endgroup$
    – Floris Claassens
    Feb 1 at 13:58










  • $begingroup$
    But you wrote $a_1=1$!
    $endgroup$
    – Bernard
    Feb 1 at 14:01






  • 3




    $begingroup$
    Why do you think that is not nice? The geometric series can easily be identified as $frac1{1+x^2}$.
    $endgroup$
    – LutzL
    Feb 1 at 14:02






  • 1




    $begingroup$
    general solution is $frac{c_1x+c_2}{1+x^2}$
    $endgroup$
    – Aleksas Domarkas
    Feb 1 at 14:07


















  • $begingroup$
    Why are all odd terms $0$?
    $endgroup$
    – Bernard
    Feb 1 at 13:55










  • $begingroup$
    @Bernard $f'(0)=0$.
    $endgroup$
    – Floris Claassens
    Feb 1 at 13:58










  • $begingroup$
    But you wrote $a_1=1$!
    $endgroup$
    – Bernard
    Feb 1 at 14:01






  • 3




    $begingroup$
    Why do you think that is not nice? The geometric series can easily be identified as $frac1{1+x^2}$.
    $endgroup$
    – LutzL
    Feb 1 at 14:02






  • 1




    $begingroup$
    general solution is $frac{c_1x+c_2}{1+x^2}$
    $endgroup$
    – Aleksas Domarkas
    Feb 1 at 14:07
















$begingroup$
Why are all odd terms $0$?
$endgroup$
– Bernard
Feb 1 at 13:55




$begingroup$
Why are all odd terms $0$?
$endgroup$
– Bernard
Feb 1 at 13:55












$begingroup$
@Bernard $f'(0)=0$.
$endgroup$
– Floris Claassens
Feb 1 at 13:58




$begingroup$
@Bernard $f'(0)=0$.
$endgroup$
– Floris Claassens
Feb 1 at 13:58












$begingroup$
But you wrote $a_1=1$!
$endgroup$
– Bernard
Feb 1 at 14:01




$begingroup$
But you wrote $a_1=1$!
$endgroup$
– Bernard
Feb 1 at 14:01




3




3




$begingroup$
Why do you think that is not nice? The geometric series can easily be identified as $frac1{1+x^2}$.
$endgroup$
– LutzL
Feb 1 at 14:02




$begingroup$
Why do you think that is not nice? The geometric series can easily be identified as $frac1{1+x^2}$.
$endgroup$
– LutzL
Feb 1 at 14:02




1




1




$begingroup$
general solution is $frac{c_1x+c_2}{1+x^2}$
$endgroup$
– Aleksas Domarkas
Feb 1 at 14:07




$begingroup$
general solution is $frac{c_1x+c_2}{1+x^2}$
$endgroup$
– Aleksas Domarkas
Feb 1 at 14:07










1 Answer
1






active

oldest

votes


















0












$begingroup$

We recognise this to be:



$$ 1 - x^2 + x^4 - x^6 +x^8dots$$



Notice that:



$$ frac{1}{1 - (-x^2)}= 1- x^2 + x^4 - x^6 +x^8 dots $$



So our closed expression is the geometric series variation $$frac{1}{1+x^2}$$



Its radius of convergence follows from the geometric series to be $|x^2|<1$ so $|x|<1$. This means the series has radius of convergence $1$.






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%2f3096242%2fsolve-1x2-fx-4x-fx-2-fx-0-via-power-series-method%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









    0












    $begingroup$

    We recognise this to be:



    $$ 1 - x^2 + x^4 - x^6 +x^8dots$$



    Notice that:



    $$ frac{1}{1 - (-x^2)}= 1- x^2 + x^4 - x^6 +x^8 dots $$



    So our closed expression is the geometric series variation $$frac{1}{1+x^2}$$



    Its radius of convergence follows from the geometric series to be $|x^2|<1$ so $|x|<1$. This means the series has radius of convergence $1$.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      We recognise this to be:



      $$ 1 - x^2 + x^4 - x^6 +x^8dots$$



      Notice that:



      $$ frac{1}{1 - (-x^2)}= 1- x^2 + x^4 - x^6 +x^8 dots $$



      So our closed expression is the geometric series variation $$frac{1}{1+x^2}$$



      Its radius of convergence follows from the geometric series to be $|x^2|<1$ so $|x|<1$. This means the series has radius of convergence $1$.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        We recognise this to be:



        $$ 1 - x^2 + x^4 - x^6 +x^8dots$$



        Notice that:



        $$ frac{1}{1 - (-x^2)}= 1- x^2 + x^4 - x^6 +x^8 dots $$



        So our closed expression is the geometric series variation $$frac{1}{1+x^2}$$



        Its radius of convergence follows from the geometric series to be $|x^2|<1$ so $|x|<1$. This means the series has radius of convergence $1$.






        share|cite|improve this answer









        $endgroup$



        We recognise this to be:



        $$ 1 - x^2 + x^4 - x^6 +x^8dots$$



        Notice that:



        $$ frac{1}{1 - (-x^2)}= 1- x^2 + x^4 - x^6 +x^8 dots $$



        So our closed expression is the geometric series variation $$frac{1}{1+x^2}$$



        Its radius of convergence follows from the geometric series to be $|x^2|<1$ so $|x|<1$. This means the series has radius of convergence $1$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Feb 1 at 16:15









        Wesley StrikWesley Strik

        2,189424




        2,189424






























            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%2f3096242%2fsolve-1x2-fx-4x-fx-2-fx-0-via-power-series-method%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

            Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

            ts Property 'filter' does not exist on type '{}'

            mat-slide-toggle shouldn't change it's state when I click cancel in confirmation window