Finding the Equation of a Straight Line Through Two Points: How Do I Do It?

  • Thread starter Thread starter lakitu
  • Start date Start date
  • Tags Tags
    Form
Click For Summary
To find the equation of a straight line through two points, first calculate the slope (m) using the formula m = (y2 - y1) / (x2 - x1). For the points (3, -7) and (6, -16), the slope is -3. Then, use the slope-intercept form y = mx + c to find the y-intercept (c) by substituting one of the points into the equation. It's also suggested to verify the final equation by plugging the original points back into it to ensure they satisfy the equation. Following these steps will help confirm the accuracy of the derived equation.
lakitu
Messages
27
Reaction score
0
Hi All!

I am trying to figure out how to solve problems like the one below. Any guidence would be appreciated.


Work out the equation of the straight line through (3, -7) and (6, -16) in the form y = m x + c.

m = (-7) - (-16) = 9 = -3
__________ ___
(3) - (6) -3

m = -3

y = mx + c

-7 = (-3)(3) + c
-7 = -9 + c
c = -9 - (-7)
c = -2

y = (-3)x + -2

That is what I have done so far, am I doing it correctly ?
 
Physics news on Phys.org
lakitu said:
m = (-7) - (-16) = 9 = -3

what's that about??

also, you may find it easier to use the forumal y-y1=m(x-x1) because the formula just drops out of it
 
Just the night before last I was confronted by this exact problem at work. There are many different ways of finding the solution. There is also a very simple way of checking that you have the correct solution. Your final equation must be able to reproduce the given point when you plug them into your equation.

What do you get when you do that? Do you get the correct answer? If not (you don't) then something is wrong.

The way I approached the problem, was to write down the 2 equations which my given points provided. My points were

(1,0) and (2, 25)

so my equations were

0 = m *1 + b
and

25 = m *2 +b

I solved the first equation to get

b = -m

Using that in the second equation I got:

25 = 2m -m or
m = 25

so my final line is

y= 25x -25

Does it work?

let x = 1

y= 25-25= 0 Yep that point is correct!

Now the second point (2,25)

y = 2*25 - 25 = 50 -25 = 25

Sure enough, it works.

Can you reproduce these steps with your numbers?
 

Similar threads

Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
17
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
11
Views
2K
  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K