4.2: The Equation of a Line in Slope – Intercept Form
The Equation of a Line from a Graph
Introduction
In this lesson you will learn how to use the slope and the intercept of a line to write the equation of the line. The equation will be written in the form where ‘’ is the slope, ‘’ is the intercept and are the coordinates of a point on the straight line. The form is known as the slope-intercept form of the equation. You will learn how to determine the slope of a line from an equation that is written in standard form. The standard form of an equation is where is the coefficient of ‘’; is the coefficient of ‘’ and ‘’ is a constant. You will learn to write the equation of a line that has been graphed on a Cartesian grid as well as how to determine the slope and/or the intercept from information that is given about a line. These calculations will then be used to create the equation of the line.
Objectives
The lesson objectives for the equation of a line in slope-intercept form are:
- Understanding how to determine the equation of the line from a graph
- Understanding how to determine the slope and/or the intercept of a line from given information in order to write the equation of the line
- Understanding how to determine the slope of a line from an equation that is written in standard form.
- Understanding the equation of special lines
Introduction
In the above graph, the line crosses the axis at the point (0, 2) This is the intercept of the line. The slope is . The slope of this line is found by running to the right one unit and rising upward three units. Therefore the slope of the line is . To write the equation of a line in slope-intercept form, the slope of the line ‘’ and the intercept ‘’ must be known values. Thus, the equation of the above line is
Watch This
Khan Academy Equation of a Line
Guidance
Write the equation of the line that has the same slope as and passes through the point (–6, 7).
To determine the slope of , solve the equation for the variable ‘’.
The equation has been solved for the variable ‘’ and is now in the form . The slope of the line is the coefficient of ‘’ and in this equation . The line can now be sketched on the Cartesian grid.
The point (–6, 7) was plotted first and then the slope was applied – run two units to the right and then move downwards three units. The line crosses the axis at the point (0, –2). This is the intercept of the graph. The equation for the line has a slope of and a intercept of –2.
The equation of the line is
Example A
Write the equation for the line that passes through the points and .
The first step is to determine the slope of the line:
The next step is to determine the intercept of the line. This can be done by using the slope-intercept form for the equation of the line.
The equation for the line is
Example B
(a) Write the equation of the line passing through the point (6, –4) and parallel to the axis.
(b) Write the equation of the line passing through the point (3, –2) and parallel to the axis.
You know only one point that the line passes through. Sketch the graph of the line that passes through the given point and is parallel to the axis.
You learned in the previous lesson that the slope of a line that is parallel to the axis is zero.
Any line that is parallel to the axis will have the intercept, as its equation. This is the equation of one of the special lines. If you remember this, you can simply write the equation of the line and not have to show all of the work that is shown above.
(b) You know only one point that the line passes through. Sketch the graph of the line that passes through the given point and is parallel to the axis.
You learned in the previous lesson that the slope of a line that is parallel to the axis is undefined. From the graph, you can see that the line will never cross the axis. Therefore, it is not possible to determine a intercept for the line. A line that is parallel to the axis will always have the coordinate of the point through which it passes, as its equation. This is also one of the special lines. The equation of this line is .
Example C
Write the equation of the line that passes through the point (–2, 5) and has the same intercept as: .
The intercept is (0, –3). The line also passes through the point (–2, 5).
Vocabulary
- Slope – Intercept Form
- The slope-intercept form is one method for writing the equation of a line. The slope-intercept form is where refers to the slope and identifies the intercept.
- Standard Form
- The standard form is another method for writing the equation of a line. The standard form is where is the coefficient of , is the coefficient of and is a constant.
Guided Practice
1. Write the equation for each of the lines graphed below. Write the equation in slope-intercept form and in standard form.
i)
ii)
2. Write the equation for the line that passes through the point (–4, 7) and is perpendicular of the axis.
3. Write the equation of the line, in standard form, that passes through the points (2, 8) and has the same intercept as the line
Answers
1. i) Two points on the graph are (–2, 6) and (8, 0). The first step is to determine the slope of the line either by counting or by using the slope formula. Use the formula to determine the slope of this line.
Designate the first and the second point
Use the formula to calculate the slope
Express the slope in simplest form.
Use the slope and one of the points to determine the intercept.
The intercept is
The equation for the line in slope-intercept form is
To express the equation in standard form:
Multiply each term by 5.
Set the equation equal to zero.
Write the equation in the form
ii)
Two exact points on the graph are (–10, –8) and (20, 2). The slope of the line can be calculated by counting to determine the value of . Remember to run to the right first. To run from –10 to +20 is 30 units. Next, rise from –8 up to +2 which is 10 units. Fill the values into the formula and express the answer in simplest form.
Now, use the slope and one of the points to calculate the intercept of the line.
The intercept of the line is . The equation of the line in slope-intercept form is
To write the equation in standard form, the equation can be used. The value of the slope and the coordinates of one point are needed to determine the equation of the line.
The coefficient of ‘’ cannot be a negative number. Multiply both sides of the equation by –1. This will change the signs of every term in the equation.
The equation of the line in standard form is .
2. Begin by sketching the graph of the line.
A line that is perpendicular to the axis is parallel to the axis. The slope of such a line is zero. The equation of this line is
3.
The intercept of the line is (–6, 0).
Use the intercept (–6, 0) and the point (2, 8) to determine the slope of the line.
Designate the first and the second point
Use the formula to calculate the slope
Write the equation in standard form using the point (–6, 0) and the slope of 1.
The equation of the line, in standard form is
Summary
In this lesson you have learned how to write the equation of a line in slope-intercept form. This form is . You also learned that the equation of a line that is parallel to the axis is the coordinate of the point through which the line passes. In addition you have learned that the equation of a line that is parallel to the axis is the coordinate of the point through which the line passes. Another way to write the equation of a line is to write it in standard form. Standard form is .
Problem Set
For each of the following graphs, write the equation of the line in slope-intercept form.
Determine the equation of the line that passes through the following pairs of points:
- (–3, 1) and (–3, –7)
- (–5, –5) and (10, –5)
- (–8, 4) and (2, –6)
- (14, 8) and (4, 4)
- (0, 5) and (4, –3)
For each of the following real world problems, write the linear equation in standard form that would best model the problem.
- The cost of operating a car for one month depends upon the number of miles you drive. According to a recent survey completed by drivers of mid size cars, it costs $124/month if you drive 320 miles/month and $164/month if you drive 600 miles/month.
- Designate two data values for this problem. State the dependent and independent variables.
- Write an equation to model the situation.
- A Glace Bay developer has produced a new handheld computer called the Blueberry. He sold 10 computers in one location for $1950 and 15 in another for $2850. The number of computers and the cost forms a linear relationship.
- Designate two data values for this problem. State the dependent and independent variables.
- Write an equation to model the situation.
- Shop Rite sells a one-quart carton of milk for $1.65 and a two-quart carton for $2.95. Assume there is a linear relationship between the volume of milk and the price.
- Designate two data values for this problem. State the dependent and independent variables.
- Write an equation to model the situation.
- Some college students, who plan on becoming math teachers, decide to set up a tutoring service for high school math students. One student was charged $25 for 3 hours of tutoring. Another student was charged $55 for 7 hours of tutoring. The relationship between the cost and time is linear.
- Designate two data values for this problem. State the dependent and independent variables.
- Write an equation to model the situation.
Answers
For each of the following graphs...
- Two points on the line are (0, –5) and (5, 5).
The slope of the line is and the intercept is (0, –5).
The equation of the line in slope intercept form is:
- Two points on the line are (0, –8) and (8, –2).
The slope of the line is and the intercept is (0, –8).
The equation of the line in slope intercept form is:
- Two points on the line are (0, –1) and (12, –4).
The slope of the line is and the intercept is (0, –1).
The equation of the line in slope intercept form is:
Determine the equation of the line...
A line that has a slope that is undefined is a line that is parallel to the axis. The equation of this line is .
and the intercept is (0, –4). The equation of this line is:
and the intercept is (0, 5). The equation of this line is:
For each of the following real world problems...
When you write an equation for a word problem, it is more meaningful to use variables that represent the dependent and independent quantities of the word problem.
Summary
In this lesson you have learned that the slope of a line and the intercept of the line are the two facts that you must know in order to write the equation of a line. These two values can then be written into the slope-intercept form for a linear function. This form is where ‘’ is the slope of the line and ‘’ is the coordinate of the intercept.
You have also learned that the equation of a line can be written in another form that is known as standard form. Standard form is , where ‘’ is the coefficient of , ‘’ is the coefficient of and is a constant. This form can be determined by using the formula where is the slope of the line and are the coordinates of any point on the line. You also learned that when writing an equation in standard form, the value of ‘’ cannot be a negative value.
You also learned that the equation of a line that is parallel to the axis is the coordinate of the point through which the line passes. In addition you have learned that the equation of a line that is parallel to the axis is the coordinate of the point through which the line passes.