03 Chapter Map - State-Space Representation of CT Systems

Chapter 3 Overview & Map of Content (MOC)

Phase-variable matrix models, electrical networks, state-transition exponentials , and continuous resolutions.


📚 Study Notes Index

Read in order — each note assumes the previous one.

#NoteWhat it covers
3.003.00 State-Space Analysis of CT Systems Compact ReviewState-Space Compact Review, State-Space Formula Sheet
3.013.01 Introduction to State-Space and Phase-Variable FormulatState-Space Fundamentals, Phase-Variable Method
3.023.02 State Space Modeling of Transfer Functions Canonic FormCanonic Forms, State-Space TF, Control Canonic Form
3.033.03 State-Space Modeling of Electrical CircuitsCircuit State-Space, RLC State-Space, Electrical Network States
3.043.04 State-Space Modeling of Block Diagrams and Signal FlowBlock Diagram State Space, SFG State Space, Operational Block Realization
3.053.05 Discrete-Time State-Space RepresentationDiscrete State-Space, DT State Model
3.063.06 State Transition Matrix Properties and Solution MethodsState Transition Matrix, STM, Matrix Exponential, s-Domain Transition

🎯 Exam Weight

ECE 2107 Exam Relevance

Master the core derivations, mathematical definitions, and problem-solving techniques. Refer to ECE 2107 - Signals and Systems for syllabus boundaries and past year questions.



Chapter 3: State-Space Representation of Continuous-Time Systems

This compact note summarizes all core concepts, matrix formulations, properties, and standard transformations of State-Space analysis. Designed as a high-density, pre-exam review card.


1. Foundational Terminology & Definitions

*(Target: Theory Descriptive / 5-Mark Question)*

  • State of a System: The absolute minimal set of variables such that knowledge of these variables at (initial conditions), together with the input for , uniquely and completely determines the system’s output and future behavior for all .
  • State Variables: The individual, independent dynamic variables that represent the state of the system (typically chosen as physical energy-storing quantities).
  • State Vector: An column vector whose components are the state variables.
  • State Space: The -dimensional mathematical space whose coordinate axes are defined by the state variables.
  • Canonic Realizations: Structured state-space representations derived from transfer functions, grouped into Control Canonic Form (CCF), Observer Canonic Form (OCF), and Diagonal/Jordan Canonic Form.

Table 3.1: Comparison: Classical Transfer Function vs. Modern State-Space

FeatureClassical Transfer Function MethodModern State-Space Representation
Initial ConditionsConstrained strictly to zero initial conditions ().Fully incorporates arbitrary non-zero initial conditions [].
System ConstraintsStrictly applicable to Linear Time-Invariant (LTI) systems.Extends seamlessly to Non-linear and Time-varying systems.
Terminal ScopeBest suited for Single-Input Single-Output (SISO) setups.Natively handles Multiple-Input Multiple-Output (MIMO) setups.
Internal VisibilityTreats system as a “Black Box” (input-to-output only).Unveils the complete internal dynamics and state transitions.
ComputationFrequency-domain algebraic roots.Time-domain matrix algebra (highly optimized for computers).

2. Standard LTI Matrix Formulations

*(Target: Numerical Solving / System Realization)*

For an LTI system with state variables (order ), inputs, and outputs:

2.1 State Equation (First-Order Differential Matrix Set)

  • = Derivative of State Vector ()
  • = State Vector ()
  • = State / System Matrix () — Dictates natural system modes
  • = Input / Control Matrix () — Bridges external input to state change
  • = Input Vector ()

2.2 Output Equation (Algebraic Measurement Model)

  • = Output Vector ()
  • = Output / Observation Matrix () — Maps states to physical output
  • = Direct Transmission / Feedforward Matrix () — Usually zero; non-zero if numerator order matches denominator order

3. Selection Symmetries of State Variables

*(Target: Model Formulation / Circuit Analysis)*

3.1 Physical Variable Method (Electrical Networks)

  • The Energy Rule: The number of state variables equals the number of independent energy-storing elements (inductors and capacitors ).
  • Standard Selection Assignments:
    • State Variable (Voltage across capacitor)
    • State Variable (Current through inductor)
  • A+ Score-Saver Trap: Avoid writing dependent loops or nodes. Verify that capacitor loop configurations and inductor node junctions do not violate linear independence, reducing matrix dimensions.

3.2 Phase Variable Method (Higher-Order ODEs)

  • The Derivative Rule: State variables are assigned as the system output and its successive derivatives:
  • Matrix Structure (Companion Form): For an -th order ODE: 0 & 1 & 0 & \dots & 0 \\ 0 & 0 & 1 & \dots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \dots & 1 \\ -a_n & -a_{n-1} & -a_{n-2} & \dots & -a_1 \end{bmatrix}, \quad \mathbf{B} = \begin{bmatrix} 0 \\ 0 \\ \vdots \\ 0 \\ b_0 \end{bmatrix}, \quad \mathbf{C} = \begin{bmatrix} 1 & 0 & 0 & \dots & 0 \end{bmatrix}$$

4. Operational Block Diagram Realizations

*(Target: Block Diagram Design / Signal Flow Graphs)*

State equations are mapped directly onto active realizations using Integrators (), Adders, and Multipliers.

  • The Integrator Boundary Rule:
    • The output of the -th integrator is defined as the state variable (or ).
    • The input of the -th integrator represents the derivative (or ).
  • Canonic Realization Symmetries:
    • Direct Form I: Employs separate delay/integrator chains for feedback poles and feedforward zeros.
    • Direct Form II (Canonic Form): Minimizes memory requirement by utilizing a shared integrator column for both poles and zeros.

5. The State Transition Matrix (STM)

*(Target: Mathematical Proof / Analytical Solving)*

The state transition matrix maps the initial state to a future state under unforced (zero-input) conditions.

5.1 Evaluation Pathways

  1. S-Domain Laplace Method (Resolvent Matrix inversion):
  2. Time-Domain Infinite Power Series Method:

