Linear function: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Dylan Hackworth1
Reverted 1 edit by 2803:C800:4048:87DC:51A8:F9F3:E108:4B26 (talk): This is english Wikipedia, not spanish
imported>Fgnievinski
 
Line 1: Line 1:
{{short description|Linear map or polynomial function of degree one}}
{{short description|Linear map or polynomial function of degree one}}
{{for|the use of the term in calculus|Linear function (calculus)}}
{{Distinguish|Linear functional}}
 
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>
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>
* In [[calculus]] and related areas, a linear function is a [[function (mathematics)|function]] whose [[graph of a function|graph]] is a [[straight line]], that is, a [[polynomial function]] of [[polynomial degree|degree]] zero or one.<ref>Stewart 2012, p. 23</ref> For distinguishing such a linear function from the other concept, the term ''[[affine function]]'' is often used.<ref>{{cite book|author=A. Kurosh|title=Higher Algebra|year=1975|publisher=Mir Publishers|page=214}}</ref>
* In [[calculus]] and related areas, a [[Linear function (calculus)|''linear function'']] is a [[function (mathematics)|function]] whose [[graph of a function|graph]] is a [[straight line]], that is, a [[polynomial function]] of [[polynomial degree|degree]] zero (a constant polynomial) or one (a linear polynomial).<ref>Stewart 2012, p. 23</ref> For distinguishing such a linear function from the other concept, the term ''[[affine function]]'' is often used.<ref>{{cite book|author=A. Kurosh|title=Higher Algebra|year=1975|publisher=Mir Publishers|page=214}}</ref>
* In [[linear algebra]], [[mathematical analysis]],<ref>{{cite book|author=T. M. Apostol|title=Mathematical Analysis|year=1981|publisher=Addison-Wesley|page=345}}</ref> and [[functional analysis]], a linear function is a [[linear map]].<ref>Shores 2007, p. 71</ref>
* In [[linear algebra]], [[mathematical analysis]],<ref>{{cite book|author=T. M. Apostol|title=Mathematical Analysis|year=1981|publisher=Addison-Wesley|page=345}}</ref> and [[functional analysis]], a ''[[linear function (linear algebra)|linear function]]'' is a kind of function between [[vector space]]s.<ref>Shores 2007, p. 71</ref>


== As a polynomial function ==
== As a polynomial function ==
Line 9: Line 10:
[[File:Linear Function Graph.svg|thumb|Graphs of two linear functions.]]
[[File:Linear Function Graph.svg|thumb|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).
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 (mathematics)|variable]], it is of the form
When the function is of only one [[variable (mathematics)|variable]], it is of the form
Line 25: Line 26:
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.
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 function|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 map]]s.
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 function|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 map]]s.


== As a linear map ==
== As a linear map ==
{{main article|Linear map}}
{{main article|Linear map}}
[[File:Integral as region under curve.svg|thumb|The [[integral]] of a function is a linear map from the vector space of integrable functions to the real numbers.]]
[[File:Integral as region under curve.svg|thumb|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'' between two [[vector space]]s such that
In linear algebra, a linear function is a map <math>f</math> from a [[vector space]] <math>\mathbf{V}</math> to a vector space <math>\mathbf{W}</math> (Both spaces are not necessarily different.) over a same [[Field (mathematics)|field]] {{math|''K''}} such that
:<math>f(\mathbf{x} + \mathbf{y}) = f(\mathbf{x}) + f(\mathbf{y}) </math>
:<math>f(\mathbf{x} + \mathbf{y}) = f(\mathbf{x}) + f(\mathbf{y}) </math>
:<math>f(a\mathbf{x}) = af(\mathbf{x}). </math>
:<math>f(a\mathbf{x}) = af(\mathbf{x}). </math>
Here {{math|''a''}} denotes a constant belonging to some [[field (mathematics)|field]] {{math|''K''}} of [[Scalar (mathematics)|scalar]]s (for example, the [[real number]]s) and {{math|'''x'''}} and {{math|'''y'''}} are elements of a [[vector space]], which might be {{math|''K''}} itself.
Here {{math|''a''}} denotes a constant belonging to the field {{math|''K''}} of [[Scalar (mathematics)|scalar]]s (for example, the [[real number]]s), and {{math|'''x'''}} and {{math|'''y'''}} are elements of <math>\mathbf{V}</math>, which might be {{math|''K''}} itself. Even if the same symbol <math>+</math> is used, the operation of addition between {{math|'''x'''}} and {{math|'''y'''}} (belonging to <math>\mathbf{V}</math>) is not necessarily same to the operation of addition between <math>f\left( \mathbf{x} \right)</math> and <math>f\left( \mathbf{y} \right)</math> (belonging to <math>\mathbf{W}</math>).


In other terms the linear function preserves [[vector addition]] and [[scalar multiplication]].
In other terms the linear function preserves [[vector addition]] and [[scalar multiplication]].

Latest revision as of 03:30, 18 December 2025

Template:Short description Script error: No such module "Distinguish".

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

As a polynomial function

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

Template:Main article

File:Integral as region under curve.svg
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 KScript error: No such module "Check for unknown parameters". such that

f(𝐱+𝐲)=f(𝐱)+f(𝐲)
f(a𝐱)=af(𝐱).

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

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. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Shores 2007, p. 71
  6. Gelfand 1961

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

Template:Calculus topics