How do you produce an implicit finite difference system with a nonlinear term in the pde?
For example, if you have the reaction-diffusion equation: $$\frac{\partial{u}}{\partial{t}} = \Delta u + f(u)$$
with $f$ being non-linear, e.g. $f(u) = u^2$, how do you form a finite difference system to solve?
I understand how to derive if $f(u)=0$. For example in a 1D setting, you have the form: $$w_{i}^{n-1} = (1+2\lambda)w_{i}^n - \lambda(w_{i+1}^n + w_{i-1}^n)$$ producing a system in the form: $$Aw^n=w^{n-1}$$
In this case, a common approach is make the nonlinear part explicit. You start with the initial condition $u^{(0)}$ and , for each $k\ge 0$, solve a linear problem. The following example uses a simple forward difference for the time derivative, but you can replace it for something fancier.
$$ \frac{u^{(k+1)}- u^{(k)}}{\delta t} = \Delta u^{(k+1)}+f(u^{(k)}) $$
or, equivalently,
$$ -\Delta u^{(k+1)}+\frac{1}{\delta t} u^{(k+1)} = \frac{1}{\delta t} u^{(k)}+f(u^{(k)}) $$