State variable model and solution of state equation of LTI systems
State-space models of LTI systems: writing state equations from differential equations and transfer functions, getting the transfer function back, the state transition matrix and the full solution, plus controllability and observability tests.
The state equation is a vector first-order linear ODE solved like .
Concept notes
1. The state-space model
The state of a system is the smallest set of variables whose values at , together with the input for , fix all future behaviour. For an LTI system:
Matrix
Size ( states, inputs, outputs)
Name
system matrix
input matrix
output matrix
direct transmission (often 0)
Key points:
equals the order of the system: the number of independent energy-storing elements (capacitor voltages, inductor currents) or the order of the differential equation.
The choice of state variables is not unique. A change of variables gives . The eigenvalues and the transfer function do not change.
Unlike a transfer function, a state model handles non-zero initial conditions and multiple inputs and outputs directly, and can show internal modes that cancel in the transfer function.
In a circuit, choose capacitor voltages and inductor currents as states, then write KCL and KVL so that each is expressed in states and inputs only.
2. From a differential equation or transfer function to a state model
Phase-variable (controllable canonical) form. For
choose , , . Then , , :
A=00−a010−a101−a2,B=00b0,C=[100]
The last row of holds the negated characteristic coefficients; the rest is a shifted identity.
With numerator dynamics. For (strictly proper):
A=[0−a01−a1],B=[01],C=[b0b1],D=0
The numerator goes into , read from the constant term upwards. If numerator and denominator have the same degree, divide first: the quotient is .
Phase-variable form of ÿ + a₁ẏ + a₀y = u: a chain of integrators whose outputs are the states
3. Transfer function and characteristic equation
Take the Laplace transform with zero initial state: , so and
Since , the denominator of is the characteristic polynomial
Its roots are the eigenvalues of = the poles of the system (unless a pole cancels with a zero).
2×2 inverse, worth memorising:
[acbd]−1=ad−bc1[d−c−ba]
Quick checks:
Sum of eigenvalues ; product .
The system is asymptotically stable if every eigenvalue of has a negative real part.
If a pole cancels in , the transfer function has lower order than . The cancelled mode is uncontrollable or unobservable (or both).
The dc gain of a stable system is .
4. Solving the state equation: the state transition matrix
For the scalar , . The matrix version is the same with replaced by the state transition matrix (STM)
Complete solution:
The first term is the zero-input response, the second the zero-state response. In the -domain: .
Properties of :
Property
Use
test a claimed STM at
always invertible
step the solution in time
, so
recover from
quick numerical check
Ways to find : inverse Laplace of (most common in GATE); diagonalisation ; Cayley-Hamilton, writing for a 2×2 matrix. For a diagonal , .
5. Controllability and observability
Controllable: some input can drive the state from any initial value to any final value in finite time. Observable: the initial state can be found from the output (and input) over a finite time.
Kalman rank tests for an -state system:
Qc=[BAB⋯An−1B],Qo=CCA⋮CAn−1
The system is controllable if and observable if . For a single input or output the matrix is square, so check .
Diagonal form shortcut. With distinct eigenvalues and diagonal, the system is controllable if no row of is zero, and observable if no column of is zero. A zero row in means that mode receives no input.
Pole-zero cancellation. For a single-input single-output system, if has a cancellation, the realisation is not both controllable and observable. If there is no cancellation and the denominator has degree , it is both.
The phase-variable form is always controllable, whatever the numerator, because is triangular with ones on the anti-diagonal.
Formulas to remember
State model
Transfer function
Characteristic equationRoots are the eigenvalues of , the poles
State transition matrix
Complete solution
STM properties
Determinant of the STM
Controllability matrix
Qc=[BAB⋯An−1B]
Observability matrix
Qo=[CT(CA)T⋯(CAn−1)T]T
Common mistakes
Forgetting the minus signs in the last row of the phase-variable A matrix; it holds −a0, −a1, … in that order.
Writing C(sI − A)^(−1)B in the wrong order; the sizes only work as row × matrix × column.
Taking the entry-wise exponential of A as e^(At); that is correct only for a diagonal A.
Assuming the transfer function shows every mode; uncontrollable or unobservable modes cancel and stay hidden.
Not checking a claimed state transition matrix with Φ(0) = I before using it.
Dropping the zero-input term Φ(t)x(0) when the initial state is not zero.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Differential equation to phase-variable form
numerical
Write a state model for and find its eigenvalues.
Step 1: Choose the states.
Try it on paper first.
Example 2: Transfer function from a state model
numerical
A=[0−21−3], B=[01], C=[31], . Find and its dc gain.
Step 1: Form $sI - A$ and its determinant.
Try it on paper first.
Example 3: State transition matrix and zero-input response
numerical
For A=[0−21−3] find , then for x(0)=[10] and .
Step 1: Expand each entry of $(sI - A)^{-1}$ in partial fractions.
Try it on paper first.
Example 4: Is the system controllable?
conceptual
A=[−100−2], B=[10], C=[11]. Is it controllable? Observable? What is ?
Step 1: Build $Q_c$.
Try it on paper first.
Previous year questions
3 official GATE EC questions on this topic, newest first.
10 questions: up to 3 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.