✦ScienexySCIENCE KNOWLEDGE LIBRARY
concept · SCI-MAT-015-011

State Variables and Control Variables

Introduces state variables that describe the condition of a system and control variables that represent quantities that can be deliberately adjusted to influence system behaviour.

A general state-space model is: dx/dt = f(x, u, t), where x represents the state vector and u represents the control vector. An output may be represented by y = g(x, u, t).

Explanation

In many mathematical models, it is useful to distinguish the internal condition of a system from the inputs that can be controlled. State variables describe the current state of a system at a particular time. They contain information needed to determine how the system evolves under the model. For example, the position and velocity of a moving object can be state variables in a mechanical model. Control variables are quantities that can be deliberately selected or adjusted to influence the system's behaviour. In a heating system, the heater's power setting may be a control variable, while room temperature is a state variable. In an industrial process, a control input may regulate pressure, flow rate or temperature. These concepts are especially important in dynamic systems, control theory, optimization and engineering. The distinction is context-dependent: a quantity may be treated as a state variable in one model and an input or control variable in another. A complete dynamic model often describes how state variables change over time in response to controls, disturbances and system parameters.

Variables

SymbolMeaning

x

State vector describing the system condition.

u

Control input or control vector.

t

Time.

y

Measured or modelled output.

f

Function describing the evolution of the state.

g

Function connecting system states and controls to outputs.

Example or application

In a room-temperature control model, room temperature is a state variable, heater power is a control variable, outdoor temperature may be a disturbance and the measured thermostat reading is an output.

Definition

A state variable is a quantity describing the current condition of a system, while a control variable is an adjustable input used to influence the system's behaviour.

Purpose

To represent how a system's internal condition changes over time and how deliberate control actions influence that behaviour.

Importance

State and control variables are essential for understanding feedback systems, automation, engineering processes, robotics, energy management and optimal control. They help distinguish what the system currently is from what an operator can change.

Learning Objectives

  • Define state variables and control variables.

  • Distinguish a system's internal state from adjustable inputs.

  • Identify state and control variables in practical systems.

  • Interpret a basic state-space model.

  • Explain the role of control variables in influencing dynamic behaviour.

Key Concepts

  • System state

  • State variable

  • Control variable

  • State vector

  • Control input

  • Dynamic system

  • Disturbance

  • State-space representation

Working Principle

The current state of a system determines its condition at a given time. A control input can influence how that state changes. A mathematical model describes the relationship between the state, the control action, time and other relevant factors.

Process

  • Identify the system whose behaviour is being studied.

  • Determine which quantities describe its current condition.

  • Define those quantities as state variables.

  • Identify inputs that can be deliberately adjusted.

  • Define those inputs as control variables.

  • Identify external disturbances and measurable outputs.

  • Construct equations describing how the state changes in response to the inputs.

  • Analyze the system's response under different control choices.

Applications

  • Robotics: position and velocity as state variables, motor commands as control variables.

  • Climate control: room temperature as a state variable and heater power as a control variable.

  • Aircraft systems: aircraft motion as state and control-surface commands as controls.

  • Chemical engineering: reactor temperature and concentration as states, heating and feed rates as controls.

  • Electrical engineering: current and voltage states controlled by circuit inputs.

  • Water management: reservoir level as a state and release rate as a control.

Worked Example

Problem

A simplified water tank receives water at a controllable inflow rate u and loses water at a constant rate of 2 litres per minute. Let V(t) represent the water volume. Identify the state and control variables and formulate the model.

Given

  • Tank volume = V(t)

  • Controllable inflow rate = u(t)

  • Outflow rate = 2 L/min

Solution

  • The tank volume describes the current condition of the system, so V(t) is the state variable.

  • The inflow rate can be adjusted, so u(t) is the control variable.

  • The rate of change in volume equals inflow minus outflow.

  • Therefore, dV/dt = u(t) - 2.

  • If the inflow is fixed at 5 L/min, then dV/dt = 5 - 2 = 3 L/min.

Answer

The state variable is V(t), the control variable is u(t), and the model is dV/dt = u(t) - 2.

Interpretation

The control input determines how quickly the tank volume changes, provided the simplified inflow and outflow assumptions remain valid.

Common Misconceptions

MisconceptionCorrection

A state variable and a control variable are always the same type of quantity.

A state variable describes the system's condition, whereas a control variable represents an adjustable input. Their physical units may be completely different.

Every input to a system is a control variable.

Some inputs are external disturbances or environmental conditions that cannot be directly controlled.

A control variable directly determines every system output.

Its influence is mediated by the system dynamics, state and model structure.

Practice Questions

TypeQuestionDifficulty

classification

In an automatic room-heating system, identify a likely state variable, control variable and external disturbance.

beginner

conceptual

Explain why the current position and velocity of a moving object may be state variables.

intermediate

application

For a water reservoir, suggest two possible state variables and one control variable.

intermediate

analytical

Explain the difference between a controllable input and an external disturbance in a dynamic system.

advanced

Key Takeaway

State variables describe the condition of a system, while control variables represent adjustable inputs that influence its behaviour. Their distinction is fundamental to dynamic modelling and control theory.

Prerequisites

  • Variables, parameters and constants

  • Independent and dependent variables

  • Basic functions and rates of change

Reference

  • Ogata, K. Modern Control Engineering. Prentice Hall.

  • Khalil, H. K. Nonlinear Systems. Pearson.

  • Åström, K. J., and Murray, R. M. Feedback Systems: An Introduction for Scientists and Engineers.

Related Topics

  • SCI-MAT-015-009

  • SCI-MAT-015-010

  • SCI-MAT-015-012

  • SCI-MAT-015-156

  • SCI-MAT-015-586

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • Source verification pending; check an authoritative textbook, university, standards body, or peer-reviewed source.

Suggest a correction or source · More in Mathematical Modelling