Going back in time in and initial value problemsolving coupled ODEs with initial-value and final-value constraintsOptimal ODE method for fixed number of RHS evaluations4th-order Runge-Kutta method for coupled harmonic oscillatorHow can I call the Boost C++ odeint Runge-Kutta integrator for a system of ODEs?Numerical solution of IVP for linear ODE with variable coefficient blows upObject falling with air resistance using Runge-KuttaODE System doesn't work when step size (h) is bigger than 1Prescribing variables as an excitation in Runge-Kutta methodAdam Bashforth 4 method: how to determine starting values and stil keep the the order of accuracyIs there any explicit symplectic Runge-Kutta method?

Non-misogynistic way to say “asshole”?

Can I enter the UK for 24 hours from a Schengen area, holding an Indian passport?

Encounter design and XP thresholds

Improve appearance of the table in Latex

Is there any proof that high saturation and contrast makes a picture more appealing in social media?

Greeting with "Ho"

What is the "ls" directory in my home directory?

Umlaut character order when sorting

Designing a magic-compatible polearm

Why is "Congress shall have power to enforce this article by appropriate legislation" necessary?

What does this Swiss black on yellow rectangular traffic sign with a symbol looking like a dart mean?

Are there any individual aliens that have gained superpowers in the Marvel universe?

"Correct me if I'm wrong"

What triggered jesuits' ban on infinitesimals in 1632?

What is "industrial ethernet"?

Methodology: Writing unit tests for another developer

Can the pre-order traversal of two different trees be the same even though they are different?

Covering index used despite missing column

How to work with PETG? Settings, caveats, etc

How hard is it to distinguish between remote access to a virtual machine vs a piece of hardware?

What is the oldest commercial MS-DOS program that can run on modern versions of Windows without third-party software?

Extending prime numbers digit by digit while retaining primality

Second 100 amp breaker inside existing 200 amp residential panel for new detached garage

Why don't countries like Japan just print more money?



Going back in time in and initial value problem


solving coupled ODEs with initial-value and final-value constraintsOptimal ODE method for fixed number of RHS evaluations4th-order Runge-Kutta method for coupled harmonic oscillatorHow can I call the Boost C++ odeint Runge-Kutta integrator for a system of ODEs?Numerical solution of IVP for linear ODE with variable coefficient blows upObject falling with air resistance using Runge-KuttaODE System doesn't work when step size (h) is bigger than 1Prescribing variables as an excitation in Runge-Kutta methodAdam Bashforth 4 method: how to determine starting values and stil keep the the order of accuracyIs there any explicit symplectic Runge-Kutta method?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3












$begingroup$


Consider an initial value problem (IVP) $y'=f(t,y)$ with the initial value given by $y(t=0) = 0$.



If I need to find $y(t^*)$, hence finding the path for $y$ in $t in [0,t^*]$ and $t^*<0$; is the problem then still an initial value problem? In other words can you go back in time in IVP.



The reason I ask is that I have an algorithm where in each step I need to solve for different $t^*$. I intend to use solve_ivp in Python which is based on Runge-Kutta 45 method and I want to know if there are any theoretical contradictions when I apply RK45.



I know that if I will use Eulers method then there is no problem. But what about RK45. Will I get the desired result.










share|cite|improve this question











