Forming differential equations from words












1












$begingroup$


Consider two tanks, A and B, each holding 200 litres of water. A pipe pumps
water from tank A to tank B at a rate of 5 l/min. At the same time another
pipe pumps liquid from tank B to tank A at the same rate. At time $t=0$, $x_0$
kg of a chemical X is dissolved into tank A, and tank B has $y_0$ kg of the same
chemical X dissolved into it.



I got
$$begin{align*}frac{dx}{dt}&=-x_0frac{t}{40}+y_0frac{t}{40}\
frac{dy}{dt}&=-y_0frac{t}{40}+x_0frac{t}{40}end{align*}$$



Is this right? I know it seems easy but I've seen some say the signs are the other way around.



Thanks!










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Consider two tanks, A and B, each holding 200 litres of water. A pipe pumps
    water from tank A to tank B at a rate of 5 l/min. At the same time another
    pipe pumps liquid from tank B to tank A at the same rate. At time $t=0$, $x_0$
    kg of a chemical X is dissolved into tank A, and tank B has $y_0$ kg of the same
    chemical X dissolved into it.



    I got
    $$begin{align*}frac{dx}{dt}&=-x_0frac{t}{40}+y_0frac{t}{40}\
    frac{dy}{dt}&=-y_0frac{t}{40}+x_0frac{t}{40}end{align*}$$



    Is this right? I know it seems easy but I've seen some say the signs are the other way around.



    Thanks!










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Consider two tanks, A and B, each holding 200 litres of water. A pipe pumps
      water from tank A to tank B at a rate of 5 l/min. At the same time another
      pipe pumps liquid from tank B to tank A at the same rate. At time $t=0$, $x_0$
      kg of a chemical X is dissolved into tank A, and tank B has $y_0$ kg of the same
      chemical X dissolved into it.



      I got
      $$begin{align*}frac{dx}{dt}&=-x_0frac{t}{40}+y_0frac{t}{40}\
      frac{dy}{dt}&=-y_0frac{t}{40}+x_0frac{t}{40}end{align*}$$



      Is this right? I know it seems easy but I've seen some say the signs are the other way around.



      Thanks!










      share|cite|improve this question











      $endgroup$




      Consider two tanks, A and B, each holding 200 litres of water. A pipe pumps
      water from tank A to tank B at a rate of 5 l/min. At the same time another
      pipe pumps liquid from tank B to tank A at the same rate. At time $t=0$, $x_0$
      kg of a chemical X is dissolved into tank A, and tank B has $y_0$ kg of the same
      chemical X dissolved into it.



      I got
      $$begin{align*}frac{dx}{dt}&=-x_0frac{t}{40}+y_0frac{t}{40}\
      frac{dy}{dt}&=-y_0frac{t}{40}+x_0frac{t}{40}end{align*}$$



      Is this right? I know it seems easy but I've seen some say the signs are the other way around.



      Thanks!







      ordinary-differential-equations






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 6 '18 at 3:04









      obscurans

      1,152311




      1,152311










      asked Dec 6 '18 at 2:09









      AnoUser1AnoUser1

      765




      765






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          For this type of problem, assume that the water in the tanks is well-mixed.



          What this means is at time $t$, the concentrations of chemicals X and Y in tank A is not static, it changes as water from the other tank goes in.



          Your current equation




          1. doesn't specify what $x$ and $y$ represent as a function of $t$

          2. says "the change in $x$ is some constant depending on $x_0$ and $y_0$"

          3. which doesn't depend on the current value of $x$ or $y$ at all






          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%2f3027943%2fforming-differential-equations-from-words%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$

            For this type of problem, assume that the water in the tanks is well-mixed.



            What this means is at time $t$, the concentrations of chemicals X and Y in tank A is not static, it changes as water from the other tank goes in.



            Your current equation




            1. doesn't specify what $x$ and $y$ represent as a function of $t$

            2. says "the change in $x$ is some constant depending on $x_0$ and $y_0$"

            3. which doesn't depend on the current value of $x$ or $y$ at all






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              For this type of problem, assume that the water in the tanks is well-mixed.



              What this means is at time $t$, the concentrations of chemicals X and Y in tank A is not static, it changes as water from the other tank goes in.



              Your current equation




              1. doesn't specify what $x$ and $y$ represent as a function of $t$

              2. says "the change in $x$ is some constant depending on $x_0$ and $y_0$"

              3. which doesn't depend on the current value of $x$ or $y$ at all






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                For this type of problem, assume that the water in the tanks is well-mixed.



                What this means is at time $t$, the concentrations of chemicals X and Y in tank A is not static, it changes as water from the other tank goes in.



                Your current equation




                1. doesn't specify what $x$ and $y$ represent as a function of $t$

                2. says "the change in $x$ is some constant depending on $x_0$ and $y_0$"

                3. which doesn't depend on the current value of $x$ or $y$ at all






                share|cite|improve this answer









                $endgroup$



                For this type of problem, assume that the water in the tanks is well-mixed.



                What this means is at time $t$, the concentrations of chemicals X and Y in tank A is not static, it changes as water from the other tank goes in.



                Your current equation




                1. doesn't specify what $x$ and $y$ represent as a function of $t$

                2. says "the change in $x$ is some constant depending on $x_0$ and $y_0$"

                3. which doesn't depend on the current value of $x$ or $y$ at all







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 6 '18 at 2:44









                obscuransobscurans

                1,152311




                1,152311






























                    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%2f3027943%2fforming-differential-equations-from-words%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

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa