Linear function
Template:Short description Script error: No such module "Distinguish".
In mathematics, the term linear function refers to two distinct but related notions:[1]
- In calculus and related areas, a linear function is a function whose graph is a straight line, that is, a polynomial function of degree zero (a constant polynomial) or one (a linear polynomial).[2] For distinguishing such a linear function from the other concept, the term affine function is often used.[3]
- In linear algebra, mathematical analysis,[4] and functional analysis, a linear function is a kind of function between vector spaces.[5]
As a polynomial function
In calculus, analytic geometry and related areas, a linear function is a polynomial of degree one or less, including the zero polynomial. (The latter is a polynomial with no terms, and it is not considered to have degree zero.)
When the function is of only one variable, it is of the form
where Template:Mvar and Template:Mvar are constants, often real numbers. The graph of such a function of one variable is a nonvertical line. Template:Mvar is frequently referred to as the slope of the line, and Template:Mvar as the intercept.
If a > 0 then the gradient is positive and the graph slopes upwards.
If a < 0 then the gradient is negative and the graph slopes downwards.
For a function of any finite number of variables, the general formula is
and the graph is a hyperplane of dimension k.
A constant function is also considered linear in this context, as it is a polynomial of degree zero or is the zero polynomial. Its graph, when there is only one variable, is a horizontal line.
In this context, a function that is also a linear map (the other meaning of linear functions, see the below) may be referred to as a homogeneous linear function or a linear form. In the context of linear algebra, the polynomial functions of degree 0 or 1 are the scalar-valued affine maps.
As a linear map
In linear algebra, a linear function is a map from a vector space to a vector space (Both spaces are not necessarily different.) over a same field KScript error: No such module "Check for unknown parameters". such that
Here aScript error: No such module "Check for unknown parameters". denotes a constant belonging to the field KScript error: No such module "Check for unknown parameters". of scalars (for example, the real numbers), and xScript error: No such module "Check for unknown parameters". and yScript error: No such module "Check for unknown parameters". are elements of , which might be KScript error: No such module "Check for unknown parameters". itself. Even if the same symbol is used, the operation of addition between xScript error: No such module "Check for unknown parameters". and yScript error: No such module "Check for unknown parameters". (belonging to ) is not necessarily same to the operation of addition between and (belonging to ).
In other terms the linear function preserves vector addition and scalar multiplication.
Some authors use "linear function" only for linear maps that take values in the scalar field;[6] these are more commonly called linear forms.
The "linear functions" of calculus qualify as "linear maps" when (and only when) f(0, ..., 0) = 0Script error: No such module "Check for unknown parameters"., or, equivalently, when the constant Template:Mvar equals zero in the one-degree polynomial above. Geometrically, the graph of the function must pass through the origin.
See also
- Homogeneous function
- Nonlinear system
- Piecewise linear function
- Linear approximation
- Linear interpolation
- Discontinuous linear map
- Linear least squares
Notes
References
- Izrail Moiseevich Gelfand (1961), Lectures on Linear Algebra, Interscience Publishers, Inc., New York. Reprinted by Dover, 1989. Template:Isbn
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
- Leonid N. Vaserstein (2006), "Linear Programming", in Leslie Hogben, ed., Handbook of Linear Algebra, Discrete Mathematics and Its Applications, Chapman and Hall/CRC, chap. 50. Template:Isbn