Linear function (calculus): Difference between revisions

Content deleted Content added
Lfahlberg (talk | contribs)
m Minor edit to correct typos, move the footnote into the definition and change all first person to third person.
Properties: the text was not clear in my opinion. I added "not" hoping now it is more clear.
 
(117 intermediate revisions by 42 users not shown)
Line 1:
{{db-a10Short description|article=LinearPolynomial function of degree at most one}}
{{Distinguish|linear functional|linear map}}
<p>Definition: In mainstream mathematics, a <strong>linear function</strong> is a [[Function_(mathematics)|function]] whose graph is a slanted line in the plane.</p>
{{incomplete|the case of multivariate functions and vector valued functions, which must be considered, as this article is linked to from [[Jacobian matrix]]|date=February 2020}}
<p>&nbsp;&nbsp;&nbsp;<small>In advanced mathematics, a [[linear mapping]] is sometimes referred to as a linear function, but this is not the mainstream definition. A linear function as defined here is not a linear mapping.</small></p>
[[Image:wiki linear function.png|thumb|right|Graph of the linear function: <math>y(x) = -x + 2</math>]]
<p>It should be noted that a horizontal line is usually not considered to be linear function, but is just called a <em>constant function</em> and a vertical line is not a function since it does not pass the [[Vertical_line_test|vertical line test]].</p>
In [[calculus]] and related areas of mathematics, a '''linear function''' from the [[real number]]s to the real numbers is a function whose graph (in [[Cartesian coordinates]]) is a non-vertical [[line (geometry)|line]] in the plane.{{sfn|Stewart|2012|p=23}}
The characteristic property of linear functions is that when the input variable is changed, the change in the output is [[Proportionality (mathematics)|proportional]] to the change in the input.
 
Linear functions are related to [[linear equation]]s.
 
<h1>== Properties of Linear Functions</h1>==
A linear function is a [[polynomial function]] in which the [[variable (mathematics)|variable]] {{mvar|x}} has degree at most one:{{sfn|Stewart|2012|p=24}}
:<math>f(x)=ax+b</math>.
Such a function is called ''linear'' because its [[graph of a function|graph]], the set of all points <math>(x,f(x))</math> in the [[Cartesian plane]], is a [[line (geometry)|line]]. The coefficient ''a'' is called the ''slope'' of the function and of the line (see below).
If the slope is <math>a=0</math>, this is a ''constant function'' <math>f(x)=b</math> defining a horizontal line, which some authors exclude from the class of linear functions.{{sfn|Swokowski|1983|loc=p. 34}} With this definition, the degree of a linear polynomial would be exactly one, and its graph would be a line that is neither vertical nor horizontal. However, in this article, <math>a\neq 0</math> is not required, so constant functions will be considered linear.
 
