Linear Algebra 38 | Set of Solutions [dark version]
Based on The Bright Side of Mathematics's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.
For Ax = B, solutions exist exactly when B lies in Range(A).
Briefing
For a linear system written as Ax = B, the solution set is either empty or forms an affine (shifted) subspace: once at least one solution exists, every other solution differs from it by a vector in the kernel of A. This matters because it turns the messy question “what are all solutions?” into two concrete tasks—check whether solutions exist at all, then compute the kernel to describe every possible solution.
The starting point is dimensional and geometric structure. A is an M×n matrix, so it defines a linear map f_A: R^n → R^m. The unknown vector x has n components, while B has M components. Existence of solutions depends on whether B lies in the range (image) of A: if B is not in Range(A), the system cannot reach B, so the solution set is empty. If B does lie in Range(A), at least one solution exists—call one such vector v0—meaning Av0 = B.
Once one solution v0 is known, the full solution set is described using the kernel. The kernel of A is the set of vectors x0 such that Ax0 = 0; it is a linear subspace. The key proposition states that the set of all solutions S is either empty or equals v0 + Ker(A). Here “v0 + Ker(A)” means an affine subspace: every element of S has the form v0 + x0 where x0 ranges over Ker(A). In other words, the system’s solutions are exactly the vectors that satisfy Ax = B, and plugging x = v0 + x0 into the equation yields Ax = Av0 + Ax0 = B + 0 = B precisely when x0 lies in Ker(A).
This characterization also clarifies uniqueness. The system has a unique solution exactly when the kernel is trivial—only the zero vector—because then v0 + Ker(A) collapses to just {v0}. If the kernel has nonzero vectors, there are infinitely many solutions, all obtained by shifting v0 along directions in Ker(A).
Finally, the affine-subspace description links directly to computation. Row operations do not change the solution set: they preserve the kernel (multiplying A on the left by an invertible matrix M doesn’t alter Ker(A)) and they preserve which vectors map to B (if Av0 = B, then (MA)v0 = MB). That invariance is why Gaussian elimination is the right tool: it can determine whether B is in Range(A), produce a particular solution v0 when it exists, and compute a basis for Ker(A). With those pieces, the entire solution set S can be written down as either empty or v0 + Ker(A).
Cornell Notes
For Ax = B, solutions exist only if B lies in the range of A. When at least one solution v0 exists, every solution has the form v0 + x0, where x0 is any vector in the kernel of A. This means the solution set is an affine (shifted) subspace: S = v0 + Ker(A). If no such v0 exists, then S is empty. Uniqueness happens exactly when Ker(A) is trivial (only the zero vector), because then S contains only v0. Row operations preserve both the kernel and the existence of solutions, so Gaussian elimination can be used to find a particular solution and a basis for the kernel, fully determining S.
How does one decide whether Ax = B has any solutions at all?
If one solution v0 is known, how can the entire solution set be generated?
What exactly does “v0 + Ker(A)” mean?
When is the solution to Ax = B unique?
Why do row operations not change the solution set?
What three outputs does Gaussian elimination need to produce to fully describe S?
Review Questions
- What condition on B relative to A determines whether the system Ax = B has any solutions?
- How do you derive the form S = v0 + Ker(A) starting from Av0 = B?
- Why does a nontrivial kernel imply infinitely many solutions rather than a unique one?
Key Points
- 1
For Ax = B, solutions exist exactly when B lies in Range(A).
- 2
If B ∈ Range(A) and v0 is one solution, then every solution is v0 + x0 with x0 ∈ Ker(A).
- 3
The solution set is either empty or an affine subspace S = v0 + Ker(A).
- 4
Uniqueness occurs iff Ker(A) is trivial (only the zero vector).
- 5
Row operations preserve the kernel and therefore preserve the entire solution set.
- 6
Gaussian elimination is the practical method to test B ∈ Range(A), find a particular solution v0, and compute a basis for Ker(A).