### Video Transcript

In this video, weβre gonna learn how to use the equation for a straight line to find the slope and the π¦-intercept of that line. The general format of an equation of the straight line is π¦ equals ππ₯ plus π and you might know this as π¦ equals ππ₯ plus π or π¦ equals ππ₯ plus π. That doesnβt really matter. The point is that the number that youβre multiplying π₯ by tells you the slope of the line and the number thatβs on its own, added or subtracted at the end, tells you the π¦-intercept of the line.

So, for example, if we had the equation π¦ equals three π₯ plus two, three would be the slope and positive two would be the π¦-intercept. But what does that actually mean? Well, put simply, the π¦-intercept is where it cuts the π¦-axis. So thatβs here. So another way of thinking about that is if we look at this point here, the co- the π₯-coordinate is zero and the π¦-coordinate is two. So the π¦-coordinate when the π₯-coordinate is zero is the π¦-intercept. And if we think about that in terms of our equation, if I put a value of zero into my equation, for π₯, Iβve got π¦ equals three times zero plus two or three times zero is just zero. So π¦ equals zero plus two; π¦ is equal to two.

So weβve got a few ways to think about the π¦-intercept. Firstly, itβs just this number in our equation. Secondly, itβs just where does it cut the π¦-axis. Or thirdly, itβs what answer do I get for π¦ when I plug in the π₯-coordinate of zero. And those last two things mean exactly the same thing.

And slope is all about how steeply uphill or downhill the line goes. So in this case, our slope is three. And that means every time I increase my π₯-coordinate by one, the π¦-coordinate goes up by three, because thatβs positive three. So, gonna increase my π₯-coordinate by one; the π¦-coordinate goes up by three. If I increase my π₯-coordinate by one again, the π¦-coordinate goes up by three, which of course means, if I go backwards, if I decrease my π₯-coordinate by one, the π¦-coordinateβs gonna go down by three. So I can work out what my other points are gonna be, and I can draw my straight line. So the slope is not only the steepness of the line we can recognise here. If weβve got our equation in the π¦ equals ππ₯ plus π format, the slope is the multiplier of π₯ or the coefficient of π₯ in that equation.

So letβs look at a few examples then. π¦ equals negative five π₯ plus two. Itβs in the π¦ equals ππ₯ plus π format, so the slope is just negative five and the π¦-intercept is positive two. And if we think about that in terms of the graph, if I take a point on that line and then I add one to the π₯-coordinate, what changes there in the π¦-coordinate to get back to the line? In this case, thatβs negative five. And the π¦-intercept, remember, is just where does it cut the π¦-axis; so, in this case, that is two.

Right. Next example: π¦ equals π₯ minus a half. Well, the slope is the thing that weβve multiplied π₯ by, and the intercept is the thing thatβs just added on at the end. So weβve got this equation in basically the right format π¦ equals something times π₯ plus another number, except we havenβt written that number in front of the π₯, which means itβs one. When itβs one times π₯, we donβt normally write the one in that, but it is really there. And the other slight difference from normal is that although we say itβs ππ₯ plus π, the number that weβve added on here is negative a half. So here, the slope is one and the π¦-intercept is negative a half. That means it cuts the π¦-axis when π¦ is negative a half and every time I increase my π₯-coordinate by one, the corresponding π¦-coordinate, on that equation, goes up by one as well. So in these questions, you wouldnβt necessarily have to draw the graph. But just out of interest, thatβs what it would look like in this case. Every time I increase my π₯-coordinate by one, the corresponding π¦-coordinate goes up by one when I move back to the line. And the π¦-intercept, where it cuts the π¦-axis, is negative a half.

How about this one: π¦ equals seven π₯. Well, weβve got a multiplier of π₯, weβve got just one π¦ on its own, so the slope is positive seven. But what have we added on to the end? Well, weβve added on nothing. So that means our π¦-intercept is zero; it goes through the origin. The line π¦ equals seven π₯ has a coordinate; when π₯ is zero, the π¦-coordinate is zero as well.

