Precalculus 2e — Original English

Graphs of Linear Functions

Two competing telephone companies offer different payment plans. The two plans charge the same rate per long distance minute, but charge a different monthly flat fee. A consumer wants to determine whether the two plans will ever cost the same amount for a given number of long distance minutes used. The total cost of each payment plan can be represented by a linear function. To solve the problem, we will need to compare the functions. In this section, we will consider methods of comparing functions using graphs.

Graphing Linear Functions

In Linear Functions, we saw that that the graph of a linear function is a straight line. We were also able to see the points of the function as well as the initial value from a graph. By graphing two functions, then, we can more easily compare their characteristics.

There are three basic methods of graphing linear functions. The first is by plotting points and then drawing a line through the points. The second is by using the y-intercept and slope. And the third is by using transformations of the identity function f(x)=x.

Graphing a Function by Plotting Points

To find points of a function, we can choose input values, evaluate the function at these input values, and calculate output values. The input values and corresponding output values form coordinate pairs. We then plot the coordinate pairs on a grid. In general, we should evaluate the function at a minimum of two inputs in order to find at least two points on the graph. For example, given the function, f(x)=2x, we might use the input values 1 and 2. Evaluating the function for an input value of 1 yields an output value of 2, which is represented by the point (1,2). Evaluating the function for an input value of 2 yields an output value of 4, which is represented by the point (2,4). Choosing three points is often advisable because if all three points do not fall on the same line, we know we made an error.

Example 1
Graphing by Plotting Points

Graph f(x)=23x+5 by plotting points.

Solution

Begin by choosing input values. This function includes a fraction with a denominator of 3, so let’s choose multiples of 3 as input values. We will choose 0, 3, and 6.

Evaluate the function at each input value, and use the output value to identify coordinate pairs.

x=0 f(0)= 2 3 (0)+5=5( 0,5 ) x=3 f(3)= 2 3 (3)+5=3( 3,3 ) x=6 f(6)= 2 3 (6)+5=1( 6,1 )

Plot the coordinate pairs and draw a line through the points. Figure 1 represents the graph of the function f(x)=23x+5.

A linear function f(x) is graphed, showing a downward-sloping line that passes through the points (0, 5), (3, 3), and (6, 1).
Figure 1 The graph of the linear function f(x)=23x+5.
Analysis

The graph of the function is a line as expected for a linear function. In addition, the graph has a downward slant, which indicates a negative slope. This is also expected from the negative constant rate of change in the equation for the function.

Graphing a Function Using y-intercept and Slope

Another way to graph linear functions is by using specific characteristics of the function rather than plotting points. The first characteristic is its y-intercept, which is the point at which the input value is zero. To find the y-intercept, we can set x=0 in the equation.

The other characteristic of the linear function is its slope m, which is a measure of its steepness. Recall that the slope is the rate of change of the function. The slope of a function is equal to the ratio of the change in outputs to the change in inputs. Another way to think about the slope is by dividing the vertical difference, or rise, by the horizontal difference, or run. We encountered both the y-intercept and the slope in Linear Functions.

Let’s consider the following function.

f(x)=12x+1

The slope is 12. Because the slope is positive, we know the graph will slant upward from left to right. The y-intercept is the point on the graph when x=0. The graph crosses the y-axis at (0,1). Now we know the slope and the y-intercept. We can begin graphing by plotting the point (0,1) We know that the slope is rise over run, m=riserun. From our example, we have m=12, which means that the rise is 1 and the run is 2. So starting from our y-intercept (0,1), we can rise 1 and then run 2, or run 2 and then rise 1. We repeat until we have a few points, and then we draw a line through the points as shown in Figure 2.

A graph on a coordinate plane shows a line labeled f. The y-axis ranges from 0 to 5 and the x-axis from -2 to 7. The line passes through the point (0,1), which is labeled as the y-intercept. A dashed red triangle illustrates the slope: moving from left to right, for every 'Run = 2' units horizontally, the line goes up 'Rise = 1' unit vertically. This pattern is shown from (0,1) to (2,2), from (2,2) to (4,3), and from (4,3) to (6,4). The line extends indefinitely in both directions as indicated by arrows.
Figure 2
Example 2
Graphing by Using the y-intercept and Slope

Graph f(x)=23x+5 using the y-intercept and slope.

Solution

Evaluate the function at x=0 to find the y-intercept. The output value when x=0 is 5, so the graph will cross the y-axis at (0,5).

According to the equation for the function, the slope of the line is 23. This tells us that for each vertical decrease in the “rise” of 2 units, the “run” increases by 3 units in the horizontal direction. We can now graph the function by first plotting the y-intercept on the graph in Figure 3. From the initial value (0,5) we move down 2 units and to the right 3 units. We can extend the line to the left and right by repeating, and then draw a line through the points.

