Determine equations of lines.
Given the equations of two lines, determine whether their graphs are parallel or perpendicular.
Model a set of data with a linear function.
In Section 1.3, we developed the slope–intercept equation , or . If we know the slope and the y-intercept of a line, we can find an equation of the line using the slope–intercept equation.
A line has slope and y-intercept . Find an equation of the line.
We use the slope–intercept equation and substitute for m and 16 for b:
Now Try Exercise 7.
A line has slope and contains the point (−3, 6). Find an equation of the line.
We use the slope–intercept equation, , and substitute for m: . Using the point (−3, 6), we substitute −3 for x and 6 for y in . Then we solve for b.
The equation of the line is , or .
Now Try Exercise 13.
Another formula that can be used to determine an equation of a line is the point–slope equation. Suppose that we have a nonvertical line and that the coordinates of point on the line are . We can think of as fixed and imagine another point P on the line with coordinates . Thus the slope is given by
Multiplying by on both sides, we get the point–slope equation of the line:
If we know the slope of a line and the coordinates of one point on the line, we can find an equation of the line using either the point–slope equation,
or the slope–intercept equation,
Find an equation of the line containing the points (2, 3) and (1, −4).
We first determine the slope:
Using the Point–Slope Equation: We substitute 7 for m and either of the points (2, 3) or (1, −4) for in the point–slope equation. In this case, we use .
Using the Slope–Intercept Equation: We substitute 7 for m and either of the points (2, 3) or (1, −4) for (x, y) in the slope–intercept equation and solve for b. Here we use (1, −4).
We substitute 7 for m and −11 for b in to get
Now Try Exercise 19.
Can we determine whether the graphs of two linear equations are parallel without graphing them? Let’s look at three pairs of equations and their graphs.
If two different lines, such as and , are vertical, then they are parallel. Thus two equations such as and , where , have graphs that are parallel lines. Two nonvertical lines, such as and , or, in general, and , where the slopes are the same and , also have graphs that are parallel lines.
Can we examine a pair of equations to determine whether their graphs are perpendicular without graphing the equations? Let’s look at the following pairs of equations and their graphs.
If one line is vertical and another is horizontal, they are perpendicular. For example, the lines and are perpendicular. Otherwise, how can we tell whether two lines are perpendicular? Consider a line , as shown in the figure at left, with slope . Then think of rotating the line to get a line perpendicular to . For the new line, the rise and the run are interchanged, but the run is now negative. Thus the slope of the new line is , which is the opposite of the reciprocal of the slope of the first line. Also note that when we multiply the slopes, we get
This is the condition under which lines will be perpendicular.
If a line has slope , the slope of a line perpendicular to it is . The slope of one line is the opposite of the reciprocal of the other:
Determine whether each of the following pairs of lines is parallel, perpendicular, or neither.
We use the slopes of the lines to determine whether the lines are parallel or perpendicular.
We solve each equation for y:
The slopes are 5 and . Their product is −1, so the lines are perpendicular. (See Fig. 1.)
Solving each equation for y, we get
We see that and . Since the slopes are the same and the y-intercepts, (0, 4) and (0, −5), are different, the lines are parallel. (See Fig. 2.)
Rewriting the first equation and solving the second equation for y, we have
We see that and . Since the slopes are not the same and their product is not −1, it follows that the lines are neither parallel nor perpendicular. (See Fig. 3.)
Now Try Exercises 35 and 39.
Write equations of the lines (a) parallel to and (b) perpendicular to the graph of the line and containing the point (2, −3).
We first solve for y to get . We see that the slope of the given line is .
The line parallel to the given line will have slope . We use either the slope–intercept equation or the point–slope equation for a line with slope and containing the point (2, −3). Here we use the point–slope equation:
The slope of the perpendicular line is the opposite of the reciprocal of , or . Again we use the point–slope equation to write an equation for a line with slope −4 and containing the point (2, −3).
Now Try Exercise 43.
When a real-world situation can be described in mathematical language, we have a mathematical model. For example, the natural numbers constitute a mathematical model for situations in which counting is essential. Situations in which algebra can be brought to bear often require the use of functions as models.
Mathematical models are abstracted from real-world situations. The mathematical model gives results that allow one to predict what will happen in that real-world situation. If the predictions are inaccurate or the results of experimentation do not conform to the model, the model must be changed or discarded.
Mathematical modeling can be an ongoing process. For example, finding a mathematical model that will provide an accurate prediction of population growth is not a simple problem. Any population model that one might devise would need to be reshaped as further information is acquired.
We will develop and use many kinds of mathematical models in this text. In this chapter, we have used linear functions as models. Other types of functions, such as quadratic, cubic, and exponential functions, can also model data. These functions are nonlinear.
In general, we try to find a function that fits, as well as possible, observations (data), theoretical reasoning, and common sense. We call this curve fitting; it is one aspect of mathematical modeling.
Let’s look at some data and related graphs, or scatterplots, and determine whether a linear function seems to fit the set of data.
Year, x | Gross Domestic Product (GDP) (in trillions) | Scatterplot |
---|---|---|
1990, 0 | $6.0 |
It appears that the data points can be represented or modeled by a linear function. The graph is linear. |
1995, 5 | 7.7 | |
2000, 10 | 10.3 | |
2005, 15 | 13.1 | |
2010, 20 | 15.0 | |
2011, 21 | 15.5 | |
2012, 22 | 16.2 | |
Sources: Bureau of Economic Analysis, U.S. Department of Commerce |
Year, x | Estimated Number of Alternative-Fueled Vehicles (in thousands) | Scatterplot |
---|---|---|
1995, 0 | 247 |
It appears that the data points cannot be modeled accurately by a linear function. The graph is nonlinear. |
1997, 2 | 280 | |
1999, 4 | 322 | |
2001, 6 | 425 | |
2003, 8 | 534 | |
2005, 10 | 592 | |
2007, 12 | 696 | |
2009, 14 | 826 | |
2011, 16 | 1192 | |
Source: U.S. Energy Information Administration |
Looking at the scatterplots, we see that the data on gross domestic product seem to be rising in a manner to suggest that a linear function might fit, although a “perfect” straight line cannot be drawn through the data points. A linear function does not seem to fit the data on alternative-fueled vehicles.
U.S. Gross Domestic Product. The gross domestic product (GDP) of a country is the market value of final goods and services produced. Market value depends on the quantity of goods and services and their price. Model the data in the table above on the U.S. Gross Domestic Product with a linear function. Then estimate the GDP in 2018.
We can choose any two of the data points to determine an equation. Note that the first coordinate is the number of years since 1990 and the second coordinate is the corresponding GDP in trillions of dollars. Let’s use (5, 7.7) and (21, 15.5).
We first determine the slope of the line:
Then we substitute 0.4875 for m and either of the points (5, 7.7) or (21, 15.5) for in the point–slope equation. In this case, we use (5, 7.7). We get
which simplifies to
where x is the number of years after 1990 and y is in trillions of dollars.
Next, we estimate the GDP in 2018 by substituting 28 for x in the model:
We estimate that the gross domestic product will be $18.91 trillion in 2018.
Now Try Exercise 61.
In Example 6, if we were to use the data points and , our model would be
and our estimate for the GDP in 2018 would be $18.60 trillion, about $0.31 trillion less than the estimate provided by the first model. This illustrates that a model and the estimates that it produces are dependent on the data points used.
Models that consider all the data points, not just two, are generally better models. The model that best fits the data can be found using a graphing calculator and a procedure called linear regression. This procedure is explained in the following Technology Connection.
The following scatterplots summarize the interpretation of a correlation coefficient.
3.141.100.120