Use function notation to write the equation of the line.

Given:
Graph of the of a line.
To find:
The equation of the line
Solution:
Take any two points on the line.
Let the points are (0, -2) and (3, 0).
Slope of the line formula:
[tex]$m=\frac{y_2-y_1}{x_2-x_1}[/tex]
[tex]$m=\frac{0-(-2)}{3-0}[/tex]
[tex]$m=\frac{2}{3}[/tex]
y-intercept of the line is (0, -2).
c = -2
General equation of a line:
y = mx + c
Substitute the values.
[tex]$y=\frac{2}{3}x-2[/tex]
Let y = f(x).
[tex]$f(x)=\frac{2}{3}x-2[/tex]
The equation of a line is [tex]f(x)=\frac{2}{3}x-2[/tex].