Now sometimes you donβt get the equation in the right format and you have to do a little bit of work in order to get it there. This isnβt in the π¦ equals ππ₯ plus π format, weβve got π¦ plus two π₯ equals negative seven. So, we can use inverse operations to try and clear off everything else from the side of the equation thatβs got the π¦ on it and see what we end up with. So on the left-hand side, weβve got π¦ plus two π₯. Well the inverse operation of adding two π₯ is subtracting two π₯. So Iβm gonna subtract two π₯ from both sides of my equation. And on the left-hand side, π¦ plus two π₯ minus two π₯ just leaves me with π¦. Well that was the point of doing that. And on the right-hand side, if I take away two π₯, I get negative seven minus two π₯. Now, Iβve got two terms here. Iβve got a negative seven and Iβve got a negative two π₯. Now it doesnβt matter whether I start off at negative seven and then I take away two π₯ from that or I start off at negative two π₯ and I take away seven from that; I get the same thing. But, I would recommend that you write it in this format because then, that is π¦ equals ππ₯ plus π format, thatβs gonna be easier for you to work out what your slope and π¦-intercepts are. The coefficient of π₯, or the multiplier of π₯, in this case, is negative two. So the slope is negative two. So this is a fairly steep downhill straight line. And the intercept of π¦-intercept is negative seven, so itβs gonna cut the π¦-axis at negative seven. And if youβre interested in the graph, look it cuts the π¦-axis here at negative seven and every time I increase the π₯-coordinate by one, the π¦-coordinate decreases by two along that line. So the slope is negative two.

Now in our next example, two π¦ plus three π₯ equals six. Itβs still the equation of a straight line, but itβs not quite arranged in the right format π¦ equals ππ₯ plus π. So, again, Iβm gonna look for inverse operations. Iβve got two π¦ plus three π₯. So, the opposite of adding three π₯ is subtracting three π₯. Iβm gonna do that to both sides of my equation. And on the left-hand side, Iβve got two π¦ plus three π₯ minus three π₯ is just two π¦; and on the right-hand side, Iβve got six minus three π₯. But again, Iβm gonna swap those two around because Iβd rather have it in the ππ₯ plus π format, and they are both equivalent. So you do need to be a little bit careful with the signs there. So weβve got two π¦ is equal to negative three π₯ plus six. But weβre not quite ready to go yet. Look, we still got this two π¦ here. So, π¦ times two. Now the inverse operation of times-ing by two is dividing by two, so if I wanna just get π¦ on its own, I need to divide both sides of my equation by two. And that means every term on both sides. So going through term by term on the left-hand side, a half of two π¦ is one π¦, a half of negative three is negative one and a half, but in fact Iβm just gonna write it in this format: negative three divided by two. It actually saves doing any work and thatβs a perfectly acceptable form of the value there, and then a half of six is three, so plus three. Now weβve got it in the right format: π¦ is equal to something times π₯ plus something. And the something times π₯ tells us the slopes are negative three over two, or negative one and a half is the slope. And the something on its own at the end, plus three, positive three, is the π¦-intercept. So thatβs where it cuts the π¦-axis, and the slope tells us that itβs a downhill. Every time I increase my π₯-coordinate by one and move to the right by one, then the-the π¦-coordinate goes down by one and half.

So just to summarise what weβve learned then; we can get equations in the format π¦ equals something times π₯ plus something. Now the multiple of π₯, the coefficient of π₯ is known as the slope of the gradient; and that tells us how steep the line is. And the number on its own that we add tells us where it cuts the π¦-axis. So weβve got an example here: this straight line cuts the π¦-axis at two, so the π¦-intercept is two, positive two. And moving along that line, every time I increase the π₯-coordinate by one, the corresponding π¦-coordinate also goes up by one. So, the slope is one, positive one. So feeding that back into our equation, in this case, π would be equal to one and π would be equal to positive two. And the equation then of our line is: π¦ equals one π₯ plus two, but of course remember we donβt normally bother writing the one in there, so we could rub that out; π¦ equals π₯ plus two. And sometimes the equation we were given is not in the right format for us, so we need to use inverse operations to rearrange that so that we can work out what the slope and π¦-intercept are.