General = particular + homogeneous (One.I.3)
Provedhefferon_general_eq_particular_plus_homogeneousaffine-subspacelinear-algebralinear-systems
Let be an matrix over a field , let , and suppose is a particular solution, . Then the solution set of is exactly : every solution is the particular solution plus a solution of the associated homogeneous system, and every such sum is a solution.
Preamble
import Mathlib.Data.Matrix.Basic import Mathlib.LinearAlgebra.Matrix.NonsingularInverse import Mathlib.LinearAlgebra.Matrix.ToLin open Matrix
Formal statement
theorem hefferon_general_eq_particular_plus_homogeneous
{K : Type*} [Field K] {m n : ℕ}
(A : Matrix (Fin m) (Fin n) K) (b : Fin m → K) (p : Fin n → K) (hp : A *ᵥ p = b) :
{x : Fin n → K | A *ᵥ x = b} = {x : Fin n → K | ∃ h, A *ᵥ h = 0 ∧ x = p + h} := by
sorrySource
Jim Hefferon, *Linear Algebra*, Saint Michael's College, 2020 printing, Chapter One, Section I.3, Theorem 3.1, p. 33