Runge Kutta Order 1 and Stage 2












0












$begingroup$


I am looking for examples of Runge-Kutta method with order 1 and stage 2, Then if it is possible, can you exemplify order 1 and stage 3 RK?
I am really confused with the stage and order in runge kutta. It would be great to see examples only on Butcher tableau so that it makes it easier for me to understand. Thanks in advance.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Up to order 4 you can achieve stages = order, the typical examples start with order 5 where the usual methods have 6 or 7 stages (but usually only 6 function evaluations per time step). See math.stackexchange.com/q/1213614/115115 for some numerical experiments with (nominally) 2-stage methods that include implicit and explicit Euler as extreme cases.
    $endgroup$
    – LutzL
    Nov 14 '18 at 20:53










  • $begingroup$
    @LutzL thanks for the link. Also is there any other example for RK 1 order 2 stage as embedded explicit Rk?
    $endgroup$
    – enes
    Nov 14 '18 at 21:17










  • $begingroup$
    In principle in any explicit method, the first stage provides an explicit Euler step.
    $endgroup$
    – LutzL
    Nov 14 '18 at 21:21


















0












$begingroup$


I am looking for examples of Runge-Kutta method with order 1 and stage 2, Then if it is possible, can you exemplify order 1 and stage 3 RK?
I am really confused with the stage and order in runge kutta. It would be great to see examples only on Butcher tableau so that it makes it easier for me to understand. Thanks in advance.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Up to order 4 you can achieve stages = order, the typical examples start with order 5 where the usual methods have 6 or 7 stages (but usually only 6 function evaluations per time step). See math.stackexchange.com/q/1213614/115115 for some numerical experiments with (nominally) 2-stage methods that include implicit and explicit Euler as extreme cases.
    $endgroup$
    – LutzL
    Nov 14 '18 at 20:53










  • $begingroup$
    @LutzL thanks for the link. Also is there any other example for RK 1 order 2 stage as embedded explicit Rk?
    $endgroup$
    – enes
    Nov 14 '18 at 21:17










  • $begingroup$
    In principle in any explicit method, the first stage provides an explicit Euler step.
    $endgroup$
    – LutzL
    Nov 14 '18 at 21:21
















0












0








0


0



$begingroup$


I am looking for examples of Runge-Kutta method with order 1 and stage 2, Then if it is possible, can you exemplify order 1 and stage 3 RK?
I am really confused with the stage and order in runge kutta. It would be great to see examples only on Butcher tableau so that it makes it easier for me to understand. Thanks in advance.










share|cite|improve this question









$endgroup$




I am looking for examples of Runge-Kutta method with order 1 and stage 2, Then if it is possible, can you exemplify order 1 and stage 3 RK?
I am really confused with the stage and order in runge kutta. It would be great to see examples only on Butcher tableau so that it makes it easier for me to understand. Thanks in advance.







runge-kutta-methods






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 14 '18 at 20:26









enesenes

245




245












  • $begingroup$
    Up to order 4 you can achieve stages = order, the typical examples start with order 5 where the usual methods have 6 or 7 stages (but usually only 6 function evaluations per time step). See math.stackexchange.com/q/1213614/115115 for some numerical experiments with (nominally) 2-stage methods that include implicit and explicit Euler as extreme cases.
    $endgroup$
    – LutzL
    Nov 14 '18 at 20:53










  • $begingroup$
    @LutzL thanks for the link. Also is there any other example for RK 1 order 2 stage as embedded explicit Rk?
    $endgroup$
    – enes
    Nov 14 '18 at 21:17










  • $begingroup$
    In principle in any explicit method, the first stage provides an explicit Euler step.
    $endgroup$
    – LutzL
    Nov 14 '18 at 21:21




















  • $begingroup$
    Up to order 4 you can achieve stages = order, the typical examples start with order 5 where the usual methods have 6 or 7 stages (but usually only 6 function evaluations per time step). See math.stackexchange.com/q/1213614/115115 for some numerical experiments with (nominally) 2-stage methods that include implicit and explicit Euler as extreme cases.
    $endgroup$
    – LutzL
    Nov 14 '18 at 20:53










  • $begingroup$
    @LutzL thanks for the link. Also is there any other example for RK 1 order 2 stage as embedded explicit Rk?
    $endgroup$
    – enes
    Nov 14 '18 at 21:17










  • $begingroup$
    In principle in any explicit method, the first stage provides an explicit Euler step.
    $endgroup$
    – LutzL
    Nov 14 '18 at 21:21


