If <math>b=0</math> then the linear function is said to be ''homogeneous''. Such function defines a line that passes through the origin of the coordinate system, that is, the point <math>(x,y)=(0,0)</math>. In advanced mathematics texts, the term ''linear function'' often denotes specifically homogeneous linear functions, while the term [[affine function]] is used for the general case, which includes <math>b\neq0</math>.
<table border="0" cellspacing="5" width="850px">
<tr><td rowspan="2">
<ul>
<li>A linear function is a [[polynomial]] function of first degree with one independent variable <em>х</em>, i.e. <br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <math>y(x)=ax+b</math> &nbsp;&nbsp;(In the USA, the coefficient letter <em>a</em> is usually replaced by <em>m</em>.)
<ul>
<li>To use the function or graph the line, the coefficient letters <em>a</em> and <em>b</em> must be given as actual real numbers. For example: <math>y(x)=2x-1</math>. Here <em>a</em>=2 and <em>b</em>=-1.</li>
<li>In the function, <em>x</em> is the independent variable and <em>y</em> is the dependent variable.</li>
<li>The [[Domain_of_a_function|___domain]] or set of allowed values for <em>x</em> of a linear function is &nbsp;<math>\Re</math>&nbsp; (all real numbers). This means that any real number can be substituted for <em>x</em>. (Of course, the value of <em>y</em> depends on the substituted value for x.)</li>
<li>The set of all points: (<em>x</em>,<em>y</em>(<em>x</em>)) is the line.</li>
<li>Since two points determine a line, it is enough to substitute two different values for <em>x</em> in the linear function and determine <em>y</em> for each of these values (see videos below).</li>
</ul>
</li>
</ul></td>
<td align="center" style="border: 1px solid #444444;">[[Image: wiki_linear_function.png|160px]]</td></tr>
<tr><td align="center">
<strong>Graph of the linear function: <em>y</em>(<em>x</em>)=-<em>x</em>+2</strong>
</td></tr><tr><td colspan="2">
<ul>
<li>Because the graph of a linear function is a slanted line:
<ul>
<li>A linear function has exactly one intersection point with the <em>у</em>-axis. This point is (0,<em>b</em>).</li>
<li>A linear function has exactly one intersection point with the <em>х</em>-axis. This point is ({{Fraction|-b|a}},0). </li>
<li>From this, it follows that a linear function has exactly one [[Zero_of_a_function|zero]] or root. That is, there is exactly one solution to the equation <em>a</em><em>x</em>+<em>b</em>=0. <br /> The zero is <em>x</em>={{Fraction|-b|a}}.</li>
</ul>
</li>
<li>There are three standard forms for linear functions.
<ul>
<li>[[#General Form|General form]]</li>
<li>[[#Slope-Intercept Form|Slope-intercept form]]</li>
<li>[[#Vector-Parametric Form|Vector-parametric form]]</li>
</ul>
</li>
<li>Quite often the term <em>[[linear equation]]</em> is used interchangably with <em>linear function</em>. While a linear function in general form is indeed a linear equation, the opposite is definitely not true.</li>
</ul>
</td></tr>
</table>
 
The natural [[Domain of a function|___domain]] of a linear function <math>f(x)</math>, the set of allowed input values for {{math|''x''}}, is the entire set of [[real number]]s, <math>x\in \mathbb R.</math> One can also consider such functions with {{math|''x''}} in an arbitrary [[field (mathematics)|field]], taking the coefficients {{math|''a, b''}} in that field.
 
The graph <math>y=f(x)=ax+b</math> is a non-vertical line having exactly one intersection with the {{math|''y''}}-axis, its {{math|''y''}}-intercept point <math>(x,y)=(0,b).</math> The {{math|''y''}}-intercept value <math>y=f(0)=b</math> is also called the ''initial value'' of <math>f(x).</math> If <math>a\neq 0,</math> the graph is a non-horizontal line having exactly one intersection with the {{math|''x''}}-axis, the {{math|''x''}}-intercept point <math>(x,y)=(-\tfrac ba,0).</math> The {{math|''x''}}-intercept value <math>x=-\tfrac ba,</math> the solution of the equation <math>f(x)=0,</math> is also called the ''root'' or [[zero of a function|''zero'']] of <math>f(x).</math>
 
==Slope==
<h1>General Form</h1>
[[File:Slope picture.svg|thumb|right|128px|The slope of a line is the ratio <math>\tfrac{\Delta y}{\Delta x}</math> between a change in {{mvar|x}}, denoted <math>\Delta x</math>, and the corresponding change in {{mvar|y}}, denoted <math>\Delta y</math>]]
<div style="margin-left:15px">
The [[slope (mathematics)|slope]] of a nonvertical line is a number that measures how steeply the line is slanted (rise-over-run). If the line is the graph of the linear function <math>f(x) = ax + b</math>, this slope is given by the constant {{mvar|a}}.
<p><math> Ax+By=C </math> &nbsp;&nbsp;&nbsp; <big>where</big> &nbsp;&nbsp; <math> A \ne 0 </math> &nbsp;and&nbsp; <math> B \ne 0 </math>.</p>
</div>
 
The slope measures the constant rate of change of <math>f(x)</math> per unit change in ''x'': whenever the input {{mvar|x}} is increased by one unit, the output changes by {{mvar|a}} units: <math>f(x{+}1)=f(x)+a</math>, and more generally <math>f(x{+}\Delta x)=f(x)+a\Delta x</math> for any number <math>\Delta x</math>. If the slope is positive, <math>a > 0</math>, then the function <math>f(x)</math> is increasing; if <math>a < 0</math>, then <math>f(x)</math> is decreasing
<p style=" font-size:1.2em; font-weight:bold">Properties of the general form</p>
<ul>
<li>The general form has 2 variables <em>x</em> and <em>у</em> and 3 coefficient letters A, B, and C. </li>
<li>To use the function or graph the line, the coefficient letters <em>A</em>, <em>B</em> and <em>C</em> must be given as actual real numbers: 3<em>x</em>-2<em>y</em>=1. Here <em>A</em>=2, <em>B</em>=-2 and <em>C</em>=1. </li>
<li>This form is not unique. If one multiplies <em>A</em>, <em>B</em> and <em>C</em> by a factor <em>k</em>, the coefficients change, but the line remains the same.
<ul>
<li>Example: For <em>k</em>=3, it follows that (e.g.) 3<em>x</em>-2<em>y</em>=1 and 9<em>x</em>-6<em>y</em>=3 are the same line. </li>
<li>Example: For <em>k</em>={{Fraction|-1|&pi;}}, it follows that -3&pi;<em>x</em>+2&pi;<em>y</em>+&pi;=0 and 3<em>x</em>-2<em>y</em>=1 are the same line. </li>
</ul>
</li>
<li>This general form is used mainly in geometry and in systems of two linear equations in two unknowns.</li>
<li>The general form of a line is a [[linear equation]]; the opposite is not necessarily true. </li>
</ul>
 
In [[differential calculus|calculus]], the derivative of a general function measures its rate of change. A linear function <math>f(x)=ax+b</math> has a constant rate of change equal to its slope {{mvar|a}}, so its derivative is the constant function <math>f\,'(x)=a</math>.
----
<table border="0" cellspacing="5" width="850" >
<tr><td valign="top">Example: 3<em>x</em>-2<em>y</em>=1 and 6<em>x</em>-4<em>y</em>=2 are the same linear function, i.e. their graph is the same line.
<ul>
<li>In the first equation the coefficients are: A=3, B=-2 and C=1.</li>
<li>In the second equation the coefficients are: A=6, B=-4 and C=2.</li>
<li>Notice that the second coefficients are all twice the first equations. This means the factor is <em>k</em>=2.</li>
<li><strong>Further</strong>, solving both of these equations for <em>y</em> gives the same slope-intercept form of this line.<br />
&nbsp;&nbsp;&nbsp;<big><em>y</em>=1,5<em>x</em>-0,5</big></li>
</ul>
 
The fundamental idea of differential calculus is that any [[differentiable function|smooth]] function <math>f(x)</math> (not necessarily linear) can be closely [[linear approximation|approximated]] near a given point <math>x=c</math> by a unique linear function. The [[derivative]] <math>f\,'(c)</math> is the slope of this linear function, and the approximation is: <math>f(x) \approx f\,'(c)(x{-}c)+f(c)</math> for <math>x\approx c</math>. The graph of the linear approximation is the [[tangent line]] of the graph <math>y=f(x)</math> at the point <math>(c,f(c))</math>. The derivative slope <math>f\,'(c)</math> generally varies with the point ''c''. Linear functions can be characterized as the only real functions whose derivative is constant: if <math>f\,'(x)=a</math> for all ''x'', then <math>f(x)=ax+b</math> for <math>b=f(0)</math>.
</td><td>
<p align="center">[[Image: wiki_linearna_funkcija_stand1.png|180px ]]</p></td></tr></table>
 
==Slope-intercept, point-slope, and two-point forms==
A given linear function <math>f(x)</math> can be written in several standard formulas displaying its various properties. The simplest is the ''slope-intercept form'':
:<math>f(x)= ax+b</math>,
from which one can immediately see the slope ''a'' and the initial value <math>f(0)=b</math>, which is the ''y''-intercept of the graph <math>y=f(x)</math>.
 
Given a slope ''a'' and one known value <math>f(x_0)=y_0</math>, we write the ''point-slope form'':
<h1>Slope-Intercept Form</h1>
:<math>f(x) = a(x{-}x_0)+y_0</math>.
<div style="margin-left:15px">
<p>In graphical terms, this gives the line <math> y=f(x)=ax+b </math> &nbsp;<big>or</big>&nbsp;with <math>slope y=ax+b''a'' </math>&nbsp;&nbsp;passing <big>where</big>through the &nbsp;&nbsp;point <math>{ a \ne 0} (x_0,y_0)</math>.</p>
</div>
 
The ''two-point form'' starts with two known values <math>f(x_0)=y_0</math> and <math>f(x_1)=y_1</math>. One computes the slope <math>a=\tfrac{y_1-y_0}{x_1-x_0}</math> and inserts this into the point-slope form:
<p style=" font-size:1.2em; font-weight:bold">Properties of the Slope-Intercept Form</p>
:<math>f(x) = \tfrac{y_1-y_0}{x_1-x_0}(x{-}x_0\!) + y_0</math>.
<ul>
Its graph <math>y=f(x)</math> is the unique line passing through the points <math>(x_0,y_0\!), (x_1,y_1\!)</math>. The equation <math>y=f(x)</math> may also be written to emphasize the constant slope:
<li>The slope-intercept form is also called the <em>explicit form</em> because it defines <em>y</em>(<em>x</em>) explicitly (directly) in terms of <em>x</em>.</li>
:<math>\frac{y-y_0}{x-x_0}=\frac{y_1-y_0}{x_1-x_0}</math>.
<li>The slope-intercept form has 2 variables <em>x</em> and <em>у</em> and 2 coefficient letters <em>а</em> and <em>b</em>. </li>
<li>To use the function or graph the line, the coefficient letters must be written as actual real numbers. For example: <em>y</em>(<em>х</em>)=-2<em>х</em>+4 </li>
<li>The slope-intercept form is unique. That is, if the value of either or both of the coefficient letters <em>a</em> and <em>b</em> are changes, the result is a different line!</li>
<li>Every linear function can be written uniquely in slope-intercept form.</li>
<li>Intercepts (intersections of the line with the axes)
<ul>
<li>The constant <em>b</em> is the so-called <strong><em>у</em>-intercept</strong>. It is the <em>y</em>-value at which the line intersects the <em>y</em>-axis. This is because the <em>y</em>-axis is the line where <em>x</em>=0. Substituting <em>x</em>=0 into the linear function <em>y</em>(<em>x</em>)=<em>a</em><em>x</em>+<em>b</em>, it follows that: <em>y</em>(0)=<em>a</em>•0+<em>b</em>=<em>b</em>. This means that the point (0,b) is both a point on the line and a point on the <em>y</em>-axis. So it is <em>the</em> point where the line intersects the <em>y</em>-axis.</li>
<li>The number {{Fraction|-b|а}} is the [[http://en.wikipedia.org/wiki/Zero_of_a_function root]] or [[http://en.wikipedia.org/wiki/Zero_of_a_function zero]] of the function. It is the <em>x</em>-value at which the line intersects the <em>x</em>-axis. This is because the <em>x</em>-axis is the line where <em>y</em>=0. Substituting <em>y</em>=0 into the linear function and solving (backwards) for <em>x</em>, it follows that: <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0=<em>a</em>•<em>x</em>+<em>b</em> <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>a</em>•<em>x</em>+<em>b</em>=0 <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>a</em>•<em>x</em> = -<em>b</em> <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>x</em>={{Fraction|-b|a}} <br />
This means that the point ({{Fraction|-b|a}},0) is both a point on the line and a point on the <em>x</em>-axis. So it is <em>the</em> point where the line intersects the <em>x</em>-axis. </li>
</ul></li></ul></li>
<li>The coefficient <em>а</em> is the so-called <strong>[[slope]]</strong> of the line and is a measure of the rate of change of the linear function. Since <em>a</em> is a number (not a variable), this rate of change is constant. Moving from any point on the line to the right by 1 (that is, increasing <em>x</em> by 1), the <em>y</em>-value of the function changes by <em>a</em>. See [[slope]].</li>
</ul>
 
==Relationship with linear equations==
----
[[Image:wiki linearna funkcija eks1.png|thumb|right]]<!-- are PNG and a translit from a foreign language necessary? -->
<div style="margin-left:15px">
Linear functions commonly arise from practical problems involving variables <math>x,y</math> with a linear relationship, that is, obeying a [[linear equation]] <math>Ax+By=C</math>. If <math>B\neq 0</math>, one can solve this equation for ''y'', obtaining
<table border="0" cellspacing="5" width="850">
:<math>y = -\tfrac{A}{B}x +\tfrac{C}{B}=ax+b,</math>
<tr><td valign="top">
where we denote <math>a=-\tfrac{A}{B}</math> and <math>b=\tfrac{C}{B}</math>. That is, one may consider ''y'' as a dependent variable (output) obtained from the independent variable (input) ''x'' via a linear function: <math>y = f(x) = ax+b</math>. In the ''xy''-coordinate plane, the possible values of <math>(x,y)</math> form a line, the graph of the function <math>f(x)</math>. If <math>B=0</math> in the original equation, the resulting line <math>x=\tfrac{C}{A}</math> is vertical, and cannot be written as <math>y=f(x)</math>.
Example: <math> y(x)=-2x+4 </math> &nbsp; where <br />&nbsp;
<ul>
<li><big><em>a</em> = -2</big> &nbsp;and&nbsp; <big><em>b</em> = 4</big> <br /> &nbsp;</li>
<li><big>(0,<em>b</em>) = (0,4)</big> is the intersection of the line and the <em>у</em>-axis <br />&nbsp; </li>
<li><big>(</big>{{Fraction|-b|а}}<big>,0) = (</big>{{Fraction|-4|-2}}<big>,0) = (2,0)</big> is the intersection of the line and the <em>х</em>-axis and <br />&nbsp;</li>
<li><big><em>а</em> = -2</big> is the slope of the line. For every step to the right (<em>х</em> increases by 1), the value of <em>у</em> changes by -2 (goes down).</li>
</ul></td>
<td><div align="center">[[Image: wiki_linearna_funkcija_eks1.png|180px]]</div></td></tr></table>
 
The features of the graph <math>y = f(x) = ax+b</math> can be interpreted in terms of the variables ''x'' and ''y''. The ''y''-intercept is the initial value <math>y=f(0)=b</math> at <math>x=0</math>. The slope ''a'' measures the rate of change of the output ''y'' per unit change in the input ''x''. In the graph, moving one unit to the right (increasing ''x'' by 1) moves the ''y''-value up by ''a'': that is, <math>f(x{+}1) = f(x) + a</math>. Negative slope ''a'' indicates a decrease in ''y'' for each increase in ''x''.
 
For example, the linear function <math>y = -2x + 4</math> has slope <math>a=-2</math>, ''y''-intercept point <math>(0,b)=(0,4)</math>, and ''x''-intercept point <math>(2,0)</math>.
<h1>Vector-Parametric Form</h1>
<div style="margin-left:15px">
<p>Parametri: <math>\left\{ {\begin{array}{*{20}{l}} {x(t) = {b_1}+{a_1}t }\\ {y(t) = {b_2}+{a_2}t } \end{array}} \right.</math> &nbsp;&nbsp; or Vector: <math>{{X}} = ({b_1},{b_2}) + t({a_1},{a_2})</math> &nbsp;&nbsp;<big>where</big> &nbsp;&nbsp; <math>{ a_1 \ne 0} </math> &nbsp;and&nbsp; <math>{ a_2 \ne 0} </math>.</p>
</div>
 
===Example===
<p style=" font-size:1.2em; font-weight:bold">Properties of the vector-parametric form</p>
Suppose salami and sausage cost €6 and €3 per kilogram, and we wish to buy €12 worth. How much of each can we purchase? If ''x'' kilograms of salami and ''y'' kilograms of sausage costs a total of €12 then, €6×''x'' + €3×''y'' = €12. Solving for ''y'' gives the point-slope form <math>y = -2x + 4</math>, as above. That is, if we first choose the amount of salami ''x'', the amount of sausage can be computed as a function <math>y = f(x) = -2x + 4</math>. Since salami costs twice as much as sausage, adding one kilo of salami decreases the sausage by 2 kilos: <math>f(x{+}1) = f(x) - 2</math>, and the slope is &minus;2. The ''y''-intercept point <math>(x,y)=(0,4)</math> corresponds to buying only 4&nbsp;kg of sausage; while the ''x''-intercept point <math>(x,y)=(2,0)</math> corresponds to buying only 2&nbsp;kg of salami.
<ul>
<li>Vector-parametric form has 1 [[parameter]] <em>t</em>, 2 variables <em>x</em> and <em>у</em>, and 4 coefficients а<sub>1</sub>, а<sub>2</sub>, b<sub>1</sub>, and b<sub>2</sub>. </li>
<li>The coefficients are not unique, but they are related. </li>
<li>The line passes through the points (b<sub>1</sub>,b<sub>2</sub>) and (b<sub>1</sub>+a<sub>1</sub>,b<sub>2</sub>+a<sub>2</sub>). </li>
<li>The vector-parametric form is used in engineering (it is simple to model the path from one point to another point with <em>t</em>=time).</li>
<li>Engineers tend to use parametric notation and the letter <em>t</em> for the parameter; mathematicians use vector notation and the letter &lambda;.</li>
<li>This form of a linear function can easily be extended to lines in higher dimensions, which is not true of the other forms. </li>
</ul>
 
Note that the graph includes points with negative values of ''x'' or ''y'', which have no meaning in terms of the original variables (unless we imagine selling meat to the butcher). Thus we should restrict our function <math>f(x)</math> to the ___domain <math>0\le x\le 2</math>.
----
<div style="margin-left:15px">
<table border="0" cellspacing="5" width="850px" >
<tr><td valign="top">
Example: <math>{{X}} = ({-1},{1}) + t({2},{3})</math> &nbsp;
<ul>
<li>Here: <big><em>a</em><sub>1</sub> = 2</big> &nbsp;and&nbsp; <big><em>a</em><sub>2</sub> = 3</big> &nbsp;and&nbsp; <big><em>b</em><sub>1</sub> = -1</big> &nbsp;and&nbsp; <big><em>b</em><sub>2</sub> = 1</big> &nbsp;</li>
<li>The line passes through the points> <big>(<em>b</em><sub>1</sub>, <em>b</em><sub>2</sub>)=(-1,1)</big> and <big>(b<sub>1</sub>+a<sub>1</sub>,b<sub>2</sub>+a<sub>2</sub>)=(1,4)</big>&nbsp; <br /> These are the points where <em>t</em>=0 and <em>t</em>=1 (<em>t</em> is not visible on the graph!). </li>
<li>The parametric form of this line is: <math>\left\{ {\begin{array}{*{20}{l}} {x(t) = {-1}+{2}t }\\ {y(t) = {1}+{3}t } \end{array}} \right.</math> <br />&nbsp; </li>
<li>The slope-intercept form of this line is: <em>y</em>(<em>x</em>)=1,5<em>x</em>+2,5 &nbsp; (solve the first parametric equation for <em>t</em> and substitute into the second).</li>
<li>One general form of this line is: -3<em>x</em>+2<em>y</em>=5.</li>
</ul>
</td>
<td><p>[[Image: wiki_linearna_funkcija_par1.png|300px ]]</p></td></tr></table>
</div>
 
Also, we could choose ''y'' as the independent variable, and compute ''x'' by the [[inverse function|inverse]] linear function: <math>x = g(y) = -\tfrac12 y +2</math> over the ___domain <math>0\le y \le 4</math>.
 
== Relationship with other classes of functions ==
 
If the coefficient of the variable is not zero ({{math|''a'' ≠ 0}}), then a linear function is represented by a [[degree of a polynomial|degree]] 1 [[polynomial]] (also called a ''linear polynomial''), otherwise it is a [[constant function]] – also a polynomial function, but of zero degree.
<h1>Video - How to sketch the graph of <em>A</em><em>x</em>+<em>B</em><em>y</em>=<em>C</em></h1>
<div style="margin-left:15px">
<table border="0" cellspacing="5" width="850px" >
<tr><td valign="top" >
<td>
<p>[[Image: wiki_linear_standard_xy_en.ogv ]]</p></td></tr></table>
</div>
 
A straight line, when drawn in a different kind of coordinate system may represent other functions.
 
For example, it may represent an [[exponential growth|exponential function]] when its [[codomain|values]] are expressed in the [[logarithmic scale]]. It means that when {{math|[[logarithm|log]](''g''(''x''))}} is a linear function of {{mvar|x}}, the function {{mvar|g}} is exponential. With linear functions, increasing the input by one unit causes the output to increase by a fixed amount, which is the slope of the graph of the function. With exponential functions, increasing the input by one unit causes the output to increase by a fixed multiple, which is known as the base of the exponential function.
<h1>Video - How to sketch the graph of <em>y</em>(<em>x</em>)=<em>a</em><em>x</em>+<em>b</em></h1>
<div style="margin-left:15px">
<table border="0" cellspacing="5" width="850px" >
<tr><td valign="top" >
<td>
<p>[[Image: wiki_linear_explicit_zoom_out.ogv ]]</p></td></tr></table>
</div>
 
If ''both'' [[___domain of a function|arguments]] and values of a function are in the logarithmic scale (i.e., when {{math|[[logarithm|log]](''y'')}} is a linear function of {{math|[[logarithm|log]](''x'')}}), then the straight line represents a [[power law]]:
:<math>\log_r y = a \log_r x + b \quad\Rightarrow\quad y = r^b\cdot x^a</math>
 
[[File:Archimedean-Spiral.png|thumb|Archimedean spiral defined by the polar equation r = {{frac|1|2}}θ + 2]]
On the other hand, the graph of a linear function in terms of [[polar coordinates]]:
:<math>r =f(\theta ) = a\theta + b</math>
is an [[Archimedean spiral]] if <math>a \neq 0</math> and a [[circle]] otherwise.
 
== See also ==
* [[Affine map]], a generalization
* [[Arithmetic progression]], a linear function of integer argument
 
== Notes ==
<h1>References</h1>
{{Reflist}}
* http://www.columbia.edu/itc/sipa/math/linear.html
* http://www.math.okstate.edu/~noell/ebsm/linear.html
* http://www.corestandards.org/assets/CCSSI_Math%20Standards.pdf#page=55
 
== References ==
* {{citation
| last = Stewart | first = James
| year = 2012
| title = Calculus: Early Transcendentals
| edition = 7E
| publisher = Brooks/Cole
| isbn = 978-0-538-49790-9
}}
* {{citation
| last = Swokowski | first = Earl W.
| year = 1983
| title = Calculus with analytic geometry
| edition = Alternate
| publisher = Prindle, Weber & Schmidt
| place = Boston
| isbn = 0871503417
| url-access = registration
| url = https://archive.org/details/calculuswithanal00swok
}}
 
== External links ==
* https://web.archive.org/web/20130524101825/http://www.math.okstate.edu/~noell/ebsm/linear.html
* https://web.archive.org/web/20180722042342/https://corestandards.org/assets/CCSSI_Math%20Standards.pdf
 
{{Polynomials}}
{{Authority control}}
 
[[Category: MathematicsCalculus]]
[[Category:Polynomial functions]]