Skip to content
Home

Linear function (affine form and linear mapping)

A linear function commonly means a straight-line rule y = mx + b in elementary math; in higher mathematics it denotes a linear map preserving addition and scalar multiplication.

Overview

A linear function is a rule that produces outputs with a constant rate of change relative to its inputs. In elementary algebra a linear function of one variable is usually written y = mx + b, whose graph is a straight line in the Cartesian plane. In more advanced settings, the term often refers to a linear mapping between vector spaces that preserves addition and scalar multiplication.

Image gallery

2 Images

Key characteristics

For the familiar one-variable form y = mx + b:

  • slope (m): the constant rate of change or steepness of the line;
  • y-intercept (b): the value of y when x = 0, shifting the line up or down;
  • domain and range are typically all real numbers unless restricted.

For a linear mapping f between vector spaces, linearity means f(u + v) = f(u) + f(v) and f(cu) = c f(u). Such maps always send the zero vector to zero and can be represented by matrices once bases are chosen. See a basic definition: basic definition and a more formal treatment: linear mapping.

Examples and distinctions

Examples: y = 2x - 1 is a straight line but not a linear map in linear-algebra sense because it does not send 0 to 0. The function y = 3x is both a degree-1 polynomial and a linear map of R to R. Constant functions y = c are affine; only y = 0 is a linear map. A vertical line x = a is a linear relation but not a function y(x).

History and uses

Representing relationships by straight lines dates to analytic geometry developed by René Descartes and Pierre de Fermat. Linear functions serve as elementary models in physics, economics, and statistics (e.g., linear regression) and underpin much of linear algebra, which generalizes the idea to higher dimensions and systems of linear equations.

Notable facts

  • Terminology varies: secondary sources may call degree‑one polynomials "linear" while linear algebra requires homogeneity.
  • Systems of linear functions lead to matrices, determinants, eigenvalues and broad applications in science and engineering.

Graph

The graph of a linear function is a straight line. In Cartesian coordinates following applies (x|y)

y=m\cdot x+n

with real numbers mand n,where x(the abscissa) is an independent variable and y(the ordinate) is the dependent variable.

There are numerous other naming conventions for the function term, such as ax+b, mx+c, mx+bor mx+t.In Austria, y=kx+dis often used, but in Switzerland, y=mx+q.In Belgium, one also finds y=mx+por y=kx+t.

This representation is also called the normal form of a linear function. Its two parameters can be interpreted as follows:

The graph of a linear function is never parallel to the y-axis, because this would mean that one would have xmore than one y associated with it, which would contradict the definitionally required (right-)uniqueness of a function.

Determination of the function term from two points

It is assumed that the points (x_{1}|y_{1})and flie (x_{2}|y_{2})on the graph of the linear function and are distinct from each other.

The slope m can be calculated with

m={\frac {y_{2}-y_{1}}{x_{2}-x_{1}}}.

The y-axis intercept nis given by

n=y_{1}-m\cdot x_{1}or n=y_{2}-m\cdot x_{2}.

The function term f(x)is given by

f(x)={\frac {y_{2}-y_{1}}{x_{2}-x_{1}}}\cdot x+\left(y_{1}-{\frac {y_{2}-y_{1}}{x_{2}-x_{1}}}\cdot x_{1}\right)

or more simply by

f(x)={\frac {y_{2}-y_{1}}{x_{2}-x_{1}}}\cdot (x-x_{1})+y_{1}.

Questions and answers

Q: What is a linear function in basic mathematics?

A: A linear function in basic mathematics is a function whose graph is a straight line in 2-dimensions (2D).

Q: Can you provide an example of a linear function?

A: An example of a linear function is y=2x-1.

Q: What does a linear function refer to in higher mathematics?

A: In higher mathematics, a linear function often refers to a linear mapping.

Q: Is a linear function always represented by a straight line?

A: Yes, a linear function is always represented by a straight line.

Q: Can a linear function have multiple solutions?

A: No, a linear function can have only one solution because it is a straight line.

Q: Is y=3x+2 a linear function?

A: Yes, y=3x+2 is a linear function because its graph is a straight line.

Q: In how many dimensions is the graph of a linear function represented?

A: The graph of a linear function is represented in 2 dimensions (2D).

Related articles

Author

AlegsaOnline.com Linear function (affine form and linear mapping)

URL: https://en.alegsaonline.com/art/58262

Share

Sources