The Equation of a Line
General Explanation
Three different types of equations can be used to describe a straight line. The most commonly used form is called Slope-Intercept Form, and it is the form we will use in this problem type. Using the slope-intercept form, the equation of a straight line looks like this: y = mx + bwhere m is the slope of the line, and b is the y-intercept. Let's define those terms. The slope of a line is a number which indicates how steep the line is. The slope of a line can be calculated if you know the coordinates of two points on the line. Let's assume point 1 on the line has coordinates (x_{1},y_{1}) and point 2 on the line has coordinates (x_{2},y_{2}). Then we can calculate the slope of the line using this formula: Slope = (y_{2} - y_{1}) / (x_{2} - x_{1})Another common way of calculating the slope of a line is this: Slope = m = rise / runwhere "rise" is the amount the y-coordinate changes in going from one point to another, and "run" is the amount the x-coordinate changes in going between the same points. You should be able to see that the first and second ways shown above of calculating slope are really the same, because (y_{2} - y_{1}) shows how much y changes in going between two points (which is the same as "rise") and (y_{2} - y_{1}) shows how much x changes in going between two points (which is the same as "run"). To determine the equation of a straight line, follow these steps:
Line B is a horizontal line and crosses the y-axis at y = -1. Therefore, the equation of the line is: y = -1. Line C will have an equation of the form y = mx + b. Since it crosses the vertical axis at (0,2), b is equal to 2. The slope of the line can be found using the formula Slope = (y_{2} - y_{1}) / (x_{2} - x_{1}) for any two points on the line. Consider the points (1,4) and (-1,0). Plugging these points into the formula we get m = (4 - 0) / (1 - (-1)) = 4/2 = 2. So the equation of line C is y = 2x + 2. Sample Problem
Find the equation of the line in the figure below:
Solution
Since the line is neither horizontal nor vertical, its equation will be in the form y = mx + b.
We can see, by inspection, that the line crosses the vertical axis at the point (0,4). So, b = 4. To find the slope, we need to know the coordinates of any two points on the line. let's use the point where the line crosses the x-axis, and the point where the line crosses the y-axis, or (3,0) and (0,4). So, to calculate slope: Slope = m = (y_{2} - y_{1}) / (x_{2} - x_{1}) = (0 - 4)/(3 - 0) = -4/3So, the equation of the line is: y = (-4/3)x + 4 |