Final answer:
To find the equation of a line given two points, use the slope-intercept form of the equation: y = mx + b. Choose two points on the line, calculate the slope, and use one of the points to solve for the y-intercept.
Step-by-step explanation:
To find the equation of a line given two points, you can use the slope-intercept form of the equation: y = mx + b, where m is the slope and b is the y-intercept. Here are the steps:
- Choose two points on the line, denoted as (x₁, y₁) and (x₂, y₂).
- Calculate the slope, m, using the formula m = (y₂ - y₁) / (x₂ - x₁).
- Use one of the points and the slope in the equation y = mx + b to solve for b.
- Write the final equation using the determined slope and y-intercept.