Line Equations

Topic:
Equations
Illustrates how Point-Slope and Slope-Intercept line formulas work.
In calculus, we often use the tangent line to the function for analysis. As you'll see, usually we can find the slope from the function, and we know the one point where we want to place the tangent line. Thus, the point-slope method of finding the line equation will be used much more than the more-familiar slope-intercept form. This app illustrates how the point-slope formula works and how to change it to slope-intercept if need be. We start by noting that the slope of a line passing through any two points and can be found as . If we multiply this equation on both sides by , and switch the sides, we get . But let's allow to be any point . This gives us the point-slope formula . We can then change this to the slope-intercept form by solving for : . Note that the quantity in the parentheses is "", the -intercept. To begin, leave the three check boxes checked. One or more can be turned off to hide parts of the display for clarity. The two purple dots are the points and . You can drag them anywhere on the graph. As you do, you can see how the slope is determined, by the difference in the points' -values divided by the difference in their -values (). This is illustrated by the dashed brown lines and the black numbers next to them. In purple, the value of the ratio is shown. When we convert to the slope-intercept form, we saw above that . The part in parentheses gives us , the -intercept value. It says that the -intercept will be at the -value of , minus a distance given by the slope times the -coordinate of . But is just the "run" distance from the -axis to . Since , we can solve for . So we would expect the -intercept to be up or down from 's -value: . This is illustrated by the blue and red dotted arrows.