- #1

magicuniverse

- 38

- 0

## Homework Statement

The solution to the diffusion equation in 1D may be written as follows:

n'(x,t) = N/sqrt(4piDt) * exp(-x^2/4DT)

where n'(x,t) is the concentration of the particles at position x at time t, N is the total number of particles and D is the diffusion coefficient.

a) Write down an expression for the number of particles in a slab of thickness dx located at position x.

b) What is the probability that a particle is in the slab?

c) If the particle is in the slab, what distance has it traveled from the origin?

d) Show that the mean square displacement of a particle is 2Dt.

e) Sketch the form of the solution to the diffusion equation for two times t1 and t2 where t2 = 4t1. How will the width of the curves be related at these two times?

f) Consider a 1D random walk where the particle had equal possibilities of moving from left to right. For a journey of 3 steps, a particular sequence of steps might be, for example RRR. Write down all possible sequences for a yourney of 3 steps.

g) What is the total number of journeys possible for a walk of N steps?

h) Write down an expression for the number of journeys in which exactly NL steps are taken to the left if the total number of steps is N. If the random walker starts at the origin, after 4 steps what is the probability that the particle has returned to the origin?

## Homework Equations

At the start N.A. as I go through the question I know that I need standard integrals and the combinations formula but ill raise these when needed.

## The Attempt at a Solution

I am struggling with much of this but can do some of it. I think the most sensible thing to so it to go through it in order.

So I don't know how to integrate the first function between x+dx and x! Any ideas? thanks