Heat equation with non zero BC Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Heat Equation $1D$ with forcing termPartial differential equation (heat equation with other terms)?regularity of the solution for the heat equation on half space with boundary condition specifiedApproaching in Solving Heat Equation given ConditionsHeat equation solutionsDifference between Heat Equation solutionsPartial differential equation involving Heat Conduction Problempartial differential equation heat equationHeat equation - stationary solutionInhomogeneous heat equation on finite interval

Improvising over quartal voicings

IC on Digikey is 5x more expensive than board containing same IC on Alibaba: How?

Why do C and C++ allow the expression (int) + 4*5?

draw a pulley system

Did pre-Columbian Americans know the spherical shape of the Earth?

The test team as an enemy of development? And how can this be avoided?

Noise in Eigenvalues plot

What did Turing mean when saying that "machines cannot give rise to surprises" is due to a fallacy?

"Destructive power" carried by a B-52?

Searching extreme points of polyhedron

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

Where and when has Thucydides been studied?

French equivalents of おしゃれは足元から (Every good outfit starts with the shoes)

Why is there so little support for joining EFTA in the British parliament?

Getting representations of the Lie group out of representations of its Lie algebra

Is the Mordenkainen's Sword spell underpowered?

How to make an animal which can only breed for a certain number of generations?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Is a copyright notice with a non-existent name be invalid?

How to get a flat-head nail out of a piece of wood?

Did John Wesley plagiarize Matthew Henry...?

Does the universe have a fixed centre of mass?

Can two people see the same photon?

What does 丫 mean? 丫是什么意思?



Heat equation with non zero BC



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Heat Equation $1D$ with forcing termPartial differential equation (heat equation with other terms)?regularity of the solution for the heat equation on half space with boundary condition specifiedApproaching in Solving Heat Equation given ConditionsHeat equation solutionsDifference between Heat Equation solutionsPartial differential equation involving Heat Conduction Problempartial differential equation heat equationHeat equation - stationary solutionInhomogeneous heat equation on finite interval










1












$begingroup$


Assume I have a heat equation on $[0,pi]$ with 0 value on the boundaries and say 1 initial value, constant. I can see that I can write the solution as a series. Now, I want to change the boundary condition value to 2 and 4 on the left and on the right. How would I approach solving this problem?










share|cite|improve this question









