A general
deterministic system can be described by an operator, , that maps an input, , as a function of to an output, , a type of
black box description. A system is linear
if and only if it satisfies the
superposition principle, or equivalently both the additivity and homogeneity properties, without restrictions (that is, for all inputs, all scaling constants and all time.) The superposition principle means that a linear combination of inputs to the system produces a linear combination of the individual zero-state outputs (that is, outputs setting the initial conditions to zero) corresponding to the individual inputs. In a system that satisfies the homogeneity property, scaling the input always results in scaling the zero-state response by the same factor. The output versus input graph of a linear system need not be a straight line through the origin. For example, consider a system described by y(t) = k \, \frac{\mathrm dx(t)}{\mathrm dt} (such as a constant-capacitance
capacitor or a constant-inductance
inductor). It is linear because it satisfies the superposition principle. However, when the input is a sinusoid, the output is also a sinusoid, and so its output-input plot is an ellipse centered at the origin rather than a straight line passing through the origin. Also, the output of a linear system can contain
harmonics (and have a smaller
fundamental frequency than the input) even when the input is a sinusoid. For example, consider a system described by y(t) = (1.5 + \cos{(t)}) \, x(t). It is linear because it satisfies the superposition principle. However, when the input is a sinusoid of the form x(t) = \cos{(3t)}, using
product-to-sum trigonometric identities it can be easily shown that the output is y(t) = 1.5 \cos{(3t)} + 0.5 \cos{(2t)} + 0.5 \cos{(4t)}, that is, the output doesn't consist only of sinusoids of same frequency as the input (), but instead also of sinusoids of frequencies and ; furthermore, taking the
least common multiple of the fundamental period of the sinusoids of the output, it can be shown the fundamental angular frequency of the output is , which is different than that of the input. ==Time-varying impulse response==