How does one find the equation of a line passing through 2 points of a graph?

The general equation for a line on a graph is: y = mx + b ,where a is called the slope of the graph and b is the y-intercept(or the point where the line crosses the y axis). Let's assume the 2 points have the following coordinates (x1 , y1) and (x2 , y2). Subtracting the 2 equations from one another to get, y1 -y2 = mx1 + b - mx2 -b . The b's could be cancelled out and the m is a common multiplier , which means the equation could be written as:y1-y2 = m(x1-x2) or m = (y1-y2)/(x1-x2). Assuming we know all x's and y's m could be calculated. The final step of finding b could be done by substituting m and a pair of x and y into the first equation(y=mx+b)

Answered by Dimitar D. Maths tutor

4125 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Sketch the curve y = (2x-1)/(x+1) stating the equations of any asymptotes and coordinates of the intersection with the axis. As an extension, what standard transformations from C1 could you use on y=1/x to get this curve?


A cubic polynomial has the form p(z)=z^3+bz^2+cz+d, z is Complex and b, c, d are Real. Given that a solution of p(z)=0 is z1=3-2i and that p(-2)=0, find the values of b, c and d.


Find the equation of the tangent to the curve y = (5x+4)/(3x -8) at the point (2, -7)


Can you explain where the "Integration by parts" formula comes from?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences