Usually, it's difficult to directly work with a
To do so, we introduce new variables
A
can then be written as
where the final equation comes from rearranging the ODE and substituting states for derivatives of
These state equations can be summarized in matrix form as
and the output as
More generally, we can represent this as
which is called the state space realization
The above SSM is linear (in terms of the derivatives). For a ๐จ๐ฆ Nonlinear State Space Model, we have to make local linear approximations instead.
Solutions
Let the initial condition be
This general solution has two parts, called the free response and forced response. The former is the solution with zero input (
and the latter is the contribution of the input with zero initial condition (
Free Response
The free response describes how the system behaves without any input. We can analyze the behavior by diagonalizing
If 
With complex
Thus, the real part controls the magnitude (like above), and the imaginary part introduces oscillations.

State Transition Matrix
In an unforced system, we can summarize the solution via the state transition matrix
Intuitively,
For an unforced LTV system, there is no closed form solution. Rather, we can construct the matrix as follows. Let
Putting these equations together for
For a forced LTV system, we can still use the state transition matrix, along with a term for the input,