The general solution of a linear system is a formula that captures every solution as a linear combination of a fixed set of building-block solutions. For an system, you need linearly independent solutions , called a fundamental set, and the general solution is

with arbitrary constants. Pick the constants to satisfy initial conditions.

This is the vector analog of for a second-order scalar ODE — same structure, more dimensions.

Why solutions exactly

The set of all solutions of is a vector space (you can add solutions and scale them — both still solve the system, by linearity). The dimension of that vector space is exactly , the number of equations. So a basis of linearly independent solutions spans the whole space, which is what “general solution” means.

The dimension being is a consequence of the existence and uniqueness theorem: the initial state has free entries, so the solution space has degrees of freedom.

Linear independence — the Wronskian

To verify that candidate solutions are independent, form the Wronskian matrix by stacking them as columns:

The solutions are linearly independent if and only if at any single point . (Once nonzero somewhere, it stays nonzero everywhere — Abel’s theorem.) See Linear independence of vector functions for the careful version.

Fundamental matrix

When you collect a fundamental set as columns of a matrix , that matrix is called a fundamental matrix for the system. The general solution is then

To solve the IVP , just solve for the constant vector — a single linear system.

Constant-coefficient case

For with constant , the building blocks come from the eigenvalues:

  • Each real eigenvalue with eigenvector contributes one solution .
  • A complex conjugate pair contributes two real solutions and , where is the complex eigenvector.
  • A repeated eigenvalue with deficient eigenspace contributes solutions involving , , etc., built from generalised eigenvectors.

See Distinct real eigenvalues case, Complex conjugate eigenvalues case, and Repeated eigenvalues case for the detailed constructions. In every situation, the goal is the same: produce linearly independent solutions and stack them.

Worked example

.

Characteristic polynomial: , so , giving and .

Eigenvectors:

  • For : .
  • For : .

General solution:

The fundamental matrix is

so the two columns are independent for every — confirming we have a real general solution.

Nonhomogeneous systems

For , the same decomposition as for scalar ODEs applies: where is the general solution of the homogeneous system and is any particular solution. See Particular solution and complementary solution for the scalar version of the same idea — vector-valued is identical in structure.

In context

The general solution is the bridge between abstract existence/uniqueness theorems and concrete numerical answers. Once you have it, you’ve solved the system forever — every initial condition reduces to picking constants. For the geometric picture of how trajectories arrange themselves, see Phase plane behaviour.