The Finite Difference Method is a method of solving partial Differential Equations. It follows two steps: Develop discrete difference equations for the desired expression Algebraically solve these equations to yield stepped solutions https://www.youtube.com/watch?v=ZSNl5crAvsw Follow Along We will try to solve:
To aid in notation, let us:
to represent one distinct value of our function p. Let’s begin by writing our expression above via our new notation:
Great. Now, let’s think about the left side and try to turn it into a difference eqn: What exactly is—
as a finite difference? Well, it is just:
What about second partials? Well, what is—
It is:
Expanding the top expressions even more difference expressions:
This equals to:
Finally, substitute this into our expression, then solve for some p_{{i+1}, j} in terms of p_{i, ?}. We will treat the entire “row” of p_{i,?} as our initial condition, then solve for the rest + propagate forward.