Stuck writing a line’s equation from a graph (two points)

I’m prepping for a test and keep tripping over how to write the equation of a straight line from its graph-say it goes through (−3, 4) and (2, −1)-I tried y=mx+b and point–slope but I’m not sure that’s relevant; how should I do this? Any help appreciated!

3 Responses

  1. You’re on the right track-both y = mx + b and point–slope are your friends here! First grab the slope from the two points: m = (−1 − 4) / (2 − (−3)) = −5/5 = −1, so the line drops 1 for every step right. Now use point–slope with either point, say (2, −1): y − (−1) = −1(x − 2), so y + 1 = −x + 2, which simplifies to y = −x + 1. Using (−3, 4) gives the same thing: y − 4 = −1(x + 3) → y = −x + 1-nice consistency check. If you like sanity checks, plug in the points: at x = 2, y = −2 + 1 = −1; at x = −3, y = 3 + 1 = 4. Tiny analogy time: imagine walking down a staircase that drops one step for every step forward; if you stand right at x = 0, you’re perched at y = 1-so the line’s equation is y = −x + 1.

Leave a Reply

Your email address will not be published. Required fields are marked *

Join Our Community

Ready to make maths more enjoyable, accessible, and fun? Join a friendly community where you can explore puzzles, ask questions, track your progress, and learn at your own pace.

By becoming a member, you unlock:

  • Access to all community puzzles
  • The Forum for asking and answering questions
  • Your personal dashboard with points & achievements
  • A supportive space built for every level of learner
  • New features and updates as the Hub grows