Question Video: Finding the Equation of a Line given Two Points on the Line Mathematics • 8th Grade

A line ๐ฟ passes through the points (2, 3) and (โˆ’2, 5). Work out the equation of the line, giving your answer in the form ๐‘ฆ = ๐‘š๐‘ฅ + ๐‘.


Video Transcript

A line ๐ฟ passes through the points two, three and negative two, five. Work out the equation of the line, giving your answer in the form ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘.

The form that the question asked as to write the equation in for the line ๐ฟ is actually this one here, which is the slope-intercept form. And weโ€™re gonna have a little look at why itโ€™s called that and use it to help us solve the problem.

When using ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘, we can see that ๐‘š is equal to the slope. So our coefficient of ๐‘ฅ is the slope of the line and the ๐‘ is the ๐‘ฆ-intercept. So therefore, itโ€™s the slope-intercept form.

Weโ€™re gonna start by looking at the slope or ๐‘š, where ๐‘š is actually the change in ๐‘ฆ divided by the change in ๐‘ฅ. So what that means is how much the graph goes up or down divided by how much the graph goes left or right. Okay, to help us do that, weโ€™ve actually got a little formula. And this is ๐‘š is equal to ๐‘ฆ two minus ๐‘ฆ one over ๐‘ฅ two minus ๐‘ฅ one cause itโ€™s actually calculating the difference between the coordinates.

Great! So weโ€™re gonna use this to work out the slope on this line ๐ฟ. So we have our two points two, three and negative two, five. And the first thing weโ€™re gonna do is actually label coordinates, a something Iโ€™d probably do until youโ€™re really kinda confident with doing this. It helps you to see what you need to put into the formula.

So now weโ€™ve actually labelled our coordinates, weโ€™ve got ๐‘ฅ one, ๐‘ฆ one, ๐‘ฅ two, ๐‘ฆ two, we can substitute them into our formula to find our slope. So first of all, weโ€™ve got ๐‘ฆ two, which is five, minus ๐‘ฆ one, which is three and thatโ€™s divided by negative two, which is ๐‘ฅ two, minus two, which is ๐‘ฅ one.

Fantastic, now weโ€™re gonna simplify this to get our slope, which is two over negative four, which again we can simplify further by dividing the numerator and the denominator by two, which gives us ๐‘š is equal to negative a half. So fantastic, we found our slope and now we can go onto actually finding the equation of our line ๐ฟ.

The first thing we can do is weโ€™re gonna actually substitute our ๐‘š value into our ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘. Now, in order for us to complete our equation, we need to know the value of ๐‘. We can find ๐‘ by using one of our pairs of coordinates. To do this, weโ€™re gonna use this first pair of coordinates two, three and weโ€™re gonna substitute our values for ๐‘ฅ and ๐‘ฆ in from our coordinates two, three.

So first of all, we get ๐‘ฆ is equal to three. So this gives us three equals and then weโ€™re gonna substitute in two for our value of ๐‘ฅ. So itโ€™s gonna give us negative a half multiplied by two plus ๐‘. Great! So now letโ€™s simplify this and solve to find ๐‘. First of all, weโ€™ve done negative a half multiplied by two, which gives us negative one. So weโ€™ve got three equals negative one plus ๐‘. So therefore, we get ๐‘ is equal to four.

Great! So weโ€™ve now found our ๐‘š, so our slope, and our ๐‘, our ๐‘ฆ-intercept. So we can now put these back into our ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘ to give us the equation for ๐ฟ, which is ๐‘ฆ equals negative a half ๐‘ฅ plus four.

Okay, we found the equation of ๐ฟ, but weโ€™re always have to check to make sure that all the calculations are correct. And to do that, weโ€™re actually gonna use the coordinates of our second point. And the way weโ€™re gonna do that is by substituting in our ๐‘ฅ-value, which is negative two, and weโ€™re gonna see if it gives out the correct ๐‘ฆ-value.

So here, Iโ€™ve done that, so ๐‘ฆ equals negative a half multiplied by negative two, so thatโ€™s the ๐‘ฅ-value weโ€™ve substituted in plus four, which is gonna give us ๐‘ฆ is equal to one plus four because negative a half multiplied by negative two; negative multiplied by negative gives us positive, which gives us a final answer of ๐‘ฆ is equal to five. Great! So now we check that with the ๐‘ฆ-coordinate. Yes, theyโ€™re both five. So now, we know weโ€™ve checked our answer and our equation of ๐ฟ is correct.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.