Can we say function $$y=f(x)=10$$ is a linear function? Can a linear function have zero slope?
Asked
Active
Viewed 753 times
0
-
1Well it is a constant function. There is a definition of "linear function" which would only include $f(x)=cx$ but not with a nonzero constant. – coffeemath Dec 13 '21 at 05:11
-
2https://math.stackexchange.com/questions/1912970 – 311411 Dec 13 '21 at 05:16
-
Thank both of you – Reza Hosseinzadeh Dec 13 '21 at 05:24
-
This function is not linear. Please see my comment below the accepted answer. The only linear function with $0$ slope is $f(x)=0$. – John Douma Dec 13 '21 at 05:27
-
1Seconding https://math.stackexchange.com/questions/1912970/intutive-difference-between-linear-map-transformation-vs-linear-function. I think that question and answer explains it very clearly. – fleablood Dec 13 '21 at 05:36
-
1It is affine. Had to get my spake in. – copper.hat Dec 13 '21 at 05:51
1 Answers
1
By definition, a linear function is a polynomial of degree one or less, including the zero polynomial. $f(x)=10$ has degree $0$, so it is linear.
Scene
- 1,566
-
-
1I have to point that this definition may vary in some languages. In french, a linear function is of the form $f(x)=ax$ and $g(x)=ax+b$ is not linear, but affine. – nicomezi Dec 13 '21 at 05:23
-
1A linear function $f$ is one such that $f(x+y)=f(x)+f(y)$ and $f(ax)=af(x)$. $f(x)=10$ is not linear. – John Douma Dec 13 '21 at 05:26
-
1@SeanXie Most of us are mislead into believing that in our early education. For example, $f(x)=x$ is linear but $f(x)=x+1$ is not. This is because $f(0)=f(0+0)=f(0)+f(0)\implies f(0)=0$ for a linear function $f$. So, for example, $y=mx$ is a linear function but $y=mx+b$ where $b\ne 0$ is not. – John Douma Dec 13 '21 at 05:35
-
4It is conventional in US middle-school education to call affine functions linear. I suspect that's the level of the OP, which makes this a perfectly fine answer, unworthy of deletion. – Jacob Manaker Dec 13 '21 at 05:37
-
4As Jacob notes, there are multiple definitions of "linear" in use, and many U.S. K-12 and college curricula (pre-linear algebra) would say that a polynomial function of degree at most 1 is a linear function. Having different uses of the same word in common circulation is not quite the same thing as people being "misled" into error. – leslie townes Dec 13 '21 at 05:44