5.2 Five (5) Golden Algebraic Properties of STM

For any time parameters :

  1. Identity Property:
  2. Inversion Property:
  3. Cyclic Decomposition (Semi-group Property):
  4. Time Addition Property:
  5. Power Shifting Property:

6. Analytical Solution of State Equations

*(Target: Mathematical Proof / Full Numerical Solution)*

6.1 Unilateral s-Domain Resolvent Solution

Taking the Laplace transform of the state equation yields:

6.2 Total Time-Domain Response Formulation

Taking the inverse Laplace transform of the s-domain equation yields the unified state trajectory:


7. State-Space to Transfer Function Conversion

*(Target: Mathematical Proof / Matrix Transformation)*

To convert a modern state-space representation back to a classical frequency-domain transfer function:

  • Governing Algebraic Form (Single-Input Single-Output):
  • The Pole Identity: The poles of correspond exactly to the eigenvalues of the system matrix , calculated by solving the characteristic equation:

8. Discrete-Time State-Space Modeling

*(Target: Theory Descriptive / Discrete Difference Modeling)*

For digital networks represented by difference equations:

  • Unified State and Output Formulation: \mathbf{X}[n+1] &= \mathbf{A}\mathbf{X}[n] + \mathbf{B}\mathbf{U}[n] \\ \mathbf{Y}[n] &= \mathbf{C}\mathbf{X}[n] + \mathbf{D}\mathbf{U}[n] \end{aligned}$$
  • Discrete Unforced Total Solution:

9. Common Mistakes That Cost Marks

Critical Exam Pitfalls

  1. Identity Matrix () Omission: Writing instead of . You cannot subtract a matrix from a scalar directly! Forgetting to scale by the Identity matrix completely breaks the matrix dimensions.
  2. Resolvent Scaling Factor Sign Swaps: Miscalculating the inverse of . For a matrix, remember that the matrix inversion formula is: Double-check the signs of your cofactors and determinant value before performing algebraic division.
  3. Feedback Coefficient Sign Negation (Direct Form II): Forgetting to negate the feedback coefficient terms when mapping from a differential equation to feedback multiplier blocks.
  4. Initial State Time-Shift Inversion: In discrete solutions, using instead of the causal shift bound inside the convolution summation.

10. PYQ Bank — Verbatim Questions & Answer Plans

10.1 Phase Variable Derivative Realization

KUET 2024 Section B Q. 5a [13 Marks]

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

  • Answer Plan:
    1. Define three successive phase-variables as state variables: , , .
    2. Write the derivatives of the first two variables: and .
    3. Re-arrange the original differential equation to express : .
    4. Compile the state equation and output equation in standard matrix Companion Form.

10.2 Transfer Function Matrix Resolution

KUET 2019 Section B Q. 7b [10 Marks]

A state variable description of a system is given by the matrix equation: Find: (i) The Transfer function, (ii) The State transition matrix, (iii) State diagram.

  • Answer Plan:
    1. Identify matrices: , , , .
    2. Solve for and evaluate its inverse resolvent matrix .
    3. Calculate the transfer function .
    4. Determine the State Transition Matrix .
    5. Draw the state diagram illustrating feedback nodes and summing junctions based on individual state equations.

10.3 Discrete Time Delay Formulations

KUET 2022/2021 Section B Q. 8a [13 Marks]

Obtain the state-space representation of a discrete time system described by the following difference equation:

  • Answer Plan:
    1. Convert the difference equation into causal form by shifting indices: .
    2. Assign state variables to past delays: , , .
    3. Formulate the state updating vector: , , .
    4. Express the output equation: .
    5. Compile variables in discrete standard matrix form.

11. Self-Check Before Moving On

  • Can you define “State of a System” verbatim with its prerequisite mathematical boundaries?
  • Can you write the complete s-domain state-space-to-transfer-function conversion equation and prove its eigenvalue-pole identity?
  • Can you state the five algebraic properties of the State Transition Matrix ()?
  • Do you know how to choose physical state variables for series/parallel capacitor-inductor networks using KVL/KCL?
  • Can you draw a canonic Direct Form II realization layout from a third-order transfer function?

Source: (k.Deergha Rao) signals and systems.pdf, ECE-2107_STATE_SPACE_ANALYSIS.pdf, Rabiul sir class notes, KUET Past Year Question Bank.


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).


3.01 Introduction to State-Space & Phase-Variable Formulations | 3.03 State-Space Modeling of Electrical Circuits


3.02 State-Space Modeling of Transfer Functions (Canonic Forms)

Core Idea

For systems represented by rational s-domain transfer functions with -terms in the numerator, traditional phase-variable definitions based on output derivatives fail because they introduce derivatives of the input signal. To bypass this, we decompose the transfer function into two cascaded subsystems: an Input-to-State subsystem (with a constant numerator) and a State-to-Output subsystem (with s-terms in the numerator) using an intermediate state variable .


1. The Algebra of Numerator Dynamics

1.1 The “Input Derivative” Problem

If we have a transfer function with -terms in the numerator:

Its time-domain differential equation is:

If we attempt to define states as derivatives of the output (e.g., , , ), the derivative of the highest state will directly depend on and . This violates the standard state equation format: which permits only the raw input , not its derivatives!

1.2 The Auxiliary Variable Solution

To decouple the input derivatives, we insert an auxiliary variable and split into two cascaded blocks:

  1. Block 1 (Input-to-State):
  2. Block 2 (State-to-Output):

Multiplying these blocks yields the original transfer function:


2. Phase-Variable Formulation (Control Canonic Form)

2.1 Step-by-Step Derivation Workflow

Step 1: Solve Block 1 in the Time Domain

Multiply out the s-domain terms of the Input-to-State block: Applying the inverse Laplace transform assuming zero initial conditions:

Step 2: Define the State Vector

Since this auxiliary equation has a constant numerator (1), we can safely define our state variables as successive derivatives of the auxiliary variable :

Step 3: Formulate State Equations

