System of linear equations Created 2026-10-03 Updated 2026-10-18
A system of linear equations imposes several linear equations on the same unknowns. In the compact form , the matrix contains their coefficients, the vector contains the unknowns, and the vector contains the required outputs. Over the real numbers, the following examples exhibit the three possible outcomes: one solution, infinitely many solutions, or no solution.
For and , adding the two linear equations gives , hence and . Each linear equation describes a line in the plane; the two lines meet only at . Substitution checks both requirements: and . The two measurements together determine both unknowns.
Keeping only leaves a whole line of solutions:
For instance, gives . The direction belongs to the kernel of the linear map : its two contributions cancel. Moving in that direction changes the unknowns without changing their measured sum. The solution line is an affine space, translated away from the origin.
For and , the second linear equation instead demands . The parallel lines never meet. In the augmented matrix, subtracting twice the first row from the second is an elementary row operation that exposes the contradiction:
The last row says . A zero row of coefficients is harmless only when its appended entry is also zero.
Figure 1.
Three linear systems: a unique intersection, a solution line, and incompatible parallel lines
. Details.
The column viewpoint unifies these pictures. If are the columns of , then : a linear combination of those columns. A linear system is consistent precisely when lies in the column space, the image of a linear map represented by . Once one solution is known, every solution is with , since . Conversely, subtracting any two solutions gives an element of the kernel. Thus the kernel measures freedom, while the image of a linear map decides existence. A consistent linear system has a unique solution exactly when its kernel is .[ref]
Counting linear equations alone does not tell us how much information is present. If the second requirement were , it would repeat , so the two linear equations would still leave the same solution line. The matrix rank counts independent requirements. For a consistent linear system with unknowns and matrix rank , the rank-nullity theorem gives as the dimension of the kernel. This is the number of independent directions in which a solution can move. In the single-measurement example, one measured combination leaves one direction of freedom; in the sum-and-difference example, neither unknown can change without changing an output.
Variation of parameters Created 2026-09-24 Updated 2026-10-18
Variation of parameters replaces the constants in a complementary solution by functions to construct a particular solution.
For the inhomogeneous linear differential equation , assume are continuous functions on an interval , and are linearly independent homogeneous solutions there. With and , variation of parameters constructs the particular solution
The Wronskian has no zeros on , so these quotients are defined. For , normalize first: , not .[ref]
To derive the formula, write and impose . This auxiliary choice removes extra terms from the first derivative. Substitution into the inhomogeneous linear differential equation leaves . The two linear equations for have determinant , and Cramer's rule gives
Integrating from makes . Arbitrary integration constants contribute only homogeneous solutions; adding supplies the general solution.
For a worked example, use the same homogeneous solutions and the forcing term in . With and ,
Consequently the particular solution selected by zero initial conditions is
Its value and first derivative vanish at zero. Direct substitution confirms the forcing term: the differential operator annihilates the last two terms and maps to . The two integrals therefore build a response from known homogeneous solutions, even when the forcing term has no convenient elementary guess.
Vector subspace Created 2026-09-24 Updated 2026-10-14
A vector subspace is a nonempty subset of a vector space closed under vector addition and scalar multiplication, and is therefore itself a vector space. Equivalently, whenever belong to the subset, so does for all allowed scalars . In particular it contains the zero vector.
For example, the plane is a vector subspace, with basis . Indeed every element is . The parallel plane misses the zero vector and is an affine subspace instead. Homogeneous constraints produce vector subspaces: is the kernel of the linear map . This lets us describe all solutions of a homogeneous linear equation through a basis of its kernel.
Wronskian Created 2026-09-24 Updated 2026-10-18
For two differentiable functions on an interval , their Wronskian is the function
The order matters: exchanging and reverses the sign. For sufficiently differentiable functions, the Wronskian is the determinant .[ref]
The Wronskian measures whether the vectors and supply independent value-and-derivative data at that point. For real-valued functions, its absolute value is the area of the parallelogram they span. If a constant linear combination is zero throughout , then too. A nonzero Wronskian at even one point makes this pair of linear equations invertible and forces . Thus a nonzero Wronskian somewhere always proves linear independence of the functions on .
For an explicit example, the exponential functions
solve the same homogeneous linear differential equation on the whole real line: substitution gives and , respectively. Their Wronskian is
For the initial value problem , , the linear combination requires and . Hence , , and . The nonzero Wronskian makes the two initial conditions independently adjustable.
Figure 1.
Independent exponential functions supply independent initial data, with Wronskian equal to the oriented parallelogram area
. Details.
The stronger converse requires a common equation. Suppose solve with continuous functions on one interval . Then the functions are linearly independent if and only if their Wronskian is nonzero at one point, equivalently at every point. If , choose constants , not both zero, making satisfy . The superposition principle makes a solution of a differential equation for the same equation, and the uniqueness theorem for ordinary differential equations forces to be identically zero. This proves linear dependence.[ref]
For arbitrary differentiable functions, an identically zero Wronskian need not imply linear dependence. Consider, on ,
Both functions have three continuous derivatives. On each side of zero, is a constant multiple of , so ; at zero their values and first derivatives are all zero, so the Wronskian is zero there too. Nevertheless evaluated at gives , while evaluation at gives . Hence : these functions are linearly independent on the whole interval. There is no single constant multiplier valid on both sides of the common zero.
Figure 2.
An identically zero Wronskian can coexist with linear independence when the common regular equation hypothesis is absent
. Details.
These functions cannot both solve any equation with continuous functions throughout : even alone would contradict uniqueness because but is not identically zero. They do solve the singular equation , whose leading coefficient vanishes at zero. Dividing by gives only away from zero; Abel's identity cannot be applied across that point. The example pinpoints why checking the equation and its interval is essential before using a zero Wronskian to infer linear dependence.