The definition of a linear function is that it satisfies (among other things): $$ f(\gamma x) = \gamma f(x) $$
Then, why does for $f(x)=ax+b$, the following inequality appear: $$ f(\gamma x) = a\gamma x+b \neq \gamma(a x+b) = \gamma f(x) $$
Which means that:
$$
f(\gamma x) - \gamma f(x)
=
a\gamma x+b - \gamma(a x+b)
=
a\gamma x+b - a\gamma x - \gamma b)
=
b(1-\gamma)
\neq
0
$$
What am I missing here?
EDIT TIL that there's a difference between a linear function and a linear map. Clarified in more detailed here for the curios: intutive difference between linear map/transformation vs linear function