A graph shows a linear function f on a coordinate plane, decreasing from left to right. The line passes through points (0, 5), (3, 3), and (6, 1). Red dashed arrows indicate the change in y for a given change in x between these points.
Figure 3
Analysis

The graph slants downward from left to right, which means it has a negative slope as expected.

Graphing a Function Using Transformations

Another option for graphing is to use transformations of the identity function f(x)=x. A function may be transformed by a shift up, down, left, or right. A function may also be transformed using a reflection, stretch, or compression.

Vertical Stretch or Compression

In the equation f(x)=mx, the m is acting as the vertical stretch or compression of the identity function. When m is negative, there is also a vertical reflection of the graph. Notice in Figure 4 that multiplying the equation of f(x)=x by m stretches the graph of f by a factor of m units if m>1 and compresses the graph of f by a factor of m units if 0<m<1. This means the larger the absolute value of m, the steeper the slope.

A graph displays eight different linear functions plotted on a Cartesian coordinate system. All lines pass through the origin (0,0). The functions include f(x) = 3x (brown), f(x) = 2x (dark blue), f(x) = x (purple), f(x) = 1/2x (orange), f(x) = 1/3x (green), f(x) = -1/2x (light blue), f(x) = -x (dark purple), and f(x) = -2x (red). The x-axis and y-axis both range from -6 to 6, with grid lines indicating integer values. Each function is color-coded and its equation is listed in corresponding colors to the right of the graph.
Figure 4 Vertical stretches and compressions and reflections on the function f(x)=x.

Vertical Shift

In f(x)=mx+b, the b acts as the vertical shift, moving the graph up and down without affecting the slope of the line. Notice in Figure 5 that adding a value of b to the equation of f(x)=x shifts the graph of f a total of b units up if b is positive and |b| units down if b is negative.

A Cartesian graph shows five parallel lines, each corresponding to a linear equation f(x) = x + c, with c values of 4, 2, 0, -2, and -4, highlighting vertical translations.
Figure 5 This graph illustrates vertical shifts of the function f(x)=x.

Using vertical stretches or compressions along with vertical shifts is another way to look at identifying different types of linear functions. Although this may not be the easiest way to graph this type of function, it is still important to practice each method.

Example 3
Graphing by Using Transformations

Graph f(x)=12x3 using transformations.

Solution

The equation for the function shows that m=12 so the identity function is vertically compressed by 12. The equation for the function also shows that b=−3 so the identity function is vertically shifted down 3 units. First, graph the identity function, and show the vertical compression as in Figure 6.

A graph on a Cartesian coordinate system displays two linear functions, y = x (red line) and y = 1/2x (blue line). Both lines pass through the origin (0,0). The red line, representing y = x, has a slope of 1. The blue line, representing y = 1/2x, has a gentler slope of 1/2. Vertical red arrows from x=4 on the x-axis extend to the red line at y=4, while vertical blue arrows from x=5 on the x-axis extend to the blue line at y=2.5, illustrating corresponding y-values.
Figure 6 The function, y=x, compressed by a factor of 12.

Then show the vertical shift as in Figure 7.

A graph shows two parallel lines: y = (1/2)x and y = (1/2)x - 3. A red arrow at x=3 illustrates the vertical distance of 3 units between the lines, indicating a downward vertical shift.
Figure 7 The function y=12x, shifted down 3 units.

Writing the Equation for a Function from the Graph of a Line

Recall that in Linear Functions, we wrote the equation for a linear function from a graph. Now we can extend what we know about graphing linear functions to analyze graphs a little more closely. Begin by taking a look at Figure 8. We can see right away that the graph crosses the y-axis at the point (0, 4) so this is the y-intercept.

A Cartesian coordinate system shows the graph of a line labeled f. The x-axis is labeled from -10 to 10, and the y-axis is labeled from -10 to 10. The line f passes through the point (0, 3) and has a positive slope, extending infinitely in both directions. The line passes through points such as (-2, -1), (0, 3), and (2, 7).
Figure 8

Then we can calculate the slope by finding the rise and run. We can choose any two points, but let’s look at the point (2,0). To get from this point to the y-intercept, we must move up 4 units (rise) and to the right 2 units (run). So the slope must be

m= rise run = 4 2 =2

Substituting the slope and y-intercept into the slope-intercept form of a line gives

y=2x+4
Example 4

Matching Linear Functions to Their Graphs

Match each equation of the linear functions with one of the lines in Figure 9.

  1. f(x)=2x+3
  2. g(x)=2x3
  3. h(x)=2x+3
  4. j(x)=12x+3
