To find the equation of the line in slope-intercept form (y = mx + b), we need to determine the slope (m) and the y-intercept (b).
-
Finding the Slope (m): The slope formula is:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
Using the points (0, 4) and (1, 8):
- \((x_1, y_1) = (0, 4)\)
- \((x_2, y_2) = (1, 8)\)
Plugging in the values:
\[ m = \frac{8 - 4}{1 - 0} = \frac{4}{1} = 4 \]
-
Finding the Y-intercept (b): The y-intercept is the value of y when x = 0. From the point (0, 4), we can see that b = 4.
-
Writing the Equation: Now that we have the slope (m = 4) and the y-intercept (b = 4), we can write the equation of the line in slope-intercept form:
\[ y = 4x + 4 \]
So, the equation of the line is y = 4x + 4.