A function of the form
y=ax+b, where
a and
b are constants, is called a linear function.
Also, the graph of a linear function is a straight line.
Graph 1:
![](https://df0b18phdhzpx.cloudfront.net/ckeditor_assets/pictures/1697221/original_1051206_1.png)
The above graph is that of a linear function as it is a straight line graph.
Also, it is a function of the form
y=ax+b, where
a=0.
Graph 2:
![](https://df0b18phdhzpx.cloudfront.net/ckeditor_assets/pictures/1697222/original_1051206_2.png)
Graph 2 represents a linear function.
Graph 3:
![](https://df0b18phdhzpx.cloudfront.net/ckeditor_assets/pictures/1697223/original_1051206_3.png)
Graph 3 is not a straight line and hence does not represent a linear function. However, it is made of two linear functions.
Graph 4:
![](https://df0b18phdhzpx.cloudfront.net/ckeditor_assets/pictures/1697224/original_1051206_4.png)
Graph 4 does not represent a function as the
x value remains the same for all the
y-values.
∴ Only graphs 1 and 2 represent linear functions.