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:
y = b + mx
Let’s use the same equation we used earlier, in the section on solving algebraic equations:
y = 9 + 3x
In this equation for a line, the b term is 9 and the m term is 3. The table below shows the values of x and y for this equation. To construct the table, just plug in a series of different values for x, and then calculate the resulting values for y.
Values for the Slope Intercept Equation
x
y
0
9
1
12
2
15
3
18
4
21
5
24
6
27
Next we can place each of these points on a graph. We can start with 0 on the x-axis and plot a point at 9 on the y-axis. We can do the same with the other pairs of values and draw a line through all the points, as on the graph in Figure 2, below.
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.