Write down the derivatives of our state variables:

Step 4: Solve Block 2 in the Time Domain

Multiply out the s-domain terms of the State-to-Output block: Taking the inverse Laplace transform:

Step 5: Substitute States into the Output Equation

Replace the derivatives of with our defined state variables:

Step 6: Assemble Matrix Form

Combining the state and output equations:


3. High-Yield Worked Classroom Problems

3.01 Constant Numerator Realization

Problem 1: Companion Matrix Mapping

Obtain the state-space model for the transfer function:

  • Step 1: Setup intermediate block
  • Step 2: State Assignments
  • Step 3: Output Mapping
  • Step 4: Matrix Compilation

3.02 Complete Numerator Polynomial Realization

Problem 2: Phase-Variable -Numerator Realization

Obtain the state-space model for the transfer function:

  • Step 1: Subsystem Cascading
  • Step 2: State Variables Mapping Since the denominator polynomial is identical to Problem 1, the system matrix and input matrix remain completely unchanged:
  • Step 3: Output Equation Synthesis Converting to the time domain: Substituting the states , , and :
  • Step 4: Matrix Compilation

4. Hardware Realization Diagram

The Control Canonic Form mapped above directly dictates how an analog computer can be wired using integrators, summers, and potentiometers:

               +-----------------------------------------------------+
               |                                                     |
               v   -24                                               |
u(t) ---> ( + ) ---> [ 1/s ] ---> x_3 ---> [ 1/s ] ---> x_2 ---> [ 1/s ] ---> x_1
            ^          |                     |                      |
            |          v                     v                      v
            |         (x) 1                 (x) 7                  (x) 2
            |          |                     |                      |
            |          +------------------>( + )<--------------------+
            |                                |
            |                                v
            |                              y(t)
            |                                
            +---(x) -9 <---------------------+
            |                                |
            +---(x) -26 <--------------------+

[DIAGRAM: 3-Integrator canonic flow-graph realization of H(s) = (s^2 + 7s + 2)/(s^3 + 9s^2 + 26s + 24) showing nested feedback and feedforward summing nodes - source: Textbook Ch 2]


5. Common Mistakes That Cost Marks

Exam Pitfall: The Sign-Flip omission & Non-Monic Coefficients

  1. Denominator Sign-Flip Trap: When writing the last row of the state system matrix , students often copy the coefficients directly. Remember, they are shifted to the RHS of the state equation and must be negated: .
  2. Numerator Sign-Flip Mistake: Students sometimes also negate the coefficients of the output matrix . Do not do this! The numerator coefficients map directly to the matrix without any sign changes.
  3. Non-Monic Denominator Danger: If the coefficient of the highest power of in the denominator is not unity (e.g., ), you must divide the entire numerator and denominator by that factor (3) to make the polynomial monic before mapping the coefficients!

6. Potential / Grounded Exam Practice Bank

Verbatim Class & Homework Numericals

  1. Find the state variable description corresponding to the continuous system transfer function: Answer Plan: Cascade two blocks using buffer. State equations will yield with last row , , and output .
  2. Formulate the control canonic state-space representation for: Answer Plan: System order . Matrix , , .

7. Self-Check Before Moving On

  • Can you explain why numerator -dynamics prevent defining state variables directly as output derivatives?
  • Do you understand the mechanical step-by-step derivation of the intermediate variable split?
  • Can you write down the state matrices of any monic rational transfer function by inspection within 10 seconds?

Source: (k.Deergha Rao) signals and systems.pdf, Section 2.8; lecture slides on State-Space representations.


Related Concepts: 3.02 State-Space Modeling of Transfer Functions (Canonic Forms) | 3.04 State-Space Modeling of Block Diagrams & Signal Flow Graphs | 3.06 State Transition Matrix: Properties & Solution Methods


3.03 State-Space Modeling of Electrical Circuits

Core Idea

Unlike mathematical systems where state variables are abstract phase variables, physical electrical circuits possess a natural, physically intuitive set of state variables: capacitor voltages () and inductor currents (). These variables represent the physical energy storage {the capacity of capacitors to store electrical charge in electric fields, and inductors to store magnetic flux in magnetic fields} and directly determine the “history” or “memory” of the network.


1. The Physical Philosophy of State Selection

When translating an electrical circuit into a state-space model, we do not use phase variables {derivatives of a single output}. Instead, we assign state variables to the energy-storing elements of the circuit.

Physically, the state of a system must represent the minimum amount of information at time needed to predict the future states for all (given the input). In RLC networks, the physical energy is stored in:

  • Capacitors: Energy stored is . The voltage across a capacitor cannot change instantaneously {due to the conservation of electric charge}. Thus, capacitor voltage is selected as a state variable.
  • Inductors: Energy stored is . The current through an inductor cannot change instantaneously {due to the conservation of magnetic flux linkage}. Thus, inductor current is selected as a state variable.

1.1 State Selection Dictionary

For any physical RLC circuit with capacitors and inductors, the total order of the state-space model is . We define the state vector using the following variables:

Physical ElementState Variable DefinitionGoverning Physical EquationDerivative Relation
Capacitor ()Voltage across the capacitor:
Inductor ()Current flowing through the inductor:

2. The 4-Step Circuit Modeling Algorithm

To systematically formulate the state equation and output equation for any passive electrical network, apply this rigid 4-step workflow:

Step 1: State and Input Assignment

Identify all inductors and capacitors. Assign state variables: to capacitor voltages and inductor currents. Label all other branch voltages and branch currents in terms of these states and the inputs .

Step 2: Write Fundamental Network Equations

Apply Kirchhoff’s Voltage Law (KVL) to the loops containing inductors to find inductor voltages, and Kirchhoff’s Current Law (KCL) to the nodes containing capacitors to find capacitor currents.

  • Ensure that you do not write dependent equations {e.g., redundant loops or nodes that do not contain energy storage components}.

Step 3: Isolate the Derivatives

