How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Linear numerical boundary-value problems
1 · Prerequisites
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
2 · Summary
Objective
This page treats the one-dimensional problem on with exact homogeneous Dirichlet values at both endpoints. For , the method uses the uniform mesh , the centered second-difference stencil on the interior nodes, and an exact Thomas recurrence. The local proof establishes unique solvability and a discrete maximum principle; the barrier gives uniformly in the mesh. For a solution with four continuous derivatives and , the interior residual is at most , while the prescribed endpoint closure has zero residual. Therefore the exact algebraic solution has global max-norm error at most . A nonzero linear-solve residual contributes a separate term. No general collocation or variable-coefficient convergence theorem is asserted.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Centered finite differences for the zero-Dirichlet boundary-value problem
Definition
The input is a real-valued continuous function on and a positive integer . The procedure uses exact real arithmetic. Its admissible inputs have ; an input that is not a positive integer returns invalid-mesh.
Set , for , and for . The unknowns are the interior values ; set the boundary values . The finite-difference equations are
or , where , with the known zero boundary values moved to the right-hand side (they contribute zero here).
To solve, form . Set and . For , in increasing order, if return linear-solve-failure; otherwise set
If a formed pivot is zero, return linear-solve-failure. Otherwise set and, in decreasing order for , set
Check the equations exactly. If any equation fails, return linear-solve-failure; otherwise return status success with the vector and the boundary values .
Remarks
This is an exact-arithmetic definition and makes no finite-precision accuracy claim. A numerical implementation that returns an approximate vector must report its residual separately; the assigned error theorem includes that residual as an independent term.
Discrete maximum principle and uniform inverse bound for the Dirichlet stencil
Statement
Let , , , and on the interior values, with , as in Centered finite differences for the zero-Dirichlet boundary-value problem. For , define . The Thomas recurrence in that definition has pivots and returns the unique solution of for every admissible exact input; neither linear-solve-failure branch is reached. Also, is invertible; if for every , then for every ; and for every ,
In particular the inverse bound is uniform over all .
Facts & Assumptions
Given: An integer , its mesh , and . The endpoints for a vector are fixed at .
Centered finite differences for the zero-Dirichlet boundary-value problem defines the nodes, matrix, and exact Thomas recurrence: “Set , for ”; “The finite-difference equations are ”; and the forward pivots satisfy , .
Proof
Let and for , as in [F1]. Induction gives : it holds at , and if then . Thus every Thomas pivot is nonzero.
Define and . Direct expansion of this quadratic gives , so . Also , since on .
For the equation , put and . The first row is . If elimination has produced , then ; substituting this into gives , exactly the recurrence in [F1].
Since , backward substitution gives and then for . Each pivot is positive by step 1.1, so each value is uniquely determined; substitution into the transformed rows proves it solves the original rows. Hence for every there is exactly one with , and exists.
Suppose and let . If the finite list had a negative minimum at an interior index , then and . Since and , equality must hold, forcing both neighbors to equal . Repeating this equality to the left reaches , contradicting . Thus at every interior index.
Put . The coordinate bounds and step 4.1 show that and . Hence coordinatewise.
Step 5.1 and from step 1.2 give for every , so for every mesh.
Centered-difference residual bound with exact Dirichlet closure
Statement
Let have four continuous derivatives, with , let , and suppose on for a constant . For the grid and matrix of Centered finite differences for the zero-Dirichlet boundary-value problem, put , , and for . Then
The endpoint closure residuals are exactly zero: and . If records those boundary residuals, then as well.
Facts & Assumptions
Given: The regularity, boundary values, differential equation and fourth-derivative bound in the statement; and .
Centered finite differences for the zero-Dirichlet boundary-value problem fixes , sets , and uses for .
A uniform derivative bound gives a uniform Taylor remainder bound: on a closed interval, if has four derivatives and , its degree-three Taylor remainder satisfies .
The triangle inequality: for real , ; here apply it to the two Taylor remainders.
Proof
The endpoint values of the exact function agree with the algorithm's prescribed endpoint values, so both boundary closure residuals are . Fix an interior index . Applying [F2] with center and targets and gives , with . Both closed intervals lie in , including when or .
Substituting these expansions into [F1] cancels the odd derivative terms and gives . Since , it follows that .
By [F3] and step 1.1, . This holds for every interior index, and the endpoint residuals from step 1.1 are zero, proving both bounds.
Second-order max-norm error for the centered Dirichlet scheme
Statement
Let have four continuous derivatives, satisfy and , and let satisfy on . For , set , , , and . If has residual for the scheme of Centered finite differences for the zero-Dirichlet boundary-value problem, then
where . The justified exact-arithmetic algorithm returns a solution for every admissible input, and its output has , so its global max-norm error is at most . The zero Dirichlet boundary closure contributes no additional residual.
Facts & Assumptions
Given: The solution , data , fourth-derivative bound , and as in the statement.
Centered finite differences for the zero-Dirichlet boundary-value problem defines , fixes , and on success returns a vector satisfying exactly.
Discrete maximum principle and uniform inverse bound for the Dirichlet stencil proves that the Thomas recurrence defined in Centered finite differences for the zero-Dirichlet boundary-value problem returns the unique solution of for every admissible exact input, so neither linear-solve-failure branch is reached. It also proves that is invertible and for every .
Centered-difference residual bound with exact Dirichlet closure: the exact nodal vector has residual with , and the imposed endpoint residuals are zero.
The triangle inequality: for real , ; the coordinatewise maximum-norm estimate applies this inequality at each coordinate.
Proof
Let . By [F3], and the exact endpoint values agree with the imposed endpoint closure, so the endpoint error is zero.
For , subtracting the definitions of and gives . Since is invertible by [F2], .
By [F2], each coordinate satisfies . The coordinatewise triangle inequality [F4] gives , because for each , .
Substituting the residual bound from [F3] into step 3.1 yields . For the exact algorithm output, [F2] guarantees that the recurrence returns the unique solution and the exact equation check succeeds, so ; exact endpoint closure was recorded in step 1.1.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Tobin A. Driscoll and Richard J. Braun, Fundamentals of Numerical Computation, author-source revision 2025.01.27, Chapter 10, linear.md
- Benjamin Seibold, MIT OpenCourseWare 18.336, Lecture 5: Finite Difference Approximation, Spring 2009
- Benjamin Seibold, MIT OpenCourseWare 18.336, Lecture 6: General Linear Second Order Equation, Spring 2009