State vector

A state vector is the column of state variables that fully describes a circuit or dynamic system at a given moment. In Electrical Circuits and Systems II, it is the starting point for writing state-space equations for transient and control analysis.

Last updated July 2026

What is state vector?

In Electrical Circuits and Systems II, a state vector is the ordered set of variables that captures everything you need to know about a circuit’s current condition. It is usually written as a column vector, such as x(t), and its entries are the state variables for the system.

For circuits, those variables usually come from energy storage elements. Voltage across a capacitor and current through an inductor are the classic examples, because they describe the stored electric and magnetic energy that carries the circuit forward in time. If you know the state at one instant and the input applied to the circuit, you can predict how the system evolves.

That is why the state vector sits at the center of state-space analysis. Instead of forcing one big higher-order differential equation onto the whole circuit, you rewrite the system as a set of first-order equations. Each entry in the vector gets its own equation, and together they describe the dynamics in a compact matrix form.

The order of the state vector matters. The entries are not just a random list of variables, they are chosen so the model is complete and minimal. Complete means the present state tells you the future behavior, at least once the input is known. Minimal means you do not add extra variables you do not need, because that makes the model harder to solve without improving the prediction.

A simple way to picture it is this: if a circuit has two independent energy storage elements, the state vector often has two entries. For example, x(t) might stack a capacitor voltage and an inductor current. Those two numbers, plus the input, are enough to build the state-space model and analyze transients, feedback, or simulation results.

A common mistake is mixing up the state vector with the output vector. The output tells you what you measure or observe, while the state vector tells you what the system is internally doing right now. They can overlap in some problems, but they are not automatically the same thing.

Why state vector matters in Electrical Circuits and Systems II

The state vector is what turns a messy circuit into a system you can actually organize and solve. In Electrical Circuits and Systems II, you keep running into circuits with capacitors, inductors, inputs, and changing currents or voltages. The state vector gives you a clean way to track the part of the circuit that stores energy, which is the part that drives the transient response.

It also connects directly to matrix methods. Once you name the state variables, you can build the state-space form with the system matrix, input matrix, and output equation. That setup is much easier to use for multi-loop circuits, feedback systems, and computer-based simulation than trying to manipulate one long differential equation by hand.

This term shows up again when you study control and system design. If you want to know how a circuit responds to a step input, whether a feedback loop is stable, or how the system changes over time, the state vector is the starting point. It is the bridge between the physical circuit and the algebra you use to analyze it.

Keep studying Electrical Circuits and Systems II Unit 12

How state vector connects across the course

state-space representation

The state vector is one piece of state-space representation, but not the whole model. State-space representation also includes the input, output, and the matrices that describe how the state changes. If you know the state vector, you have the system’s internal variables, but you still need the equations that connect them to the circuit behavior.

Input Matrix

The input matrix tells you how external sources affect the state vector over time. In a circuit model, this is where voltage or current sources show up in the equations. The state vector tracks the internal variables, while the input matrix shows how those variables respond when the input changes.

Integrator Blocks

Integrator blocks often appear in block diagrams that model state equations. Each integrator corresponds to a first-order differential relationship, which matches the way state variables evolve. If you are turning a state vector model into a block diagram, the integrator blocks are the pieces that carry the state forward from one moment to the next.

Controllable Canonical Form

Controllable Canonical Form is one structured way to write a system in state-space form. The state vector in that form is chosen to make the math fit a standard pattern, which is useful for analysis and control design. It is a good contrast with circuit-based state vectors, which usually come directly from capacitor voltages and inductor currents.

Is state vector on the Electrical Circuits and Systems II exam?

A problem set or quiz usually asks you to identify the correct state variables, build the state vector, and then write the first-order equations that describe the circuit. You may also be asked to decide whether a chosen set of variables is a valid state vector, which means checking if they fully describe the stored energy in the system.

In transient analysis problems, you use the state vector to move from the initial conditions to the time-domain response. If the circuit has one capacitor and one inductor, you should expect a two-entry vector and equations that link those variables to the input source. If the question includes a block diagram, you might trace how each state feeds the next through integrators or feedback paths.

A common test move is recognizing that the state vector is not the output and not just any variable list. The best answer usually names the energy-storage variables and explains why they are enough to describe the circuit at that instant.

State vector vs state-space representation

A state vector is the list of state variables, while state-space representation is the full model built from that vector plus the system equations, inputs, and outputs. If you only have the vector, you have the internal variables. If you have the full representation, you can analyze how the circuit evolves over time.

Key things to remember about state vector

  • A state vector is the column of variables that fully describes a circuit’s current internal condition.

  • In circuits, the state variables usually come from energy-storage elements, especially capacitor voltages and inductor currents.

  • The state vector is the starting point for writing state-space equations in Electrical Circuits and Systems II.

  • A good state vector is complete and minimal, so it includes enough information to predict the future without extra variables.

  • Do not confuse the state vector with the output vector, because the output is what you measure, not always what the system stores internally.

Frequently asked questions about state vector

What is a state vector in Electrical Circuits and Systems II?

A state vector is the column of state variables that describes a circuit’s internal condition at a specific time. In this course, it usually includes variables like capacitor voltage and inductor current, because those values store the energy that shapes the next moment of circuit behavior.

How do you choose the variables in a state vector?

You usually choose variables tied to energy storage, like voltages across capacitors and currents through inductors. The set should be enough to describe the whole system without extra variables that do not add new information. If your choices cannot predict the system’s future by themselves, the state vector is incomplete.

What is the difference between a state vector and an output vector?

The state vector describes the internal condition of the system, while the output vector describes what you measure at the terminals or in the system response. They can share variables in some circuits, but they are not the same thing. A problem may ask for one, the other, or both.

Why does the state vector matter in circuit analysis?

It lets you rewrite a dynamic circuit as a set of first-order equations, which is much easier to handle for transient response and control problems. That setup also works well with matrix methods and simulation tools, especially when the circuit has multiple energy-storage elements.