Algebraically manipulate your equations so that the capacitor currents () and inductor voltages () are expressed only in terms of state variables (capacitor voltages and inductor currents) and external input sources.

  • Once isolated, substitute the derivative relations:

Step 4: Assemble the Matrix Equations

Collect the isolated first-order differential equations and write them in vector-matrix format. Express the measurable output terminal variable as a linear combination of states and inputs to form the output matrix.


3. High-Yield Worked Examples (The Exam Classics)


3.1 Example 1: The Second-Order Series RLC Network [PYQ 2022, 2020]

Question: Derive the complete state-space model for the series RLC network shown below. Find the state and output matrices if the output is:

  1. The loop current .
  2. The capacitor voltage .
                  Inductor current i_L(t) --->
               +------------[  R  ]------------[  L  ]------------+
               |                                                  |
              (+)                                                [C] v_C(t)
             v_s(t)                                               |
              |                                                   |
               +--------------------------------------------------+

Step-by-Step Solution:

  1. Assign State Variables: The circuit has one capacitor () and one inductor (). The system order is . Let our states be: The input is the voltage source:

  2. Apply KVL and KCL:

    • Loop KVL: Summing voltages around the series loop:
    • Node KCL: The capacitor current is exactly equal to the inductor loop current:
  3. Isolate Derivatives:

    • For the inductor:
    • For the capacitor:
  4. Assemble Matrices: Combining these equations into matrix form : \begin{bmatrix} \\dot{x}_1(t) \\\\ \\dot{x}_2(t) \\end{bmatrix} = \\begin{bmatrix} 0 & \\frac{1}{C} \\\\ -\\frac{1}{L} & -\\frac{R}{L} \\end{bmatrix} \\begin{bmatrix} x_1(t) \\\\ x_2(t) \\end{bmatrix} + \\begin{bmatrix} 0 \\\\ \\frac{1}{L} \\end{bmatrix} u(t)

    • Case 1: Output is Loop Current (): y(t) = \\begin{bmatrix} 0 & 1 \\end{bmatrix} \\begin{bmatrix} x_1(t) \\\\ x_2(t) \\end{bmatrix} + \\begin{bmatrix} 0 \\end{bmatrix} u(t) \\mathbf{C} = \\begin{bmatrix} 0 & 1 \\end{bmatrix}, \\quad \\mathbf{D} = \\begin{bmatrix} 0 \\end{bmatrix}
    • Case 2: Output is Capacitor Voltage (): y(t) = \\begin{bmatrix} 1 & 0 \\end{bmatrix} \\begin{bmatrix} x_1(t) \\\\ x_2(t) \\end{bmatrix} + \\begin{bmatrix} 0 \\end{bmatrix} u(t) \\mathbf{C} = \\begin{bmatrix} 1 & 0 \\end{bmatrix}, \\quad \\mathbf{D} = \\begin{bmatrix} 0 \\end{bmatrix}

3.2 Example 2: The Two-Stage Cascaded RC Network [PYQ 2025, 2019, 2015]

Question: Obtain the state-space model of the passive cascaded RC circuit shown below. The input is and the output is the voltage across the second capacitor .

                     R1                              R2
          o-------[  R1  ]-------+---------------[  R2  ]-------+-------o
          |                      |                             |
         (+)                    [C1] v_C1(t)                  [C2] v_C2(t) (y)
        v_i(t)                   |                             |
          |                      |                             |
          o----------------------+-----------------------------+-------o

Step-by-Step Solution:

  1. Assign State Variables: The circuit has two capacitors ( and ) and zero inductors. The system order is . Let our states be: The input is the voltage source: The output is:

  2. Apply KCL at Nodes:

    • KCL at Node 1 (Capacitor ): Sum of currents entering equals sum of currents leaving:
    • KCL at Node 2 (Capacitor ):
  3. Isolate Derivatives:

    • For the first capacitor, substitute :
    • For the second capacitor, substitute :
  4. Assemble Matrices: Write in vector-matrix format: \begin{bmatrix} \\dot{x}_1(t) \\\\ \\dot{x}_2(t) \\end{bmatrix} = \\begin{bmatrix} -\\left(\\frac{1}{R_1 C_1} + \\frac{1}{R_2 C_1}\\right) & \\frac{1}{R_2 C_1} \\\\ \\frac{1}{R_2 C_2} & -\\frac{1}{R_2 C_2} \\end{bmatrix} \\begin{bmatrix} x_1(t) \\\\ x_2(t) \\end{bmatrix} + \\begin{bmatrix} \\frac{1}{R_1 C_1} \\\\ 0 \\end{bmatrix} u(t) y(t) = \\begin{bmatrix} 0 & 1 \\end{bmatrix} \\begin{bmatrix} x_1(t) \\\\ x_2(t) \\end{bmatrix} + \\begin{bmatrix} 0 \\end{bmatrix} u(t)

    Thus, the state-space matrices are: \\mathbf{A} = \\begin{bmatrix} -\\frac{R_1 + R_2}{R_1 R_2 C_1} & \\frac{1}{R_2 C_1} \\\\ \\frac{1}{R_2 C_2} & -\\frac{1}{R_2 C_2} \\end{bmatrix}, \\quad \\mathbf{B} = \\begin{bmatrix} \\frac{1}{R_1 C_1} \\\\ 0 \\end{bmatrix}, \\quad \\mathbf{C} = \\begin{bmatrix} 0 & 1 \\end{bmatrix}, \\quad \\mathbf{D} = \\begin{bmatrix} 0 \\end{bmatrix}


3.3 Example 3: Three-Storage Multi-Loop Network [PYQ 2024 Question 3b - Verbatim 13 Marks]

Question: Represent the following electrical circuit by a state model. The output is the voltage across resistor .

                     L1 (i_L1)                         L2 (i_L2)
          o-------[  L1  ]-------+------------------[  L2  ]-------+-------o
          |                      |                                 |
         (+)                    [C] v_C(t)                        [R2] y(t)
        V(t)                     |                                 |
          |                      |                                 |
          o------[  R1  ]--------+---------------------------------+-------o