A coordinate plane with x and y axes ranging from -7 to 7 and -5 to 5 respectively. Four lines, labeled I (orange), II (light blue), III (teal), and IV (dark blue), are shown. Line I and Line IV intersect at (0, 3). Line III and Line IV intersect at (1.5, 0). Line II and Line III intersect at (4, 5). Lines I, II, and III have positive slopes, while Line IV has a negative slope.
Figure 9
Solution

Analyze the information for each function.

  1. This function has a slope of 2 and a y-intercept of 3. It must pass through the point (0, 3) and slant upward from left to right. We can use two points to find the slope, or we can compare it with the other functions listed. Function g has the same slope, but a different y-intercept. Lines I and III have the same slant because they have the same slope. Line III does not pass through ( 0, 3) so f must be represented by Line I.
  2. This function also has a slope of 2, but a y-intercept of 3. It must pass through the point (0,3) and slant upward from left to right. It must be represented by Line III.
  3. This function has a slope of –2 and a y-intercept of 3. This is the only function listed with a negative slope, so it must be represented by line IV because it slants downward from left to right.
  4. This function has a slope of 12 and a y-intercept of 3. It must pass through the point (0, 3) and slant upward from left to right. Lines I and II pass through (0, 3), but the slope of j is less than the slope of f so the line for j must be flatter. This function is represented by Line II.

Now we can re-label the lines as in Figure 10.

A graph displays four linear functions: h(x) = -2x + 3, j(x) = 0.5x + 3, f(x) = 2x + 3, and g(x) = 2x - 3, plotted on a coordinate plane. Three lines intersect at (0,3).
Figure 10

Finding the x-intercept of a Line

So far, we have been finding the y-intercepts of a function: the point at which the graph of the function crosses the y-axis. A function may also have an x-intercept, which is the x-coordinate of the point where the graph of the function crosses the x-axis. In other words, it is the input value when the output value is zero.

To find the x-intercept, set a function f(x) equal to zero and solve for the value of x. For example, consider the function shown.

f(x)=3x6

Set the function equal to 0 and solve for x.

0=3x6 6=3x 2=x x=2

The graph of the function crosses the x-axis at the point (2, 0).

Example 5

Finding an x-intercept

Find the x-intercept of f(x)=12x3.

Solution

Set the function equal to zero to solve for x.

0= 1 2 x3 3= 1 2 x 6=x x=6

The graph crosses the x-axis at the point (6, 0).

Analysis

A graph of the function is shown in Figure 12. We can see that the x-intercept is (6, 0) as we expected.

A Cartesian coordinate system shows a blue line passing through the points (0, -3) and (6, 0), with x and y axes ranging from -10 to 10.
Figure 12 The graph of the linear function f(x)=12x3.

Describing Horizontal and Vertical Lines

There are two special cases of lines on a graph—horizontal and vertical lines. A horizontal line indicates a constant output, or y-value. In Figure 13, we see that the output has a value of 2 for every input value. The change in outputs between any two points, therefore, is 0. In the slope formula, the numerator is 0, so the slope is 0. If we use m=0 in the equation f(x)=mx+b, the equation simplifies to f(x)=b. In other words, the value of the function is a constant. This graph represents the function f(x)=2.

The image displays a Cartesian coordinate system with an x-axis ranging from -5 to 5 and a y-axis ranging from -5 to 5. A horizontal blue line, labeled 'f', is plotted at y=2, extending infinitely in both positive and negative x-directions, indicated by arrows. Below the graph, a table presents five points that lie on the line: (-4, 2), (-2, 2), (0, 2), (2, 2), and (4, 2). This illustrates that the function f is a constant function where f(x) = 2 for all x.
Figure 13 A horizontal line representing the function f(x)=2.

A vertical line indicates a constant input, or x-value. We can see that the input value for every point on the line is 2, but the output value varies. Because this input value is mapped to more than one output value, a vertical line does not represent a function. Notice that between any two points, the change in the input values is zero. In the slope formula, the denominator will be zero, so the slope of a vertical line is undefined.

The image displays the formula for 'm' (representing slope) as a fraction: 'change of output' divided by 'change of input'. Two blue arrows branch off from 'change of input'. The upper arrow points to 'Non-zero real number', and the lower arrow points to '0', illustrating the possible values for the change of input.

Notice that a vertical line, such as the one in Figure 14, has an x-intercept, but no y-intercept unless it’s the line x=0. This graph represents the line x=2.

A graph shows a vertical line at x=2 on a coordinate plane with x and y axes ranging from -5 to 5. Below the graph, a table displays five points: (2, -4), (2, -2), (2, 0), (2, 2), and (2, 4), all of which lie on the graphed line.
Figure 14 The vertical line, x=2, which does not represent a function.
Example 6

Writing the Equation of a Horizontal Line

Write the equation of the line graphed in Figure 15.

