0

Can we say function $$y=f(x)=10$$ is a linear function? Can a linear function have zero slope?

311411
  • 3,537
  • 9
  • 19
  • 36

1 Answers1

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
  • Thank you. I understood it. – Reza Hosseinzadeh Dec 13 '21 at 05:12
  • 1
    I 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
  • 1
    A 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
  • 4
    It 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
  • 4
    As 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