Note: This KUET 2024 circuit is an exceptional multi-loop network because resistor is placed in the bottom return wire, which couples both left-hand and right-hand loop currents.

Step-by-Step Solution:

  1. Assign State Variables: The circuit has three energy-storing elements: capacitor , inductor , and inductor . The system order is . Let our states be: x_2(t) = i_{L_1}(t) \quad \text{{current through inductor } L_1 \text{ (left-to-right)}} x_3(t) = i_{L_2}(t) \quad \text{{current through inductor } L_2 \text{ (left-to-right)}} The input is: The output is the voltage across the load resistor . Since the current through is exactly :

  2. Write KVL/KCL and Isolate Derivatives:

    • Capacitor State Equation (): Apply KCL at the top central node (above capacitor ). The current entering from the left is . The currents leaving are the capacitor current and the right inductor current . Since :

    • Left Inductor State Equation (): Write KVL around the left-hand loop containing , , , and . Warning: Note that is in the bottom path, which carries only the left-hand loop current : Since :

    • Right Inductor State Equation (): Write KVL around the right-hand loop containing , , and : Since :

  3. Matrix Assembly: Gather the equations to formulate the state and output matrices:

    The final matrices are:


3.4 Example 4: Series RLC with Parallel Admittance (Numerical Practice)

Question: Derive the numerical state matrices for the electrical circuit shown below. Given component values: , , .

               Rs = 2 ohms
          o----[  Rs  ]------+-----------------------+----o
          |                  |                       |
         (+)                [C] C = 0.5 F           [L] L = 1 H
        v_i(t)               |                       |
          |                  |                       |
          o------------------+-----------------------+----o

Step-by-Step Solution:

  1. Assign State Variables:

    • State variables:
    • Input:
  2. Write KCL and KVL:

    • KCL at top right node: The current entering through resistor equals the sum of capacitor and inductor currents:
    • KVL for Inductor branch: The inductor is in parallel with the capacitor, so the voltage across it is exactly :
  3. Isolate Derivatives:

    • For capacitor:
    • For inductor:
  4. Evaluate Numerically: Substitute , , :

    In matrix form:


4. Common Mistakes That Cost Marks

The Inductor Current Polarities in KVL

Always write the inductor voltage as in the direction of the defined current loop. If you write loop KVL equations and flip the polarity of , you will generate negative signs in your matrix, indicating a system with unstable poles. Stable physical circuits containing only passive resistors, inductors, and capacitors must have state eigenvalues with negative real parts!

Dependent State Redundancy

Only write states for independent energy-storing elements. If a circuit has a loop of only capacitors, or a cut-set of only inductors, the states are dependent {since the voltages or currents are constrained by KVL/KCL and cannot change independently}. In such cases, the total system order is reduced, and writing standard independent matrices will result in singular, non-invertible state equations.


5. PYQ Bank — Verbatim Questions & Answer Plans

5.1 PYQ 2024 Question 3b [13 Marks]

Question: Represent the following electrical circuit by a state model: [CIRCUIT: Voltage source V(t) in series with R1 on bottom wire, inductor L1 on top-left, capacitor C in middle shunt, inductor L2 on top-right, and output resistor R2 on right-hand shunt - source: KUET 2024 Q3b]

  • Answer Plan: Define the three energy storage states , , and . Follow the exact algebraic formulation steps detailed in Section 3.3 to derive the isolated derivatives and present the correct system matrices to secure all 13 marks.

5.2 PYQ 2022 Question 4b [15 Marks - Verbatim]

Question: Find the Z & Y parameters of two port network shown in Fig. 4(b) (which can be derived using the state modeling conversions we cover in Note 3.06).

  • Answer Plan: This problem bridges network theory and state space, solved by calculating s-domain equivalent matrices as outlined in Note 3.06.

6. Self-Check Before Moving On

  • Can you explain why capacitor voltage () and inductor current () are selected as natural state variables? [1.1]
  • Do you know how to write independent KVL and KCL equations and completely isolate first-order derivatives ()? [2.0]
  • Can you solve a multi-loop circuit containing three energy storage elements and compile them into state matrices? [3.3]
  • Have you mastered the polarity convention for inductors and capacitors in KVL/KCL loops? [4.0]

Source: (k.Deergha Rao) signals and systems.pdf (Chapter 3 & 4), Rabiul sir -2309008.pdf, Azmat Sir-2309008.pdf (KUET Class Notes & Lecture Slides).


Related Concepts: 3.01 Introduction to State-Space & Phase-Variable Formulations | 3.02 State-Space Modeling of Transfer Functions (Canonic Forms) | 3.03 State-Space Modeling of Electrical Circuits


3.04 State-Space Modeling of Block Diagrams & Signal Flow Graphs

Core Idea

Operational block diagrams and signal flow graphs (SFGs) are graphical representations of a system’s mathematical relationships. By assigning state variables to the outputs of integrators (in continuous-time systems) or unit delays (in discrete-time systems), we can systematically extract the coupled first-order matrix state equations () directly from the graphical signal paths.


1. State-Variable Assignment Rules for Graphical Systems

To systematically formulate state equations from any block diagram or signal flow graph, we apply two rigid assignment rules depending on the system domain:

Rule 1: Continuous-Time (CT) Systems (Integrators)

The state variables represent the output signals of the integrator blocks {integrators accumulate signals over time}.

  • If an integrator block has output , then its input must be the first derivative of that state:
  • For a system of order , there will be exactly cascaded or parallel integrator blocks ( in the s-domain), yielding state variables.

Rule 2: Discrete-Time (DT) Systems (Unit Delays)

The state variables represent the output signals of the unit delay blocks {delays hold discrete samples for one interval}.

  • If a unit delay block () has output , then its input must be the next advanced sample state:
  • For a discrete system of order , there will be exactly delay elements, yielding discrete state variables.

2. Rigorous 5-Step Graphical-to-Matrix Algorithm