A graph displays a horizontal line, labeled f, intersecting the y-axis at -4. The x-axis ranges from -10 to 10, and the y-axis also ranges from -10 to 10.
Figure 15
Solution

For any x-value, the y-value is 4, so the equation is y=4.

Example 7

Writing the Equation of a Vertical Line

Write the equation of the line graphed in Figure 16.

A Cartesian coordinate system shows a vertical line at x=7, extending from y=-9 to y=9. The x-axis ranges from -10 to 10, and the y-axis ranges from -10 to 10.
Figure 16
Solution

The constant x-value is 7, so the equation is x=7.

Determining Whether Lines are Parallel or Perpendicular

The two lines in Figure 17 are parallel lines: they will never intersect. Notice that they have exactly the same steepness, which means their slopes are identical. The only difference between the two lines is the y-intercept. If we shifted one line vertically toward the y-intercept of the other, they would become the same line.

Graph of two functions where the blue line is y = -2/3x + 1, and the baby blue line is y = -2/3x +7. Notice that they are parallel lines.
Figure 17 Parallel lines.

We can determine from their equations whether two lines are parallel by comparing their slopes. If the slopes are the same and the y-intercepts are different, the lines are parallel. If the slopes are different, the lines are not parallel.

f(x)=2x+6 f(x)=2x4 }parallel f(x)=3x+2 f(x)=2x+2 }not parallel

Unlike parallel lines, perpendicular lines do intersect. Their intersection forms a right, or 90-degree, angle. The two lines in Figure 18 are perpendicular.

Graph of two functions where the blue line is perpendicular to the orange line.
Figure 18 Perpendicular lines.

Perpendicular lines do not have the same slope. The slopes of perpendicular lines are different from one another in a specific way. The slope of one line is the negative reciprocal of the slope of the other line. The product of a number and its reciprocal is 1. So, if m1 and m2 are negative reciprocals of one another, they can be multiplied together to yield –1.

m1m2=1

To find the reciprocal of a number, divide 1 by the number. So the reciprocal of 8 is 18, and the reciprocal of 18 is 8. To find the negative reciprocal, first find the reciprocal and then change the sign.

As with parallel lines, we can determine whether two lines are perpendicular by comparing their slopes, assuming that the lines are neither horizontal nor vertical. The slope of each line below is the negative reciprocal of the other so the lines are perpendicular.

f(x)= 1 4 x+2 negative reciprocal of 1 4  is −4 f(x)=4x+3 negative reciprocal of4 is  1 4

The product of the slopes is –1.

4(14)=1
Example 8

Identifying Parallel and Perpendicular Lines

Given the functions below, identify the functions whose graphs are a pair of parallel lines and a pair of perpendicular lines.

f(x)=2x+3 h(x)=2x+2 g(x)= 1 2 x4 j(x)=2x6
Solution

Parallel lines have the same slope. Because the functions f(x)=2x+3 and j(x)=2x6 each have a slope of 2, they represent parallel lines. Perpendicular lines have negative reciprocal slopes. Because −2 and 12 are negative reciprocals, the equations, g(x)=12x4 and h(x)=2x+2 represent perpendicular lines.

Analysis

A graph of the lines is shown in Figure 19.

Graph of four functions where the blue line is h(x) = -2x + 2, the orange line is f(x) = 2x + 3, the green line is j(x) = 2x - 6, and the red line is g(x) = 1/2x - 4.
Figure 19

The graph shows that the lines f(x)=2x+3 and j(x)=2x6 are parallel, and the lines g(x)=12x4 and h(x)=2x+2 are perpendicular.

Writing the Equation of a Line Parallel or Perpendicular to a Given Line

If we know the equation of a line, we can use what we know about slope to write the equation of a line that is either parallel or perpendicular to the given line.

Writing Equations of Parallel Lines

Suppose for example, we are given the following equation.

f(x)=3x+1

We know that the slope of the line formed by the function is 3. We also know that the y-intercept is (0,1). Any other line with a slope of 3 will be parallel to f(x). So the lines formed by all of the following functions will be parallel to f(x).

g(x)=3x+6 h(x)=3x+1 p(x)=3x+ 2 3

Suppose then we want to write the equation of a line that is parallel to f and passes through the point (1, 7). We already know that the slope is 3. We just need to determine which value for b will give the correct line. We can begin with the point-slope form of an equation for a line, and then rewrite it in the slope-intercept form.

y y 1 =m(x x 1 ) y7=3(x1) y7=3x3         y=3x+4

So g(x)=3x+4 is parallel to f(x)=3x+1 and passes through the point (1, 7).

Example 9
Finding a Line Parallel to a Given Line

Find a line parallel to the graph of f(x)=3x+6 that passes through the point (3, 0).

Solution

The slope of the given line is 3. If we choose the slope-intercept form, we can substitute m=3, x=3, and f(x)=0 into the slope-intercept form to find the y-intercept.

