TL;DR
Many physical systems, such as a heater, a motor or an electrical filter, respond to an input by following a linear differential equation. The transfer function is what you get when you write that equation in the Laplace domain and divide the output by the input, starting from rest. The result is a single rational function (one Polynomial divided by another) of a complex variable . It tells you how the system scales and delays every input, and it turns the calculus of the system into ordinary algebra.
Where you'll see it: in the design of a cruise control loop for a car, in the tuning of a servo motor, and in the audio filters that shape the bass and treble of a sound system.
This lesson explains a mathematical tool from engineering. It is not advice for building or operating any equipment.
Intuition
One box, one input, one output
Picture a system as a box. Something goes in, something comes out. A water tank with a valve is a box: the input is how far the valve is open, and the output is the water level. A speaker amplifier is a box: the input is the voltage from the music player, and the output is the voltage to the speaker.
For many boxes, the rule that connects input to output is a differential equation. It says the rate of change of the output depends on the current output and on the input. Solving that equation for every possible input is slow. A transfer function is a compact summary of the rule that lets you answer the question for any input at once.
Why the zero start matters
A transfer function describes the response of a system that starts at rest. If the tank is empty and the valve has just been opened, the level depends only on the valve. The starting state is set to zero so that the box's memory of the past does not mix with the input. Once the starting state is zero, the ratio of output to input depends only on the box itself.
Gain and delay in one number
Feed the box a steady sine wave. Once the transient has died out, the output is also a sine wave, at the same frequency, but with a different size and a shifted phase. The transfer function, evaluated at the frequency of that sine, gives the size ratio and the phase shift. That is why it is called a frequency-domain description: it lists, for every frequency, how the box treats it.
The math
Setup: a linear system with an input
Let be the input and the output. A linear time-invariant system is described by an ordinary differential equation with constant coefficients. For example, a first-order system with time constant and gain is
Here is the time constant, which sets how quickly the output follows the input, and is the steady gain, the output you reach for a constant input.
Definition
Take the Laplace Transform of both sides, using , and assume all starting values are zero. The derivative rule with turns the derivative into a multiplication by . The equation becomes
The transfer function of a linear system with zero initial conditions is
the ratio of the Laplace transform of the output to the Laplace transform of the input.
For the first-order system, dividing gives
The denominator is the characteristic polynomial. Its roots are the poles of the system, and they set how the response decays. The numerator's roots are the zeros.
Why it is enough to know
A general input has Laplace transform . The output in the Laplace domain is , a product. To get the output in time, compute and apply the inverse transform. For many common inputs, such as a step (an input that jumps from 0 to 1 at time zero and stays there) or an exponential, the inverse transform is a table lookup after partial fractions (splitting one fraction into a sum of simple ones). The entire system is captured by the single rational function .
Frequency response
Put , where is the imaginary unit from Complex Numbers and is the angular frequency. Then is a complex number. Its magnitude is the gain at that frequency, and its angle is the phase shift:
The magnitude falls as frequency rises, and the phase lags. The Frequency Response of a system is exactly this pair of curves plotted against .
Poles and stability
A pole at produces a term in the output. If the real part of is negative, that term dies out, and the system settles. If any pole has a positive real part, the output grows without bound. For the first-order system the only pole is , which is negative for any positive , so the system is stable.
Worked examples
The system is , so . Apply a unit step input, whose transform is .
- Compute the output transform. .
- Split into partial fractions. . Check by combining: .
- Invert term by term. .
- Evaluate at . .
Interpretation: the output rises from zero toward the steady gain of one, covering about 63 percent of the gap in one time constant.
A mass with , damping and spring is driven by a force . The equation is . Zero starting state gives , so
- Find the poles. The roots of are and .
- Compute the response to a unit step. .
- Partial fractions. Write . At , . At , . At , .
- Invert. .
- Check the start and the end. At , . As grows, , which is , the steady gain.
Interpretation: two poles give two decay rates. The slower one, , sets the tail, and the faster one, , sets the early rise. The steady value is .
A resistor of 10 kilohms and a capacitor of 10 microfarads form a first-order low-pass filter. The time constant is s, and the gain is . So .
- Cutoff frequency. The frequency where is rad/s, which is Hz.
- Gain at rad/s. . In decibels, dB.
- Phase at the same frequency. .
- Step response. The output reaches of its final value after s.
These numbers come from the analytic formulas above, not from a measurement. Interpretation: signals well below 1.6 Hz pass through almost unchanged, and signals well above it are reduced by about 20 dB per decade, which is the filtering behaviour the circuit is built for.
Tradeoffs and failure modes
| Situation | What goes wrong | Better choice |
|---|---|---|
| The system is nonlinear | does not exist as a single fixed ratio, and superposition fails | Linearize around an operating point, or use a nonlinear model |
| Time delays are present | The transfer function is not rational, and the algebra breaks down | Use a Padé approximation or the explicit delay term |
| The system changes over time | A fixed gives the wrong answer as coefficients drift | Use gain scheduling or adaptive control |
| Several inputs and outputs (MIMO) | A single ratio no longer describes the system | Use a transfer matrix or a state-space model |
| Initial conditions matter | The zero-start assumption hides the transient from old energy | Solve the full Laplace equation including initial terms |
| Poles near the imaginary axis | Responses are slow to settle and can ring | Move the poles with feedback, or add damping |
Transfer functions are most useful for single-input single-output linear systems, where they give the answer quickly. For multivariable or time-varying systems the state-space description is the better tool, and a Linear Dynamical System written in state-space form describes the same system, with the transfer function as its input-output summary.
History
Operator methods for solving linear equations were used by Oliver Heaviside in the 1890s, and his calculus was later placed on a firm footing by the Laplace transform. The transform itself is named after Pierre-Simon Laplace, whose work on probability and differential equations dates to the late 1700s.
The engineering use of the transfer function grew in the 1930s and 1940s. Hendrik Bode at Bell Labs studied feedback amplifiers, and his methods for analysing the gain and phase of a system at each frequency became the standard way to design them. The ratio of output to input, computed for a linear system, became the common language for describing amplifiers and servomechanisms.
By the 1950s, transfer functions were taught as the first tool in control engineering. They remain the entry point to frequency-domain design, even as state-space methods took over for complex systems.
Recap
A linear system with a zero starting state is summarized by its transfer function . The poles of set the modes of the response, and their real parts decide stability. Evaluating at gives the frequency response, which is the gain and phase at each frequency. These ideas lead to the Frequency Response of a system and to the stability test in the Nyquist Plot.
Check yourself
QuestionRecall: what does a transfer function compute, and what condition must hold for it to apply?Show answer
It is the ratio of the Laplace transform of the output to the Laplace transform of the input, . It applies to a linear, time-invariant system whose starting state is zero, so that the starting values drop out of the Laplace equation.
QuestionComputation: a system has . What is its steady output for a constant input of 3?Show answer
The steady output for a constant input equals the DC gain times the input. Setting gives . The steady output is .
QuestionWhy: why does a pole with a negative real part make the system settle, and what does a positive real part do?Show answer
A pole at contributes a term to the output. If is negative, the term shrinks to zero as time passes, so the transient dies away and the output settles. If is positive, the term grows without bound, so the output diverges. A pair of poles on the imaginary axis gives sustained oscillation that neither grows nor decays.
QuestionApplied: why is a transfer function useful for predicting the response of a filter to a sine wave of a given frequency?Show answer
Once the transient has died out, a linear system turns a sine input at frequency into a sine output at the same frequency. The transfer function evaluated at gives a complex number whose magnitude is the gain and whose angle is the phase shift. One evaluation answers the question for that frequency without solving the differential equation again.
QuestionApplied: a first-order system has time constant 0.5 s. How long does its step response take to reach 90 percent of its final value?Show answer
The step response is . Reaching 90 percent means , so and s. The answer is about 1.15 seconds, which is about 2.3 time constants.