A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

State-Space Representation

Research Depth 128 in the knowledge graph ☐ I know this ☆ Set as goal
34topics build on this
855prerequisites beneath it
See this on the map →
Applications: Modeling with Linear AlgebraEigenvalues and Eigenvectors+5 more→→Controllability and ObservabilityIntroduction to Nonlinear Control+12 more
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

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Indefinite Integrals → Basic Integration Rules → Riemann Sums → Definite Integral Definition → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Triple Integrals in Cartesian Coordinates → Triple Integrals in Cylindrical and Spherical Coordinates → Change of Variables and the Jacobian Determinant → Applications of Triple Integrals: Volume and Mass → Vector Fields and Their Representations → Line Integrals of Vector Fields → Work and Circulation → Line Integrals of Scalar and Vector Functions → Fundamental Theorem for Line Integrals → Conservative Vector Fields → Conservative Vector Fields and Potential Functions → Curl and Divergence of Vector Fields → Curl and Divergence → Divergence Theorem → Electric Flux and Divergence Theorem → Gauss's Law: Integral Form and Meaning → Solving Problems with Gauss's Law → Conductors in Electrostatic Equilibrium → Capacitance and Capacitors → Dielectrics → Dielectric Constant and Relative Permittivity → Electric Field Inside Dielectric Materials → Dielectric Materials and Polarization → Dielectric Susceptibility and Permittivity → Energy Density in Electric Fields → Electric Current and Current Density → Electrical Resistance and Resistivity → Ohm's Law and Circuit Elements → Electromotive Force (EMF) and Batteries → Kirchhoff's Circuit Laws: Voltage and Current → DC Circuit Network Analysis Methods → Transient Response in RC Circuits → RC Circuits → First-Order Transient Circuit Response → Second-Order Transient Circuit Response → Feedback Control Fundamentals → Laplace Transform Methods for Control → Transfer Functions and System Modeling → State-Space Representation

Longest path: 129 steps · 855 total prerequisite topics

Prerequisites (7)

Leads To (14)