### Video Transcript

In this video, weβre going to see how to find the equation of a straight line in various different forms given the coordinates of two points that lie on the line. First, a reminder of two the different formats for the equation of a straight line.

The first of these is slope-intercept form: π¦ equals ππ₯ plus π. Here, π and π have specific meanings related to properties of the line. π represents the slope or steepness of the line. As you move along line from left to right, for every one unit that you travel horizontally, you move π units either up or down depending on where π is positive or negative. π represents the π¦-intercept, which is the π¦-value at which the line intersects the π¦-axis.

The second commonly used form for the equation of a straight line is point-slope form π¦ minus π¦ one equals π π₯ minus π₯ one. Here, π represents the slope of the line as we just discussed. π₯ one, π¦ one represents the coordinates of any point on the line, so not just specifically the π¦-intercept but any point along the length of the line. In this video, weβll see how to find the equation of a straight line in each of these two forms when weβve been given the coordinates of two points that lie on the line.

Find the equation of the straight line which passes through the two points negative one, negative two and negative seven, negative four. So within this question, weβre given the coordinates of two points that lie on the line, and we were asked to find its equation. We havenβt been asked an equation of particular format, so Iβm going to choose to use the point-slope method, π¦ minus π¦ one equals π π₯ minus π₯ one.

First of all, I want to calculate the slope of this line, the value of π. The slope can be calculated using change in π¦ divided by change in π₯, or more formally π¦ two minus π¦ one divided by π₯ two minus π₯ one where π₯ one, π¦ one and π₯ two, π¦ two are the coordinates of the two points on the line. It doesnβt matter which point I choose to be π₯ one, π¦ one and which I choose to be π₯ two, π¦ two, so Iβve chosen to do it this way round.

Now I need to substitute the values into the calculation for the slope. First of all, the change in π¦ is negative four minus negative two. The change in π₯ is negative seven minus negative one. This is equal to negative two divided by negative six, which simplifies to one-third as the two negatives cancel each other out. So we know the slope of the line is one-third. Now I can substitute this into my equation for the line; I then have π¦ minus π¦ one equals one-third π₯ minus π₯ one.

Next, I need to substitute the values of π₯ one and π¦ one into the equation of the line. Now it doesnβt have to be the values of negative one and negative two; it could equally be the values of negative seven and negative four that I use, whichever point I substitute will give the same result for the overall equation of the line. I am going to choose to use the point with coordinates negative one and negative two. So I substitute negative two for π¦ one and negative one for π₯ one. And now I have π¦ minus negative two is equal to one-third π₯ minus negative one. The double negatives simplify to give π¦ plus two is equal to one-third of π₯ plus one.

Expanding the bracket on the right side of the equation gives π¦ plus two equals one-third π₯ plus one-third. Finally, Iβm going to subtract two from both sides of this equation. This gives me π¦ equals one-third π₯ plus one-third minus two. Now two can be written as six over three, so what I have is π¦ equals one-third π₯ plus one-third minus six-thirds. So this simplifies to give my final answer to the question, which is π¦ is equal to one-third π₯ minus five over three.

Now as we havenβt been asked to give her answer in a particular format, thatβs perfectly acceptable to have some fractions involved. Alternatively, you may choose to eliminate the fractions by multiplying the equation through by three. So one alternative way to leave your answer for this problem would be as three π¦ is equal to π₯ minus five.

Find the equation of the straight line represented by the graph below in the form of π¦ equals ππ₯ plus π. So before we begin, a couple of observations. Weβve been asked to give our answer in the form π¦ equals ππ₯ plus π, which is slope-intercept form. Looking at the graph, we can see that the line cuts the π¦-axis somewhere between one and two, but we canβt see the exact value of the π¦-intercept from the diagram. Weβre therefore going to need to calculate it rather than reading its value directly from the graph.

Looking at the graph more closely, we can see that there are two points they have been highlighted with blue dots. These points are each placed directly on the intersection of some of the gridlines, and therefore they both have integer coordinates. We have the points negative two, seven and one, negative one. So weβre going to use these two points in order to find the equation of the line. Weβll start off by calculating the slope of the line.

The slope of line can be found using change in π¦ divided by change in π₯. By drawing in this right-angled triangle below the line, we can see the change in π¦ and the change in π₯ more easily. Letβs look at the change in π¦ first of all. As we move across the graph from left to right, we can see that the π¦-value changes from seven to negative one. This is a change of negative eight. Itβs very important that we count this change as negative eight, not eight; the π¦-value is decreasing, and therefore itβs a negative value.

