You decide to buy a laptop for $800. In 3 years, the laptop will be worth $450. How much will the computer be worth after 6 years?
Writing a linear equation that relates the two prices will help you determine how much the computer will be worth after 6 years.
Watch This
James Sousa: Slope Intercept Form of a Line
Guidance
In the previous concept, we found the slope between two points. We will now find the entire equation of a line. Recall from Algebra I that the equation of a line in slope-intercept form is where is the slope and is the intercept. You can find the slope either by using slope triangles or the Slope Formula. To find the intercept, or you can either locate where the line crosses the axis (if given the graph) or by using algebra.
Example A
Find the equation of the line below.
Solution: Analyze the line. We are given two points on the line, one of which is the intercept. From the graph, it looks like the line passes through the axis at (0, 4), making . Now, we need to find the slope. You can use slope triangles or the Slope Formula. Using slope triangles, we have:
From this, we see that the slope is or .
Plugging our found information into the slope-intercept equation, the equation of this line is .
Alternate Method : If we had used the Slope Formula, we would use (0, 4) and (6, 2), which are the values of the given points.
Example B
The slope of a line is -4 and the intercept is (0, 3). What is the equation of the line?
Solution: This problem explicitly tells us the slope and intercept. The slope is -4, meaning . The intercept is (0, 3), meaning . Therefore, the equation of the line is .
Example C
The slope of a line is and it passes through the point (4, -7). What is the equation of the line?
Solution: In this problem, we are given and a point on the line. The point, (4, -7) can be substituted in for and in the equation. We need to solve for the intercept, or . Plug in what you know to the slope-intercept equation.
From this, the equation of the line is .
We can test if a point is on a line or not by plugging it into the equation. If the equation holds true, the point is on the line. If not, then the point is not on the line.
Example D
Find the equation of the line that passes through (12, 7) and (10, -1).
Solution: In this example, we are not given the slope or the intercept. First, we need to find the slope using the Slope Formula.
Now, plug in one of the points for and . It does not matter which point you choose because they are both on the line.
The equation of the line is .
Intro Problem Revisit To determine the equation of the line, rewrite the given information as points. The first could be (0, 800) and the second would be (3, 450). We already know that the y -intercept is 800 because the x -value is zero at that point. Find the slope.
Therefore, the equation of the declining value of the laptop is . In 6 years, the laptop will be worth . The laptop will be worth $100.
Guided Practice
1. What is the equation of the line where the slope is 1 and passes through (5, 3)?
2. Find the equation of the line that passes through (9, -4) and (-1, -8).
3. Find the equation of the line below.
Answers
1. We are told that and . Plug this into the slope-intercept equation and solve for .
The equation of the line is
2. First, find the slope.
Now, find the intercept. We will use the second point. Remember, it does not matter which point you use.
The equation of the line is or .
When your intercept is a fraction, make sure it is reduced. Double-check with your teacher on how s/he wants you to leave your answer.
3. We can find the slope one of two ways: using slope triangles or by using the Slope Formula. We are given (by the drawn points in the picture) that (-2, 2) and (4, -2) are on the line. Drawing a slope triangle, we have:
We have that the slope is or . To find the intercept, it looks like it is somewhere between 0 and 1. Take one of the points and plug in what you know to the slope-intercept equation.
The equation of the line is .
Vocabulary
- Slope-Intercept Form
- The equation of a line in the form where is the slope and is the intercept.
- intercept
- The point where a line crosses the axis. This point will always have the form .
- intercept
- The point where a line crosses the axis. This point will always have the form .
Practice
Find the equation of each line with the given information below.
- slope = 2, intercept = (0, 3)
- slope = -1, intercept = (0, 2)
- intercept = (-2, 0), intercept = (0, -5)
- slope and passes through (6, -4)
- slope and passes through (-2, 5)
- slope = -3 and passes through (-1, -7)
- slope = 1 and passes through (2, 4)
- passes through (-5, 4) and (1, 1)
- passes through (5, -1) and (-10, -10)
- passes through (-3, 8) and (6, 5)
- passes through (-4, -21) and (2, 9)
For problems 13-16, find the equation of the lines in the graph below.
- Green Line
- Blue Line
- Red Line
- Purple Line
- Find the equation of the line with zero slope and passes through (8, -3).
- Find the equation of the line with zero slope and passes through the point (-4, 5).
- Find the equation of the line with zero slope and passes through the point .
- Challenge Find the equation of the line with an undefined slope that passes through .