It’s important to know the terminology of graphs in order to understand and manipulate them. Let’s begin with a visual representation of the terms (shown in Figure 1), and then we can discuss each one in greater detail.
Throughout this course we will refer to the horizontal line on the graph as the x-axis. We will refer to the vertical line on the graph as the y-axis. This is the standard convention for graphs.
An intercept is where a line on a graph crosses (“intercepts”) the x-axis or the y-axis. You can see the x-intercepts and y-intercepts on the graph above. The point where two lines on a graph cross is called the interception point.
The other important term to know is slope. The slope tells us how steep a line on a graph is. Technically, slope is the change in the vertical axis divided by the change in the horizontal axis. The formula for calculating the slope is often referred to as the “rise over the run”—again, the change in the distance on the y-axis (rise) divided by the change in the x-axis (run).
Now that you know the “parts” of a graph, let’s turn to the equation for a line:
Let’s use the same equation we used earlier, in the section on solving algebraic equations:
y = 9 + 3x
This example illustrates how the b and m terms in an equation for a straight line determine the shape of the line. The b term is called the y-intercept. The reason is that if x = 0, the b term will reveal where the line intercepts, or crosses, the y-axis. In this example, the line hits the vertical axis at 9. The m term in the equation for the line is the slope. Remember that slope is defined as rise over run; the slope of a line from one point to another is the change in the vertical axis divided by the change in the horizontal axis. In this example, each time the x term increases by 1 (the run), the y term rises by 3. Thus, the slope of this line is 3. Specifying a y-intercept and a slope—that is, specifying b and m in the equation for a line—will identify a specific line. Although it is rare for real-world data points to arrange themselves as a perfectly straight line, it often turns out that a straight line can offer a reasonable approximation of actual data.