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

            Nidaros erkebispedøme

            Birsay

            Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...