To find the equation of the line in slope-intercept form (y = mx + b), we first need to determine the slope (m) of the line and the y-intercept (b).
-
Calculate the slope (m): The slope (m) is calculated using the formula: \[ m = \frac{y_2 - y_1}{x_2 - x_1} \] Using the points \( (0, -2) \) and \( (3, 0) \):
- \( (x_1, y_1) = (0, -2) \)
- \( (x_2, y_2) = (3, 0) \)
Plugging in the values: \[ m = \frac{0 - (-2)}{3 - 0} = \frac{2}{3} \]
-
Find the y-intercept (b): The y-intercept is the value of y when x = 0. From the point (0, -2), we can see that: \[ b = -2 \]
-
Write the equation: Now we can use the slope and y-intercept to write the equation of the line: \[ y = \frac{2}{3}x - 2 \]
Thus, the equation of the line in slope-intercept form is: \[ y = \frac{2}{3}x - 2 \]