g(x)=3x+b      0=3(3)+b      b=9

The line parallel to f(x) that passes through (3, 0) is g(x)=3x9.

Analysis

We can confirm that the two lines are parallel by graphing them. Figure 20 shows that the two lines will never intersect.

Graph of two functions where the blue line is y = 3x + 6, and the orange line is y = 3x - 9.
Figure 20

Writing Equations of Perpendicular Lines

We can use a very similar process to write the equation for a line perpendicular to a given line. Instead of using the same slope, however, we use the negative reciprocal of the given slope. Suppose we are given the following function:

f(x)=2x+4

The slope of the line is 2, and its negative reciprocal is 12. Any function with a slope of 12 will be perpendicular to f(x). So the lines formed by all of the following functions will be perpendicular to f(x).

g(x)= 1 2 x+4 h(x)= 1 2 x+2 p(x)= 1 2 x 1 2

As before, we can narrow down our choices for a particular perpendicular line if we know that it passes through a given point. Suppose then we want to write the equation of a line that is perpendicular to f(x) and passes through the point (4, 0). We already know that the slope is 12. Now we can use the point to find the y-intercept by substituting the given values into the slope-intercept form of a line and solving for b.

g(x)=mx+b 0= 1 2 (4)+b 0=2+b 2=b b=2

The equation for the function with a slope of 12 and a y-intercept of 2 is

g(x)=12x+2.

So g(x)=12x+2 is perpendicular to f(x)=2x+4 and passes through the point (4, 0). Be aware that perpendicular lines may not look obviously perpendicular on a graphing calculator unless we use the square zoom feature.

Example 10
Finding the Equation of a Perpendicular Line

Find the equation of a line perpendicular to f(x)=3x+3 that passes through the point (3, 0).

Solution

The original line has slope m=3, so the slope of the perpendicular line will be its negative reciprocal, or 13. Using this slope and the given point, we can find the equation for the line.

g(x)= 1 3 x+b      0= 1 3 (3)+b      1=b      b=1

The line perpendicular to f(x) that passes through (3, 0) is g(x)=13x+1.

Analysis

A graph of the two lines is shown in Figure 21 below.

Graph of two functions where the blue line is g(x) = -1/3x + 1, and the orange line is f(x) = 3x + 6.
Figure 21
Example 11
Finding the Equation of a Line Perpendicular to a Given Line Passing through a Point

A line passes through the points (2, 6) and (4,5). Find the equation of a perpendicular line that passes through the point (4,5).

Solution

From the two points of the given line, we can calculate the slope of that line.

m 1 = 56 4(2) = 1 6 = 1 6

Find the negative reciprocal of the slope.

m 2 = 1 1 6 =1( 6 1 ) =6

We can then solve for the y-intercept of the line passing through the point (4,5).

g(x)=6x+b 5=6(4)+b 5=24+b 19=b b=−19

The equation for the line that is perpendicular to the line passing through the two given points and also passes through point (4,5) is

y=6x19

Solving a System of Linear Equations Using a Graph

A system of linear equations includes two or more linear equations. The graphs of two lines will intersect at a single point if they are not parallel. Two parallel lines can also intersect if they are coincident, which means they are the same line and they intersect at every point. For two lines that are not parallel, the single point of intersection will satisfy both equations and therefore represent the solution to the system.

To find this point when the equations are given as functions, we can solve for an input value so that f(x)=g(x). In other words, we can set the formulas for the lines equal to one another, and solve for the input that satisfies the equation.

Example 12

Finding a Point of Intersection Algebraically

Find the point of intersection of the lines h(t)=3t4 and j(t)=5t.

Solution

Set h(t)=j(t).

3t4=5t      4t=9        t= 9 4

This tells us the lines intersect when the input is 94.

We can then find the output value of the intersection point by evaluating either function at this input.

j( 9 4 )=5 9 4         = 11 4

These lines intersect at the point (94,114).

Analysis

Looking at Figure 22, this result seems reasonable.

Graph of two functions h(t) = 3t - 4 and j(t) = t +5 and their intersection at (9/4, 11/4).
Figure 22
Example 13

Finding a Break-Even Point

A company sells sports helmets. The company incurs a one-time fixed cost for $250,000. Each helmet costs $120 to produce, and sells for $140.

  1. Find the cost function, C, to produce x helmets, in dollars.
  2. Find the revenue function, R, from the sales of x helmets, in dollars.
  3. Find the break-even point, the point of intersection of the two graphs C and R.