Follow this mechanical checklist to convert any operational flowchart into state-space matrix format:

graph TD
    A[Step 1: Label Outputs of Integrators/Delays as x_i] --> B[Step 2: Label Inputs of Integrators/Delays as dx_i or x_i_plus_1]
    B --> C[Step 3: Write Equations for Adder Nodes in terms of x_i and u]
    C --> D[Step 4: Express System Output y in terms of x_i and u]
    D --> E[Step 5: Assemble Vector-Matrix Equations A, B, C, D]
  1. Step 1: Identify all integrator blocks () or delay blocks (). Label their outputs as state variables .
  2. Step 2: Label the inputs to these blocks as (for CT) or (for DT).
  3. Step 3: Systematically write algebraic equations for each adder node {summation points} in the diagram. Express the derivative/advanced states ( or ) strictly as a linear combination of the state variables and the external inputs .
  4. Step 4: Write the output equation by expressing or strictly in terms of the state variables and input .
  5. Step 5: Group coefficients and assemble into the canonical matrix format: \text{State Equation:} & \quad \mathbf{\dot{X}} = \mathbf{A}\mathbf{X} + \mathbf{B}\mathbf{U} \\ \text{Output Equation:} & \quad \mathbf{Y} = \mathbf{C}\mathbf{X} + \mathbf{D}\mathbf{U} \end{aligned}$$

3. Continuous-Time (CT) Block Diagram Modeling

Consider a continuous-time system containing three integrators. We want to extract the state-space representation directly from its hardware block wiring.

3.1 Worked Numerical: Multi-Feedback Integrator Diagram

Question: Obtain the state model of the continuous-time block diagram represented below:

[DIAGRAM: Continuous 3-integrator block diagram. Input u(t) enters an adder on the left. The output of this adder goes into Integrator 1. The output of Integrator 1 is state x3(t), which feeds into Integrator 2. The output of Integrator 2 is state x2(t), which feeds into Integrator 3. The output of Integrator 3 is state x1(t). Feedback gains of -5, -4, and -2 are taken from state outputs x1(t), x2(t), and x3(t) respectively, and routed back to the main input adder. The output y(t) is a linear sum of x1(t) and x2(t) - source: Azmat Sir Slide 15]

Step-by-Step Solution:

  • Step 1: Assign States Let the outputs of the three integrators be assigned as:

  • Step 2: Assign State Derivatives The inputs to the integrators are:

  • Step 3: Establish Integrator Connections From the cascading connections:

    \dot{x}_1(t) &= x_2(t) \\ \dot{x}_2(t) &= x_3(t) \end{aligned}$$
  • Step 4: Write Main Adder Equation The input to the first integrator is , which is the output of the main feedback adder node. Let us trace the signals entering this adder:

  • Step 5: Write Output Equation The system output is the sum of and :

  • Step 6: Assemble State-Space Matrices

    Thus, the continuous-time state matrices are:


4. Discrete-Time (DT) Block Diagram Modeling

Discrete-time diagrams utilize unit delays (). The mathematical extraction requires careful tracking of step indices.

4.1 Worked Numerical: Unit Delay Network [PYQ 2016]

Question: Find the state-space description corresponding to the system depicted below by choosing the state variables to be the outputs of the unit delays:

[DIAGRAM: Discrete-time realization block diagram containing two delay blocks (z^-1). Node labels: Input u[n] enters on the left, feeding into a top-path adder and a bottom-path adder. Delay Block 1 has output state x1[n], and Delay Block 2 has output state x2[n]. Tracing feedback path loops: the input to Delay 1 (x1[n+1]) is fed by u[n] + 1/3 x2[n]. The input to Delay 2 (x2[n+1]) is fed by the output of a multiplier (4/3) from x2[n] + x1[n] + u[n]. The output y[n] is tapped from the final right-side adder node - source: KUET 2016 Question 4a]

Step-by-Step Solution:

  1. Assign State Variables: Let the outputs of the delay blocks be the states:

  2. Establish Advanced State Equations: Tracing the signals at the inputs of the delays ():

  3. Establish Output Equation: Tracing the output path from the final right-side adder node:

  4. Formulate Coupled Matrices:

    Thus, the final discrete state-space matrices are:


5. Signal Flow Graph (SFG) State-Space Formulations

A Signal Flow Graph (SFG) is a simplified directed graph where nodes represent variables and branches represent gains. It is mathematically equivalent to block diagrams.

5.1 The SFG State Extraction Rule

  • Identify all branch transmittance terms that contain the integrator factor (or delay factor ).
  • The State Node Rule: The output node of every branch with transmittance is designated as a state variable . The input node to that same branch represents the derivative of that state, .
               \dot{x}_i(t)     1/s      x_i(t)
              o-------------( Integrator )------------->o
  • Write nodal equations for all derivative nodes () by summing all incoming branch signals entering that specific node.

6. Common Mistakes That Cost Marks

The Integrator Output-Input Swapping Trap

Never swap the input and output variables of the integrator! The output of the integrator block is the state , and the input is . If you mistakenly write the input as and output as , your derivative equations will involve unwanted integral calculus, completely violating the algebraic first-order state format.

The Direct Feedforward Path () Oversight

Always verify if there is a direct feedforward path bypassing the delay/integrator chains directly from the input terminal to the output terminal . If such a path exists (for example, a gain branch running from start to finish), your direct transmission matrix is non-zero (). Forgetting to include this feedforward term in your output equation yields a major structural grading deduction.


7. PYQ Bank — Verbatim Questions & Answer Plans

7.1 PYQ 2016 Question 4a [12 Marks]

Question: Find the state variable description corresponding to the system depicted in Fig. 4(a) by choosing the state variables to be the outputs of the unit delays.

  • Answer Plan: Follow the step-by-step discrete mathematical derivation provided in Section 4.1. Clearly label the state variables and at the delay outputs, trace the inputs and , formulate the node state equations, write the output equation, and present the final matrices () with their respective dimensions to secure all 12 marks.

