Q. Complete the equation of the line through (2,1) and (5,−8)
Calculate slope: Calculate the slopem of the line using the formula m=x2−x1y2−y1 with the given points (2,1) and (5,−8).m=5−2−8−1m=3−9m=−3
Find y-intercept: Use one of the points and the slope to find the y-interceptb of the line. Let's use the point (2,1). Substitute x=2, y=1, and m=−3 into the equation y=mx+b.1=−3(2)+b1=−6+bb=1+6b=7
Write equation: Write the equation of the line in slope-intercept formy=mx+b using the calculated slope and y-intercept.y=−3x+7
More problems from Write a linear equation from two points