4

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

Void
  • 451

3 Answers3

3

Note that

$$f(x)=ax+b$$

is said to be "linear" because its graph is a straight line but (for $b\neq 0$) it is not linear in the sense of "linear map" (e.g. $f(x)=ax$).

user
  • 154,566
1

You are missing the fact that, unless $b=0$, the map $x\mapsto ax+b$ is not a linear map.

0

You're missing the second half of the definition, namely $f(x+y)=f(x)+f(y)$. Note that $f(x)=ax+b$ fails this condition in general, and is therefore not linear by this definition.

79037662
  • 1,379