Skip to content
GATEiit

GATE EC · Control Systems

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.

Before you start

Concept notes

1. The state-space model

The state of a system is the smallest set of variables x1,…,xn whose values at t0, together with the input for t≥t0, fix all future behaviour. For an LTI system:

x˙=Ax+Bu,y=Cx+Du

Matrix Size (n states, m inputs, p outputs) Name
A n×n system matrix
B n×m input matrix
C p×n output matrix
D p×m direct transmission (often 0)

Key points:

  • n 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 x=Pz gives z˙=P−1APz+P−1Bu. 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 x˙i 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

y...+a2y¨+a1y˙+a0y=b0u

choose x1=y, x2=y˙, x3=y¨. Then x˙1=x2, x˙2=x3, x˙3=−a0x1−a1x2−a2x3+b0u:

The last row of A holds the negated characteristic coefficients; the rest is a shifted identity.

With numerator dynamics. For G(s)=b1s+b0s2+a1s+a0 (strictly proper):

The numerator goes into C, read from the constant term upwards. If numerator and denominator have the same degree, divide first: the quotient is D.

Diagonal (canonical) form. With distinct poles, expand G(s)=∑ris−λi: A=diag(λi), B=[1⋯1]T, C=[r1⋯rn].

uΣ−ẋ₂∫x₂= ẋ₁∫x₁ = ya₁a₀ẋ₁ = x₂, ẋ₂ = −a₀x₁ − a₁x₂ + u
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: sX(s)=AX(s)+BU(s), so X(s)=(sI−A)−1BU(s) and

G(s)=Y(s)U(s)=C(sI−A)−1B+D

Since (sI−A)−1=adj⁡(sI−A)∣sI−A∣, the denominator of G(s) is the characteristic polynomial

∣sI−A∣=0

Its roots are the eigenvalues of A = the poles of the system (unless a pole cancels with a zero).

2×2 inverse, worth memorising:

Quick checks:

  • Sum of eigenvalues =trace⁡(A); product =det⁡A.
  • The system is asymptotically stable if every eigenvalue of A has a negative real part.
  • If a pole cancels in C(sI−A)−1B, the transfer function has lower order than A. The cancelled mode is uncontrollable or unobservable (or both).

The dc gain of a stable system is G(0)=−CA−1B+D.

4. Solving the state equation: the state transition matrix

For the scalar x˙=ax+bu, x(t)=eatx(0)+∫0tea(t−τ)bu(τ) dτ. The matrix version is the same with eat replaced by the state transition matrix (STM)

Φ(t)=eAt=I+At+A2t22!+⋯=L−1[(sI−A)−1]

Complete solution:

x(t)=Φ(t)x(0)+∫0tΦ(t−τ)Bu(τ) dτ

The first term is the zero-input response, the second the zero-state response. In the s-domain: X(s)=(sI−A)−1[x(0)+BU(s)].

Properties of Φ(t):

Property Use
Φ(0)=I test a claimed STM at t=0
Φ−1(t)=Φ(−t) always invertible
Φ(t1+t2)=Φ(t1)Φ(t2) step the solution in time
Φ˙(t)=AΦ(t), so A=Φ˙(0) recover A from Φ
det⁡Φ(t)=etrace⁡(A) t quick numerical check

Ways to find eAt: inverse Laplace of (sI−A)−1 (most common in GATE); diagonalisation eAt=PeΛtP−1; Cayley-Hamilton, writing eAt=α0(t)I+α1(t)A for a 2×2 matrix. For a diagonal A, eAt=diag(eλit).

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 n-state system:

The system is controllable if rank⁡Qc=n and observable if rank⁡Qo=n. For a single input or output the matrix is square, so check det⁡≠0.

Diagonal form shortcut. With distinct eigenvalues and A diagonal, the system is controllable if no row of B is zero, and observable if no column of C is zero. A zero row in B means that mode receives no input.

Pole-zero cancellation. For a single-input single-output system, if C(sI−A)−1B has a cancellation, the realisation is not both controllable and observable. If there is no cancellation and the denominator has degree n, it is both.

The phase-variable form is always controllable, whatever the numerator, because Qc is triangular with ones on the anti-diagonal.

Formulas to remember

State model
x˙=Ax+Bu,y=Cx+Du
Transfer function
G(s)=C(sI−A)−1B+D
Characteristic equationRoots are the eigenvalues of A, the poles
∣sI−A∣=0
State transition matrix
Φ(t)=eAt=L−1[(sI−A)−1]
Complete solution
x(t)=Φ(t)x(0)+∫0tΦ(t−τ)Bu(τ) dτ
STM properties
Φ(0)=I,Φ−1(t)=Φ(−t),Φ(t1+t2)=Φ(t1)Φ(t2)
Determinant of the STM
det⁡eAt=etrace⁡(A) t
Controllability matrix
Observability matrix

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 y...+6y¨+11y˙+6y=2u and find its eigenvalues.

  1. Step 1: Choose the states.

    Try it on paper first.

Example 2: Transfer function from a state model

numerical

, , , D=0. Find G(s) and its dc gain.

  1. Step 1: Form $sI - A$ and its determinant.

    Try it on paper first.

Example 3: State transition matrix and zero-input response

numerical

For find Φ(t), then x(t) for and u=0.

  1. Step 1: Expand each entry of $(sI - A)^{-1}$ in partial fractions.

    Try it on paper first.

Example 4: Is the system controllable?

conceptual

, , . Is it controllable? Observable? What is G(s)?

  1. Step 1: Build $Q_c$.

    Try it on paper first.

Previous year questions

3 official GATE EC questions on this topic, newest first.

Topic test

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.