Now letβs look at the change in π₯. We can see that as we move across the graph from left to right, the π₯ value changes from negative two to one, which is a change of positive three units. So now we can substitute the values into our calculation of the slope. And we have that π is equal to negative eight over three. The next step is to substitute this value of π into the slope-intercept form of the line: π¦ is equal to negative eight over three π₯ plus π. Now we need to calculate the value of π, the π¦-intercept.

And as weβve already said it isnβt easy to identify this exactly from the graph, so we need an alternative approach. What weβre going to do is take one of these coordinates, and Iβm going to choose to use the point with coordinates negative two, seven. This point lies on the line so it tells me that within this equation, when π₯ is equal to ~~two~~ [negative two], π¦ must be equal to seven. So I can substitute the values of π₯ and π¦ into this equation in order to find π. So substituting negative two for π₯ and seven for π¦, we have seven is equal to negative eight over three multiplied by negative two plus π. This simplifies to seven is equal to 16 over three plus π.

I want to solve this equation to find the value of π, so I need to subtract 16 over three from both sides. At the same time, Iβll express seven as 21 over three. So now I have π is equal to 21 over three minus 16 over three, which gives me a value of five over three. The final step is I need to substitute this value of π into the equation of the line. The equation of the line then in the requested form is π¦ equals negative eight over three π₯ plus five over three.

Find the linear equation describing the relation in the table, then find the value of π΄. So we have here a table which has values of π₯ and values of π of π₯, and weβre told that they are related by our linear equation. This means that the relationship between π₯ and π of π₯ will be of the form π of π₯ equals ππ₯ plus π where π and π represent the values of constants. This is the same structure as the equation of a straight line, π¦ equals ππ₯ plus π. But instead of using π and π, weβre using the letters π and π to represent the constants.

So we need to find the values of π and π. And to do this we can look at the pairs of π₯ and π of π₯ that we already know. First, we know that when π₯ is equal to negative five, π of π₯ is equal to negative two. We can substitute these values into the linear equation to give us our first relation. We have negative two is equal to negative five π plus π. We also know that when π₯ is equal to negative eight, π of π₯ is equal to negative seven, and so we can also substitute this pair of values into the relation. We have negative seven is equal to negative eight π plus π. Now what we have are a pair of simultaneous equations which we can solve in order to find the values of π and π. If we were to subtract equation two from equation one, this would eliminate the π terms. Weβd be left with with negative two minus negative seven is equal to negative five π minus negative eight π. This simplifies to five is equal to three π. Now we can solve this to find the value of π by dividing both sides of the equation by three. This gives us π is equal to five over three. Now note this is lowercase π, one of the letters describing the relation, not the capital π΄ which we need to find later in the question.

So substituting this value of π back into the relation, we now have that π of π₯ is equal to five over three π₯ plus π. We found one of these two values. We now need to find the value of π. Letβs use that first known pair of values for π₯ and π of π₯. Substituting π₯ equals negative five and π of π₯ equals negative two, we now have the equation negative two equals five over three multiplied by negative five plus π.

And this equation can be solved to find the value of π. We have negative two is equal to negative 25 over three plus π. And an order to find π, I need to add 25 over three to both sides of the equation. At the same time, Iβm going to express negative two as negative six over three so that I can add these two terms together more easily. I have π is equal to negative six over three plus 25 over three, which simplifies to 19 over three.

So now I have the values of π and π, so I can substitute them both into the linear equation to describe this relation. So we have π of π₯ is equal to five over three π₯ plus 19 over three. Now I havenβt quite finished because the question also asked me to find the value of π΄, capital π΄, which is the value π of π₯ takes when π₯ is equal to one.

In order to find this, I need to substitute π₯ equals one into the relation weβve just found. So this tells me that π΄ is equal to five over three multiplied by one plus 19 over three. This simplifies to 24 over three, and 24 over three is just eight. So our answer to the second part of the question is that the value of π΄ is eight.

In summary then, weβve seen how to find the equation of a straight line in either of these two forms: slope-intercept form, π¦ equals ππ₯ plus π, and point-slope form, π¦ minus π¦ one = π π₯ minus π₯ one. When weβre given the coordinates of two points on the line, we first have to calculate the slope of the line using change in π¦ over change in π₯ or π¦ two minus π¦ one over π₯ two minus π₯ one. We can then use either the slope-intercept method or the point-slope method in order to calculate the π¦-intercept of the line and hence find its equation.