To find the linear function that fits the points \( f(0) = 7 \) and \( f(3) = 1 \), we can start by using the slope-intercept form of a linear equation, which is \( y = mx + b \), where \( m \) is the slope, and \( b \) is the y-intercept.
-
Identify the y-intercept:
Since \( f(0) = 7 \), we know that the y-intercept \( b \) is 7. So, we can write the equation as:
\[ y = mx + 7 \] -
Calculate the slope \( m \):
We have the points \( (0, 7) \) and \( (3, 1) \). The slope \( m \) can be calculated using the formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{1 - 7}{3 - 0} = \frac{-6}{3} = -2 \] -
Form the equation:
Now substitute the slope \( m = -2 \) into the equation:
\[ y = -2x + 7 \]
Thus, the linear function that matches the points \( f(0) = 7 \) and \( f(3) = 1 \) is:
\[ f(x) = -2x + 7 \]