$begingroup$
Up to order 4 you can achieve stages = order, the typical examples start with order 5 where the usual methods have 6 or 7 stages (but usually only 6 function evaluations per time step). See math.stackexchange.com/q/1213614/115115 for some numerical experiments with (nominally) 2-stage methods that include implicit and explicit Euler as extreme cases.
$endgroup$
– LutzL
Nov 14 '18 at 20:53




$begingroup$
Up to order 4 you can achieve stages = order, the typical examples start with order 5 where the usual methods have 6 or 7 stages (but usually only 6 function evaluations per time step). See math.stackexchange.com/q/1213614/115115 for some numerical experiments with (nominally) 2-stage methods that include implicit and explicit Euler as extreme cases.
$endgroup$
– LutzL
Nov 14 '18 at 20:53












$begingroup$
@LutzL thanks for the link. Also is there any other example for RK 1 order 2 stage as embedded explicit Rk?
$endgroup$
– enes
Nov 14 '18 at 21:17




$begingroup$
@LutzL thanks for the link. Also is there any other example for RK 1 order 2 stage as embedded explicit Rk?
$endgroup$
– enes
Nov 14 '18 at 21:17












$begingroup$
In principle in any explicit method, the first stage provides an explicit Euler step.
$endgroup$
– LutzL
Nov 14 '18 at 21:21






$begingroup$
In principle in any explicit method, the first stage provides an explicit Euler step.
$endgroup$
– LutzL
Nov 14 '18 at 21:21












1 Answer
1






active

oldest

votes


















1












$begingroup$

As an example, any explicit two-stage Runge-Kutta (RK) method with Butcher table
begin{equation}
begin{array}{c|cc}
0 & 0 & 0\
a & a & 0\
hline
& b & 1-b
end{array}
quad a, b in mathbb{R},
end{equation}

is first-order consistent, and it is second-order consistent if and only if $b = 1 - frac{1}{2a}$. This follows from the order conditions.



With $a = frac{1}{2}$ and $b=1 - frac{1}{2a} = 0$ we obtain the (explicit) midpoint method, which is second-order consistent, and there are of course other two-stage RK methods which are second-order consistent. However for, say, $a=1$ and $b=0neq 1-frac{1}{2a}$ you obtain a two-stage RK method which is only first-order consistent.



In general all order conditions for a given order $p$ must be satisfied by the entries of the Butcher table, and since the number of conditions grows with $p$, the number of entries in the Butcher table must also increase in order to satisfy all of the conditions. The only way to achieve this is to use additional stages. Therefore, higher-order methods require more stages.



On the other hand, it is rather easy to give examples of RK methods whose order is lower than the maximum, by choosing entries in the Butcher table which do not satisfy some of the order conditions.



