Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-2/39c/b/solution

Let collect the unknowns in grid column , and define . The terms within one column form the block
while coupling to either adjacent column contributes
The zero boundary values remove all blocks outside the displayed range, so the nine-point finite-difference stencil becomes the block tridiagonal matrix system

New to topics? Read the docs here!