Is the Function f[x_] := x + 2 Truly Linear?

AI Thread Summary
The function f[x_] := x + 2 is often mistakenly considered linear in the context of elementary algebra, but it does not satisfy the strict definitions of linearity used in linear algebra. In linear algebra, a function must adhere to additivity and homogeneity of degree 1, which f[x_] does not because of the constant term. The term "linear" in high-school mathematics typically refers to the graphical representation of a straight line, not the algebraic properties required for linear functions. Therefore, while f[x_] produces a straight line, it is not a linear function in the mathematical sense. Understanding the context in which "linear" is used is crucial for proper interpretation.
toofle
Messages
20
Reaction score
0
Probably I'm just being stupid but:
According to Wikipedia.

* Additivity (also called the superposition property): f(x + y) = f(x) + f(y). This says that f is a group homomorphism with respect to addition.
* Homogeneity of degree 1: f(αx) = αf(x) for all α.


f[x_] := x + 2;
f[3 + 7]
f[3] + f[7]
5*f[10]
f[5*10]

12
14
60
52

which indicates x+2 is not linear but obv it is a linear function. Where is the error?
 
Mathematics news on Phys.org
There is no error. You are talking about two different things. The "linear function" defined in elementary algebra or PreCalculus is not the same as the "linear operators" or "linear functions" defined in linear algebra or abstract algebra.

For one, thing, if you have a "linear function", f, from R^1 to R^2, its "image", the set of all points in R^2 that are given by f(t), would be a straight line through the origin. The graph of a linear equation in the "elementary" sense (the set of points in R^2 (x, f(x))) is a straight line not necessarily through the origin. In linear algebra, we would call the first a "linear subs-space" of R^2 and the second a "linear manifold".
 
So how is linearity defined for high-school mathematics?

I've done linear algebra and calculus(one and several variables) though. For a function
f[x]=x+2, how is linearity defined.
 
toofle said:
So how is linearity defined for high-school mathematics?

I've done linear algebra and calculus(one and several variables) though. For a function
f[x]=x+2, how is linearity defined.

As you said in your first post, linearity of a function or operator means the function/operator has the following properties:

f(x + y) = f(x) + f(y),
f(ax) = af(x)

As HallsofIvy already mentioned, when calling a function such as "y = x+2" linear, the word linear is being used in a different sense than the above definition (as you already noticed that 'linear' polynomials with a non-zero constant don't satisfy the conditions of linearity!). The reason such functions are called 'linear' is because they are lines, which is the root of the word linear. You should be able to figure out from context which sense of the word is being used. If talking about mx + b type lines, it likely just means "lines". If talking about linear algebra or things like the derivative or integral being linear operations, it is referring to the definition at the start of the post.
 
Last edited:
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Back
Top