1 Linear functions
Any function of the form where and are constants is called a linear function. The constant is called the coefficient of , and is referred to as the constant term.
For example, , , and are all linear functions.
The graph of a linear function is always a straight line. Such a graph can be plotted by finding just two distinct points and joining these with a straight line.
Example 10
Plot the graph of the linear function .
Solution
We start by finding two points. For example if we choose , then , i.e. the first point has coordinates . Secondly, suppose we choose , then . The second point is . These two points are then plotted and then joined by a straight line as shown in the following diagram.
Example 11
Plot graphs of the three linear functions , , and , for .
Solution
For each function it is necessary to find two points on the line.
For , suppose for the first point we choose , so that . For the second point, let so that . So, the points and can be plotted and joined. This is shown in the following diagram.
For we find the points and . Similarly for we find points and . The corresponding lines are also shown in the figure.
Task!
Refer to Example 11. Comment upon the effect of changing the value of the constant term of the linear function.
As the constant term is varied, the line moves up or down the page always remaining parallel to its initial position.
The value of the constant term is also known as the vertical or -axis intercept because this is the value of where the line cuts the axis.
Task!
State the vertical intercept of each of the following lines:
- ,
- ,
- ,
- .
In each case you need to identify the constant term:
- 3,
- ,
- 1,
- 0
Example 12
Plot graphs of the lines , and .
Solution
Note that all three lines have the same constant term, that is 3. So all three lines pass through , the vertical intercept. A further point has been calculated for each of the lines and their graphs are shown in the following diagram.
Note from the graphs in Example 12 that as the coefficient of is changed the gradient of the graph changes. The coefficient of gives the gradient or slope of the line. In general, for the line a positive value of produces a graph which slopes upwards from left to right. A negative value of produces a graph which slopes downwards from left to right. If is zero the line is horizontal, that is its gradient is zero. These properties are summarised in the next figure.
Figure 24 :
Task!
State the gradients of the following lines:
In each case the coefficient of must be examined:
- 7,
- ,
Task!
Which of the following lines has the steepest gradient ?
- ,
- ,
- .
(b) because the three gradients are
- 9
Exercises
- State the general form of the equation of a straight line explaining the role of each of the terms in your answer.
-
State which of the following functions will have straight line graphs.
(a) , (b) , (c) , (d) , (e) .
-
For each of the following, identify the gradient and vertical intercept.
- ,
- ,
- ,
- ,
- .
-
e.g.
.
is the independent variable,
is the dependent variable,
is the gradient and
is the vertical intercept.
-
(a), (d) and (e) will have straight line graphs.
-
- gradient = 2, vertical intercept =1,
- ,
- ,
- ,
- .