3.5.33 · D1Guidance, Navigation & Control (GNC)

Foundations — Observability matrix — rank test

2,504 words11 min readBack to topic

This page assumes you have seen nothing. We build every letter, matrix, and operation in Observability matrix — rank test from the ground up, one brick at a time. Read top to bottom; each item uses only what came before it.


0. The picture we keep returning to

Think of a sealed box. Inside are spinning gears you cannot see. On the outside is a single needle on a dial. That is the entire story.

  • The gears' positions = the state (hidden).
  • The needle's reading = the output (visible).
  • The physics that makes gears turn other gears = the matrix .
  • The wiring that connects gears to the needle = the matrix .

Every symbol below is one of these four things, or a tool for measuring them.

Figure — Observability matrix — rank test

1. A number line, a vector, and

The picture: a vector with slots is an arrow in a flat plane; the first number is how far right, the second how far up. A vector with slots is an arrow in the room you sit in. For slots we can't draw it, but the idea is identical: independent knobs, each set to some number.

Why the topic needs it: the hidden state is a vector in . The number is how many hidden gears there are. Everything — the size of matrices, when to stop taking derivatives — is counted in .


2. A matrix as a machine that eats a vector

The picture: don't picture the grid. Picture a machine: you feed a vector in one end, and a (possibly different) vector comes out the other. The grid of numbers is just the machine's settings.

Why "eats a vector"? takes the current state and tells you the rate of change of the state — how the gears push each other. takes the state and produces the meter reading. Both are machines that turn one vector into another.

If matrices are new, spend real time in State-space representation and Rank and null space of a matrix before continuing.


3. The four LTI matrices:

The parent note opens with . Here is every symbol in that line.

The picture: below, the arrows show information flow. loops the state back on itself; taps the state out to the needle.

Figure — Observability matrix — rank test

Why only and matter for observability: you know (you pushed the knobs) and you know (they're the wiring you built). So the parts of caused by can be calculated and subtracted away. What's left — called the free response — depends only on (how the state evolves) and (how it reaches the sensor). That is why the whole rank test uses just .


4. Transpose

The picture: stand the grid on its side. A wide row lying down becomes a tall column standing up.

Why the topic needs it: the "duality shortcut" says observability of equals controllability of . To even read that sentence you must know what the little does. See Controllability matrix — rank test.


5. Stacking matrices (block matrices)

The picture: bricks laid one on top of another. The observability matrix is a tower of such bricks: , then , then , and so on. Each brick is one more "view" of the state, obtained from one more derivative.

Why the topic needs it: is this tower. Understanding it as stacked rows — not a mysterious single symbol — is the key to the rank test.


6. The derivative and — why we differentiate

The picture: watch the needle. Its position is . But you also see it moving — that speed is . And whether that motion is speeding up — that is . Each new derivative is a new, independent piece of information you extract just by watching the same needle more carefully.

Why a derivative and not, say, an integral or a Fourier transform? Because the derivative is exactly the tool that asks "how is this quantity changing right now?" — and the model tells us the change is . So differentiating the output multiplies in another copy of , which is precisely how we reach , , deeper into the state. No other operation produces this clean ladder of .

Figure — Observability matrix — rank test

7. The matrix exponential

The picture: a time-machine matrix. Feed it and it returns — where every gear will be after seconds of coupled spinning.

Why the topic needs it: the free response is . This is the equation observability is built on. You don't need to compute — you only need to know it exists, that it starts at the identity (), and that differentiating it brings down a factor of : . That last fact is the engine behind the whole ladder. See Kalman Filter for where this reconstruction is used in practice.


8. The identity matrix and matrix powers

The picture: is a mirror that hands your vector back unchanged. is running the state one time-step of physics, then another.

Why the topic needs it: the rows of are — literally times successive powers of . And is why the very first row is just .


9. Rank and null space — the heart of the test

The picture: shine a light through the matrix. Rank counts how many independent shadows it can cast. Any state that casts no shadow at all lives in the null space — it is invisible.

Why the topic needs it — this is the punchline:

  • We want to solve for the unknown .
  • This has a unique answer for every state iff has rank (full column rank), meaning no two states produce the same output record.
  • If rank , some nonzero makes — an unobservable state, a gear that never nudges the needle.

Deep-dive on both ideas: Rank and null space of a matrix.


10. Cayley–Hamilton — why the ladder stops at

The picture: the ladder eventually stops giving new rungs. After , every next rung is just a mix of ones you already have. So the tower is complete at blocks.

Why the topic needs it: it tells us exactly where to stop. Without it, we wouldn't know that derivatives are enough. Full story in Cayley–Hamilton theorem.


Prerequisite map

Vectors and R-to-the-n

Matrix as a machine, Ax

State-space A B C D

Transpose A-top

Free response y = C exp At x0

Derivative, rate of change

Matrix exponential exp At

Powers A-to-the-k and identity I

Ladder C, CA, CA-squared

Stacking rows into O

Cayley-Hamilton

Rank and null space

Rank test rank O equals n

Duality with controllability


Equipment checklist

Test yourself — cover the right side and answer aloud.

What does mean, and what is here?
The set of all length- vectors; is the number of hidden state variables (gears).
What does the matrix–vector product produce?
A new vector; each output slot is a row of combined with (multiply matching entries, add).
Which two of decide observability, and why?
Only and ; the contribution to is known and subtractable.
What does the transpose do?
Flips the matrix across its diagonal, turning rows into columns.
What does "stacking over " build?
A taller block matrix — the start of the observability tower .
Why do we differentiate the output ?
Each derivative gives an independent new combination of the state, letting one sensor reveal extra directions.
What is and what is ?
The time-forward machine mapping to ; at it equals the identity .
Why is ?
Differentiating pulls down one each time; at the exponential becomes .
What does mean in plain words?
The tower has independent directions, so every hidden state casts a distinct output — all are recoverable.
What is a vector in ?
A nonzero state crushed to zero output — an invisible, unobservable state.
Why does the ladder stop at ?
Cayley–Hamilton: is a blend of lower powers, so further rows add no new information.

Connections