This week in math 10 we learned how to write the equation of a line. We learned about 3 different ways to write an equation of a line. The 3 ways are called slope y-intercept form, point-slope form, and general form.
Slope y-intercept Form
One way to write the equation of a line is slope y-intercept form. The formula of slope y-intercept form is y = mx + b. The m stands for slope and the b stands for the y-intercept. The first thing you want to do when writing the equation of a line in slope y-intercept form is to find the slope. There are two ways to find the slope of a line. The first is to look at the line on a graph. To find the slope of the line your equation is the change in y over the change in x. A simple way we learned to do this is rise/run. The rise is the change in x and it’s how many times it goes up or down the y axis and the run is the change in x and how many times it goes across the x-axis. For example, if your two points are (2,0) and (3,2), your rise or change in y is 2 and your run or change in x is 1. Therefore, your slope would be 2/1 or 2.
The second way to find the slope of a line is if you don’t have a graph. The formula to find the slope of a line is y2 – y1 / x2 – x1. For example, if your two points are (1,5) and (5,13), you would write 13 – 5/5 – 1. You would end up with 8/4. So your slope of a line with these two points is 8/4 or 2. To find b in your slope y-intercept form equation you would either look at the graph and find the y-intercept of the line or you would have to algebraically have to solve to find b. For example, if you have a slope of 2 and a y-intercept of +3, your equation in slope y-intercept form is y = 2x + 3 or 2x + 3 =y. To check if your answer is correct you can insert the x value from a point on the graph into your equation to see if you get the y value. For example, if you have the point (5,13) you would insert the 5 into the x and see if you get 13. Your equation would be 2(5) + 3 = y and 10 + 3 = 13, so you know your equation is correct.
Point Slope Form
Another way to write the equation of a line is in point-slope form. The formula for point-slope form is m(x – x1) = y – y1. The first step to solving an equation in point-slope form is to find the slope of the line. Once you have found the slope of your line you would insert it in for m. The second step is to insert your x value from your coordinate into the x1 spot and the y value of your coordinate into the y1 spot. For example, if you have the point (1,5) and your slope is 2, you would write your equation as 2(x – 1) = y – 5, and that’s it, that is your equation in point-slope form. Point slope form is a quick and easy way to write your equation.
You can convert your point-slope form equation into a slope y-intercept form equation by using distribution and some algebra. For example, if you have 2(x – 1) = y – 5, and you use distribution you will end up with 2x – 2 = y – 5. Then you would add +5 to both sides to isolate the x. Your new look equation would look like 2x + 3 = y. Now your equation is in slope y-intercept form.
General Form
The third way we learned to write the equation of a line is in general form. The formula for writing your equation in general form is Ax + By + C = 0. Some notes when writing your equation in general form is that A has to be a positive number, if it’s negative it’s not in general form. The second thing is A, B, and C all have to be integers, which means that they can’t be fractions. Writing your equation in general form is pretty much useless because it doesn’t tell you anything about the line. For example, if you have an equation of 2x + 3y + 4, you don’t know the slope of the line or the y-intercept. Therefore, writing your line in general form is pretty much useless. To write your equation in general form when starting with a point and a y-intercept or an equation in slope y-intercept form, you have to use algebra to move the x, y, and constant all together on the same side.