Linear function

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Distinguish

In mathematics, the term linear function refers to two distinct but related notions:[1]

As a polynomial function

Template:Main article

Graphs of two linear functions.

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

f(x)=ax+b,

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 f(x1,โ€ฆ,xk) of any finite number of variables, the general formula is

f(x1,โ€ฆ,xk)=b+a1x1+โ‹ฏ+akxk,

and the graph is a hyperplane of dimension Template:Nowrap.

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 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

Template:Main article

An integral of an integrable function is a linear map from a vector space of integrable functions to real numbers (that is also a vector space).

In linear algebra, a linear function is a map f from a vector space ๐• to a vector space ๐– (Both spaces are not necessarily different.) over a same field Template:Math such that

f(๐ฑ+๐ฒ)=f(๐ฑ)+f(๐ฒ)
f(a๐ฑ)=af(๐ฑ).

Here Template:Math denotes a constant belonging to the field Template:Math of scalars (for example, the real numbers), and Template:Math and Template:Math are elements of ๐•, which might be Template:Math itself. Even if the same symbol + is used, the operation of addition between Template:Math and Template:Math (belonging to ๐•) is not necessarily same to the operation of addition between f(๐ฑ) and f(๐ฒ) (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) Template:Math, 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

Notes

  1. โ†‘ "The term linear function means a linear form in some textbooks and an affine function in others." Vaserstein 2006, p. 50-1
  2. โ†‘ Stewart 2012, p. 23
  3. โ†‘ Template:Cite book
  4. โ†‘ Template:Cite book
  5. โ†‘ Shores 2007, p. 71
  6. โ†‘ Gelfand 1961

References

Template:Calculus topics