3.5.29 · D1Guidance, Navigation & Control (GNC)

Foundations — State-space representation — x' = Ax + Bu, y = Cx + Du

2,339 words11 min readBack to topic

This page assumes nothing. Before you touch the parent note State-space representation, we build every symbol it leans on — from what an arrow-over-a-letter means, up to what a matrix times a vector looks like. Read top to bottom; each block earns the next.


1. A variable that changes with time:

Picture a dot sliding along a line. At each tick of a clock the dot sits somewhere, and is its position label. If you flip-book all those snapshots you get a curve: time along the bottom, value up the side.

Figure — State-space representation — x' = Ax + Bu, y = Cx + Du

Why the topic needs it. Everything in GNC — a rocket's tilt, an aircraft's speed — is a number that changes with time. is our very first brick.


2. Rate of change: the derivative

Look at figure s02. The orange line touches the blue curve at one point without crossing it — that touching line is the tangent. Its steepness (how much it rises for one step right) is at that point. Steep-up ⇒ big positive ; flat ⇒ ; sloping down ⇒ negative .

Figure — State-space representation — x' = Ax + Bu, y = Cx + Du

The second derivative ("-double-dot") is the rate of change of the rate of change — for position that is acceleration (how fast the speed itself is changing).

Recall Read the dots

What does mean in one phrase? ::: How fast is changing right now (the slope of its curve). What does mean? ::: How fast is changing — acceleration if is position.


3. A differential equation (ODE) is a rule, not an answer

Think of it as a law of local behaviour: "at any moment, the mass, spring and damping conspire so that this combination equals the pushing force." Give it a starting position and speed, and the rule tells you what happens in the next tiny slice of time — then the next — forever. Solving it means finding the curve that obeys the rule everywhere.


4. Naming several numbers at once: the vector

For the mass–spring the parent picks (position) and (velocity). So the state is a single dot living in a 2-D plane whose axes are position and velocity. As time runs, that dot traces a path — this plane is called the phase plane.

Figure — State-space representation — x' = Ax + Bu, y = Cx + Du
Recall Vector basics

What is in words? ::: The set of all lists of real numbers — an -dimensional space. For the mass–spring, what are the two state entries? ::: Position and velocity .


5. A grid of numbers: the matrix , and what does

Read the rule slowly. Take the first row , multiply entry-by-entry into the vector and add: — that becomes the first output entry. Do the same with the second row for the second entry. That is all a matrix–vector product is: a recipe of weighted sums, one weighted sum per row.


6. Two special matrices: identity and inverse

Why the topic needs these. The transfer-function link uses both: is " times the do-nothing matrix," and is the undo of . It blows up exactly where becomes singular — and those spots are the eigenvalues, i.e. the poles.


7. Directions a matrix doesn't rotate: eigenvalues

Most vectors get knocked to a new direction when a matrix acts. A rare few keep their direction and only grow or shrink. Along such a direction the dynamics collapse to the scalar rule — whose solution is . So decides whether that mode grows, decays, or oscillates. This is why the parent claims "stability lives in ."

Recall Eigen-intuition

In one sentence, what is an eigenvector? ::: A direction that only stretches, never rotates. Why do eigenvalues decide stability? ::: Along each eigen-direction the system obeys , so grows if and decays if .


8. The number that grows itself: and

That self-reproducing property is exactly why exponentials solve linear ODEs: a linear rule says "rate is proportional to amount," and is the shape that obeys "my slope is proportional to my height." Positive ⇒ runaway growth; negative ⇒ decay to zero; imaginary exponent ⇒ oscillation. The parent promotes this to the matrix exponential (see Matrix exponential) — the same idea for a whole vector at once.


9. Adding up over time: the integral

Why the topic needs it. The full solution has two pieces: memory of the start, plus the accumulated effect of every past push. That accumulation — every little input adding its bit — is exactly what an integral sums. The dummy letter just labels "each past instant" so we don't confuse it with the present time .


Prerequisite map

Time variable q of t

Derivative q-dot = slope

ODE: rule linking q and its dots

Second derivative = acceleration

Vector x = list of numbers

State vector: position and velocity

Matrix = weighted-sum machine

Matrix times vector Ax

State-space x-dot = Ax + Bu

Identity I and inverse A-inv

Transfer function G of s

Eigenvalues lambda

Stability of the system

Exponential e to the at

Matrix exponential e to At

Solution of x-dot = Ax + Bu

Integral = accumulated area


Equipment checklist

Test yourself — you're ready for the parent note when each reveal feels obvious.

  • I can read as ::: a number that takes a different value at each moment in time.
  • I can say what is geometrically ::: the slope of the tangent to the -vs-time curve at that instant.
  • I know why derivatives appear in physics ::: because laws of motion state rates (force sets the rate of change of velocity).
  • I can define the order of an ODE ::: the highest number of dots (derivatives) that appears.
  • I can picture the state vector for a mass–spring ::: a point in the position–velocity plane whose path is the motion.
  • I can compute by hand ::: take each row of , form the weighted sum with , stack the results.
  • I know the shape rule for ::: rows = size of the output, columns = size of the input.
  • I know what and do ::: leaves a vector unchanged; undoes so .
  • I can state what an eigenvalue means ::: the stretch factor along a direction doesn't rotate ().
  • I can explain why solves ::: its slope equals itself times , matching the rule exactly.
  • I can read ::: the accumulated area under from time to .

When these are second nature, jump into the parent topic and the solution machinery in Matrix exponential, Eigenvalues and stability, and Transfer functions and G(s).