To determine the equation of a line from a graph, we first need to identify two key points on the line. These points are usually represented by their coordinates (x, y).
Once we have these points, we can use the slope-intercept form of the equation of a line, which is expressed as y = mx + b, where:
- m represents the slope of the line.
- b is the y-intercept, where the line crosses the y-axis.
To find the slope (m), we can use the formula:
m = (y2 – y1) / (x2 – x1)
Here, (x1, y1) and (x2, y2) are the two points we identified. After calculating the slope, we can then substitute one of our points into the slope-intercept form to solve for b.
For example, if our two points are (1, 2) and (3, 4), we would calculate:
m = (4 - 2) / (3 - 1) = 2 / 2 = 1
Now, using the point (1, 2) to solve for b:
2 = 1(1) + b
Thus, b = 1. Therefore, the equation of the line would be:
y = 1x + 1
So, always plot your two known points, calculate the slope, find the y-intercept, and you will have the equation of the line!