Solving the diffusion equation with general initial condition $u(x,0)=f(x)$ Announcing the...

The logistics of corpse disposal

Why aren't air breathing engines used as small first stages

Does surprise arrest existing movement?

Did Kevin spill real chili?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Is there a concise way to say "all of the X, one of each"?

Models of set theory where not every set can be linearly ordered

How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?

How to motivate offshore teams and trust them to deliver?

List *all* the tuples!

ListPlot join points by nearest neighbor rather than order

Is the address of a local variable a constexpr?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

Why did the IBM 650 use bi-quinary?

If a contract sometimes uses the wrong name, is it still valid?

What happens to sewage if there is no river near by?

Gastric acid as a weapon

What is the musical term for a note that continously plays through a melody?

I am not a queen, who am I?

Letter Boxed validator

How to recreate this effect in Photoshop?

"Seemed to had" is it correct?

Should I call the interviewer directly, if HR aren't responding?

Diagram with tikz



Solving the diffusion equation with general initial condition $u(x,0)=f(x)$



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)using the Fourier transform, solveAdvection diffusion equationInhomogeneous diffusion equation and initial conditions inversionDiffusion Equation on Half-line with Nonhomogeneous Dirichlet Boundary ConditionSolve the wave equation and use the initial conditionFind the solution of the diffusion equation for a given initial condition in terms of the error functionSolving a differential equation with a changing boundary conditionGeneral solution to diffusion equationAnalytical solution for diffusion equation with decayDiffusion on infinite line with no fluxHeat equation problem with initial condition in a disk












0












$begingroup$


I know that the solution for the diffusion equation for a general initial condition $u(x,0)=f(x)$ can be given in the form



$$u(x,t)= frac{1}{sqrt{4πDt}} int_{-infty}^{infty}f(y)e^{frac{-(x-y)^2}{4Dt}}dy$$



How do I find an explicit form for this solution when $f(x)=1$ for $x$ between $0$ and $a$, and $0$ otherwise? I was thinking maybe via changing the variables, but didn't reach much further...



It would be helpful if the solution was in terms of the error function $operatorname{erf}(x)$.










share|cite|improve this question











$endgroup$












  • $begingroup$
    The solution may be written as a difference of error functions since it involves integrating the Gaussian kernel $frac1{sqrt{2pi}}e^{-u^2/2}$ over some interval which varies in $(x,t)$. So I don't know what you mean by "explicit" because that's necessarily a non-elementary function.
    $endgroup$
    – Shalop
    Mar 24 at 4:45












  • $begingroup$
    @shalop basically what is u(x,t) when the f(x) is as above
    $endgroup$
    – ISA-ISA
    Mar 24 at 12:35
















0












$begingroup$


I know that the solution for the diffusion equation for a general initial condition $u(x,0)=f(x)$ can be given in the form



$$u(x,t)= frac{1}{sqrt{4πDt}} int_{-infty}^{infty}f(y)e^{frac{-(x-y)^2}{4Dt}}dy$$



How do I find an explicit form for this solution when $f(x)=1$ for $x$ between $0$ and $a$, and $0$ otherwise? I was thinking maybe via changing the variables, but didn't reach much further...



It would be helpful if the solution was in terms of the error function $operatorname{erf}(x)$.










share|cite|improve this question











$endgroup$












  • $begingroup$
    The solution may be written as a difference of error functions since it involves integrating the Gaussian kernel $frac1{sqrt{2pi}}e^{-u^2/2}$ over some interval which varies in $(x,t)$. So I don't know what you mean by "explicit" because that's necessarily a non-elementary function.
    $endgroup$
    – Shalop
    Mar 24 at 4:45












  • $begingroup$
    @shalop basically what is u(x,t) when the f(x) is as above
    $endgroup$
    – ISA-ISA
    Mar 24 at 12:35














0












0








0





$begingroup$


I know that the solution for the diffusion equation for a general initial condition $u(x,0)=f(x)$ can be given in the form



$$u(x,t)= frac{1}{sqrt{4πDt}} int_{-infty}^{infty}f(y)e^{frac{-(x-y)^2}{4Dt}}dy$$



How do I find an explicit form for this solution when $f(x)=1$ for $x$ between $0$ and $a$, and $0$ otherwise? I was thinking maybe via changing the variables, but didn't reach much further...



