I am trying to solve the diffusion equation: $$\frac{\partial u}{\partial t} = \frac{\partial^2 u}{\partial x^2}$$ via finite volume method and time-stepping via implicit methods and so I essentially have a discretization that looks like:
$$ \frac{\bar{u}^{n+1}_{i} - \bar{u}^{n}_{i}}{\Delta t} = \frac{u^{n+1}_{i+1} - 2 u^{n+1}_{i} + u^{n+1}_{i-1}}{(\Delta x)^2} $$
However, this creates a problem because for N nodes you have N equations, but because of the $\bar{u_i}$ you gain an additional N variables, leaving you with N equations and 2N variables.
I'm sure that finite volume PDEs are solved every day using implicit methods so there must be something easy that I'm missing but I can't seem to find anything anywhere. How would I go about solving this problem?