0
$\begingroup$

I was wondering where the negative sign comes from in the following simplification for diffusion in 1 dimension. The initial equation is given as follows:

$$\frac{\partial C_i}{\partial t} A \Delta x= (N_{ix}|_{x} - N_{ix}|_{x+\Delta x}A + R_iA \Delta x )$$

Which simplifies to:

$$ \frac{\partial C_i}{\partial t} = -\frac{\partial N_{ix}}{\partial x} + R_i$$

$\endgroup$
1

2 Answers 2

2
$\begingroup$

Because the definition of derivative is:

$\lim_{\Delta x\rightarrow0}\frac{f_{x+\Delta x}-f_x}{\Delta x}=\frac{\partial f}{\partial x}$

Applied to this case:

$\lim_{\Delta x\rightarrow0}\frac{N_{ix}|_{x}-N_{ix}|_{x+\Delta x}}{\Delta x}=-lim_{\Delta x\rightarrow0}{\Delta x}\frac{N_{ix}|_{x+\Delta x}-N_{ix}|_{x}}{\Delta x}=-\frac{\partial N}{\partial x}$

$\endgroup$
0
$\begingroup$

because you go from high to low. For example, if you want to go from 10 to 1, you "move forward -9 steps"

$\endgroup$
1
  • $\begingroup$ -1: This has nothing to do with going from high to low. Your answer is more like a comment. See Francisco Angel (+1 from me) answer, because he explained it the right way. $\endgroup$
    – MrYouMath
    Commented Apr 20, 2017 at 14:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.