Once someone asked me the question "What is linearity?" in a proficiency exam. I went hot and cold all over. Although, I heard and even used the term linearity many many times, I had not really thought about it until that time. After a hopeless discussion, he said linearity is the satisfaction of the following conditions:
$$f(x+y)=f(x)+f(y)$$ $$f(ax)=af(x)$$
Since then I have no idea about linearity. Because there are:
- Linear equations
- Linear differential equations
- Linear algebra
- Linear programming
- Linear interpolation
- and so forth...
According to the definition even a straight line $y=mx+n$ cannot be considered linear as long as $n\neq0$. But there are so many linearities.
So, what is this term linearity?