1 Definition and basic concepts
A state variable is any measurable or inferred quantity that describes the condition of a system at a given moment. Taken together, a sufficiently complete set of such variables specifies the system’s state in the sense required by a scientific model. If the governing laws are known, the current state can often be used to predict how the system will evolve.
State variables are used across many disciplines because they provide a compact way to summarize complex systems. In thermodynamics they may include temperature and pressure; in mechanics they may include position and velocity; in chemistry they may include concentration and composition. The specific choice depends on which features of the system matter for the model.
1.1 Meaning of state
The state of a system refers to the collection of conditions that uniquely characterize it within a chosen description. In practice, this does not mean every microscopic detail is included. Rather, the selected variables capture enough information for the intended level of analysis.
For example, a gas in a container can often be described by a small set of macroscopic variables, even though it contains an enormous number of molecules. Similarly, a mechanical system may be characterized by positions and momenta of its components without listing every internal interaction.
1.2 State variables versus path variables
State variables depend only on the current condition of the system, not on how that condition was reached. By contrast, path variables depend on the sequence of steps taken during a change. This distinction is especially important in thermodynamics and process analysis.
A change in state variable can be measured by comparing initial and final states. A path variable, such as heat transfer or work in many contexts, depends on the route taken between those states. As a result, state variables are often used to define equilibrium properties, while path variables describe processes.
1.3 Intensive and extensive variables
State variables are often classified as intensive or extensive. Intensive variables do not depend on system size; temperature and pressure are common examples. Extensive variables scale with the amount of matter or the size of the system, such as volume, mass, and total energy.
This distinction is useful when combining or comparing subsystems. If two similar systems are joined, extensive quantities may add, while intensive quantities typically remain unchanged if equilibrium is maintained. Some quantities can also be converted into intensive form by dividing by mass or mole number.
1.4 State functions and state variables
A state function is a quantity whose value is determined entirely by the state of the system. In many texts, the term is used closely alongside state variable, although the emphasis differs. A state variable is one of the coordinates used to specify the state, while a state function is any property that depends only on that state.
Examples of state functions include internal energy, entropy, and enthalpy in thermodynamics. These are often expressed in terms of state variables such as temperature, pressure, and composition. The terminology can vary by field, but the central idea remains the same: the property is independent of the path taken.
2 Mathematical representation
State variables are commonly organized into a mathematical framework that makes analysis and prediction easier. In this framework, a system’s state is represented as a point in an abstract space, with each coordinate corresponding to one variable. This approach is widely used in physics, engineering, and applied mathematics.
The mathematical form of a state description depends on the system. Some systems require only a few variables, while others need large vectors or even functions distributed over space and time. The representation chosen reflects the level of detail needed for the model.
2.1 State space
State space is the set of all possible states a system can occupy under a given description. Each point in this space corresponds to one combination of state variables. Movement through state space represents the evolution of the system over time.
This concept is central to dynamical systems theory and control engineering. It allows a complicated process to be studied geometrically, with trajectories showing how conditions change. Constraints and physical laws limit which regions of the space are accessible.
2.2 State vectors
A state vector is an ordered collection of state variables written as a vector. For example, a mechanical system might be represented by a vector containing positions and velocities, while a chemical system might use concentrations of species. The vector form is convenient for computation and for expressing system equations compactly.
In many applications, the state vector is the input to a model that determines the next state. It is also used in estimation and simulation, where the goal is to reconstruct or predict the system’s condition. The same system may have different state vectors depending on the modeling purpose.
2.3 Coordinates and variables
State variables can be interpreted as coordinates on state space. Each coordinate measures one aspect of the system and together they locate the system’s condition. The choice of coordinates is not always unique, because different variable sets may describe the same state.
A useful coordinate system should be sufficient, independent, and practical for analysis. In some cases, one set of variables is transformed into another to simplify calculations. The physical meaning must remain clear, even when the mathematical representation changes.
2.4 Degrees of freedom
Degrees of freedom refer to the number of independent variables required to specify a state. A system with more degrees of freedom needs a larger state description. Constraints reduce the number of independent variables and therefore the complexity of the model.
In thermodynamics, degrees of freedom can be related to the number of phases and components. In mechanics, they are associated with independent motions of particles or rigid bodies. In control systems, they help determine the dimensionality of the state-space model.
3 In thermodynamics
Thermodynamics makes especially systematic use of state variables. The state of a thermodynamic system is described by macroscopic properties that are measurable at equilibrium or near equilibrium. These variables allow the behavior of gases, liquids, solids, and mixtures to be characterized without reference to microscopic details.
Thermodynamic state variables are typically linked by equations of state and other relations. Together, they determine how the system responds to changes in energy, matter, and external conditions. Their use is fundamental to both theoretical analysis and practical engineering.
3.1 Equilibrium states
An equilibrium state is one in which macroscopic properties remain stable over time unless disturbed. In such a condition, state variables are well defined and uniform within the system or within each phase. Equilibrium provides the standard setting for many thermodynamic descriptions.
When a system is not at equilibrium, its properties may vary with position or time. Even then, approximate state variables may still be used if the deviation is small or if the system can be treated as locally equilibrated. This allows thermodynamic ideas to be extended to realistic processes.
3.2 Thermodynamic properties
Thermodynamic properties are the measurable quantities used to specify the state of a system. They include variables such as temperature, pressure, volume, and internal energy. Many additional properties, such as entropy and enthalpy, are also treated as state-dependent quantities.
These properties are related through the material’s composition and the conditions under which it exists. For a simple system, a small number of variables may be enough to determine the state. More complex systems require additional variables to account for mixtures, phases, or external fields.
3.2.1 Temperature
Temperature is a central intensive state variable in thermodynamics. It indicates the thermal condition of a system and governs the direction of heat flow in many situations. Systems in thermal equilibrium share the same temperature.
Temperature often serves as a control parameter in laboratory and industrial settings. It affects reaction rates, phase changes, and material properties. In equations of state, it frequently appears alongside pressure and volume.
3.2.2 Pressure
Pressure is the force per unit area exerted by a system on its surroundings or on internal boundaries. It is an intensive variable and is often used to characterize gases, liquids, and solids under load. Pressure helps determine mechanical equilibrium and phase behavior.
In many models, pressure is linked to temperature and volume through the material’s equation of state. It also influences solubility, boiling, compression, and structural stability. Accurate pressure measurement is therefore important in both research and engineering.
3.2.3 Volume
Volume is an extensive state variable that measures the spatial extent occupied by a system. It is especially important for fluids and gases, where changes in volume may accompany heating, compression, or phase transition. For solids, volume can still be a useful descriptor, though deformations may be small.
Volume often appears in relation to pressure and temperature. In mixture systems, partial or molar volumes may also be defined. Because it depends on size, volume is commonly normalized when comparing systems of different scales.
3.2.4 Internal energy
Internal energy is the total microscopic energy contained within a system. It includes kinetic and potential contributions at the molecular level, excluding the bulk motion of the system as a whole. Internal energy is a state function and changes when energy is transferred by heat, work, or matter exchange.
It is a key quantity in the first law of thermodynamics. Although not always directly measurable in a single experiment, it can often be inferred from other state variables and process data. It plays a central role in energy balances and equilibrium calculations.
3.3 Equations of state
An equation of state is a relationship among state variables that constrains the condition of a system. For example, it may connect pressure, volume, temperature, and composition. Such relations are essential for predicting how materials behave under different conditions.
Different substances have different equations of state, and even the same substance may require different forms in different regimes. Idealized models are useful for simple calculations, while more elaborate forms account for interactions and non-ideal behavior. These equations translate the abstract concept of state into a practical computational tool.
3.4 State functions in thermodynamic processes
In a thermodynamic process, state functions depend only on the initial and final states, not on the route connecting them. This makes them valuable for comparing processes and evaluating energy changes. They provide a stable basis for analysis even when the path is complicated.
By contrast, quantities tied to the details of the process vary with the procedure used. This distinction allows engineers and scientists to separate permanent changes in condition from transient transfer effects. State functions are therefore among the most important tools in thermodynamic reasoning.
4 In dynamical systems and control theory
In dynamical systems and control theory, state variables describe the internal condition of a system needed to predict its future behavior. The state is typically updated over time by differential or difference equations. This framework is widely used in engineering, robotics, economics, and signal processing.
A major advantage of the state approach is that it can handle systems with memory and multiple interacting components. Rather than tracking only the current input and output, the model retains essential internal information. This makes it possible to analyze stability, response, and controllability.
4.1 State-space models
State-space models represent a system through equations that relate the current state, inputs, outputs, and time evolution. They provide a general form for describing linear and nonlinear dynamics. These models are especially useful when a system has several coupled variables.
A state-space description separates internal dynamics from external influence. This structure makes it easier to simulate a system, design controllers, and estimate unknown quantities. It also provides a common language across different engineering domains.
4.2 State variables in linear systems
In linear systems, state variables evolve according to linear equations. Such systems are mathematically tractable and often serve as approximations to more complicated processes. Superposition and matrix methods make analysis straightforward.
Linear state models are common in electrical circuits, mechanical vibrations, and simplified control designs. They allow the use of standard tools for stability analysis and frequency response. Even when a real system is nonlinear, a linear approximation may be useful near an operating point.
4.3 State variables in nonlinear systems
Nonlinear systems use state variables in equations where interactions are not proportional or additive. These systems may exhibit multiple equilibria, oscillations, bifurcations, or chaotic behavior. Their state descriptions are often more difficult to analyze than linear ones.
Despite this complexity, the state concept remains fundamental. Nonlinear state models are used to capture realistic effects such as saturation, friction, feedback, and threshold behavior. Numerical methods are often required to study their evolution.
4.4 State estimation
State estimation is the process of inferring the current state from measurements and a model. This is necessary when not all state variables can be measured directly. Estimation methods combine sensor data with predicted dynamics to produce a best estimate of the system’s condition.
Common techniques include observers, filtering methods, and data assimilation. State estimation is important in navigation, automation, and fault detection. Its quality depends on sensor accuracy, model fidelity, and the observability of the system.
5 In physics and chemistry
State variables play a central role in both physics and chemistry because they connect microscopic mechanisms with observable behavior. They help define the condition of matter, particles, and fields in a way that supports calculation and comparison. The variables chosen depend on whether the system is treated as a particle, a collection of particles, or a chemical mixture.
In these fields, state variables may describe motion, energy, composition, or spatial distribution. Some are directly observable, while others are inferred from theory or measurement. Together they form the basis for many theoretical and experimental methods.
5.1 Classical mechanics
In classical mechanics, the state of a system is often represented by position and velocity, or equivalently by position and momentum. These variables specify the motion of particles or rigid bodies at a given time. Knowing them allows future motion to be predicted from Newtonian or Hamiltonian laws.
For a particle system, the full state may include coordinates for every body in the system. Constraints may reduce the number of independent variables. Mechanical state descriptions are foundational in trajectories, collisions, oscillations, and orbital motion.
5.2 Statistical mechanics
Statistical mechanics connects microscopic state variables to macroscopic observables. It studies how collections of particles give rise to properties such as temperature, pressure, and entropy. The state of the system may be described by probability distributions over many microstates.
This approach is useful when exact tracking of every particle is impractical. Instead, the system is characterized by averages, ensembles, and distribution functions. Statistical state variables bridge the gap between microscopic behavior and bulk phenomena.
5.3 Chemical state variables
Chemical systems are often described by variables that capture composition and reactivity. These include concentrations, mole fractions, phase amounts, and chemical potentials. Such variables determine how reactions proceed and how mixtures behave.
Chemical state descriptions are essential in equilibrium chemistry, reaction engineering, and materials science. They are used to predict product formation, solubility, and phase relations. The relevant variables depend on the number of species and the complexity of the system.
5.3.1 Concentration
Concentration measures how much of a substance is present in a given amount of space or solvent. It is commonly expressed in units such as molarity or mass fraction. As a state variable, it helps describe the composition of solutions and reaction mixtures.
Concentration changes during reactions, transport, and mixing. It is often one of the principal variables used in kinetic models. Because it can vary across a system, local concentration may be more informative than an overall average.
5.3.2 Composition
Composition describes the relative amounts of components in a chemical system. It may be expressed by mole fraction, mass fraction, or similar measures. Composition is crucial for mixtures, alloys, and reaction products.
Different compositions can lead to different physical and chemical properties, even if temperature and pressure are unchanged. In phase diagrams and equilibrium calculations, composition is one of the main variables determining state. It also affects density, reactivity, and material stability.
5.3.3 Chemical potential
Chemical potential is a state variable that measures the change in a system’s energy associated with adding a component. It is central to diffusion, equilibrium, and phase behavior. Differences in chemical potential drive material transfer and chemical change.
In mixtures, chemical potential helps determine whether species will move, react, or separate into phases. It is an important concept in thermodynamics because it generalizes energy considerations to multi-component systems. Many equilibrium conditions can be stated elegantly in terms of equal chemical potentials.
6 In biology and medicine
In biology and medicine, state variables are used to summarize the condition of cells, organs, organisms, and populations. These variables may include physiological measurements, biochemical concentrations, or demographic quantities. Because living systems are dynamic and regulated, state descriptions often emphasize change over time.
Biological state variables are useful in both experimental and clinical contexts. They help describe normal function, stress responses, disease progression, and treatment effects. The choice of variables depends on the level of organization being studied.
6.1 Physiological state variables
Physiological state variables include measurements such as body temperature, blood pressure, heart rate, and oxygen levels. These values summarize the functional condition of the body. Many are monitored continuously in medical settings.
Such variables are often interconnected through feedback regulation. A change in one can trigger compensatory responses in others. This makes physiological state modeling important for diagnosis, monitoring, and treatment planning.
6.2 Population and ecosystem models
Population models use state variables to describe the size, structure, or distribution of organisms. In ecology, variables may include population density, age composition, or resource availability. These quantities help predict growth, decline, and interaction among species.
Ecosystem models extend this idea to broader environmental systems. They may track biomass, nutrient levels, or habitat conditions. State variables in these models support analysis of stability, resilience, and long-term change.
6.3 Homeostasis and regulation
Homeostasis is the maintenance of internal conditions within a functional range. State variables are central to this idea because regulatory systems act to keep key quantities near target values. Examples include glucose concentration, temperature, and fluid balance.
Regulation relies on sensing, feedback, and response mechanisms. When a variable deviates from its desired range, the system adjusts to restore balance. This process is fundamental to physiology and is often modeled using control-theoretic ideas.
7 Measurement and modeling
State variables are only useful if they can be measured, estimated, or modeled with sufficient accuracy. In practice, the selection of variables, the quality of data, and the purpose of the model all influence how state is represented. Good modeling balances simplicity with completeness.
Measurement and modeling are closely linked because experimental observations often determine which variables are included. The resulting state description must be both physically meaningful and workable for analysis. This is true in laboratory studies, field science, and computational simulations.
7.1 Experimental determination
Experimental determination of state variables involves direct measurement or indirect inference from observations. Instruments may record temperature, pressure, position, voltage, concentration, or other quantities. Some variables are accessible directly, while others must be calculated from measured data.
Measurement accuracy, calibration, and sampling conditions all affect the quality of the state description. In many systems, not all variables can be observed simultaneously, so researchers infer the remaining ones from theory or statistical methods. Experimental design therefore plays a major role in state analysis.
7.2 Variable selection
Variable selection is the process of choosing which quantities should be treated as state variables. The best choice depends on the model’s purpose, the available data, and the relevant physical laws. A smaller set may be sufficient for coarse prediction, while a richer set may be needed for detailed understanding.
Useful state variables should capture the essential dynamics without unnecessary redundancy. Poor selection can make a model difficult to interpret or impossible to estimate reliably. For this reason, variable choice is often one of the most important steps in building a model.
7.3 Model reduction
Model reduction aims to simplify a state description while preserving the key behavior of the system. This may involve removing weakly influential variables, combining related quantities, or approximating high-dimensional dynamics with a lower-dimensional model. Reduced models are easier to analyze and simulate.
The challenge is to retain accuracy where it matters. A reduced state model may be suitable for control design, forecasting, or conceptual study even if it cannot reproduce every detail. Reduction is therefore a practical compromise between realism and simplicity.
7.4 Computational simulation
Computational simulation uses state variables as the basis for numerical prediction. A simulation starts from an initial state and updates the variables according to governing equations. This approach is widely used when analytical solutions are unavailable.
Simulations can represent continuous or discrete systems, deterministic or stochastic dynamics, and simple or highly complex interactions. The reliability of the results depends on the quality of the state description, the model equations, and the numerical method. Simulated state trajectories are central to modern scientific computing.
8 Related concepts
Several concepts are closely related to state variables, but each highlights a different aspect of system description. Some focus on functional dependence, some on process history, and others on hidden or directly measurable quantities. Understanding these distinctions helps avoid confusion in interdisciplinary work.
8.1 State function
A state function is a quantity determined solely by the current state of a system. It does not depend on the path used to reach that state. This makes state functions especially useful in thermodynamics and equilibrium analysis.
State variables often serve as the arguments of state functions. In many cases, the distinction between the variable and the function of variables is subtle but important. The term emphasizes path independence rather than the coordinate role.
8.2 Process variable
A process variable depends on how a change occurs between states. Unlike a state variable, it cannot be assigned a value from the condition of the system alone. Instead, it describes the history of transfer or transformation.
Heat and work are common examples in thermodynamics. In engineering, process variables often represent rates, flows, or operational inputs. They are crucial for understanding what happens during a transition rather than just before and after it.
8.3 Hidden state
A hidden state is an internal variable that affects a system’s behavior but cannot be measured directly. It is often inferred from outputs and a model. Hidden states are common in control theory, signal processing, and biology.
Because hidden states are not directly visible, estimation methods are needed to reconstruct them. Their inclusion can greatly improve predictive accuracy. They are especially important in systems with memory or latent internal processes.
8.4 Observable
An observable is a quantity that can be measured or inferred from a system’s outputs. In physics and engineering, observables are contrasted with internal state variables when not every state component can be accessed directly. A model is more useful when its observables are sensitive to the underlying state.
The relationship between observables and state variables depends on instrumentation and model structure. In some cases, one observable may reflect several hidden variables at once. In others, multiple observables are needed to recover the state.
9 Applications
State variables are widely used because they make complex systems manageable. They support analysis, prediction, control, and communication across many branches of science and engineering. Their usefulness lies in the ability to reduce a complicated reality to a set of meaningful descriptors.
Applications range from machines and climate systems to biological networks and autonomous devices. In each case, the selected state variables reflect the goals of the model and the level of detail required. The same underlying concept can therefore appear in very different forms.
9.1 Engineering systems
In engineering, state variables are used to model mechanical devices, electrical circuits, chemical reactors, and thermal systems. They help designers predict responses to inputs, assess stability, and improve performance. State-space methods are especially common in modern control design.
Engineering applications often require both measurement and actuation. State variables provide the internal representation needed for feedback control. They also support fault diagnosis, optimization, and real-time decision-making.
9.2 Climate and environmental modeling
Climate and environmental models use state variables such as temperature, humidity, pressure, wind speed, carbon concentration, and ocean properties. These variables describe the condition of the atmosphere, oceans, and land systems. They are updated using physical laws, data assimilation, and numerical simulation.
Because these systems are large and coupled, state descriptions may be high-dimensional. Models often combine measured data with estimated quantities to produce a coherent picture of current and future conditions. State variables are therefore central to forecasting and environmental assessment.
9.3 Systems biology
Systems biology uses state variables to represent gene expression, protein levels, metabolic concentrations, and cellular conditions. These variables help describe how biological networks function as integrated systems. Dynamic models can then predict responses to signals, perturbations, or treatments.
The field often relies on time-dependent state models because biological processes are highly interconnected. State variables support the study of regulation, feedback, and emergent behavior. They also provide a framework for linking molecular events to larger-scale biological function.
9.4 Robotics and automation
Robotics and automation use state variables to represent position, orientation, speed, sensor readings, and internal system conditions. These variables are essential for navigation, manipulation, and task execution. Robots often rely on state estimation to operate effectively in uncertain environments.
Automation systems use state variables to coordinate actions, maintain stability, and respond to changing conditions. They are also important in planning and decision-making, where the current state guides the next action. As a result, state variables are foundational to modern autonomous systems.