Linear function (calculus): Difference between revisions

Content deleted Content added
Space in reference
Line 5:
== Properties ==
A linear function is a [[polynomial function]] in which the variable {{mvar|x}} has degree at most one, which means it is of the form
:{{math|1=<nowiki>f(x)=ax+b</nowiki>}}.<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}}, {{math|''f''(''x'')}}), is a line, which is why this type of [[Function (mathematics)|function]] is called ''linear''. Some authors, for various reasons, also require that the coefficient of the variable (the {{mvar|a}} in {{mvar|ax + b}}) should not be zero.<ref>{{harvnb|Swokowski|1983|loc=p. 34}} is but one of many well known references that could be cited.</ref> This requirement can also be expressed by saying that the degree of the polynomial defining the function is exactly one, or by saying that the line which is the graph of a linear function is a ''slanted'' line (neither vertical nor horizontal). This requirement will not be imposed in this article, thus constant functions, {{math|1=<nowiki>f(x) = b</nowiki>}}, will be considered to be linear functions (their graphs are horizontal lines).
 
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}}.
Line 14:
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 [[zero of a function|zero]] or root. That is, there is exactly one solution to the equation {{math|1=''ax'' + ''b''<nowiki> = 0</nowiki>}}. The zero is {{math|1=''x''<nowiki> =</nowiki>}}&nbsp;{{sfrac|−''b''|''a''}}.
 
==Slope==
[[File:Slope picture.svg|thumb|right|100px|The slope of a line is the ratio between a change in ''x'', denoted &Delta;''x'', and the corresponding change in ''y'', denoted &Delta;''y'']]
The [[slope (mathematics)|slope]] of a nonvertical line is a number that measures how steeply the line is slanted. The [[first derivative]] of a linear function, in the sense of calculus, is exactly this slope of the graph of the function. For {{math|1=<nowiki>f(x) = ax + b</nowiki>}}, this slope and derivative is given by the constant {{math|1=a}}. Linear functions can be characterized as the only real-valued functions that are defined on the entire real line and have a constant derivative.
 
==Relationship with linear equations==
Line 24:
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.
 
The [[equation]] {{math|1=''y''<nowiki> = </nowiki>''ax'' + ''b''}} is referred to as the slope-intercept form of a [[linear equation]]. In this 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|1=<nowiki>f(x) = ax + b</nowiki>}}, in other words {{math|1=<nowiki>y = f(x)</nowiki>}} for this particular linear function&nbsp;{{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 {{math|''f''(''x'')}}, that is, setting {{math|1=<nowiki>y = f(x) = ax + b</nowiki>}} 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 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|1=<nowiki>f(x+1) = f(x) +a</nowiki>}} when {{math|1=<nowiki>f(x) = ax + b</nowiki>}}.
 
For example, the slope-intercept form {{math|1=<nowiki>y=-2x+4</nowiki>}} has {{math|1=''a''<nowiki> = −2</nowiki>}} and {{math|1=''b''<nowiki> = 4</nowiki>}}. The point {{math|1=(0, ''b''<nowiki>) = (0, 4)</nowiki>}} 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''<nowiki> = −2</nowiki>}} 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|1=<nowiki>Ax+By=C</nowiki>}}.</math>
has {{math|B &ne; 0}}, then it may be solved for the variable {{mvar|y}} and thus used to define a linear function, namely, {{math|1=<nowiki>y = &minus;</nowiki>−({{sfrac|A|B}})x + ({{sfrac|C|B}}<nowiki>) = f(x)</nowiki>}}. While all lines have equations in the general form, only the non-vertical lines have equations which can give rise to linear functions.
 
== Relationship with other classes of functions ==
Line 48:
== References ==
* James Stewart (2012), ''Calculus: Early Transcendentals'', edition 7E, Brooks/Cole. ISBN 978-0-538-49790-9
* {{citation|first=Earl W.|last=Swokowski|title=Calculus with analytic geometry|edition=Alternate|year=1983|publisher=Prindle, Weber &amp; Schmidt|place= Boston|isbn=0871503417}}
 
== External links ==