State-Space Representation

Research Depth 109 in the knowledge graph I know this Set as goal
Unlocks 34 downstream topics
state-space state-variables A-matrix MIMO modern-control

Core Idea

State-space representation describes a dynamical system using first-order matrix differential equations: ẋ = Ax + Bu, y = Cx + Du, where x is the state vector, u is the input, y is the output, and A, B, C, D are constant system matrices. Unlike transfer functions, state-space models naturally represent MIMO (multiple-input, multiple-output) systems and capture all internal dynamics including unobservable or uncontrollable modes. The eigenvalues of the A matrix are the system's natural frequencies (closed-loop poles). State variables are not unique — any invertible linear transformation yields an equivalent representation with different A, B, C matrices but identical input-output behavior.

How It's Best Learned

Practice converting second-order differential equations into companion-form state space, then verify by computing H(s) = C(sI−A)⁻¹B + D and confirming it matches the original transfer function. Implement state-space simulations using scipy.signal.StateSpace.

Common Misconceptions

Explainer

You already know how to describe a linear system using a transfer function H(s) = Y(s)/U(s) — a ratio of polynomials in the Laplace variable s. Transfer functions work well for single-input, single-output (SISO) systems, but they hit two walls: they cannot naturally represent systems with multiple inputs and outputs (MIMO), and they can hide internal dynamics that cancel in the ratio. State-space representation solves both problems by working directly in the time domain with first-order matrix differential equations.

The key move is variable selection. Any differential equation of order n can be rewritten as n first-order equations by introducing state variables. For a second-order mechanical system mẍ + bẋ + kx = u, define x₁ = x (position) and x₂ = ẋ (velocity). Then ẋ₁ = x₂ and ẋ₂ = (u − bx₂ − kx₁)/m, which you write compactly as ẋ = Ax + Bu. The state vector [x₁, x₂] is the system's complete "memory" — given the current state and all future inputs, you can compute all future outputs. This is the fundamental role of the state: it separates the past from the future.

The A matrix is the heart of the representation. Its eigenvalues are the system's natural frequencies — the poles. An eigenvalue with negative real part corresponds to a stable, decaying mode. A positive real part means that mode grows without bound: instability. Complex conjugate eigenvalues with nonzero imaginary parts produce oscillation. These are exactly the poles you know from transfer functions, which is not a coincidence: the poles of H(s) = C(sI−A)⁻¹B + D are precisely the eigenvalues of A. The two representations are equivalent for what they predict about input-output behavior.

Where they diverge is in what they hide. A transfer function is formed by a ratio, and ratios can cancel. If a mode is uncontrollable — no input signal can excite it — and unobservable — it never appears in the output — then it cancels as a pole-zero pair in H(s) and becomes invisible. That mode still exists physically, and if it is unstable, the real system will diverge even while your transfer-function model predicts stability. State-space models retain all eigenvalues of A regardless of cancellations, making every internal mode visible. This is why stability analysis, controllability, and observability are always done in state-space.

One liberating insight is that state variables are not unique. Applying any invertible matrix T to the state vector gives new state variables x̃ = Tx, with different system matrices à = TAT⁻¹, B̃ = TB, C̃ = CT⁻¹, but the identical transfer function. Different choices of state variables are called different realizations of the same system. Companion form is good for reading off coefficients. Modal form (diagonalizing A) decouples the system into independent modes. Balanced realization is useful for model reduction. The freedom to choose is a tool, not an ambiguity.

Practice Questions 3 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsGreen's TheoremSurface Integrals and Flux of Vector FieldsSurface Integrals and Flux of Vector FieldsDivergence Theorem: Flux and OutflowDivergence TheoremElectric FluxGauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsSecond-Order Transient Circuit ResponseFeedback Control FundamentalsLaplace Transform Methods for ControlTransfer Functions and System ModelingState-Space Representation

Longest path: 110 steps · 610 total prerequisite topics

Prerequisites (7)

Leads To (14)