Solution
  1. The cost function is the sum of the fixed cost, $250,000, and the variable cost, $120 per helmet.
    C(x)=120x+250,000
  2. The revenue function is the total revenue from the sale of x helmets, R(x)=140x.
  3. The break-even point is the point of intersection of the graph of the cost and revenue functions. To find the x-coordinate of the coordinate pair of the point of intersection, set the two equations equal, and solve for x.
                       C(x)=R(x) 250,000+120x=140x             250,000=20x               12,500=x                         x=12,500

    To find y, evaluate either the revenue or the cost function at 12,500.

    R(12,500)=140(12,500) =$1,750,000

The break-even point is (12,500,1,750,000).

Analysis

This means if the company sells 12,500 helmets, they break even; both the sales and cost incurred equaled 1.75 million dollars. See Figure 23

Graph of the two functions, C(x) and R(x) where it shows that below (12500, 1750000) the company loses money and above that point the company makes a profit.
Figure 23

Key Concepts

  • Linear functions may be graphed by plotting points or by using the y-intercept and slope. See Example 1 and Example 2.
  • Graphs of linear functions may be transformed by using shifts up, down, left, or right, as well as through stretches, compressions, and reflections. See Example 3.
  • The y-intercept and slope of a line may be used to write the equation of a line.
  • The x-intercept is the point at which the graph of a linear function crosses the x-axis. See Example 4 and Example 5.
  • Horizontal lines are written in the form, f(x)=b. See Example 6.
  • Vertical lines are written in the form, x=b. See Example 7.
  • Parallel lines have the same slope.
  • Perpendicular lines have negative reciprocal slopes, assuming neither is vertical. See Example 8.
  • A line parallel to another line, passing through a given point, may be found by substituting the slope value of the line and the x- and y-values of the given point into the equation, f(x)=mx+b, and using the b that results. Similarly, the point-slope form of an equation can also be used. See Example 9.
  • A line perpendicular to another line, passing through a given point, may be found in the same manner, with the exception of using the negative reciprocal slope. See Example 10 and Example 11.
  • A system of linear equations may be solved setting the two equations equal to one another and solving for x. The y-value may be found by evaluating either one of the original equations using this x-value.
  • A system of linear equations may also be solved by finding the point of intersection on a graph. See Example 12 and Example 13.

Section Exercises

Verbal

Exercise 1

If the graphs of two linear functions are parallel, describe the relationship between the slopes and the y-intercepts.

Solution

The slopes are equal; y-intercepts are not equal.

Exercise 2

If the graphs of two linear functions are perpendicular, describe the relationship between the slopes and the y-intercepts.

Exercise 3

If a horizontal line has the equation f(x)=a and a vertical line has the equation x=a, what is the point of intersection? Explain why what you found is the point of intersection.

Solution

The point of intersection is (a,a). This is because for the horizontal line, all of the y coordinates are a and for the vertical line, all of the x coordinates are a. The point of intersection will have these two characteristics.

Exercise 4

Explain how to find a line parallel to a linear function that passes through a given point.

Exercise 5

Explain how to find a line perpendicular to a linear function that passes through a given point.

Solution

First, find the slope of the linear function. Then take the negative reciprocal of the slope; this is the slope of the perpendicular line. Substitute the slope of the perpendicular line and the coordinate of the given point into the equation y=mx+b and solve for b. Then write the equation of the line in the form y=mx+b by substituting in m and b.

Algebraic

For the following exercises, determine whether the lines given by the equations below are parallel, perpendicular, or neither parallel nor perpendicular:

Exercise 6

4x7y=10 7x+4y=1

Exercise 7

3y+x=12 y=8x+1

Solution

neither parallel or perpendicular

Exercise 8

3y+4x=12 6y=8x+1

Exercise 9

6x9y=10 3x+2y=1

Solution

perpendicular

Exercise 10

y= 2 3 x+1 3x+2y=1

Exercise 11

y= 3 4 x+1 3x+4y=1

Solution

parallel

For the following exercises, find the x- and y-intercepts of each equation

Exercise 12

f( x )=x+2

Exercise 13

g(x)=2x+4

Solution

(20); (0, 4)

Exercise 14

h( x )=3x5

Exercise 15

k( x )=5x+1

Solution

(150); (0, 1)

Exercise 16

2x+5y=20

Exercise 17

7x+2y=56

Solution

(80); (028)

For the following exercises, use the descriptions of each pair of lines given below to find the slopes of Line 1 and Line 2. Is each pair of lines parallel, perpendicular, or neither?

Exercise 18
  • Line 1: Passes through (0,6) and (3,−24)
  • Line 2: Passes through (−1,19) and (8,−71)
Exercise 19
  • Line 1: Passes through (−8,−55) and (10,89)
  • Line 2: Passes through (9,−44) and (4,−14)
Solution

Line 1:m=8
Line 2:m=6
Neither

Exercise 20
  • Line 1: Passes through (2,3) and (4,1)
  • Line 2: Passes through (6,3) and (8,5)
