Write the equation of the line passing through (0, 2) and (3, 5) in slope-intercept...

Check the final answer first, then review the worked steps.

Answer

\(y = x + 2\)

Step-by-step solution

  1. Identify the y-intercept: The y-intercept is the point where the line crosses the y-axis, which occurs when $x = 0$. From the graph and the given points, the line passes through $(0, 2)$. Thus, the y-intercept $b = 2$.
  1. Calculate the slope: The slope $m$ of a line passing through two points $(x_1, y_1)$ and $(x_2, y_2)$ is calculated using the formula $m = \frac{y_2 - y_1}{x_2 - x_1}$. Using the points $(0, 2)$ and $(3, 5)$, we get $m = \frac{5 - 2}{3 - 0} = \frac{3}{3} = 1$.
  1. Write the equation in slope-intercept form: The slope-intercept form of a linear equation is $y = mx + b$. Substituting the slope $m = 1$ and the y-intercept $b = 2$, we get $y = 1x + 2$, which simplifies to $y = x + 2$.