Linear function (The line here is generic. It is slanted so m≠0. See examples with actual values for m and b below.)

In basic mathematics, a linear function is a function whose graph is a straight line in 2-dimensions (2D, see images).[1] An example is: y=2x–1. In higher mathematics, a linear function often refers to a linear mapping.[2][3]

Basic Properties

Formally, a linear function is a function f(x):RR such that the graph of f is a line. This means the domain or input of f is a real number R and the range or output of f is also a real number R. Usually we write y(x) or just y in place of f(x). So the formal statement means:

There are three main forms for writing linear functions: slope-intercept, standard and parametric.

Slope-intercept form of a line (unique)

Slope-intercept form

The slope-intercept (also called point-slope or explicit) form of a linear function is    or   . This form has 2 variables x and у and 2 constants m and b.



Example: y=–2x+4. The slope is m= –2 and the y-intercept is b=4 or the point (0,4). Substituting y=0 and solving for x, we get 0=–2x+4 or x=2. So x=2 is the root of this linear function and the point (2,0) is the x-intercept. Since the slope is m = –2, the line is decreasing. Since |–2|=2>1, the decrease is relatively steep. For each change in х of 1 (to the right), the value of у changes -2 (goes down).


Example: y=–2x+4. Substituting x=0 we get y=4 (this is the y-intercept) and thus the point (0,4). Substituting x=1, we get y=2 and thus the point (1,2). Plot these points and draw the line. (Notice that the 2nd point is 1 to the right and 2 down from the 1st point. As we said in the above example, this happens because the slope is m= –2)


Example: y= –x+2. Suppose y= –1. We substitute y= –1 and get: –1= –'x+2 or x=3. This is the only solution. We can do this for any y-value.

Standard form of a line (non-unique). The unique slope-intercept form is y=1.5x–0.5

Standard form

   .

Example: The linear function 3x–2y=1 is in standard form. The constants are A=3, B=–2 and C=1.

Example: The lines 3x–2y=1 and 6x–4y=2 are coincident (same line). Here the factor is: k=2. We multiplied the first equation by 2 to get the second equation. The unique slope-intercept form of this line is: y=1.5x–0.5 (solve either equation for y).

Vector-parametric form of a line (non-unique). The unique slope-intercept form is y=1.5x+2.5

Vector-Parametric form

Parametric form:    or

Vector form:  or   .[7]

Example: X=(–1,1)+t(2,3), t∈R is a line in vector form. Here: a1=2, a2=3, x1=–1 and x2=1. The line goes through the points (x1,y1)=(–1,1) and (x1+a1,y1+a2)=(1,4). The corresponding parametric form of this line is: x(t)= –1+2t, y(t)=1+3t. The unique slope-intercept form of this line is: y(x)=1.5x+2.5   (solve the first equation for t and substitute this result into the second equation).

Example: X=(–1,1,2)+t(2,3,–1), t∈R is a line in 3-dimensional space. The line goes through the points (–1,1,2) and (1,4,1).

Derivative of a linear function

In the context where it is defined, the derivative of a function is a measure of the rate of change of function values with respect to change in input values. A linear function has a constant rate of change. This rate of change is the slope m. So m is the derivative.[8] This is often written:

Example: y= –2x+4. Here m= –2 and so y′= –2.

Linear function vs. Linear equation

Often, the terms linear equation and linear function are confused. Both are polynomials. However, the word linear in linear equation means that all terms with variables are first degree.[9][10] (The word linear in linear function means the graph is a line.) A linear equation can have 1, 2, 3, or more variables. So a linear equation is a linear function only if it has exactly 2 variables. (A linear equation in one variable is a point on the number line and a linear equation in 3 variables is a plane in 3-dimensional space.)

Notation

Many countries and disciplines use different letters and ordering for the different forms.

In many countries, a linear functions is often written as where a is the slope and b is the y-intercept.

In business and economics, a linear function is often written as where a is the y-intercept and b is the slope.[11]

Related pages

References

  1. Gelfand, I.M.; Glagoleva, E.G.; Shnol, E.E. (1990). Functions and Graphs. Dover Publications. p. 22. ISBN 978-0-486-31713-7. (in English)
  2. Sloughter, Dan (2001). "The Calculus of Functions of Several Variables, Linear and Affine Functions" (PDF). Retrieved 1 February 2014.
  3. Rowland, Todd. "Linear function (mathematics)". From MathWorld--A Wolfram Web Resource. Retrieved 1 January 2014.
  4. Lipschutz, Seymour; Schiller, John J.; Srinivasan, R.Alu (2005). Theory and Problems of Beginning Finite Mathematics. McGraw-Hill, Schaum's Outline Series. p. 9. ISBN 978-0-07-138897-9. (in English)
  5. 5.0 5.1 Beecher, Judith A.; Penna, Judith A.; Bittinger, Marvin L. (2007). Algebra and Trigonometry. Pearson-Addison Wesley. p. 92. ISBN 978-0-321-46620-4. (in English)
  6. Clapham, C.; Nicholson, J. (2009). "Oxford Concise Dictionary of Mathematics, Linear function" (PDF). Addison-Wesley. p. 480. Retrieved 1 February 2013. (in English)
  7. Dawkins, Paul (2007). "Calculus III". Lamar University. p. 224. Retrieved 1 January 2014.
  8. Dawkins, Paul (2007). "Derivative Proofs". Lamar University. Retrieved 1 January 2014.
  9. Tanton, James (2005). Encyclopedia of Mathematics. Facts on File, New York. pp. 314, 315. ISBN 978-0-8160-5124-3. (in English)
  10. Carrell, James (2005). "Fundamentals of Linear Algebra" (PDF). p. 15. Archived from the original (PDF) on 29 March 2013. Retrieved 1 January 2014.
  11. Francis, Andy (2004). Business Mathematics and Statistics. Cengage Learning EMEA. p. 166. ISBN 978-1-84480-128-2. (in English)