$endgroup$


















    3












    $begingroup$


    Consider an initial value problem (IVP) $y'=f(t,y)$ with the initial value given by $y(t=0) = 0$.



    If I need to find $y(t^*)$, hence finding the path for $y$ in $t in [0,t^*]$ and $t^*<0$; is the problem then still an initial value problem? In other words can you go back in time in IVP.



    The reason I ask is that I have an algorithm where in each step I need to solve for different $t^*$. I intend to use solve_ivp in Python which is based on Runge-Kutta 45 method and I want to know if there are any theoretical contradictions when I apply RK45.



    I know that if I will use Eulers method then there is no problem. But what about RK45. Will I get the desired result.










    share|cite|improve this question











    $endgroup$














      3












      3








      3





      $begingroup$


      Consider an initial value problem (IVP) $y'=f(t,y)$ with the initial value given by $y(t=0) = 0$.



      If I need to find $y(t^*)$, hence finding the path for $y$ in $t in [0,t^*]$ and $t^*<0$; is the problem then still an initial value problem? In other words can you go back in time in IVP.



      The reason I ask is that I have an algorithm where in each step I need to solve for different $t^*$. I intend to use solve_ivp in Python which is based on Runge-Kutta 45 method and I want to know if there are any theoretical contradictions when I apply RK45.



      I know that if I will use Eulers method then there is no problem. But what about RK45. Will I get the desired result.










      share|cite|improve this question











      $endgroup$




      Consider an initial value problem (IVP) $y'=f(t,y)$ with the initial value given by $y(t=0) = 0$.



      If I need to find $y(t^*)$, hence finding the path for $y$ in $t in [0,t^*]$ and $t^*<0$; is the problem then still an initial value problem? In other words can you go back in time in IVP.



      The reason I ask is that I have an algorithm where in each step I need to solve for different $t^*$. I intend to use solve_ivp in Python which is based on Runge-Kutta 45 method and I want to know if there are any theoretical contradictions when I apply RK45.



      I know that if I will use Eulers method then there is no problem. But what about RK45. Will I get the desired result.







      ode numerics






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited 7 hours ago









      GertVdE

      5,4301535




      5,4301535










      asked 8 hours ago









      k.dkhkk.dkhk

      1495




      1495




















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          This is technically still an IVP if you do an appropriate change of variables. Given your time is between $t in [t^*, 0]$, make a new time variable $tau = -t$ so that $tau in [0, -t^*]$ and you can modify the time derivatives accordingly. This means that you should have the differential equation $fracdydtau = -f(-tau, y)$ with $y(tau = 0) = 0$ as your new IVP. This implies that you should be able to use Runge-Kutta approaches just fine.






          share|cite|improve this answer









          $endgroup$













            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "363"
            ;
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fscicomp.stackexchange.com%2fquestions%2f32903%2fgoing-back-in-time-in-and-initial-value-problem%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









            2












            $begingroup$

            This is technically still an IVP if you do an appropriate change of variables. Given your time is between $t in [t^*, 0]$, make a new time variable $tau = -t$ so that $tau in [0, -t^*]$ and you can modify the time derivatives accordingly. This means that you should have the differential equation $fracdydtau = -f(-tau, y)$ with $y(tau = 0) = 0$ as your new IVP. This implies that you should be able to use Runge-Kutta approaches just fine.






            share|cite|improve this answer









            $endgroup$

















              2












              $begingroup$

              This is technically still an IVP if you do an appropriate change of variables. Given your time is between $t in [t^*, 0]$, make a new time variable $tau = -t$ so that $tau in [0, -t^*]$ and you can modify the time derivatives accordingly. This means that you should have the differential equation $fracdydtau = -f(-tau, y)$ with $y(tau = 0) = 0$ as your new IVP. This implies that you should be able to use Runge-Kutta approaches just fine.






              share|cite|improve this answer









              $endgroup$















                2












                2








                2





                $begingroup$

                This is technically still an IVP if you do an appropriate change of variables. Given your time is between $t in [t^*, 0]$, make a new time variable $tau = -t$ so that $tau in [0, -t^*]$ and you can modify the time derivatives accordingly. This means that you should have the differential equation $fracdydtau = -f(-tau, y)$ with $y(tau = 0) = 0$ as your new IVP. This implies that you should be able to use Runge-Kutta approaches just fine.






                share|cite|improve this answer









                $endgroup$



                This is technically still an IVP if you do an appropriate change of variables. Given your time is between $t in [t^*, 0]$, make a new time variable $tau = -t$ so that $tau in [0, -t^*]$ and you can modify the time derivatives accordingly. This means that you should have the differential equation $fracdydtau = -f(-tau, y)$ with $y(tau = 0) = 0$ as your new IVP. This implies that you should be able to use Runge-Kutta approaches just fine.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered 6 hours ago









                spektrspektr

                2,4761913




                2,4761913



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Computational Science 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%2fscicomp.stackexchange.com%2fquestions%2f32903%2fgoing-back-in-time-in-and-initial-value-problem%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

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її