Basic functions: Linear functions
A linear relationship on the basis of two data points
You have already seen how the function definition of a linear function can be calculated if you are already known to the slope and a single point on the graph. In practice you encounter the following problem more frequently:
Given two data points and with , what is the function definition for which the graph goes through these two points?
The general solution method is as follows:
The graph of the linear function is a straight line.
The slope can be calculated as the quotient of increments:
Hereafter, the intercept can be calculated on the basis of the coordinates of one of the two data points, for example:
A concrete dynamic example may illustrate the method.
Given two points and , what is the function rule for which the graph goes through these two points?
The graph of the linear function is a straight line.
The slope can be calculated as the quotient of increments:
The graph of this function is shown along with the two data points in the figure below.

The slope can be calculated as the quotient of increments:
Hereafter, the vertical intercept can be calculated on the basis of the coordinates of one of the two measurement points, for example, on the basis of the point :
The function definition is
The vertical intercept is .
The graph of this function is shown along with the two data points in the figure below.

Unlock full access