This is part b) of an assignment question. In part a) we were asked to derive the Fokker Planck relation for the biased random walk. The answer is: dP/dt = -vdP/dx + D d2P/dx2 Where the first term is the drift term due to the biased motion and the second term is the diffusion term. Then in part b) we were asked to solve this differential equation for P(x,t). I already have the written out solution to this question however I don't understand one of the steps the lecturer has taken. First of all we define a new frame of reference y=x-vt in an attempt to get rid of the drift term (as we will then simply have the non-biased fokker-planck relation which we can solve). We then set out to rewrite the partial derivatives from the above equation in terms of the new variable y. Here the lecturer's solution emphasises that when deriving with respect to time, y is not a constant (y=y(t)) and x is considered constant. He writes the following: dP(y,t)/dt |x=const=dP(y,t)/dt|y=x-vt =dP(y,t)/dt + dy/dt * dP(y,t)/dy I'm not sure why he has taken that last step - where have the two terms come from? It seems to me like he is adding the derivative twice (as the second term in the last line is just the dP/dt term again expanded using the chain rule). If anyone can explain why he's done it this way then I will understand the rest of the question okay. Thanks!