In algebra, linear equations means you're dealing with straight lines. When you're working with the xy-coordinate system, you can use the following formulas to find the slope, y-intercept, distance, and midpoint between two points.
Consider the two points (x1, y1) and (x2, y2):
Slope of the line through the points:
Slope-intercept form of the line with y-intercept b:
Point-slope form of the line with slope m:
Distance formula:
Midpoint formula: