Content deleted Content added
Rm spurious "independent" and "dependent" (see talk page). Much edit work is yet needed to make the terminology coherent with the usual one |
Incnis Mrsi (talk | contribs) see the talk page |
||
Line 1:
{{confuse|linear map}}
In [[calculus]] and related areas of mathematics, a '''linear function''' from the real numbers to the real numbers is a function whose graph is a [[line (geometry)|line]] in the plane.<ref>Stewart 2012, p. 23</ref>
== Properties of linear functions ==
[[Image:wiki_linear_function.png|thumb|right|Graph of the linear function: {{math|1=''y''(''x'') = −''x'' + 2}}]]<!-- people, find an SVG image please instead of this abomination -->
A linear function is a [[polynomial function]] in which the variable {{mvar|x}} has degree at most one, i.e. <math>f(x)=ax+b</math>.<ref>Stewart 2012, p. 24</ref> Here {{mvar|x}} is the variable. The [[graph of a function|graph]] of a linear function, that is, the set of all points whose coordinates have the form ({{mvar|x}}, {{
The [[Domain_of_a_function|___domain]] or set of allowed values for {{mvar|x}} of a linear function is the entire set of [[real number]]s {{math|'''R'''}}, or whatever [[field (mathematics)|field]] that is in use. This means that any (real) number can be substituted for {{mvar|x}}.
The [[graph of a function|graph]] of a linear function is a [[line (geometry)|line]] on the [[Cartesian plain]] (if over real numbers). Because two different points determine a line, it is enough to substitute two different values for {{mvar|x}} in the linear function and determine {{
Since the graph of a linear function is a nonvertical line, this line has exactly one intersection point with the {{mvar|y}}-axis. This point is {{math|(0, ''b'')}}.
A the graph of a nonconstant linear function has exactly one intersection point with the {{mvar|x}}-axis. This point is {{math|({{sfrac|−''b''|''a''}}, 0)}}. From this, it follows that a nonconstant linear function has exactly one [[
The points on a line have coordinates which can also be thought of as the solutions of [[linear equation]]s in two variables (the equation of the line). These solution sets define functions which are linear functions. This connection between linear equations and linear functions provides the most common way to produce linear functions.
== Linear function and linear equation ==
[[Image: wiki_linearna_funkcija_eks1.png|thumb||right]]<!-- are PNG and a translit from
If the linear function {{mvar|f}} is given, the linear equation of the graph of this function is obtained by ''defining'' the variable {{mvar|y}} to be the functional value {{
▲[[Image: wiki_linearna_funkcija_eks1.png|thumb||right]]<!-- are PNG and a translit from Ukrainian necessary? -->
The constant {{mvar|b}} is the so-called {{mvar|y}}-intercept. It is the {{mvar|y}}-value at which the line intersects the {{mvar|y}}-axis. The coefficient {{mvar|a}} is the [[slope]] of the line. This measures of the rate of change of the linear function associated with the line. Since {{mvar|a}} is a constant, this rate of change is constant. Moving from any point on the line to the right by one unit (that is, increasing {{mvar|x}} by 1), the {{mvar|y}}-value of the point's coordinate changes by {{mvar|a}}. This is expressed functionally by the statement that <math>f(x+1) = f(x) +a</math> when <math>f(x) = ax + b</math>.▼
▲In the slope-intercept form, the variable is {{mvar|x}}, and {{mvar|y}}, is the value of the function. It also has two coefficients, {{mvar|a}} and {{mvar|b}}. In this instance, the fact that the values of {{mvar|y}} depend on the values of {{mvar|x}} is an expression of the functional relationship between them. To be very explicit, the linear equation is expressing the equality of values of the dependent variable {{mvar|y}} with the functional values of the linear function <math>f(x) = ax + b</math>, in other words <math>y = f(x)</math> for this particular linear function {{mvar|f}}.
▲If the linear function {{mvar|f}} is given, the linear equation of the graph of this function is obtained by ''defining'' the variable {{mvar|y}} to be the functional value {{mvar|f(x)}}, that is, setting <math>y = f(x) = ax + b</math> and suppressing the functional notation in the middle. Starting with a linear equation, one can create linear functions, but this is a more subtle operation and must be done with care. Why this is so is not immediately apparent when the linear equation has the slope-intercept form, so this discussion will be postponed. For the moment observe that if the linear equation has the slope-intercept form, then the expression that the dependent variable {{mvar|y}} is equal to is the linear function whose graph is the line satisfying the linear equation.
▲The coefficient {{mvar|a}} is the [[slope]] of the line. This measures of the rate of change of the linear function associated with the line. Since {{mvar|a}} is a constant, this rate of change is constant. Moving from any point on the line to the right by one unit (that is, increasing {{mvar|x}} by 1), the {{mvar|y}}-value of the point's coordinate changes by {{mvar|a}}. This is expressed functionally by the statement that <math>f(x+1) = f(x) +a</math> when <math>f(x) = ax + b</math>.
For example, the slope-intercept form <math> y=-2x+4 </math> has {{math|1=''a'' = −2}} and {{math|1=''b'' = 4}}. The point {{math|1=(0, ''b'') = (0, 4)}} is the intersection of the line and the {{mvar|y}}-axis, the point {{math|1=({{sfrac|−''b''|''a''}}, 0)}} = ({{sfrac|−4|−2}}, 0) = (2, 0) is the intersection of the line and the {{mvar|x}}-axis, and {{math|1=''a'' = −2}} is the slope of the line. For every step to the right ({{mvar|x}} increases by 1), the value of {{mvar|y}} changes by −2 (goes down).
[[Image: wiki_linearna_funkcija_stand1.png|180px|right]]
If the linear equation in the general form
: <math> Ax+By=C. </math>
== Notes ==
|