5z + 2 is linear?
affine, not linear. describes a line that doesn't go through the origin. that pesky shift breaks linearity
5(2z) + 2 != 2(5z + 2)
[dead]
All of linear algebra is based on linear functions. Of course that doesn't mean that you can't study affine functions with it, but it adds a layer of extra complication.
For example, linear functions over finite dimensional vector spaces can be represented with matrices which means that everything you can compute about matrices you can also compute about linear functions.
f needs to be linear, but the function in your example is not linear.
However, there are quite interesting linear functions. Example: f(x(t)) = x(t-2) + 4dx/dt - \int_0^t 2x(s) ds