It would be helpful if the solution was in terms of the error function $operatorname{erf}(x)$.










share|cite|improve this question











$endgroup$




I know that the solution for the diffusion equation for a general initial condition $u(x,0)=f(x)$ can be given in the form



$$u(x,t)= frac{1}{sqrt{4πDt}} int_{-infty}^{infty}f(y)e^{frac{-(x-y)^2}{4Dt}}dy$$



How do I find an explicit form for this solution when $f(x)=1$ for $x$ between $0$ and $a$, and $0$ otherwise? I was thinking maybe via changing the variables, but didn't reach much further...



It would be helpful if the solution was in terms of the error function $operatorname{erf}(x)$.







pde






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 24 at 12:32







ISA-ISA

















asked Mar 23 at 23:41









ISA-ISAISA-ISA

254




254












  • $begingroup$
    The solution may be written as a difference of error functions since it involves integrating the Gaussian kernel $frac1{sqrt{2pi}}e^{-u^2/2}$ over some interval which varies in $(x,t)$. So I don't know what you mean by "explicit" because that's necessarily a non-elementary function.
    $endgroup$
    – Shalop
    Mar 24 at 4:45












  • $begingroup$
    @shalop basically what is u(x,t) when the f(x) is as above
    $endgroup$
    – ISA-ISA
    Mar 24 at 12:35


















  • $begingroup$
    The solution may be written as a difference of error functions since it involves integrating the Gaussian kernel $frac1{sqrt{2pi}}e^{-u^2/2}$ over some interval which varies in $(x,t)$. So I don't know what you mean by "explicit" because that's necessarily a non-elementary function.
    $endgroup$
    – Shalop
    Mar 24 at 4:45












  • $begingroup$
    @shalop basically what is u(x,t) when the f(x) is as above
    $endgroup$
    – ISA-ISA
    Mar 24 at 12:35
















$begingroup$
The solution may be written as a difference of error functions since it involves integrating the Gaussian kernel $frac1{sqrt{2pi}}e^{-u^2/2}$ over some interval which varies in $(x,t)$. So I don't know what you mean by "explicit" because that's necessarily a non-elementary function.
$endgroup$
– Shalop
Mar 24 at 4:45






$begingroup$
The solution may be written as a difference of error functions since it involves integrating the Gaussian kernel $frac1{sqrt{2pi}}e^{-u^2/2}$ over some interval which varies in $(x,t)$. So I don't know what you mean by "explicit" because that's necessarily a non-elementary function.
$endgroup$
– Shalop
Mar 24 at 4:45














$begingroup$
@shalop basically what is u(x,t) when the f(x) is as above
$endgroup$
– ISA-ISA
Mar 24 at 12:35




$begingroup$
@shalop basically what is u(x,t) when the f(x) is as above
$endgroup$
– ISA-ISA
Mar 24 at 12:35










1 Answer
1






active

oldest

votes


















0












$begingroup$

This answer is very close to what you're looking for. See if you can follow through it.






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%2f3159933%2fsolving-the-diffusion-equation-with-general-initial-condition-ux-0-fx%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$

    This answer is very close to what you're looking for. See if you can follow through it.






    share|cite|improve this answer









    $endgroup$


















      0












      $begingroup$

      This answer is very close to what you're looking for. See if you can follow through it.






      share|cite|improve this answer









      $endgroup$
















        0












        0








        0





        $begingroup$

        This answer is very close to what you're looking for. See if you can follow through it.






        share|cite|improve this answer









        $endgroup$



        This answer is very close to what you're looking for. See if you can follow through it.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 24 at 4:36









        AEngineerAEngineer

        1,6521318




        1,6521318






























            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%2f3159933%2fsolving-the-diffusion-equation-with-general-initial-condition-ux-0-fx%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

            Magento 2 - Add success message with knockout Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Success / Error message on ajax request$.widget is not a function when loading a homepage after add custom jQuery on custom themeHow can bind jQuery to current document in Magento 2 When template load by ajaxRedirect page using plugin in Magento 2Magento 2 - Update quantity and totals of cart page without page reload?Magento 2: Quote data not loaded on knockout checkoutMagento 2 : I need to change add to cart success message after adding product into cart through pluginMagento 2.2.5 How to add additional products to cart from new checkout step?Magento 2 Add error/success message with knockoutCan't validate Post Code on checkout page

            Fil:Tokke komm.svg

            Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?