Exercise 21
  • Line 1: Passes through (1,7) and (5,5)
  • Line 2: Passes through (−1,−3) and (1,1)
Solution

Line 1:m= 1 2
Line 2:m=2
Perpendicular

Exercise 22
  • Line 1: Passes through (0,5) and (3,3)
  • Line 2: Passes through (1,−5) and (3,−2)
Exercise 23
  • Line 1: Passes through (2,5) and (5,−1)
  • Line 2: Passes through (−3,7) and (3,−5)
Solution

Line 1:m=2
Line 2:m=2
Parallel

Exercise 24

Write an equation for a line parallel to f(x)=5x3 and passing through the point (2, –12).

Exercise 25

Write an equation for a line parallel to g(x)=3x1 and passing through the point (4,9).

Solution

g(x)=3x3

Exercise 26

Write an equation for a line perpendicular to h(t)=2t+4 and passing through the point (-4, –1).

Exercise 27

Write an equation for a line perpendicular to p(t)=3t+4 and passing through the point (3,1).

Solution

p(t)=13t+2

Exercise 28

Find the point at which the line f(x)=2x1 intersects the line g(x)=x.

Exercise 29

Find the point at which the line f(x)=2x+5 intersects the line g(x)=3x5.

Solution

(2,1)

Exercise 30

Use algebra to find the point at which the line f(x)=45x+27425 intersects the line h(x)=94x+7310.

Exercise 31

Use algebra to find the point at which the line f(x)=74x+45760 intersects the line g(x)=43x+315.

Solution

(175,53)

Graphical

For the following exercises, match the given linear equation with its graph in Figure 24.

A coordinate plane displays six distinct lines, labeled A, B, C, D, E, and F, intersecting at various points. Line C is horizontal, passing through the origin. Lines A and B have positive slopes, with A appearing steeper than B. Lines D, E, and F have negative slopes, with F appearing the steepest. Lines A, B, C, and F all pass through the origin.
Figure 24
Exercise 32

f( x )=x1

Exercise 33

f(x)=3x1

Solution

F

Exercise 34

f(x)=12x1

Exercise 35

f(x)=2

Solution

C

Exercise 36

f(x)=2+x

Exercise 37

f(x)=3x+2

Solution

A

For the following exercises, sketch a line with the given features.

Exercise 38

An x-intercept of (4, 0) and y-intercept of (0, –2)

Exercise 39

An x-intercept of (2, 0) and y-intercept of (0, 4)

Solution
A graph shows a coordinate plane with the x-axis ranging from -8 to 3 and the y-axis ranging from -8 to 8. A straight blue line, labeled 'f', extends infinitely in both directions, passing through the points (-2, 0) and (0, 4). The point (-2, 0) is marked on the x-axis, and the point (0, 4) is marked on the y-axis. The line has a positive slope, indicating an increasing function.
Exercise 40

A y-intercept of (0, 7) and slope 32

Exercise 41

A y-intercept of (0, 3) and slope 25

Solution
A coordinate plane displays a straight line, labeled 'f', with a positive slope. The line intersects the y-axis at (0, 3) and extends through the grid from x-values of -6 to 6 and y-values of -6 to 6.
Exercise 42

Passing through the points (6, –2) and (6, –6)

Exercise 43

Passing through the points (3, –4) and (3, 0)

Solution
A coordinate plane shows a line labeled f. The x-axis is labeled from -7 to 7, and the y-axis is labeled from -7 to 7. The line passes through the points (0, -2), (3, 0), and (-3, -4). Arrows at both ends of the line indicate that it extends infinitely in both directions.

For the following exercises, sketch the graph of each equation.

Exercise 44

f(x)=2x1

Exercise 45

g(x)=3x+2

Solution
A graph of a coordinate plane shows a line labeled f. The x-axis ranges from -6 to 6 and the y-axis ranges from -6 to 6. The line passes through the points (0, 2) and (1, 0) and extends indefinitely in both directions. The line has a negative slope.
Exercise 46

h(x)=13x+2

Exercise 47

k(x)=23x3

Solution
A graph displaying a linear function f on a coordinate plane. The x-axis and y-axis both range from -6 to 6, marked with integer increments. The line passes through (0, -3) and (4, 0).
Exercise 48

f( t )=3+2t

Exercise 49

p(t)=2+3t

Solution
A graph shows a coordinate plane with a horizontal t-axis and a vertical y-axis. A line labeled "p" is drawn, passing through (0, -2) on the y-axis and (1, 1). The line has a positive slope.
Exercise 50

x=3

Exercise 51

x=2

Solution
A graph on a Cartesian coordinate system shows a vertical line. The line passes through x = -2 and is parallel to the y-axis. The x-axis ranges from -6 to 5, and the y-axis ranges from -6 to 6.
Exercise 52

