Chapter 6 ยท Proportional relationships, lines, and slope
How Slope and Y-Intercept Change a Line
See how changing the y-intercept slides a line up or down, and how changing the slope tilts the line and sets its direction and steepness.
You already know how to graph a line from its equation. Now you will predict how the graph changes when one number in the equation changes.
Every non-vertical line has an equation of the form , where can be any number. Such an equation is called linear because its graph is a straight line. Two numbers control the graph:
- The slope is the change in divided by the change in between any two different points on the line. It tells you how many units changes each time increases by 1 unit.
- The y-intercept is the -value where the line crosses the -axis. Putting into the equation gives , so the line passes through .
A vertical line such as is the exception. All its points share one -value, so the change in between any two of them is 0. You cannot divide by 0, so its slope is undefined. It also gives many -values for one , so it is not a function , which needs exactly one for each . It cannot be written as .
Change only the y-intercept. Start with Line A, , where . Keep the slope 2 and change the y-intercept to 3. The new equation is . Call its graph Line B.
For any , the new equation takes the old -value, , and adds 3. So each point on Line A has a partner on Line B with the same and a -value exactly 3 units greater. The table checks this for four values of .
| x | Line A: y = 2x | Line B: y = 2x + 3 | Line B minus Line A |
|---|---|---|---|
The figure graphs both equations. The horizontal axis shows , the vertical axis shows , and each grid step is 1 unit. The marked points come from the table: and lie on Line A, and and lie on Line B. Each marked point on Line B is 3 units straight above the point on Line A with the same . Raising by 3 moved the whole line up 3 units.
Two facts follow:
- The slope is unchanged. From to , Line A rises units and Line B rises units. Adding 3 to both -values leaves their difference the same, so both slopes are .
- The lines never meet. At every the two -values differ by 3, never by 0. Lines in a plane that never meet are called parallel.
Change only the slope. Now keep and change . Putting into gives for every . So the point stays on the line, and the line tilts around it.
- The sign of sets the direction. If , increases as increases, so the line rises from left to right. If , decreases as increases, so the line falls from left to right. If , for every , so the line is horizontal.
- The size of without its sign, written , sets the steepness: the number of units changes, up or down, for each 1 unit increase in . A larger means a steeper line. However large is, the line is never vertical: a vertical line has undefined slope.
In the figure, the horizontal axis shows , the vertical axis shows , and each grid step is 1 unit. Line C is , Line D is , and Line E is . All three pass through . Move 1 unit right from there: Line C rises 1 unit to , Line D rises 3 units to , and Line E falls 3 units to .
Key concept
What the slope and the y-intercept each control
For any non-vertical line :
- Change the y-intercept, keep the slope: every point moves straight up if increases, or straight down if decreases, by the size of the change. The new line is parallel to the old one and crosses the -axis at the new .
- Change the slope, keep the y-intercept: the line tilts around . The sign of sets whether the line rises or falls, and sets how steep it is.
The relationship is proportional only when , because only then does the line pass through the origin. No value of or gives a vertical line: its slope is undefined and it is not a function . Judge these from the equations or exact points, not from how a picture looks.
Worked example
Changing only the y-intercept
A line has the equation . Its y-intercept is changed from 2 to , so the new equation is . Explain how the new graph differs from the original graph.
Read the slope and the y-intercept from each equation. Both equations have the form y = mx + b, so both lines are non-vertical and you can compare them part by part.
Compare the slopes. Both are 3, so on both lines y rises 3 units for each 1 unit increase in x. The direction and the steepness stay the same.
Subtract the original y-value from the new y-value at the same x. The 3x terms cancel, so the result is the same for every x. It equals the change in the y-intercept.
The result is negative, so each point on the new line is 6 units below the point on the original line with the same x. Check with exact points at x = 1: the original line gives y = 5, and the new line gives y = -1, which is 6 less than 5.
Answer
The new graph is the original line moved straight down 6 units. The slope is still 3, so the two lines are parallel, and the new line crosses the -axis at instead of .
Worked example
Changing only the slope
A line has the equation . Its slope is changed from to , so the new equation is . Explain how the new graph differs from the original graph.
Read the slope and the y-intercept from each equation. Both equations have the form y = mx + b, so both lines are non-vertical.
Compare the y-intercepts. Both are 3, so both lines pass through the point (0, 3). Changing the slope cannot move this point, because at x = 0 the slope is multiplied by 0.
Compare the directions using the signs of the slopes. The original slope, one half, is positive, so the original line rises from left to right. The new slope, -2, is negative, so the new line falls from left to right.
Compare the steepness using the sizes of the slopes without their signs. On the original line, y changes one half of a unit for each 1 unit increase in x. On the new line, y changes 2 units. Because 2 is greater than one half, the new line is steeper.
Check with exact points at x = 2. The original line reaches (2, 4), which is 1 unit above (0, 3). The new line reaches (2, -1), which is 4 units below (0, 3).
Answer
The new line still passes through , but it tilts the other way: it falls from left to right instead of rising, and it is steeper because .
Worked example
Two lines in standard form
Two lines are written in standard form, . The first line is and the second line is . Without graphing, explain how the graph of the second line differs from the graph of the first.
Solve each equation for y so that you can read the slope and the y-intercept. Subtract 3x from both sides of the first equation and x from both sides of the second. Subtracting the same expression from both sides keeps an equation true for exactly the same points, so neither line changes. Both results have the form y = mx + b, so both lines are non-vertical.
Compare the y-intercepts: 5 for the first line and -2 for the second. The crossing point on the y-axis moves from (0, 5) down to (0, -2), a distance of 7 units. The slope changes too, so the rest of the line does not simply slide down 7 units.
Compare the slopes. The first line has slope -3. The second has slope -1, because -x means -1 times x. Both slopes are negative, so both lines fall from left to right. For steepness, compare the sizes without signs: 1 is less than 3, so the second line is less steep, even though -1 is greater than -3.
Check with exact points at x = 1. The first line reaches (1, 2), a fall of 3 units from (0, 5). The second line reaches (1, -3), a fall of 1 unit from (0, -2). Both points also make the original equations true: 3(1) + 2 = 5 and 1 + (-3) = -2.
Answer
The second line crosses the -axis at , which is 7 units below the first line's crossing point . Both lines fall from left to right, but the second line is less steep because .
Takeaway. For a non-vertical line , each number has its own job. Change only , and the whole line slides straight up or down and stays parallel to where it was. Change only , and the line tilts around : the sign of decides whether it rises or falls, and decides how steep it is. The line shows a proportional relationship only when . When you compare two lines, read and from the equations and confirm with exact points, not with how a picture looks.