Theta Method for PDE

1.7k Views Asked by At

enter image description here

I know the theta method is

$ u_{j}^{n+1} = u_{j}^{n} = (1+ \theta) r \delta x^{2} [u_{j}^{n}] + \theta r \delta x^{2} [u_{j}^{n+1}]$

However I am not sure how to prove that the above equation for the PDE