Related Concepts: 3.02 State-Space Modeling of Transfer Functions (Canonic Forms) | 3.03 State-Space Modeling of Electrical Circuits | 3.06 State Transition Matrix: Properties & Solution Methods


3.01 Introduction to State-Space & Phase-Variable Formulations

Core Idea

State-space analysis is a modern, time-domain mathematical model that reduces an -th order linear differential equation into a system of coupled, first-order differential equations. This representation uses matrix algebra to track the internal energy states of a system alongside its inputs and outputs, providing a unified framework for multi-input multi-output (MIMO) systems and system stability analysis.


1. The Philosophy of State-Space Representation

Classic time-domain analysis of continuous-time LTI systems relies on solving high-order linear constant-coefficient differential equations (LCCDEs) {equations relating inputs and outputs through derivatives} or converting them into -domain transfer functions using Laplace transforms. While powerful, these classical methods have distinct drawbacks:

  • They treat the system as a “black box,” focusing only on the input-output relationship and completely ignoring the internal states (such as capacitor voltages or inductor currents).
  • They are highly tedious to apply to Multi-Input Multi-Output (MIMO) systems.
  • They assume zero initial conditions when computing transfer functions, losing critical historical system state data.

State-space analysis solves these limitations by introducing a set of internal variables called state variables. By utilizing vector-matrix notation, we can analyze the internal physical states and external responses of any system simultaneously, even under non-zero initial conditions.


2. The Core Matrix Mathematical Formulation

To mathematically represent a continuous-time system in state-space, we define three primary mathematical vectors:

  1. State Vector (): An column vector containing the state variables of the system:
  2. Input Vector (): An column vector containing the external input signals:
  3. Output Vector (): A column vector containing the external output signals:

These vectors are coupled through two fundamental, first-order matrix differential equations:

2.1 The State Equation

The State Equation relates the first derivative of the state vector to the current states and external inputs:

2.2 The Output Equation

The Output Equation expresses the system outputs as a linear combination of the current states and external inputs:


2.3 Structural Matrix Dimension Map

Understanding the exact dimensions of these matrices is a heavily tested conceptual topic in ECE 2107 examinations. If the system order is , the input count is , and the output count is , the matrices must comply with the following structural dimensions:

MatrixPhysical NameDimensionsRole in the System
System MatrixGoverns the internal dynamics and natural stability of the system.
Input MatrixDetermines how external inputs affect the internal state transitions.
Output MatrixGoverns how the internal states map to the measurable output terminals.
Direct Transmission MatrixControls direct feedforward paths bypassing the system states. (Usually in physical networks).

3. The Phase-Variable Formulation Method

The Phase-Variable Method is a systematic, algorithmic approach used to convert a single -th order continuous-time differential equation into standard state-space matrices.

3.1 General Workflow

Consider a general -th order differential equation without input derivatives:

Step 1: Assign State Variables

We assign the system output and its successive derivatives as our phase variables:

Step 2: Formulate First-Order State Derivatives

Express the derivative of each state variable in terms of the other states:

To find the final derivative , we substitute our state variable definitions back into the original -th order differential equation:

Step 3: Construct the Companion Matrix Form

Now, we gather these first-order differential equations directly into the canonical matrix format:

Since our output is , the corresponding Output Equation is:


4. Comprehensive Worked Examples (The Exam Killers)

4.1 Example 1: Third-Order System Formulation [PYQ 2024]

Question: Represent the following differential equation in a state model:

Step-by-Step Solution:

  1. Define Phase Variables (): Let:

  2. Formulate State Derivatives: From our phase variable definitions:

    To find , isolate the highest-order derivative () in the original differential equation:

    Substitute our defined state variables into this equation:

  3. Construct the State Equation: Gather the equations into vector-matrix form :

  4. Construct the Output Equation: Since , map it to standard format :

    Thus, the final state-space matrices are:

  5. State-Space Block Diagram Realization: To ensure maximum exam marks, you must be ready to sketch the physical realization of your phase variable system.

    [DIAGRAM: Continuous 3-integrator block diagram (Direct Form II style) realizing the state-space equations. Left side: input u(t) multiplied by 2 feeding the final adder. Center: a cascade of three 1/s integrator blocks whose outputs represent states x3(t), x2(t), and x1(t) from left to right. Bottom: feedback lines with multipliers -1, -6, and -7 routing from x3, x2, and x1 back into the input adder. Right side: Output y(t) tapped directly from state x1(t) - source: Textbook Sec 3.1]


4.2 Example 2: Classroom Classical Realization

Question: Convert the following third-order system into state matrices and sketch its integrator block diagram:

Step-by-Step Solution:

  1. Define Phase Variables: Let:

  2. State Derivatives:

  3. Matrix Realization:


5. Common Mistakes That Cost Marks

The Zero-Coefficient Trap

If your differential equation skips a derivative term (for example, missing the term), do not skip the state variable! Keep the variable and write its coefficient as zero in your matrices. Skipping a state variable collapses the matrix order and results in a zero-mark evaluation.

The Non-Unity Coefficient Danger

If your differential equation starts with a non-unity coefficient on the highest derivative (e.g., ), you must divide the entire equation by 3 before starting the phase variable assignments. Neglecting this division step scales all of your feedback and input matrix coefficients incorrectly.


6. PYQ Bank — Verbatim Questions & Answer Plans

6.1 PYQ 2024 Question 2c [13 Marks]

Question: Represent the following differential equation given below in a state model:

  • Answer Plan: Follow the exact step-by-step mathematical formulation shown in Section 4.1. Define phase states , calculate the derivatives, write the coupled matrices, state the dimensions, and draw the matching 3-integrator block diagram to lock in all 13 marks.

7. Self-Check Before Moving On

  • Can you define State, State Vector, State Equation, and Output Equation mathematically? [9.01, 9.02]
  • Do you know how to determine the exact matrix dimensions of for any -th order MIMO system? [9.02]
  • Can you convert any continuous-time differential equation with constant coefficients into companion matrix form using phase variables? [9.03]
  • Have you memorized the warning to divide by the highest-order coefficient before building state matrices? [9.05]

Source: (k.Deergha Rao) signals and systems.pdf (Chapter 3), ECE-2107_STATE_SPACE_ANALYSIS.pdf, Azmat Sir-2309008.pdf (Class Lecture Slides).