8. Self-Check Before Moving On

  • Can you define state-variable assignment rules for continuous integrators and discrete unit delays?
  • Do you know how to write algebraic equations for adder nodes by summing incoming branch signals?
  • Have you mastered the 5-step graphical-to-matrix mapping algorithm?
  • Can you identify non-zero matrices caused by direct input-output feedforward branches?

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


3.04 State-Space Modeling of Block Diagrams & SFGs | 3.06 State Transition Matrix: Properties & Solution Methods


3.05 Discrete-Time State-Space Representation

Core Idea

Just as continuous-time (CT) systems can be represented in state-space using derivatives, discrete-time (DT) systems described by linear constant-coefficient difference equations (LCCDEs) {equations relating discrete input and output sequences through delays} can be modeled using first-order shift-operator difference matrix equations. Instead of continuous integrators (), DT systems utilize unit delays () as their physical memory storage elements, where the state variables represent delayed values of the output or internal signals.


1. The Discrete-Time State-Space Formulation

In the discrete-time domain, the state-space model is formulated as a set of coupled, first-order difference matrix equations that track state transitions from sample index to {the discrete sample counter representing sequential clock ticks}.

1.1 The Discrete State Equation

The state equation governs how the internal state vector at the next clock cycle () is computed from the current state vector () and the current input vector ():

1.2 The Discrete Output Equation

The output equation maps the current states and current inputs directly to the system’s measurable output terminals ():

Where:

  • is the State Vector containing the internal memory states.
  • is the Input Vector containing the external excitation sequences.
  • is the Output Vector containing the system outputs.
  • is the System Matrix (governing natural dynamics and discrete poles).
  • is the Input Matrix.
  • is the Output Matrix.
  • is the Direct Transmission Matrix.

2. Phase-Variable Selection in Discrete Time

For an -th order recursive LCCDE with output delays:

To eliminate high-order delays and construct first-order state-space matrices, we apply a standard Delay-Chain Phase Variable Mapping.

Step-by-Step Selection Workflow

Step 1: Assign State Variables to Bounded Delays

We define our state variables as the output of the unit delay elements, starting from the longest delay () up to the single-sample delay ():

Step 2: Write First-Order Shift Equations

Advance each state variable by one sample index () to find its state-transition behavior:

Step 3: Solve for the Final State Transition

The transition of the final state variable () represents the current output . Isolate in the original difference equation:

Substitute the state variable definitions from Step 1 into this expression:

Step 4: Assemble the Canonical Companion Matrix

Gather the state transitions into the discrete-time companion matrix format:


3. Comprehensive Worked Examples (The Exam Killers)

3.1 Example 1: Third-Order Recursive Difference Equation [Passage 84]

Question: Obtain the state-space model in companion form for the system described by the difference equation:

Step-by-Step Solution:

  1. Normalize the Difference Equation (Monic Lead Coefficient): Divide the entire difference equation by the coefficient of (which is ):

  2. Define Phase-Variable States (): Assign our state variables to the outputs of the cascade of three delay elements:

  3. Formulate State Shifts: Shift each state variable forward by one step:

    Solve for the final state shift by isolating in the normalized LCCDE:

  4. Assemble the State Equation Matrix:

  5. Assemble the Output Equation Matrix: Since our output sequence is (the current updated output), we substitute the state transition of directly to write our Output Equation strictly in terms of current states and current inputs:

    Thus, the final discrete companion state-space matrices are:


4. Hardware Realization (Direct Form II Canonic Structure)

To visualize this discrete-time state-space system, we can map the matrices directly to a Canonic Direct Form II block diagram. Each state variable corresponds to the output of a physical unit-delay element ().

               u[n] 
                │
                v [x 1/4]
                │
                +─────────> ( + ) <─────────────────────────────────┐
                             │                                      │
                             v                                      │
                         ┌───────┐                                  │
                         │ z^-1  │───────> x3[n] ───( x -3/4 )──────┤
                         └───────┘                                  │
                             │                                      │
                             v                                      │
                         ┌───────┐                                  │
                         │ z^-1  │───────> x2[n] ───( x -1/2 )──────┤
                         └───────┘                                  │
                             │                                      │
                             v                                      │
                         ┌───────┐                                  │
                         │ z^-1  │───────> x1[n] ───( x -1/4 )──────┘
                         └───────┘
                             │
                             +───────────> Output y[n] = x3[n+1]

5. Common Mistakes That Cost Marks

The Monic Coefficient Oversight

Students frequently forget to normalize the lead coefficient of to 1 before assigning phase-variable states. In the equation , starting state assignments without dividing by 4 first yields feedback gains and input scaling coefficients that are off by a factor of 4, leading to a critical grading penalty.

The Current Output () State Definition Trap

Defining as a state variable is a major error. The current output is not a memory state; it is a dependent response that changes instantaneously with the current input. State variables must represent delayed storage elements (e.g., ) to avoid algebraic loops during transition matrix calculations.


6. Potential/Grounded Exam Questions

6.1 Discrete LCCDE Conversion

Question: Represent the second-order recursive system in state-space companion form.

  • Answer Plan:
    1. Define and .
    2. Write shifts: , and .
    3. Assemble state-space matrices:

7. Self-Check Before Moving On

  • Can you write out the discrete-time State and Output matrix equations with correct variable dimensions?
  • Do you know how to assign delay-chain state variables to an -th order difference equation?
  • Have you mastered the requirement to normalize the coefficient of to 1 before formulating state companion matrices?
  • Can you draw a Canonic Direct Form II block diagram from a discrete state-space model?

Source: (k.Deergha Rao) signals and systems.pdf (Chapter 6 & 8), ECE-2107_STATE_SPACE_ANALYSIS.pdf, Rabiul sir -2309008.pdf (Class Lecture Notes).


Related Concepts: 3.01 Introduction to State-Space & Phase-Variable Formulations | 3.03 State-Space Modeling of Electrical Circuits | 3.04 State-Space Modeling of Block Diagrams & Signal Flow Graphs


