Using Euler's method, solve system of differential equations












0












$begingroup$


Using Euler's method, solve system of differential equations $Y'=AY$ if $$A= begin{bmatrix}
8 & -1 & 5 \
-2 & 3 & 1 \
4 & -1 & -1 \
end{bmatrix}$$



$$-$$ I've been reading about this method, and I saw that all examples with this metho have some time step $h$ or initial value $y(t_0)=y_0$, but here I don't have anything. Can I solve this like Nonhomogeneous constant-coefficient linear differential equations or to solve this with eigenvalues(I heard about this way, but I don't know how to do that)..










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    As you observed, the task description is incomplete without an initial value. One could take as canonical place-holder the identity matrix $Y_0=I$. This then would approximate the fundamental (matrix-valued) solution.
    $endgroup$
    – LutzL
    Jan 31 at 21:35


















0












$begingroup$


Using Euler's method, solve system of differential equations $Y'=AY$ if $$A= begin{bmatrix}
8 & -1 & 5 \
-2 & 3 & 1 \
4 & -1 & -1 \
end{bmatrix}$$



$$-$$ I've been reading about this method, and I saw that all examples with this metho have some time step $h$ or initial value $y(t_0)=y_0$, but here I don't have anything. Can I solve this like Nonhomogeneous constant-coefficient linear differential equations or to solve this with eigenvalues(I heard about this way, but I don't know how to do that)..










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    As you observed, the task description is incomplete without an initial value. One could take as canonical place-holder the identity matrix $Y_0=I$. This then would approximate the fundamental (matrix-valued) solution.
    $endgroup$
    – LutzL
    Jan 31 at 21:35
















0












0








0





$begingroup$


Using Euler's method, solve system of differential equations $Y'=AY$ if $$A= begin{bmatrix}
8 & -1 & 5 \
-2 & 3 & 1 \
4 & -1 & -1 \
end{bmatrix}$$



$$-$$ I've been reading about this method, and I saw that all examples with this metho have some time step $h$ or initial value $y(t_0)=y_0$, but here I don't have anything. Can I solve this like Nonhomogeneous constant-coefficient linear differential equations or to solve this with eigenvalues(I heard about this way, but I don't know how to do that)..










share|cite|improve this question









$endgroup$




Using Euler's method, solve system of differential equations $Y'=AY$ if $$A= begin{bmatrix}
8 & -1 & 5 \
-2 & 3 & 1 \
4 & -1 & -1 \
end{bmatrix}$$



$$-$$ I've been reading about this method, and I saw that all examples with this metho have some time step $h$ or initial value $y(t_0)=y_0$, but here I don't have anything. Can I solve this like Nonhomogeneous constant-coefficient linear differential equations or to solve this with eigenvalues(I heard about this way, but I don't know how to do that)..







linear-algebra ordinary-differential-equations






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 31 at 20:25









FiggaroFiggaro

406




406








  • 2




    $begingroup$
    As you observed, the task description is incomplete without an initial value. One could take as canonical place-holder the identity matrix $Y_0=I$. This then would approximate the fundamental (matrix-valued) solution.
    $endgroup$
    – LutzL
    Jan 31 at 21:35
















  • 2




    $begingroup$
    As you observed, the task description is incomplete without an initial value. One could take as canonical place-holder the identity matrix $Y_0=I$. This then would approximate the fundamental (matrix-valued) solution.
    $endgroup$
    – LutzL
    Jan 31 at 21:35










2




2




$begingroup$
As you observed, the task description is incomplete without an initial value. One could take as canonical place-holder the identity matrix $Y_0=I$. This then would approximate the fundamental (matrix-valued) solution.
$endgroup$
– LutzL
Jan 31 at 21:35






$begingroup$
As you observed, the task description is incomplete without an initial value. One could take as canonical place-holder the identity matrix $Y_0=I$. This then would approximate the fundamental (matrix-valued) solution.
$endgroup$
– LutzL
Jan 31 at 21:35












1 Answer
1






active

oldest

votes


















0












$begingroup$

While you cannot solve it without an initial value, at least you can write down the recurrence.



Let $SJS^{-1}$ be a diagonalization of $A$.
Given an initial condition $y_{0}=Y(t_{0})$ and a step size $h$, Euler's method defines the sequence of iterates $y_{1},y_{2},ldots$ by
$$
y_{n+1}=left(I+hAright)y_{n}qquadtext{for }ngeq0.
$$

Equivalently,
$$
y_{n}=left(I+hAright)^{n}y_{0}qquadtext{for }ngeq0.
$$

Using the fact that
$$
I+hA=SS^{-1}+hSJS^{-1}=Sleft(I+hJright)S^{-1}
$$

we get
$$
y_{n}=Sleft(I+hJright)^{n}S^{-1}y_{0}qquadtext{for }ngeq0.
$$

As for the actual values of $S$ and $J$, according to Wolfram Alpha
they are
$$
Sapproxbegin{pmatrix}-0.502512 & -5.7963 & 2.63214\
-0.354525 & -26.7138 & -0.598336\
1 & 1 & 1
end{pmatrix}
$$

and
$$I+hJapproxbegin{pmatrix}1-2.65552h\
& 1+2.52861h\
& & 1+10.1269h
end{pmatrix}.
$$






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%2f3095402%2fusing-eulers-method-solve-system-of-differential-equations%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$

    While you cannot solve it without an initial value, at least you can write down the recurrence.



    Let $SJS^{-1}$ be a diagonalization of $A$.
    Given an initial condition $y_{0}=Y(t_{0})$ and a step size $h$, Euler's method defines the sequence of iterates $y_{1},y_{2},ldots$ by
    $$
    y_{n+1}=left(I+hAright)y_{n}qquadtext{for }ngeq0.
    $$

    Equivalently,
    $$
    y_{n}=left(I+hAright)^{n}y_{0}qquadtext{for }ngeq0.
    $$

    Using the fact that
    $$
    I+hA=SS^{-1}+hSJS^{-1}=Sleft(I+hJright)S^{-1}
    $$

    we get
    $$
    y_{n}=Sleft(I+hJright)^{n}S^{-1}y_{0}qquadtext{for }ngeq0.
    $$

    As for the actual values of $S$ and $J$, according to Wolfram Alpha
    they are
    $$
    Sapproxbegin{pmatrix}-0.502512 & -5.7963 & 2.63214\
    -0.354525 & -26.7138 & -0.598336\
    1 & 1 & 1
    end{pmatrix}
    $$

    and
    $$I+hJapproxbegin{pmatrix}1-2.65552h\
    & 1+2.52861h\
    & & 1+10.1269h
    end{pmatrix}.
    $$






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      While you cannot solve it without an initial value, at least you can write down the recurrence.



      Let $SJS^{-1}$ be a diagonalization of $A$.
      Given an initial condition $y_{0}=Y(t_{0})$ and a step size $h$, Euler's method defines the sequence of iterates $y_{1},y_{2},ldots$ by
      $$
      y_{n+1}=left(I+hAright)y_{n}qquadtext{for }ngeq0.
      $$

      Equivalently,
      $$
      y_{n}=left(I+hAright)^{n}y_{0}qquadtext{for }ngeq0.
      $$

      Using the fact that
      $$
      I+hA=SS^{-1}+hSJS^{-1}=Sleft(I+hJright)S^{-1}
      $$

      we get
      $$
      y_{n}=Sleft(I+hJright)^{n}S^{-1}y_{0}qquadtext{for }ngeq0.
      $$

      As for the actual values of $S$ and $J$, according to Wolfram Alpha
      they are
      $$
      Sapproxbegin{pmatrix}-0.502512 & -5.7963 & 2.63214\
      -0.354525 & -26.7138 & -0.598336\
      1 & 1 & 1
      end{pmatrix}
      $$

      and
      $$I+hJapproxbegin{pmatrix}1-2.65552h\
      & 1+2.52861h\
      & & 1+10.1269h
      end{pmatrix}.
      $$






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        While you cannot solve it without an initial value, at least you can write down the recurrence.



        Let $SJS^{-1}$ be a diagonalization of $A$.
        Given an initial condition $y_{0}=Y(t_{0})$ and a step size $h$, Euler's method defines the sequence of iterates $y_{1},y_{2},ldots$ by
        $$
        y_{n+1}=left(I+hAright)y_{n}qquadtext{for }ngeq0.
        $$

        Equivalently,
        $$
        y_{n}=left(I+hAright)^{n}y_{0}qquadtext{for }ngeq0.
        $$

        Using the fact that
        $$
        I+hA=SS^{-1}+hSJS^{-1}=Sleft(I+hJright)S^{-1}
        $$

        we get
        $$
        y_{n}=Sleft(I+hJright)^{n}S^{-1}y_{0}qquadtext{for }ngeq0.
        $$

        As for the actual values of $S$ and $J$, according to Wolfram Alpha
        they are
        $$
        Sapproxbegin{pmatrix}-0.502512 & -5.7963 & 2.63214\
        -0.354525 & -26.7138 & -0.598336\
        1 & 1 & 1
        end{pmatrix}
        $$

        and
        $$I+hJapproxbegin{pmatrix}1-2.65552h\
        & 1+2.52861h\
        & & 1+10.1269h
        end{pmatrix}.
        $$






        share|cite|improve this answer









        $endgroup$



        While you cannot solve it without an initial value, at least you can write down the recurrence.



        Let $SJS^{-1}$ be a diagonalization of $A$.
        Given an initial condition $y_{0}=Y(t_{0})$ and a step size $h$, Euler's method defines the sequence of iterates $y_{1},y_{2},ldots$ by
        $$
        y_{n+1}=left(I+hAright)y_{n}qquadtext{for }ngeq0.
        $$

        Equivalently,
        $$
        y_{n}=left(I+hAright)^{n}y_{0}qquadtext{for }ngeq0.
        $$

        Using the fact that
        $$
        I+hA=SS^{-1}+hSJS^{-1}=Sleft(I+hJright)S^{-1}
        $$

        we get
        $$
        y_{n}=Sleft(I+hJright)^{n}S^{-1}y_{0}qquadtext{for }ngeq0.
        $$

        As for the actual values of $S$ and $J$, according to Wolfram Alpha
        they are
        $$
        Sapproxbegin{pmatrix}-0.502512 & -5.7963 & 2.63214\
        -0.354525 & -26.7138 & -0.598336\
        1 & 1 & 1
        end{pmatrix}
        $$

        and
        $$I+hJapproxbegin{pmatrix}1-2.65552h\
        & 1+2.52861h\
        & & 1+10.1269h
        end{pmatrix}.
        $$







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Feb 1 at 4:02









        parsiadparsiad

        18.7k32453




        18.7k32453






























            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%2f3095402%2fusing-eulers-method-solve-system-of-differential-equations%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

            'app-layout' is not a known element: how to share Component with different Modules

            android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

            WPF add header to Image with URL pettitions [duplicate]