All 32 questions UPSC has asked on state-variable analysis in the Electrical Engineering Optional (Paper II, Control Systems) from 1995 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Control Systems topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).
- ✓ Proof checked step by step or ✓ Derivation checked step by step for “prove” and “derive” questions, every step was checked against the definitions and standard results.
- ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.
Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 3a(ii) 2026 · 5a 2025 · 2a 2025 · 4a(ii) 2023 · 3a 2022 · 3b 2021 · 1a 2020 · 6a 2018 · 8b(i) 2017 · 8a 2016 · 8a(ii) 2015 · 3a 2014 · 8a(i) 2014 · 8a(ii) 2013 · 8a 2010 · 8a 2009 · 8a 2007 · 6a 2006 · 2a 2002 · 2a 2000 · 200w/1a 2000 · 6a 1999 · 4a 1998 · 3c 1997 · 200w/1c 1997 · 3c 1996 · 200w/1a 1996 · 2c 1996 · 3c 1995 · 200w/1a 1995 · 200w/1d 1995 · 3c
A linear time-invariant system is characterized by the homogeneous state equation. Evaluate the solution of the homogeneous equation assuming the initial state vector as .
Solution
Characteristic equation The eigenvalue is repeated.
State transition matrix Using and :
Solution for
Check. At , . Also ✓.
Both states decay to zero without oscillation. The repeated root gives the terms. reaches its minimum of at s.
✓ Checked by computer We obtained e^{At} by inverse Laplace transform in SymPy.
Write the state space equation for the following circuit.
Solution
Choice of state variables. We take the energy-storage variables:
- the inductor current, ;
- the capacitor voltage, , positive at the top plate (where enters).
KVL round the loop:
Capacitor law:
State equation:
Output equation. Taking the capacitor voltage as the output: If the current is wanted instead, .
Check. The characteristic equation is that of the series RLC circuit.
✓ Derivation checked step by step We checked the state equations against KVL and the capacitor law symbolically.
An LTI system with the following state-space representation is given: Design a phase lead compensator so that the system achieves a settling time of 2 seconds for a 2% tolerance band and has a damped natural frequency of 2 rad/s. Also realize the designed compensator using passive components.
Solution
Plant transfer function. From , and :
Desired closed-loop poles
- s gives .
- rad/s.
So the dominant poles are
Why compensation is needed. The uncompensated root locus is the vertical line , so no gain can reach .
Angle deficiency. At : The compensator must supply of lead.
Choice of zero and pole. We place the compensator zero on the plant pole, at . It then contributes , so the compensator pole must contribute A pole at seen from at needs , so .
Gain from the magnitude criterion. After the cancellation the loop is . The closed loop is , and we need :
Check: gives . So s and rad/s.
Passive realisation. For the network of in parallel with in the series arm and as the shunt,
- and .
- With F: .
The network gives exactly. Its DC attenuation is compensated by an amplifier (isolating buffer) of gain . For example, the gain is 8 if .
Note. The question leaves unspecified, so the gain is given in terms of .
✓ Checked by computer We applied the angle criterion numerically, checked the compensated closed-loop poles and the network values.
For the system shown in the figure below the unit step response is given by Obtain the state-space representation of the system in observable canonical form.
Solution
Reading the step response. For a standard second-order system, Comparing with :
- , so . Check: ✓.
- , so rad/s. Check: ✓.
Closed loop. The loop gives so and .
Observable canonical form. For with , , , :
Check. ✓. The observable form is the transpose (dual) of the controllable form.
✓ Checked by computer We identified K and a from the step response and checked the canonical form’s transfer function in SymPy.
Write the state and output equations for the system shown in the figure. Choose state variables and as shown in the figure. Check the controllability and observability of the system:
Solution
Signals. Let be the output of the first summing junction.
- Upper path: , so .
- Output: .
- Feedback path: , so .
Substituting :
State and output equations
Controllability The rank is 1, so the system is not completely controllable.
Observability The rank is 1, so the system is not completely observable.
Interpretation
- The eigenvalues of are and .
- The transfer function is . Only the mode appears; the pole at cancels.
- So the mode is both uncontrollable and unobservable. This hidden mode is unstable: the transfer function looks stable, but the internal state can grow.
✓ Checked by computer We derived the model from the block diagram and computed the rank tests and the transfer function in SymPy.
Consider the system (i) Find the eigenvalues of this system. (ii) Find the controllable and uncontrollable modes of this system. (iii) Show that there are an infinite number of feedback gains K that will relocate the modes of the system to – 5, – 3, – 4, – 4. (iv) Find the unique matrix that achieves these pole locations and prevents initial conditions on the uncontrollable part of the system from ever affecting the controllable part.
Solution
(i) Eigenvalues. is block lower-triangular, with diagonal blocks and :
- , giving .
- , giving .
(ii) Controllable and uncontrollable modes
- The input enters only .
- and never feed or : the top-right block of is zero.
- So the subsystem cannot be influenced by .
- The rank of is 2.
The uncontrollable modes are (from ). The controllable modes are and (from , with , a controllable pair).
(iii) Infinitely many gains. With , , only row 3 of changes: It stays block-triangular, so To get poles at we need :
- , so .
- , so .
The poles are fixed. and do not appear in the characteristic polynomial at all, so any works: there are infinitely many gains. For example, and both give .
(iv) The unique decoupling gain. Initial conditions on reach the controllable part only through the coupling entries and in row 3. Making them zero removes that path:
The eigenvalues are , and the dynamics are now independent of .
✓ Checked by computer We computed the eigenvalues, the controllability rank and the closed-loop polynomial with a general K in SymPy, and checked the chosen K.
A system is described by the following state equations: Check the controllability of the system.
Solution
State model
Controllability matrix:
Rank. The first three columns already give so .
The system is completely state controllable.
✓ Checked by computer We built the controllability matrix and found its rank in SymPy.
Two first-order systems are connected in cascade as shown in the figure below. Obtain the state-space representation of the system. Also check the controllability and observability of the system. u is the input to the system and y is the output.
Solution
State model of each block
First block. . With state :
Second block. , input , state :
Overall model
Controllability The system is not controllable.
Observability The system is observable.
Interpretation. The overall transfer function is The zero of the first block at cancels the pole of the second block. Because the zero comes before the pole, the input cannot excite that mode: the unstable mode is uncontrollable, but it is still visible at the output. If the order of the blocks were reversed, the mode would instead be controllable and unobservable.
✓ Checked by computer We derived the cascade model, its transfer function and the rank tests in SymPy.
Consider the block diagram of a system shown below:
Write the differential equation relating to and hence write the state model of the system choosing state variables as and .
Solution
Differential equation With zero initial conditions,
State model. Let and . Then
Check. ✓.
✓ Derivation checked step by step We checked the state model’s transfer function in SymPy.
A continuous system has transfer function Find out the state model of the system. Find out the state feedback gain such that the closed loop poles will be at −4, −3 and −2.
Solution
Denominator So
State model (phase-variable form). With , , : The open loop is unstable, because of the pole at .
State feedback. Take (plus a reference input), with . Only the last row changes: Its characteristic polynomial is
Desired polynomial
Matching coefficients
- , so .
- , so .
- , so .
Check. The eigenvalues of are ✓.
✓ Checked by computer We checked the model’s transfer function and the closed-loop eigenvalues with the gain in SymPy.
Consider the system described by Obtain the transfer function of the system.
Solution
Transfer function
✓ Checked by computer We computed C(sI − A)^{-1}B in SymPy.
The transfer function of a control system is given by Derive the state model of the system in controllable phase variable form. Comment on the observability. What is the value of the smallest time constant of the system?
Solution
Controllable phase-variable form. For with and :
Observability The model is completely observable.
Equivalently, there is no pole–zero cancellation:
- the poles are and ;
- the zeros are .
A controllable-form realisation is observable exactly when the numerator and denominator have no common factor.
Time constants. The denominator factors as .
- The pole at gives s.
- The complex pair has , an envelope time constant of s.
This comes from the real pole at .
✓ Checked by computer We checked the model, the observability matrix and the poles in SymPy.
A system is modelled in state-space form as . Draw the signal flow graph and obtain the transfer function.
Solution
Signal flow graph. The state equations are Each integrator is a branch .
Mason’s gain formula
- Forward paths from to :
- Loops: , , . They all touch each other at .
- .
- Both forward paths touch every loop, so .
✓ Checked by computer We computed C(sI − A)^{-1}B in SymPy and checked it against Mason’s formula.
Define state controllability of a system. Apply the controllability test to determine the controllability of a system modelled by the state-space model as .
Solution
Definition. A system is completely state controllable if, for every initial state , some unconstrained input can transfer the state to any desired final state (in particular the origin) in a finite time.
Kalman test. The system is controllable if and only if
Test for the given model ()
Taking columns 1, 2 and 3: So . (Already has rank 3.)
The system is completely state controllable. The output matrix plays no part in this test.
✓ Checked by computer We computed the controllability matrix and its rank in SymPy.
A control system is represented by the state space equations: and the output equations are: Draw the state transition signal flow graph and find the characteristic roots of the system.
Solution
Matrices
State transition signal flow graph. Each state is the output of an integrator () whose input is .
- is fed by (gain 1), by (gain ) and by (gain ).
- is fed by (gain 1) and by (gain ).
- .
- The outputs are taken through gains 1, 3 and 2 (into ) and 1 (into ).
In the full state transition graph, each integrator also has a branch entering its output node. These are omitted below for clarity.
Characteristic roots From the graph (Mason’s ), the loops are and , which touch, so . This is the same polynomial.
The root at the origin, from the pure integration , makes the system only marginally stable.
✓ Checked by computer We computed the characteristic polynomial in SymPy.
A system is described by the following state variable equation (i) Find its characteristic equation. (ii) Determine the controllability matrix. (iii) Is the system controllable?
Solution
(i) Characteristic equation (The system is unstable: it has a sign change, and a real root near .)
(ii) Controllability matrix
(iii) Is it controllable? So , and the system is completely controllable. All its modes, including the unstable one, can be moved by state feedback.
✓ Checked by computer We computed the characteristic polynomial, the controllability matrix and its determinant in SymPy.
Consider the state equation: Find the state vector X(t) for when the input r(t) is a unit step input.
Solution
Resolvent
Zero-state response to a unit step, (with , since none is given):
Partial fractions:
Checks
- ✓.
- , the steady state where .
If an initial state were present, the free response would be added, with
✓ Checked by computer We solved X(s) = (sI − A)^{-1}B/s and inverted it in SymPy.
Given that the above is a linear time-invariant (LTI) system, how would you check the stability of the system? If there is an unstable mode in the system, is it controllable? If the unstable mode is controllable shift it to a stable position, say , by state feedback.
Solution
Checking stability. An LTI system is asymptotically stable if and only if every eigenvalue of (every root of ) has a negative real part. The eigenvalues are . There is one unstable mode, at .
Is the unstable mode controllable? A mode is controllable if its left eigenvector (with ) satisfies .
| 0 | uncontrollable | ||
| controllable | |||
| controllable |
The rank of is 2, which confirms that one mode, , is uncontrollable. Physically, obeys whatever is.
Shifting the unstable mode to . With , : We keep (it cannot move) and , and move to :
Matching coefficients:
- , so .
- , so .
- The constant term gives , so ✓.
So . With the symmetric choice: The closed-loop eigenvalues are , so the system is now stable. Only matters, because the uncontrollable direction cannot be affected.
✓ Checked by computer We computed the eigenvalues, the left eigenvectors (mode controllability) and the gain in SymPy.
What do you mean by a state transition Matrix? State and explain properties of state transition Matrix. A process control system is described by the state model: and Use Laplace Transform method to obtain state transition matrix for the system.
Solution
State transition matrix. For , the solution is , where It “transfers” the state from time 0 to time , and contains the complete free (natural) response of the system.
Properties
- .
- , so is always invertible.
- , the transition property.
- , and .
- , so satisfies the homogeneous equation.
- With an input:
For the given system Using partial fractions,
Check. ✓. The terms show an unstable mode, at .
Since , the free response is zero, and the output is due to alone.
✓ Checked by computer We obtained φ(t) by inverse Laplace transform in SymPy.
A system is represented by state equation X = AX. If for the response is And for Determine the state transition matrix.
Solution
The two given responses are modal solutions. Each initial state is an eigenvector, and the state stays along it:
- , with .
- , with .
Since for both,
Checks
- ✓.
- ✓.
- The system matrix is , with eigenvalues and .
(The printed “X = AX” means .)
✓ Checked by computer We built Φ from the two modal solutions and checked Φ(0) = I and A in SymPy.
Select any three of the following statements, read them carefully and identify the correct and the incorrect ones. Justify your answer using not more than 200 words in each case. State variable approach for analysis is applicable only to linear time invariant systems.
Solution
Incorrect.
The state-variable approach is the most general method of system analysis. The model describes:
- nonlinear systems (for example a pendulum, );
- time-varying systems, ;
- multi-input, multi-output systems;
- discrete-time systems.
It also handles non-zero initial conditions directly.
Transfer-function methods are the ones restricted to linear time-invariant, single-input single-output systems with zero initial conditions. This generality is a main advantage of state variables. The matrix form with constant matrices is just the LTI special case. Stability of nonlinear state models is studied by Lyapunov’s method or by phase-plane analysis.
✓ Answer checked step by step Standard result.
A system is described by the following state and output equations And where u(t) is a unit step input and the initial conditions , . Obtain the time response of the system.
Solution
Zero-state response to a unit step
The resolvent is With and :
States
Output Equivalently, .
The response is overdamped (poles at and ). It rises from 0 with zero initial slope to the final value .
✓ Checked by computer We solved the state equation by Laplace transform in SymPy.
Enumerate states and state variable representation of a dynamic system. Determine, by Routh array, whether a system represented by characteristic equation. is stable or not.
Solution
State. The state of a dynamic system is the smallest set of variables (the state variables) whose values at , together with the inputs for , completely determine the behaviour of the system for all .
State variables are the members of that set. They are usually chosen as the outputs of the energy-storing elements, such as capacitor voltages, inductor currents, positions and velocities, or of the integrators. They need not be measurable. The state variables form the state vector , and the -dimensional space they span is the state space.
State-variable representation. An -th order system with inputs and outputs is written as first-order equations:
- () is the system matrix.
- () is the input matrix.
- () is the output matrix.
- () is the direct transmission matrix.
The representation is not unique: phase-variable, canonical and physical-variable forms all describe the same system.
Routh array for
| 1 | 8 | |
| 4 | 11 | |
| 0 | ||
| 11 |
There is no sign change in the first column, so there are no roots in the right half-plane. The system is stable. Its roots are and .
✓ Checked by computer We checked the Routh array and the roots numerically.
The state equations for a system are given by where , , and Determine the output response of a system to unit step input.
Solution
Decoupled states. is diagonal, so each state is a first-order system driven by . With a unit step and zero initial state:
- , so .
- , so .
- , so .
Output
Check by transfer function which gives ✓.
Note. is printed as a zero vector. For one input and one output it must be the scalar 0; either way it adds nothing.
✓ Checked by computer We computed the transfer function and inverted Y(s) in SymPy.
Select any three of the following statements, read them carefully and identify the correct and the incorrect ones. Justify your answer using not more than 200 words in each case. If in the state variable description of a system, A matrix is singular, then the system is unstable.
Solution
Incorrect as a general statement.
If is singular, then . Since is the product of the eigenvalues, at least one eigenvalue is at . The response then contains a constant (non-decaying) mode, so the system is not asymptotically stable. But that does not make it unstable:
- Simple zero eigenvalue, all other eigenvalues in the left half-plane. The zero-input response stays bounded and settles to a constant. The system is marginally stable (stable in the sense of Lyapunov). An example is a pure integrator, , or a type-1 plant like . A unity-feedback loop around such a plant can be perfectly stable.
- Repeated zero eigenvalue with a Jordan block, such as . The response grows like , so the system is unstable.
- Any eigenvalue in the right half-plane. Unstable, whether or not is singular.
So a singular only rules out asymptotic stability. Whether the system is marginally stable or unstable depends on the multiplicity (Jordan structure) of the zero eigenvalue and on the other eigenvalues.
✓ Answer checked step by step Standard result.
What do you understand by the term controllability of a system? State the necessary and sufficient conditions to be satisfied by the coefficient matrices of a system, so that the system is completely controllable. Hence check the controllability of a system having for its state description, the matrices:
Solution
Controllability. A system is completely state controllable if every initial state can be driven to any desired state (for example the origin) in a finite time by some unconstrained control .
Necessary and sufficient condition (Kalman). The controllability matrix must have rank . For a single input, this means .
Two equivalent tests:
- In diagonal (Jordan) form, no row of the transformed belonging to a distinct eigenvalue may be zero.
- PBH test: for every eigenvalue .
Check for the given system The rank is 3, so the system is completely controllable. This is expected: is in phase-variable (companion) form, which is always controllable.
✓ Checked by computer We computed the controllability matrix and its determinant in SymPy.
Select any three of the following statements, read them carefully and identify the correct and incorrect ones. Justify your answer using not more than 200 words in each case. State equations are first order differential equations that can be applied to portray only the linear time-invariant systems.
Solution
Incorrect.
State equations are a set of first-order differential equations, and they can portray:
- nonlinear systems, where is a nonlinear function. Examples are a pendulum (), saturating amplifiers and magnetic levitation.
- time-varying systems, , such as a rocket whose mass changes as fuel burns.
- discrete-time systems, .
- multivariable systems.
The linear time-invariant form , is only a special case. The first part of the statement, that state equations are first-order differential equations, is correct; the restriction to LTI systems is wrong. It is the transfer-function description that is limited to LTI systems.
✓ Answer checked step by step Standard result.
Obtain the state equations in (i) the controller form, and (ii) and observer form for the transfer function G(s) given by
Solution
Reading the denominator. The printed “s4” is : Here , , , , and , , .
(i) Controller (controllable phase-variable) form
(ii) Observer form (the dual: , , )
Both give , and since is strictly proper.
Some texts number the states in reverse. The controller form then has the top row with and . This is the same model with the states reordered.
✓ Checked by computer We checked that both realisations give G(s) in SymPy.
A system is described by where ; and Determine whether the system is stable.
Solution
Stability. The stability of is decided by the eigenvalues of :
Routh array
| 1 | 9 | |
| 6 | 10 | |
| 10 |
There is no sign change, so all eigenvalues lie in the left half-plane. They are and .
The system is asymptotically stable. The transfer function has the same poles, so it is also BIBO stable.
✓ Checked by computer We computed the characteristic polynomial and the eigenvalues in SymPy and numerically.
Select any three of the following statements, read them carefully and identify the correct and incorrect ones. Justify your answer using not more than 200 words in each case. Real parts of the Eigen values of a stable system are always positive.
Solution
Incorrect.
The free response of is a combination of the modes (times powers of for repeated eigenvalues). Write . Then :
- If , the mode decays to zero.
- If , it grows without bound.
So a system is asymptotically stable only if the real parts of all its eigenvalues are negative. Any eigenvalue with a positive real part makes the system unstable. Zero real parts (simple eigenvalues on the axis) give marginal stability.
The correct statement is: the real parts of the eigenvalues of a stable system are always negative.
✓ Answer checked step by step Standard result.
Select any three of the following statements, read them carefully and identify the correct and incorrect ones. Justify your answer using not more than 200 words in each case. State variable method of analysis can be applied both to linear and non-linear systems.
Solution
Correct.
The state-variable method writes any -th order lumped system as first-order equations, This form does not need linearity or time-invariance.
- Linear systems. is linear, (or , if time-varying). The solution uses the state transition matrix, and gives controllability, observability and pole placement.
- Nonlinear systems. The same equations are solved numerically or analysed qualitatively:
- equilibrium points from ;
- linearisation about them, with the Jacobian ;
- phase-plane trajectories;
- Lyapunov’s direct method for stability.
The method also covers time-varying, multivariable and discrete-time systems. Transfer-function methods, by contrast, apply only to linear time-invariant systems.
✓ Answer checked step by step Standard result.
A linear control system is described by the following equations in state-space domain: Find the transfer function of the system.
Solution
(The left-hand side is printed without dots. It is the state equation .)
Resolvent
Transfer function
Remark. The eigenvalue does not appear in . The input does not reach , so the mode at is uncontrollable and is cancelled. The transfer function is therefore of lower order than the state model.
✓ Checked by computer We computed C(sI − A)^{-1}B + D in SymPy.
More on Control Systems
- All Electrical Engineering PYQ solutions, topic by topic
- Control Systems topic-wise PYQs (questions only, for practice)
- Electrical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Electrical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper II, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