r(x)=4

Exercise 53

q(x)=3

Solution
A graph of the rectangular coordinate system with a horizontal line shown at y = 3. The x-axis ranges from -8 to 8, and the y-axis ranges from -10 to 10.
Exercise 54

4x=9y+36

Exercise 55

x3y4=1

Solution
A graph shows a Cartesian coordinate system with an x-axis from -6 to 6 and a y-axis from -6 to 6. A blue line with a positive slope passes through the points (0, -4.5) and (3, 0).
Exercise 56

3x5y=15

Exercise 57

3x=15

Solution
A graph on a Cartesian coordinate plane shows a single dark blue vertical line. The x-axis is labeled from -3 to 8, and the y-axis is labeled from -8 to 8. The vertical line intersects the x-axis at x = 5 and extends infinitely in both the positive and negative y-directions, parallel to the y-axis.
Exercise 58

3y=12

Exercise 59

If g(x) is the transformation of f(x)=x after a vertical compression by 3 4 , a shift right by 2, and a shift down by 4

  1. Write an equation for g(x).
  2. What is the slope of this line?
  3. Find the y-intercept of this line.
Solution
  1. g(x)=0.75x5.5
  2. 0.75
  3. (0,5.5)
Exercise 60

If g(x) is the transformation of f(x)=x after a vertical compression by 13, a shift left by 1, and a shift up by 3

  1. Write an equation for g(x).
  2. What is the slope of this line?
  3. Find the y-intercept of this line.

For the following exercises,, write the equation of the line shown in the graph.

Exercise 61
A graph displays a Cartesian coordinate system with x and y axes ranging from -6 to 6. A horizontal blue line is drawn at y=3, extending across the entire visible graph.
Solution

y=3

Exercise 62
A graph showing a Cartesian coordinate system. The x-axis is labeled from -6 to 6, and the y-axis is labeled from -6 to 6. A horizontal line is plotted at y = -1, extending infinitely in both positive and negative x directions, indicated by arrows on both ends.
Exercise 63
A Cartesian coordinate plane displays a vertical blue line. The x-axis ranges from -6 to 6, and the y-axis ranges from -6 to 6. The line passes through the x-axis at -3 and extends infinitely in both positive and negative y-directions, representing the equation x = -3.
Solution

x=3

Exercise 64
A graph shows a Cartesian coordinate system with a vertical line plotted. The vertical line intersects the x-axis at x = 2 and extends infinitely in both positive and negative y-directions. The x-axis ranges from -4 to 4, and the y-axis ranges from -4 to 4.

For the following exercises, find the point of intersection of each pair of lines if it exists. If it does not exist, indicate that there is no point of intersection.

Exercise 65

y= 3 4 x+1 3x+4y=12

Solution

no point of intersection

Exercise 66

2x3y=12 5y+x=30

Exercise 67

2x=y3y+4x=15

Solution

(2, 7)

Exercise 68

x2y+2=3 xy=3

Exercise 69

5x+3y=65 xy=5

Solution

(10, –5)

Extensions

Exercise 70

Find the equation of the line parallel to the line g(x)=0.01x+2.01 through the point (1, 2).

Exercise 71

Find the equation of the line perpendicular to the line g(x)=0.01x+2.01 through the point (1, 2).

Solution

y=100x98

For the following exercises, use the functions f(x)=0.1x+200 and g(x)=20x+0.1.

Exercise 72

Find the point of intersection of the lines f and g.

Exercise 73

Where is f(x) greater than g(x)? Where is g(x) greater than f(x)?

Solution

x< 1999 201 x> 1999 201

Real-World Applications

Exercise 74
A car rental company offers two plans for renting a car.
  • Plan A: $30 per day and $0.18 per mile
  • Plan B: $50 per day with free unlimited mileage

How many miles would you need to drive for plan B to save you money?

Exercise 75
A cell phone company offers two plans for minutes.
  • Plan A: $20 per month and $1 for every one hundred texts.
  • Plan B: $50 per month with free unlimited texts.

How many texts would you need to send per month for plan B to save you money?

Solution

Less than 3000 texts

Exercise 76
A cell phone company offers two plans for minutes.
  • Plan A: $15 per month and $2 for every 300 texts.
  • Plan B: $25 per month and $0.50 for every 100 texts.

How many texts would you need to send per month for plan B to save you money?

horizontal line
a line defined by f(x)=b, where b is a real number. The slope of a horizontal line is 0.
parallel lines
two or more lines with the same slope
perpendicular lines
two lines that intersect at right angles and have slopes that are negative reciprocals of each other
vertical line
a line defined by x=a, where a is a real number. The slope of a vertical line is undefined.
x-intercept
the point on the graph of a linear function when the output value is 0; the point at which the graph crosses the horizontal axis