3.06 State Transition Matrix: Properties & Solution Methods

Core Idea

The State Transition Matrix (denoted or ) is a matrix-valued function of time that completely characterizes the unforced (zero-input) natural dynamic response of a continuous-time LTI state-space system. It maps the state vector from its initial state at to its state at any future time {acting as the matrix-valued equivalent of the scalar exponential decay factor in first-order systems}.


1. Mathematical Definition of the Matrix Exponential

For a linear time-invariant continuous-time system governed by the state equation:

When the external input is deactivated (), the system becomes homogeneous:

In a simple first-order scalar system, has the solution . By mathematical extension, the solution to the vector-matrix differential equation is defined using the matrix exponential :

Thus, we define the State Transition Matrix (STM) as:


2. Fundamental Properties of the State Transition Matrix

The matrix exponential satisfies several critical algebraic properties that are heavily tested in ECE 2107 Section B theoretical questions.

PropertyMathematical FormulationPhysical/Analytical Meaning
1. IdentityAt , the state vector is mapped to itself (no transition has occurred).
2. Group / AdditiveTransitioning from to is identical to transitioning to , then .
3. InverseTransitioning backward in time is equivalent to running the inverse transition.
4. TransitiveChain multiplication allows intermediate state-taps to be bypassed.
5. PowerMultiplying the transition times scales the transition duration by .
6. DerivativeThe rate of state transition matches the system dynamics matrix .

3. Method 1: The Laplace Resolvent Method (Analytical)

The Laplace Resolvent Method is the most robust analytical technique used to calculate for systems of any order. It bypasses infinite series approximations by moving into the -domain.

3.1 Rigorous Mathematical Derivation

We begin with the unforced, homogeneous system state equation:

Taking the unilateral Laplace transform on both sides, accounting for non-zero initial conditions :

Gathering the terms to the left-hand side:

Since is a scalar and is an matrix, we introduce the identity matrix {to make the matrix subtraction dimensionally valid}:

We solve for the state vector by multiplying both sides by the inverse matrix (known as the Resolvent Matrix):

To return to the time domain, we apply the inverse Laplace transform ():

Comparing this to our initial definition of the state transition, , we prove the fundamental relation:


4. Method 2: The Infinite Power Series Method

For certain simple matrices (especially upper/lower triangular or diagonal companion matrices), we can evaluate directly by computing the Taylor series expansion of the matrix exponential:

4.1 Series Derivation Example [PYQ 2022 / 2025]

Question: Evaluate the state transition matrix using the infinite series method for:

Step-by-Step Solution:

  1. Compute Succeeding Powers of : By mathematical induction, the -th power of is:

  2. Substitute into the Taylor Series Expansion:

  3. Evaluate the Scalar Series Sums:

    • The diagonal elements are the standard exponential expansion:
    • The upper-right element is evaluated by simplifying the coefficient:
  4. Assemble the Final STM Matrix:


5. State-Space to Transfer Function Conversion Derivation

Another heavily tested theoretical derivation in ECE 2107 is converting a state-space model back to an -domain transfer function .

5.1 Rigorous Mathematical Derivation

Given the complete continuous-time system model:

  1. Apply Laplace Transform assuming Zero Initial Conditions ():

  2. Isolate the State Vector :

  3. Substitute into the Output Equation:

  4. Extract the Transfer Function :


6. Comprehensive Worked Example (The Exam Killer)

6.1 Solving the Standard Transition and Transfer Function Matrix [PYQ 2024 / 2022]

Question: Given the state-space matrices of a continuous-time system: Find:

  1. The s-domain transfer function .
  2. The state transition matrix .

Part 1 Solution: Transfer Function

  1. Formulate :

  2. Compute the Resolvent Matrix Inverse :

    • Determinant:
    • Adjoint:
    • Inverse:
  3. Perform Matrix Multiplication for : Multiply with first: Now multiply by :


Part 2 Solution: State Transition Matrix

We calculate by performing partial fraction expansion on the individual terms of the resolvent matrix.

  1. Analyze Resolvent Matrix Elements:

  2. Partial Fraction Expansion for element :

  3. Take Inverse Laplace of Each Element:

  4. Reassemble the Time-Domain Matrix :


7. Common Mistakes That Cost Marks

The Identity Matrix Subtraction Oversight

When constructing , students frequently subtract the matrix directly from the scalar variable (e.g., writing instead of ). Always map to the diagonal elements of an identity matrix of matching dimensions first to prevent mathematically invalid matrix subtractions.

The Inverse Order Multiplier Trap

In the transfer function derivation, remember that matrix multiplication is non-commutative. The transfer function is strictly defined as . Swapping the multiplication order to will trigger dimensional mismatches or mathematically incorrect companion polynomials.


8. PYQ Bank — Verbatim Questions & Answer Plans

8.1 PYQ 2022 Question 6a / 2024 Question 6a [10 Marks]

Question: Determine the relationship between Laplace transform and Fourier transform.

  • Answer Plan: Define the bilateral Laplace transform with . Show that by setting (meaning we evaluate along the imaginary -axis), the Laplace transform collapses exactly into the continuous-time Fourier transform. State the absolute convergence condition (the imaginary axis must lie inside the Laplace Region of Convergence (ROC) for the Fourier transform to exist).

8.2 PYQ 2022 / 2025 Question 8d [13 Marks]

Question: Find the state transition matrix by the infinite series method for the system matrix .

  • Answer Plan: Follow the complete step-by-step Taylor series expansion shown in Section 4.1. Calculate and , state the mathematical induction pattern for , write out the scalar summation series, and assemble the final exponential matrix.

9. Self-Check Before Moving On

  • Can you state and explain all 6 algebraic properties of the state transition matrix?
  • Do you know how to derive the Laplace Resolvent equation from the unforced homogeneous state equation?
  • Can you mathematically derive the transfer function conversion formula ?
  • Do you know how to calculate using both analytical Laplace inversions and infinite power series methods?

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