To write linear equations in slope-intercept form, y=mx+b,
the slope, m, and the y-intercept, b, of the line must be known. When two points on the line are known, the following method can be used.
Write the equation of the line that passes through the point (-4,1) and (8,4).
The equation y=mx+b can be re-written with m=0.25. This gives y=0.25x+b.
Lastly, the complete equation in slope-intercept form can be written by replacing the value of the y-intercept found above. Here, b=2 will be substituted into the equation from Step 2. This gives y=0.25x+2.
Write the equation of the line that passes through the point (3,1) and has the same y-intercept as the line y=9x+4.
To write the equation of the graph of a line in slope-intercept form, y=mx+b,
the y-intercept, b, and the slope of the line, m, must be found. The following method can be used. As an example, consider the line shown.
The y-intercept is the point where the graph intersects the y-axis. From the diagram, it can be seen that the y-intercept is (0,-4).
The y-coordinate of the y-intercept can be substituted into y=mx+b for b. Here, substituting b=-4 gives y=mx−4.
Next, the slope of the line must be determined. From a graph, the slope of a line can be expressed as m=runrise, where rise gives the vertical distance between two points, and run gives the horizontal distance. To find the slope, use any two points. Here, use the already marked y-intercept and the arbitratily chosen (2,2).
From the lines drawn, it can be seen that the rise=6 and the run=2. Therefore, the slope is m=26=3.
The complete equation of the line can now be written by substituting the value of m into the equation from Step 2. Here, substitute m=3. y=3x−4.