$endgroup$
















    1












    $begingroup$


    Assume I have a heat equation on $[0,pi]$ with 0 value on the boundaries and say 1 initial value, constant. I can see that I can write the solution as a series. Now, I want to change the boundary condition value to 2 and 4 on the left and on the right. How would I approach solving this problem?










    share|cite|improve this question









    $endgroup$














      1












      1








      1


      1



      $begingroup$


      Assume I have a heat equation on $[0,pi]$ with 0 value on the boundaries and say 1 initial value, constant. I can see that I can write the solution as a series. Now, I want to change the boundary condition value to 2 and 4 on the left and on the right. How would I approach solving this problem?










      share|cite|improve this question









      $endgroup$




      Assume I have a heat equation on $[0,pi]$ with 0 value on the boundaries and say 1 initial value, constant. I can see that I can write the solution as a series. Now, I want to change the boundary condition value to 2 and 4 on the left and on the right. How would I approach solving this problem?







      pde numerical-methods






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Aug 27 '16 at 17:15









      MedanMedan

      227619




      227619




















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          The system that you want to solve is
          beginsplit
          partial_tu &= partial_xxu, xin[0,pi], t>0\
          u (0,t) &= 2, \
          u (pi,t) &= 4 \
          u(x,0) &= u_0
          endsplit

          where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.



          The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
          We start by defining $v$
          beginalign*
          v(x,t) = u(x,t) - u_E(x,t)
          endalign*

          where $u_E(x,t)$ is the solution at equilibrium.
          Hence one would firstly solve
          beginalign
          beginsplit
          partial_xxu_E &= 0, xin[0,pi]\
          u_E (0) &= 2 \
          u_E (pi) &= 4
          endsplit
          endalign

          for which the solution is
          beginalign
          u_E(x) = frac2pix + 2.
          endalign

          Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
          beginalign
          beginsplit
          partial_tv &= partial_xxv, xin[0,pi]\
          v (0,t) &= 0 \
          v (pi,t) &= 0 \
          v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
          endsplit
          endalign

          and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.



          Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$






          share|cite|improve this answer









          $endgroup$













            Your Answer








            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%2f1905441%2fheat-equation-with-non-zero-bc%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$

            The system that you want to solve is
            beginsplit
            partial_tu &= partial_xxu, xin[0,pi], t>0\
            u (0,t) &= 2, \
            u (pi,t) &= 4 \
            u(x,0) &= u_0
            endsplit

            where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.



            The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
            We start by defining $v$
            beginalign*
            v(x,t) = u(x,t) - u_E(x,t)
            endalign*

            where $u_E(x,t)$ is the solution at equilibrium.
            Hence one would firstly solve
            beginalign
            beginsplit
            partial_xxu_E &= 0, xin[0,pi]\
            u_E (0) &= 2 \
            u_E (pi) &= 4
            endsplit
            endalign

            for which the solution is
            beginalign
            u_E(x) = frac2pix + 2.
            endalign

            Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
            beginalign
            beginsplit
            partial_tv &= partial_xxv, xin[0,pi]\
            v (0,t) &= 0 \
            v (pi,t) &= 0 \
            v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
            endsplit
            endalign

            and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.



            Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$






            share|cite|improve this answer









            $endgroup$

















              0












              $begingroup$

              The system that you want to solve is
              beginsplit
              partial_tu &= partial_xxu, xin[0,pi], t>0\
              u (0,t) &= 2, \
              u (pi,t) &= 4 \
              u(x,0) &= u_0
              endsplit

              where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.



              The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
              We start by defining $v$
              beginalign*
              v(x,t) = u(x,t) - u_E(x,t)
              endalign*

              where $u_E(x,t)$ is the solution at equilibrium.
              Hence one would firstly solve
              beginalign
              beginsplit
              partial_xxu_E &= 0, xin[0,pi]\
              u_E (0) &= 2 \
              u_E (pi) &= 4
              endsplit
              endalign

              for which the solution is
              beginalign
              u_E(x) = frac2pix + 2.
              endalign

              Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
              beginalign
              beginsplit
              partial_tv &= partial_xxv, xin[0,pi]\
              v (0,t) &= 0 \
              v (pi,t) &= 0 \
              v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
              endsplit
              endalign

              and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.



              Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$






              share|cite|improve this answer









              $endgroup$















                0












                0








                0





                $begingroup$

                The system that you want to solve is
                beginsplit
                partial_tu &= partial_xxu, xin[0,pi], t>0\
                u (0,t) &= 2, \
                u (pi,t) &= 4 \
                u(x,0) &= u_0
                endsplit

                where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.



                The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
                We start by defining $v$
                beginalign*
                v(x,t) = u(x,t) - u_E(x,t)
                endalign*

                where $u_E(x,t)$ is the solution at equilibrium.
                Hence one would firstly solve
                beginalign
                beginsplit
                partial_xxu_E &= 0, xin[0,pi]\
                u_E (0) &= 2 \
                u_E (pi) &= 4
                endsplit
                endalign

                for which the solution is
                beginalign
                u_E(x) = frac2pix + 2.
                endalign

                Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
                beginalign
                beginsplit
                partial_tv &= partial_xxv, xin[0,pi]\
                v (0,t) &= 0 \
                v (pi,t) &= 0 \
                v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
                endsplit
                endalign

                and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.



                Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$






                share|cite|improve this answer









                $endgroup$



                The system that you want to solve is
                beginsplit
                partial_tu &= partial_xxu, xin[0,pi], t>0\
                u (0,t) &= 2, \
                u (pi,t) &= 4 \
                u(x,0) &= u_0
                endsplit

                where you have probably found that using the ansatz $u(x,t) = X(x)T(t)$ and proceeding by separation of variables doesn't work.



                The strategy is to rewrite the solution $u(x,t)$ in terms of a new variable $v(x,t)$ such that the new problem has homogeneous boundary conditions.
                We start by defining $v$
                beginalign*
                v(x,t) = u(x,t) - u_E(x,t)
                endalign*

                where $u_E(x,t)$ is the solution at equilibrium.
                Hence one would firstly solve
                beginalign
                beginsplit
                partial_xxu_E &= 0, xin[0,pi]\
                u_E (0) &= 2 \
                u_E (pi) &= 4
                endsplit
                endalign

                for which the solution is
                beginalign
                u_E(x) = frac2pix + 2.
                endalign

                Then we can write the new system for $v(x,t) = u(x,t) - frac2pix - 2$ as the following
                beginalign
                beginsplit
                partial_tv &= partial_xxv, xin[0,pi]\
                v (0,t) &= 0 \
                v (pi,t) &= 0 \
                v(x,0) &= u_0 - frac2pix - 2, xin[0,pi].
                endsplit
                endalign

                and solve using separation of variables using the ansatz $v(x,t) = X(x)T(t)$ in the usual way.



                Then one can finally write the solution as $u(x,t) = v(x,t) + u_E(x)$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Apr 2 at 13:40









                D.ShanksD.Shanks

                12




                12



























                    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%2f1905441%2fheat-equation-with-non-zero-bc%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

                    Triangular numbers and gcdProving sum of a set is $0 pmod n$ if $n$ is odd, or $fracn2 pmod n$ if $n$ is even?Is greatest common divisor of two numbers really their smallest linear combination?GCD, LCM RelationshipProve a set of nonnegative integers with greatest common divisor 1 and closed under addition has all but finite many nonnegative integers.all pairs of a and b in an equation containing gcdTriangular Numbers Modulo $k$ - Hit All Values?Understanding the Existence and Uniqueness of the GCDGCD and LCM with logical symbolsThe greatest common divisor of two positive integers less than 100 is equal to 3. Their least common multiple is twelve times one of the integers.Suppose that for all integers $x$, $x|a$ and $x|b$ if and only if $x|c$. Then $c = gcd(a,b)$Which is the gcd of 2 numbers which are multiplied and the result is 600000?

                    Ingelân Ynhâld Etymology | Geografy | Skiednis | Polityk en bestjoer | Ekonomy | Demografy | Kultuer | Klimaat | Sjoch ek | Keppelings om utens | Boarnen, noaten en referinsjes Navigaasjemenuwww.gov.ukOffisjele webside fan it regear fan it Feriene KeninkrykOffisjele webside fan it Britske FerkearsburoNederlânsktalige ynformaasje fan it Britske FerkearsburoOffisjele webside fan English Heritage, de organisaasje dy't him ynset foar it behâld fan it Ingelske kultuergoedYnwennertallen fan alle Britske stêden út 'e folkstelling fan 2011Notes en References, op dizze sideEngland

                    Հադիս Բովանդակություն Անվանում և նշանակություն | Դասակարգում | Աղբյուրներ | Նավարկման ցանկ