Video: Plot Linear Equations Using a Table of Values | Nagwa Video: Plot Linear Equations Using a Table of Values | Nagwa

Video: Plot Linear Equations Using a Table of Values

Learn how to evaluate ๐‘ฅ- and ๐‘ฆ-coordinates for a linear function, record them in a table of values, and then plot them on a straight line graph. We also look at rearranging equations into a suitable form to help us calculate ๐‘ฆ-coordinates more easily.

07:45

Video Transcript

Plot Linear Equations

We know that every single linear equation is in the form ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘, where ๐‘š is the gradient and ๐‘ is the ๐‘ฆ-intercept or where it cuts the ๐‘ฆ-axis โ€” cept meaning to cut. Now in this video weโ€™re just going to be able to plot graphs and get them into the form ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘ to be able to plot them. So if we want to plot the graph ๐‘ฆ equals three ๐‘ฅ minus one or any graph for that matter, the first thing we need is a table of values. Well you have to choose at least three ๐‘ฅ-values. So we are choosing at least three ๐‘ฅ-coordinates. And the reason you choose three is basically just in case we get something wrong. So if you choose two and they give you those two points, we could say okay Iโ€™ll draw a line in between them. And here we are, hereโ€™s my graph. But actually what happens if we needed the third one. It was here and that tells you either the first, the second, or the third point is wrong. So by doing at least three, it gives us a way of checking what points actually correct into our calculations. Now I like to choose negative one, zero, and one because it involves the least calculation, but you can choose whichever points you like.

So if we do choose negative one, zero, and one, what we need to do is substitute each of those ๐‘ฅ-coordinates into our function to find the ๐‘ฆ. So in the first case, weโ€™re going to do ๐‘ฆ equals three multiplied by negative one minus one. Well, three multiplied by negative one is negative three. And then subtracting one, we get negative four. So our first ๐‘ฆ-coordinate is negative four. And substituting our next ๐‘ฅ-coordinate of zero, weโ€™ve got three multiplied by zero, which we know is zero. And subtracting one, so zero minus one is minus one. So our next ๐‘ฆ-coordinate is negative one. And then finally three multiplied by one minus one, so three multiplied by one is three and minus one is equal to two.

So now we need a set of axes to be able to plot our points. Now we can see that our table of value leads us to coordinates to be able to plot. For example, the first one, weโ€™ve got negative one as the ๐‘ฅ-coordinate and then negative four as the ๐‘ฆ. And the next one is zero as the ๐‘ฅ and negative one as the ๐‘ฆ. And then finally, weโ€™ve got one in the ๐‘ฅ-coordinate and two in the ๐‘ฆ. Now plotting each of these, negative one, negative four, then zero, negative one, and then one, two. And then joining them up, we should get something like this that I prepared earlier.

Now in our next example, we havenโ€™t got it in the form ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘. So weโ€™re going to have to do that first. Plot the graph four ๐‘ฅ plus two ๐‘ฆ equals ten. So as we can see that as I just said itโ€™s not in the form ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘, and it must do- first do a table of values. So first we want it to be in that form. So basically what we need to do is rearrange this to get ๐‘ฆ as the subject. So what weโ€™re gonna do first is subtract four ๐‘ฅ from both sides. And that will give us just two ๐‘ฆ on the left and then ten minus four ๐‘ฅ on the right. And then this is two multiplied by ๐‘ฆ or the opposite of multiplied or times by is divide by, so you must now divide both sides by two. Be careful as we need to divide every single term by two. On the left-hand side, we will just have ๐‘ฆ now. Now weโ€™ve got five minus two ๐‘ฅ.

Now although this isnโ€™t in the form exactly โ€œ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘,โ€ weโ€™ve got the ๐‘ฆ by itself and weโ€™ve got the ๐‘š๐‘ฅ and the ๐‘ on the same side. So as long as itโ€™s roughly in the same form like that, then youโ€™re okay. So now weโ€™ve got this; we can do a table of values. And again Iโ€™m gonna choose the same three coordinates as we did last time, so negative one, zero, and one. And substituting them each individually into our function, five minus two multiplied by negative one. So the two negatives will cancel out giving us a positive two. So the five plus two, and we know the answer to five plus two is seven.

And then for the next case where ๐‘ฅ is equal to zero, so five minus two times zero, well two times zero is zero. So itโ€™s five minus zero, which we all know is just five. And then for the last ๐‘ฅ-coordinate of one, weโ€™ll substitute that into the function. So weโ€™ve got five minus two times one. Two times one is two; so itโ€™s five minus two and five minus two is three. So there we have our table of values and we know that the table of values leads us to coordinates: the first one being negative one, seven, then zero, five, and one, three.

Finally, we just need to plot the points and join them up with a line. So looking for negative one, seven will be minus [minus one] in the ๐‘ฅ and seven in the ๐‘ฆ. Then zero, five, zero in the ๐‘ฅ, five in the ๐‘ฆ, and then one, three, so across one and up three. And then joining them up, it gives us our straight line here. So we can see it goes through five on the ๐‘ฆ-axis and it goes down. And this down is related to whatโ€™s in front of the two, being a negative. So this goes on to gradients. So there we have it. To plot linear graphs, what we need is a table of values. But before itโ€™s in a table of values, we must rearrange it to the form ๐‘ฆ equals ๐‘š๐‘ฅ plus ๐‘. Now once we have our table of values, we have some coordinates. Obviously weโ€™ve chosen the ๐‘ฅ-coordinates, but the ๐‘ฆ-coordinates weโ€™ve got from substituting the ๐‘ฅ-coordinates into the functions individually. And then these give us the coordinates to plot the points on the graph. And once weโ€™ve plotted the points, we get a straight edge or a ruler which I havenโ€™t done here and draw a nice line through all these points, giving us the function.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

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