State Matrix
The state matrix is the A matrix in a state-space model. In Electrical Circuits and Systems II, it shows how the circuit's state variables change over time and helps predict stability and transient response.
What is the State Matrix?
The state matrix is the matrix that tells you how a system’s state changes on its own in Electrical Circuits and Systems II. In a standard state-space model, it is usually called A, and it appears in the equation x'(t) = Ax(t) + Bu(t). If you set the input to zero, A still describes the circuit’s natural behavior.
Think of the state vector x(t) as the set of variables that fully describe the system at a moment in time, often things like capacitor voltage and inductor current. The state matrix does not list those variables themselves. Instead, it shows how each state variable feeds into the others through the differential equations. Each entry in A is a coefficient that tells you how strongly one state affects another.
That makes the state matrix more than just a table of numbers. It is a compact way to write a whole system of first-order equations for a dynamic circuit. For a circuit with two states, A is usually a 2 by 2 matrix. For a bigger model, the matrix grows to match the number of state variables, so the size of A matches the order of the system.
A lot of the useful behavior comes from the eigenvalues of A. If the real parts of all eigenvalues are negative, the natural response decays and the system is stable. If any eigenvalue has a positive real part, the state grows over time, which means the circuit is unstable. If the eigenvalues are on the imaginary axis or close to it, you may see sustained oscillation or very slow decay.
In this course, the state matrix also shows up when you solve state equations using the matrix exponential e^{At}. That is where A connects directly to the state transition matrix. Once you know A and the initial condition, you can track how the circuit evolves, whether you are looking at a transient after a switch closes or a response to a changing input.
Why the State Matrix matters in Electrical Circuits and Systems II
The state matrix is the bridge between a circuit diagram and the math that predicts what the circuit will do next. In Electrical Circuits and Systems II, you move past simple one-equation views of circuits and start working with systems that have multiple energy storage elements. The A matrix collects those interactions in one place, so you can analyze a circuit without solving every differential equation separately.
That matters most when you are studying transient response. If a problem gives you a capacitor, an inductor, and a switch, the state matrix helps you find how voltages and currents evolve after the switch changes position. It also gives you stability information right away through eigenvalues, which is faster than solving the full time response from scratch.
The state matrix is also what makes state-space methods useful for control and simulation. Once you write the model in matrix form, it becomes easier to test whether the system is controllable or observable, compare different circuit designs, and compute responses with software. In homework and exams, this often turns into finding A from a set of differential equations or using A to determine whether the system will settle, oscillate, or grow.
Keep studying Electrical Circuits and Systems II Unit 12
Official unit cheatsheet
open one-pagerHow the State Matrix connects across the course
State-Space Representation
The state matrix is one piece of the full state-space model. State-space representation also includes the input matrix, output matrix, and state vector, so you can describe both the internal behavior and the measured output of a circuit. If you can identify A, you are already partway through building the full model.
Input Matrix
The input matrix tells you how the external input u(t) enters the system, while the state matrix tells you how the current state evolves on its own. Students often mix these up because both appear in the same equation. A changes the internal dynamics, but B tells you how a source or forcing term pushes the system.
Lyapunov Stability
Eigenvalues of the state matrix are a quick way to check stability for linear systems, and Lyapunov methods give a deeper stability test. In this course, you may use A to guess whether a circuit is stable, then use a more formal stability argument if the problem asks for it. Both ideas focus on whether the response dies out or keeps growing.
Controllable Canonical Form
Controllable canonical form is a specific way to organize a state-space model so the state matrix has a structured pattern. It is useful when you want to build a model directly from a transfer function or compare different realizations of the same system. The structure makes the connection between polynomial coefficients and matrix entries easier to see.
Is the State Matrix on the Electrical Circuits and Systems II exam?
A quiz problem will usually give you a state-space model or a pair of differential equations and ask you to identify the state matrix, compute its eigenvalues, or decide whether the system is stable. You may also be asked to write the state equations in matrix form from a circuit with capacitors and inductors, which means pulling the coefficients into A, B, and sometimes C and D.
On problem sets, the move is to read each equation term by term and place the coefficients into the correct row of A. If the system is linear time-invariant, you may then use A to find the natural response with e^{At} or to reason about the transient behavior from the initial conditions. Common errors come from putting input coefficients into A or forgetting that A only describes the state-to-state dynamics, not the output equation.
The State Matrix vs Input Matrix
The state matrix A and the input matrix B show up together, so they are easy to mix up. A describes how the current state variables affect future state variables, while B describes how the external input enters the system. If a coefficient multiplies x(t), it belongs in A. If it multiplies u(t), it belongs in B.
Key things to remember about the State Matrix
The state matrix is the A matrix in a state-space model, and it describes how the system's state changes from one moment to the next.
Its size matches the number of state variables, so a bigger dynamic circuit usually means a larger state matrix.
You use the eigenvalues of A to judge stability and to predict whether the natural response decays, oscillates, or grows.
The state matrix works with the input matrix, but it does not describe the input itself.
In circuit problems, A often comes from capacitor voltages and inductor currents written as first-order differential equations.
Frequently asked questions about the State Matrix
What is a state matrix in Electrical Circuits and Systems II?
It is the matrix, usually written as A, that describes how a system's state variables change over time in a state-space model. In circuit analysis, it captures the natural dynamics of the system, such as how capacitor voltages and inductor currents influence each other.
How do you find the state matrix from a circuit?
First choose the state variables, usually the voltages across capacitors and currents through inductors. Then write the circuit as a set of first-order differential equations and collect the coefficients of the state variables into the A matrix. Any terms involving the external source go into the input matrix, not the state matrix.
Is the state matrix the same as the input matrix?
No. The state matrix A describes how the current state feeds back into the next state, while the input matrix B describes how the external input enters the system. They appear together in x'(t) = Ax(t) + Bu(t), but they do different jobs.
Why do eigenvalues of the state matrix matter?
They tell you about stability and the type of response the circuit will have. Negative real parts usually mean the response decays, while positive real parts mean the response grows. If eigenvalues are purely imaginary or near the imaginary axis, the circuit may oscillate or decay very slowly.