The evolution of a physical system can be modelled in the time domain using a *state-space representation*. To do this, we choose several variables as the *state variables*, which together specify the state of the system at any given time. The state variables must be linearly independent. If a system is represented by an nth-order differential equation, then generally we require n state variables. Several other variables make up the *input* to the system, and the *output* is represented as a set of variables that can be expressed in terms of the state and input variables.

## State Equations Edit

What it comes down to is that we end up with a set of two matrix/vector equations in (where n is the order of the system). x is the vector of state variables, u is the input vector, and y is the output vector.

## Laplace Transform Solution Edit

We can work out the transient response of a system to an input by solving the state equations, using the Laplace transform. (Yes, we are allowed to use the Laplace transform on a vector; we do this by applying the transform to each component of the vector).

which rearranges into

We can now sub this value into the transform of the output equation:

## Equivalent Transfer Function Edit

We can obtain the the equivalent transfer function for the system as a special case of the Laplace transform solution, by letting the initial conditions be equal to 0.

### Transfer Function Poles Edit

As a shortcut to getting the poles of the transfer function, it turns out that they are equal to the eigenvalues of the matrix A. If you don't remember what eigenvalues are, they are the solutions to the equation .