The order conditions are tough to derive for $p geq 5$, and their number grows rather quickly, but it has been done of course.






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%2f2998781%2frunge-kutta-order-1-and-stage-2%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$

    As an example, any explicit two-stage Runge-Kutta (RK) method with Butcher table
    begin{equation}
    begin{array}{c|cc}
    0 & 0 & 0\
    a & a & 0\
    hline
    & b & 1-b
    end{array}
    quad a, b in mathbb{R},
    end{equation}

    is first-order consistent, and it is second-order consistent if and only if $b = 1 - frac{1}{2a}$. This follows from the order conditions.



    With $a = frac{1}{2}$ and $b=1 - frac{1}{2a} = 0$ we obtain the (explicit) midpoint method, which is second-order consistent, and there are of course other two-stage RK methods which are second-order consistent. However for, say, $a=1$ and $b=0neq 1-frac{1}{2a}$ you obtain a two-stage RK method which is only first-order consistent.



    In general all order conditions for a given order $p$ must be satisfied by the entries of the Butcher table, and since the number of conditions grows with $p$, the number of entries in the Butcher table must also increase in order to satisfy all of the conditions. The only way to achieve this is to use additional stages. Therefore, higher-order methods require more stages.



    On the other hand, it is rather easy to give examples of RK methods whose order is lower than the maximum, by choosing entries in the Butcher table which do not satisfy some of the order conditions.



    The order conditions are tough to derive for $p geq 5$, and their number grows rather quickly, but it has been done of course.






    share|cite|improve this answer









    $endgroup$


















      1












      $begingroup$

      As an example, any explicit two-stage Runge-Kutta (RK) method with Butcher table
      begin{equation}
      begin{array}{c|cc}
      0 & 0 & 0\
      a & a & 0\
      hline
      & b & 1-b
      end{array}
      quad a, b in mathbb{R},
      end{equation}

      is first-order consistent, and it is second-order consistent if and only if $b = 1 - frac{1}{2a}$. This follows from the order conditions.



      With $a = frac{1}{2}$ and $b=1 - frac{1}{2a} = 0$ we obtain the (explicit) midpoint method, which is second-order consistent, and there are of course other two-stage RK methods which are second-order consistent. However for, say, $a=1$ and $b=0neq 1-frac{1}{2a}$ you obtain a two-stage RK method which is only first-order consistent.



      In general all order conditions for a given order $p$ must be satisfied by the entries of the Butcher table, and since the number of conditions grows with $p$, the number of entries in the Butcher table must also increase in order to satisfy all of the conditions. The only way to achieve this is to use additional stages. Therefore, higher-order methods require more stages.



      On the other hand, it is rather easy to give examples of RK methods whose order is lower than the maximum, by choosing entries in the Butcher table which do not satisfy some of the order conditions.



      The order conditions are tough to derive for $p geq 5$, and their number grows rather quickly, but it has been done of course.






      share|cite|improve this answer









      $endgroup$
















        1












        1








        1





        $begingroup$

        As an example, any explicit two-stage Runge-Kutta (RK) method with Butcher table
        begin{equation}
        begin{array}{c|cc}
        0 & 0 & 0\
        a & a & 0\
        hline
        & b & 1-b
        end{array}
        quad a, b in mathbb{R},
        end{equation}

        is first-order consistent, and it is second-order consistent if and only if $b = 1 - frac{1}{2a}$. This follows from the order conditions.



        With $a = frac{1}{2}$ and $b=1 - frac{1}{2a} = 0$ we obtain the (explicit) midpoint method, which is second-order consistent, and there are of course other two-stage RK methods which are second-order consistent. However for, say, $a=1$ and $b=0neq 1-frac{1}{2a}$ you obtain a two-stage RK method which is only first-order consistent.



        In general all order conditions for a given order $p$ must be satisfied by the entries of the Butcher table, and since the number of conditions grows with $p$, the number of entries in the Butcher table must also increase in order to satisfy all of the conditions. The only way to achieve this is to use additional stages. Therefore, higher-order methods require more stages.



        On the other hand, it is rather easy to give examples of RK methods whose order is lower than the maximum, by choosing entries in the Butcher table which do not satisfy some of the order conditions.



        The order conditions are tough to derive for $p geq 5$, and their number grows rather quickly, but it has been done of course.






        share|cite|improve this answer









        $endgroup$



        As an example, any explicit two-stage Runge-Kutta (RK) method with Butcher table
        begin{equation}
        begin{array}{c|cc}
        0 & 0 & 0\
        a & a & 0\
        hline
        & b & 1-b
        end{array}
        quad a, b in mathbb{R},
        end{equation}

        is first-order consistent, and it is second-order consistent if and only if $b = 1 - frac{1}{2a}$. This follows from the order conditions.



        With $a = frac{1}{2}$ and $b=1 - frac{1}{2a} = 0$ we obtain the (explicit) midpoint method, which is second-order consistent, and there are of course other two-stage RK methods which are second-order consistent. However for, say, $a=1$ and $b=0neq 1-frac{1}{2a}$ you obtain a two-stage RK method which is only first-order consistent.



        In general all order conditions for a given order $p$ must be satisfied by the entries of the Butcher table, and since the number of conditions grows with $p$, the number of entries in the Butcher table must also increase in order to satisfy all of the conditions. The only way to achieve this is to use additional stages. Therefore, higher-order methods require more stages.



        On the other hand, it is rather easy to give examples of RK methods whose order is lower than the maximum, by choosing entries in the Butcher table which do not satisfy some of the order conditions.



        The order conditions are tough to derive for $p geq 5$, and their number grows rather quickly, but it has been done of course.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Jan 1 at 11:34









        ChristophChristoph

        4366




        4366






























            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%2f2998781%2frunge-kutta-order-1-and-stage-2%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            File:DeusFollowingSea.jpg