Linear function

Revision as of 04:16, 25 February 2025 by imported>Citation bot (Altered isbn. Upgrade ISBN10 to 13. | Use this bot. Report bugs. | Suggested by Dominic3203 | Linked from User:Mathbot/Most_linked_math_articles | #UCB_webform_linked 1274/1913)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Template:Short description Template:For In mathematics, the term linear function refers to two distinct but related notions:<ref>"The term linear function means a linear form in some textbooks and an affine function in others." Vaserstein 2006, p. 50-1</ref>

As a polynomial functionEdit

Template:Main article

File:Linear Function Graph.svg
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 not being considered to have degree zero).

When the function is of only one variable, it is of the form

<math>f(x)=ax+b,</math>

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 <math>f(x_1, \ldots, x_k)</math> of any finite number of variables, the general formula is

<math>f(x_1, \ldots, x_k) = b + a_1 x_1 + \cdots + a_k x_k ,</math>

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

Template:Main article

File:Integral as region under curve.svg
The integral of a function is a linear map from the vector space of integrable functions to the real numbers.

In linear algebra, a linear function is a map f between two vector spaces such that

<math>f(\mathbf{x} + \mathbf{y}) = f(\mathbf{x}) + f(\mathbf{y}) </math>
<math>f(a\mathbf{x}) = af(\mathbf{x}). </math>

Here Template:Math denotes a constant belonging to some field Template:Math of scalars (for example, the real numbers) and Template:Math and Template:Math are elements of a vector space, which might be Template:Math itself.

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;<ref>Gelfand 1961</ref> 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 alsoEdit

NotesEdit

<references/>

ReferencesEdit

Template:Calculus topics