leesajohnson wrote:Using this formula you can solve this question.
y-y1/x-x1 = y2-y1/x2-x1
where given x1=4 and y1=5
x2=0 and y2=2
HallsofIvy wrote:There are many different ways to find the equation of a line through two points! The first and last post both gave what is probably the simplest: any (non-vertical) line can be written in the form y= mx+ b. Setting x and y equal to the x and y components of the two points (here (4, 5) and (0, 2)) give the two equations 5= 4m+ b and 2= 4(0)+ b= b. Those two equations can be solved for m and b. From the second equation, b= 2 so the first equation becomes 5= 4m+ 2 so 4m= 5- 2= 3 and m= 3/5. y= (3/4)x+ 2.
Or we can first calculate the slope, m. The two points are [tex](x_1, y_1)= (4, 5)[/tex] and [tex](x_2, y_2)= (0, 2)[/tex] so the slope is [tex]\frac{y_2- y_1}{x_2- x_1}= \frac{2- 5}{0- 4}= \frac{-3}{-4}= \frac{3}{4}[/tex]. Knowing that the "y intercept" is 2 tell is that y= m(0)+ b= b= 2 so again we get y= (3/4)x+ 2.
Or, we can use geometric fact that, since the graph is a straight line, three points on the line, (4, 5), (0, 2), and the "generic" (x, y), together with horizontal and vertical lines at each point give two similar right triangle so that the ratios of vertcal lenths, y- 5 and 2- 5, to horizontal lengths,, x- 4 and 0- 4, are the same : [tex]\frac{y- 5}{x- 4}= \frac{2- 5}{0- 4}= \frac{3}{5}[/tex]. Multiply both sides by x- 4 to get [tex]y- 5= \frac{3}{4}(x- 4)= \frac{3}{4}x- 3[/tex]. Add 5 to both sides to get, yet again, [tex]y= \frac{3}{4}x+ 2[/tex].
Guest wrote:The eq of line is y=mx+b and As we know that m=y2-y1/x2-x1 which gives us the value of m that is 3/4 and the value of b is 2 so your answer will be y=3/4x+2.
Return to Equation of a Line, Slope
Users browsing this forum: No registered users and 1 guest