Simple question: Find equation of a line thru 2 points. Thanks.

In summary, the conversation was about finding the equation of a line through two given points. The correct answer was given as 2y = x + 4, but the individual was having trouble understanding how to get that answer. The conversation then discussed the steps to solve the problem, including using the slope formula and setting up a system of equations. Ultimately, it was determined that both 2y = x + 4 and y = (1/2)x + 2 are correct forms of the equation.
  • #1
nukeman
655
0

Homework Statement



Just doing some review, and I keep getting the wrong answer. Can someone explain this for me please?

The equation of the straight line through the points (-€2; 1) and (2; 3) is

Book says the correct answer is 2y = x + 4

What are the steps to get 2y = x + 4 ?

Homework Equations





The Attempt at a Solution



Here is what I did:

Slope = 1/2
so y =1/2x + c

taking 2 points, 2,3 as in x and y

3=1/2(2)+c
3=1/4+c

2.75=c

so y=1/2x + 2.75

Im so lost...:(
 
Physics news on Phys.org
  • #2
nukeman said:

Homework Statement



Just doing some review, and I keep getting the wrong answer. Can someone explain this for me please?

The equation of the straight line through the points (-€2; 1) and (2; 3) is

Book says the correct answer is 2y = x + 4

What are the steps to get 2y = x + 4 ?

Homework Equations





The Attempt at a Solution



Here is what I did:

Slope = 1/2
so y =1/2x + c

taking 2 points, 2,3 as in x and y

3=1/2(2)+c
3=1/4+c
(1/2)(2) = 1, not 1/4.
nukeman said:
2.75=c

so y=1/2x + 2.75

Im so lost...:(
 
  • #3
Ahhhg, why did I put that! lol

Right, so:

I still don't quite udnerstand how the book got 2y = x + 4
 
  • #4
Ok here is what I got for finding an equation of a line thru these points: (-2,1) (2,3)

m = 1/2

so taking the points 2,3 I get the following:

3 = 1/2(2) + c

3 = 1 + c

2 = c

so, y = 1/2x + 2

But that's wrong...?
 
  • #5
nukeman said:
Ok here is what I got for finding an equation of a line thru these points: (-2,1) (2,3)

m = 1/2

so taking the points 2,3 I get the following:

3 = 1/2(2) + c

3 = 1 + c

2 = c

so, y = 1/2x + 2

But that's wrong...?
It's clearer if you write it as
y = (1/2)x + 2 .​
That line does pass through points: (-2,1) and (2,3) .
 
  • #6
Then why does my book say this is the correct answer? 2y = x + 4

Is it because the book did not like the 1/2, so it multiplied it by 2 to get 1, and did same to all sides?
 
  • #7
nukeman said:
...

Is it because the book did not like the 1/2, so it multiplied it by 2 to get 1, and did same to all sides?
Yes .
 
  • #8
2y = x + 4 and y = 1/2 + 2 are the exact same things. The first way is just a little easier to write.

Easiest way to go about these problems for me is a system of equations.

y = mx + b
plug in conditions:
(1) 1 = -2x + b
(2) 3 = 2m + b

By adding (1) and (2), we obtain 4 = 2b, so b = 2

Plug b = 2 into (2) (we could have picked either equation), we get 1 = 2m, so m = 1/2

plugging back into the original formula, we get y = (1/2)x + 2, or 2y = x + 4, both are correct.
 
  • #9
soothsayer said:
2y = x + 4 and y = 1/2 + 2 are the exact same things.
No, 2y = x + 4 and y = (1/2)x+ 2 are the same. (Technically, they are equivalent equations.)
soothsayer said:
The first way is just a little easier to write.

Easiest way to go about these problems for me is a system of equations.

y = mx + b
plug in conditions:
(1) 1 = -2x + b
(2) 3 = 2m + b

By adding (1) and (2), we obtain 4 = 2b, so b = 2

Plug b = 2 into (2) (we could have picked either equation), we get 1 = 2m, so m = 1/2

plugging back into the original formula, we get y = (1/2)x + 2, or 2y = x + 4, both are correct.
 

FAQ: Simple question: Find equation of a line thru 2 points. Thanks.

What is the equation of a line through two points?

The equation of a line through two points can be found using the slope-intercept form, which is y = mx + b. Where m is the slope of the line and b is the y-intercept.

How do you find the slope of a line through two points?

The slope of a line can be found using the formula m = (y2-y1)/(x2-x1), where (x1,y1) and (x2,y2) are the coordinates of the two points.

What is the significance of the y-intercept in the equation of a line?

The y-intercept represents the point where the line crosses the y-axis. It is also the value of y when x=0.

Can the equation of a line be found if only one point is given?

No, the equation of a line through a single point cannot be determined. At least two points are needed to find the equation of a line.

Is the equation of a line through two points unique?

Yes, the equation of a line through two points is unique. This means that for any two given points, there is only one line that passes through them.

Back
Top