Skip to main content

Section 2.3 Graphs of Linear Equations

Subsection Graphing Equations

Linear Equation.

An equation of the form \(\blert{y=ax+b}\text{,}\) where \(a\) and \(b\) are constants, is called a linear equation because its graph is a straight line.

We can graph a linear equation by evaluating the expression \(ax+b\) at several values of \(x\) and then plotting points.

Example 2.18.

At 6 am the temperature was \(50 \degree\text{,}\) and it has been rising by \(4 \degree\) every hour.

  1. Write an equation for the temperature, \(T\text{,}\) after \(h\) hours.

  2. Graph your equation.

Solution.
  1. We set \(h=0\) at 6 am. At that time, \(T=50\text{.}\) Because the temperature is rising by \(4 \degree\) every hour, we multiply the number of hours by 4 and add the result to 50 to get the new temperature. Thus, our equation is \(T=50+4h\text{.}\)

  2. Step 1: We make a table of values for the equation. We choose some values for \(h\text{,}\) as shown in the first column of the table below. For each value of \(h\text{,}\) we evaluate the formula for \(T\text{,}\) and we record these values in the second column of the table.

    \(h\) \(T\) \(\hphantom{000}\) \(\hphantom{00}\) Ordered pairs
    \(0\) \(50\) \(T=50+4(\alert{0})=50+0=50\) \((0,50)\)
    \(1\) \(50\) \(T=50+4(\alert{1})=50+4=54\) \((1,54)\)
    \(3\) \(62\) \(T=50+4(\alert{3})=50+12=62\) \((3,62)\)
    \(5\) \(70\) \(T=50+5(\alert{0})=50+20=70\) \((5,70)\)

    Step 2: We use the values in the table to help us choose scales for the axes. For this graph, the input values are less than 10, but the largest output value is 70. We use increments of 1 on the horizontal or \(h\)-axis and increments of 10 on the vertical or \(T\)-axis.

    Step 3: Each ordered pair gives us a point on the graph. We plot the points on the grid and connect them with a smooth curve. All the points should lie on a straight line.

    graph of line

Reading Questions Reading Questions

1.

A linear equation has the form .

Answer.
\(y=ax+b\)
2.

We use to help us choose scales for the axes.

Answer.

the values in the table

Subsection Cartesian Coordinate System

Many graphs include negative values as well as positive values. To make such a graph, we construct a Cartesian coordinate system, named after the French mathematician and philosopher René Descartes.

We draw two perpendicular number lines for the horizontal and vertical axes. The two axes divide the plane into four quadrants, or regions, as shown at right. We often use \(x\) for the input variable and \(y\) for the output variable, so the horizontal axis is called the \(x\)-axis and the vertical axis is the \(y\)-axis. The axes intersect at the zero point of each number line. The coordinates of this intersection point, called the origin, are \((0,0)\text{.}\)

grud: 5 by 5

Reading Questions Reading Questions

3.

What are the coordinates of the origin?

Answer.
\((0,0)\)
4.

True or False: The \(x\)-coordinate of any point on the \(y\)-axis is zero.

Answer.

True

Example 2.19.

The figure at right shows how to plot points on a Cartesian grid. Points in the upper right quadrant have both coordinates positive. Points with negative \(x\)-coordinates are plotted to the left of the \(x\)-axis, and points with negative \(y\)-coordinates are plotted below the \(y\)-axis.

For example, the point \((-2,1)\) is plotted 2 units to the left of the \(x\)-axis and 1 unit above the \(y\)-axis. In which quadrant are both coordinates negative?

points on grid

Reading Questions Reading Questions

5.

True or False: The notation \((5,3)\) represents two points, one on the \(x\)-axis and one on the \(y\)-axis.

Answer.
False
6.

True or False: If both coordinates of a point are negative, the point is located in the lower left quadrant.

Answer.

True

Now we can graph an equation that includes negative values.

Example 2.20.

The temperature in Nome was \(-12 \degree\)F at noon. It has been rising at a rate of \(2 \degree\)F per hour all day.

  1. Write an equation for the temperature, \(T\text{,}\) after \(h\) hours.

  2. Fill in the table and graph your equation. (Negative values of \(h\) represent hours before noon.)

    \(h\) \(-3\) \(-2\) \(-1\) \(0\) \(1\) \(2\) \(3\)
    \(T\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)

    Use your graph to answer the following questions:

  3. What was the temperature 8 hours before noon?

  4. When will the temperature reach \(-12 \degree\)F?

Solution.
  1. The temperature at \(h\) hours after noon is given by \(T=-12+2h\text{.}\)

  2. We evaluate the expression for \(T\) at each of the \(h\)-values in the table.

    \(h\) \(-3\) \(-2\) \(-1\) \(0\) \(1\) \(2\) \(3\)
    \(T\) \(-18\) \(-16\) \(-14\) \(-12\) \(-10\) \(-8\) \(-6\)
    graph of line
  3. We find the point on the graph with \(h\)-coordinate \(-8\text{.}\) Its \(T\)-coordinate is \(-28\text{,}\) so the temperature was \(-28 \degree\)F.

  4. We find the point on the graph with \(T\)-coordinate \(-4\text{.}\) Its \(h\)-coordinate is 4, so it will be \(-4 \degree\)F at 4 pm.

Look Closer.

We can also answer parts (c) and (d) of Example 2.20 using algebra.

  • For part (c), we evaluate the expression for \(T\text{,}\) namely \(-12+2h\text{,}\) at \(h=-8\text{.}\)

  • For part (d), we solve the equation \(T=-12+2h\) with \(T=-4\text{.}\)

Make sure that you understand both methods, graphical and algebraic.

Graphing Tip #1.

If the coefficient of \(x\) (the number multiplying \(x\)) is a fraction, we can make our work easier by choosing multiples of the denominator for the \(x\)-values. That way we won't have to work with fractions to find the \(y\)-values. In the Example below, the coefficient of \(x\) is \(\dfrac{-2}{3}\text{,}\) so we choose multiples of 3 for the \(x\)-values.

Example 2.21.
  1. Graph \(~y=\dfrac{-2}{3}x-4\)

  2. Use the graph to solve the equation \(~\dfrac{-2}{3}x-4=-2\)

Solution.
  1. We choose \(x\)-values that are multiples of 3 and make a table of values.

    \(x\) \(y\) \(\hphantom{0000}\)
    \(-9\) \(2\) \(y=\dfrac{-2}{3}(\alert{-9})-4=2\)
    \(-6\) \(0\) \(y=\dfrac{-2}{3}(\alert{-6})-4=0\)
    \(0\) \(-4\) \(y=\dfrac{-2}{3}(\alert{0})-4=-4\)
    \(3\) \(-6\) \(y=\dfrac{-2}{3}(\alert{3})-4=-6\)
    \(6\) \(-8\) \(y=\dfrac{-2}{3}(\alert{6})-4=-8\)

    Then we plot the points and connect them with a straight line.

    graph of line
  2. We see that \(y\) has been replaced by \(-2\) in the equation of the graph. So we look for the point on the graph that has \(y\)-coordinate \(-2\text{.}\) This point, labeled \(P\) on the graph below, has \(x\)-coordinate \(-3\text{.}\)

    point on graph of line

    Because it lies on the graph, the point \(P(-3,-2)\) is a solution of the equation \(~y=\dfrac{-2}{3}x-4\text{.}\) When we substitute \(x=\blert{-3}\) and \(y=\alert{-2}\) into the equation, we get a true statement:

    \begin{equation*} \alert{-2}=\dfrac{-2}{3}(\blert{-3})-4 \end{equation*}

    But this statement also tells us that \(-3\) is a solution of the equation \(~\dfrac{-2}{3}x-4=-2\text{.}\)

Reading Questions Reading Questions

7.

What is the first step in graphing an equation?

Answer.

Make a table of values

8.

Which \(x\)-values would you choose to graph \(y=\dfrac{5}{4}x-3\) ?

Answer.

Multiples of 4

Graphing Tip #2.

When you graph a linear equation, you should extend the line far enough in both directions so that it will cross both the \(x\)-axis and the \(y\)-axis. The points where the graph crosses the axes are important for applications.

Look Closer.

The graph of an equation is a picture of the solutions of the equation. Each point on the graph represents a solution. If a point lies on the graph, its coordinates make the equation true.

Subsection Skills Warm-Up

Exercises Exercises

Exercise Group.

Choose the correct algebraic expression for each situation.

  • \(\displaystyle 2t+12\)

  • \(\displaystyle 12-25\)

  • \(\displaystyle 2(t+12)\)

  • \(\displaystyle 2t-12\)

1.

Janine's history book has 12 chapters. If she studies 2 chapters a week, how many chapters will she have left after \(t\) weeks?

2.

Arturo is 12 years older than twice the age of his nephew. If Arturo's nephew is \(t\) years old, how old is Arturo?

3.

Rick made 12 fewer than twice as many phone calls as his roommate made this month. If Rick's roommate made \(t\) phone calls, how many calls did Rick make?

4.

Every winter, the Civic Society knits mittens for the children of the county orphanage. This year there are 12 more children than last year. If there were \(t\) children last year, how many mittens will they need this year?

Subsubsection Answers to Skills Warm-Up

  1. \(\displaystyle 12-2t\)

  2. \(\displaystyle 2t+12\)

  3. \(\displaystyle 2t-12\)

  4. \(\displaystyle 2(t+12)\)

Subsection Lesson

Subsubsection Activity 1: Graphing Equations

Jasmine's electricity company charges her $6 per month plus $0.10 per kilowatt hour (kWh) of energy she uses.

  1. Write an equation for Jasmine's electric bill, \(E\text{,}\) if she uses \(h\) kWh of electricity.

  2. Graph your equation.

    \(\blert{\text{Make a table of values.}}\)

    \(h\) \(E\)
    \(100\) \(\hphantom{0000}\)
    \(400\) \(\hphantom{0000}\)
    \(800\) \(\hphantom{0000}\)

    \(\blert{\text{Plot the points and draw the graph.}}\)

    grid

Subsubsection Activity 2: Cartesian Coordinate System

Exercises Exercises
1.

Give the coordinates of each point shown in the figure below.

  • \(A~~\)

  • \(B~~\)

  • \(C~~\)

  • \(D~~\)

  • \(E~~\)

  • \(F~~\)

grid with points
2.

Graph the equation \(~~y=-2x+6\text{.}\)

  1. Choose values for \(x\) and make a table of values. Choose both positive and negative \(x\)-values, as in the suggested table below.

    \(x\) \(y\)
    \(-4\) \(\hphantom{0000}\)
    \(-3\) \(\hphantom{0000}\)
    \(-1\) \(\hphantom{0000}\)
    \(0\) \(\hphantom{0000}\)
    \(2\) \(\hphantom{0000}\)
    \(4\) \(\hphantom{0000}\)
    \(5\) \(\hphantom{0000}\)

  2. Plot the points and connect them with a straight line.

tall grid

Subsubsection Activity 3: Using a Graph

Exercises Exercises
1.

Use the graph in Activity 2 to answer parts (a) and (b). Label the point on the graph that gives the answer.

  1. Evaluate the expression \(~-2x+6~\) for \(x=-5\text{.}\)

  2. Solve the equation \(~-2x+6=10\)

2.

Francine borrowed money from her mother, and she owes her $750 right now. She has been paying off the debt at a rate of $50 per month.

  1. Write an equation for Francine's financial status, \(F\text{,}\) in terms of \(m\text{,}\) months from now.

  2. Fill in the table. Negative values of \(m\) mean months in the past. (Francine's current financial status is \(-\)$750.)

    \(m\) \(-5\) \(-2\) \(0\) \(2\) \(6\) \(10\) \(12\)
    \(F\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
  3. Graph your equation, using the values in the table.

    grid

    Use your graph to answer the questions below, and label the point on the graph that gives the answer.

  4. What will Francine's financial status be 7 months from now?

  5. When was Francine's financial status \(-\)$900?

Subsubsection Wrap-Up

Objectives.

In this Lesson we practiced the following skills:

  • Graphing a linear equation

  • Plotting points on a Cartesian coordinate system

  • Using a graph to answer questions about a model

Questions.
  1. In Activity 1, what are the intervals represented by each grid line on the axes?

  2. In Activity 2, what is the \(x\)-coordinate of the point with \(y\)-coordinate 16?

  3. In Activity 3, problem 2, if you increase the value of \(m\text{,}\) does \(F\) increase or decrease?

Subsection Homework Preview

Exercises Exercises

Exercise Group.

Complete the table of values and graph the equation.

1.

\(y=4-2x\)

\(x\) \(-3\) \(0\) \(2\) \(5\)
\(y\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
grid
2.

\(y=-6+3x\)

\(x\) \(-1\) \(0\) \(2\) \(4\)
\(y\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
grid
3.

\(y=-2+\dfrac{4}{3}x\)

\(x\) \(-3\) \(0\) \(3\) \(6\)
\(y\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
grid
4.

\(y=2-\dfrac{3}{4}x\)

\(x\) \(-8\) \(-4\) \(0\) \(8\)
\(y\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
grid

Subsubsection Answers to Homework Preview

  1. grid and line
  2. grid and line
  3. grid and line
  4. grid and line

Exercises Homework 2.3

Exercise Group.

For Problems 1–2, the figure shown is the graph of an equation. Decide which of the given points are solutions of the equation.

1.
  1. \(\displaystyle (2,0)\)

  2. \(\displaystyle (3,2)\)

  3. \(\displaystyle (-1,-2)\)

  4. \(\displaystyle (-3,-6)\)

graph
2.
  1. \(\displaystyle (4,-2)\)

  2. \(\displaystyle (4,4)\)

  3. \(\displaystyle (0,4)\)

  4. \(\displaystyle (-1,-4)\)

graph
Exercise Group.

For Problems 3–5, give the coordinates of the labeled points.

3.
points on grid
4.
graph
5.
graph
Exercise Group.

For Problems 6–7,

  1. Write an equation relating the variables.

  2. Complete the table of values.

  3. Graph your equation on the grid.

6.

Greta's math notebook has 100 pages, and she uses on average 6 pages per day for notes and homework. How many pages, \(P\text{,}\) will she have left after \(d\) days?

\(d\) \(0\) \(2\) \(5\) \(10\) \(15\)
\(P\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
grid
7.

Delbert shares a house with four roommates. He pays $200 rent per month, plus his share of the utilities. If the utilities cost \(U\) dollars, how much money, \(M\text{,}\) does Delbert owe?

\(U\) \(20\) \(40\) \(80\) \(100\) \(200\)
\(M\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
grid
8.

Darren inherited some money and has been spending it at the rate of $100 per day. Right now he has $2000 left.

  1. Write an equation for Darren's balance, \(B\text{,}\) after \(d\) days.

  2. Fill in the table. Negative values of \(d\) represent days in the past.

    \(d\) \(-15\) \(-5\) \(0\) \(5\) \(10\) \(15\) \(20\)
    \(B\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
  3. Graph your equation, using the values in the table.
    grid
    Use your graph to answer the following questions:
  4. What was Darren's balance 15 days ago?

  5. When will Darren's balance reach $500?

9.

Gregory purchased stereo equipment on a monthly installment plan. After \(m\) months, Gregory still owes a balance of \(B\) dollars.

line on grid

  1. What was the price of the stereo equipment?

  2. How much does Gregory pay each month?

  3. How much does Gregory owe after 6 months?

  4. How many monthly payments will Gregory make?

  5. Write an algebraic equation for \(B\) in terms of \(m\text{.}\)

Exercise Group.

For part (c) of Problems 10–11, write an equation and use your graph to solve it.

10.

On a 100-point test, Lori loses 5 points for each wrong answer.

  1. Write an equation for Lori's score, \(s\text{,}\) if she gives \(x\) wrong answers.

  2. Complete the table of values and graph your equation.

    \(x\) \(2\) \(5\) \(6\) \(12\)
    \(s\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
    grid
  3. If Lori's score is 65, how many wrong answers did she give?

11.

The water in Silver Pond is 10 feet deep, but the water level is dropping at a rate of \(\dfrac{1}{2}\) inch per week.

  1. Write an equation for the depth, \(d\text{,}\) of the pond after \(w\) weeks.

  2. Complete the table of values and graph your equation.

    \(w\) \(24\) \(36\) \(84\) \(120\)
    \(d\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\) \(\hphantom{0000}\)
    grid
  3. How long will it take until the depth of the pond is 8 feet? (Hint: Convert all the units to inches.)

Exercise Group.

For Problems 12–15, choose four \(x\)-values and make a table of values, then graph the equation. Extend your line far enough that it crosses both axes.

12.
\(y=x+3\)
grid
13.
\(y=2x+1\)
grid
14.
\(y=-\dfrac{1}{2}x-5\)
grid
15.
\(y=\dfrac{5}{4}x-4\)
grid
16.

The graph of \(y=2x+6\) is shown below.

line on grid

  1. Use the graph to evaluate the expression \(2x+6\) for \(x=-5\text{.}\)

  2. Find a point on the graph with \(y=-4\text{.}\) What is the \(x\)-value of the point?

  3. Verify that the coordinates of your point in part (b) satisfy the equation of the graph.

  4. Use the graph to find an \(x\)-value that produces a \(y\)-value of 8.

  5. Find two points on the graph for which \(y \gt -4\text{.}\) What are their \(x\)-values?

Exercise Group.

For Problems 17–18, use the graph to solve the equations. Show your solutions on the graph. Then check your solutions algebraically.

17.
grid
  1. \(\displaystyle -9-\dfrac{x}{4}=-5\)

  2. \(\displaystyle -9-\dfrac{x}{4}=1\)

18.
grid
  1. \(\displaystyle 7-\dfrac{2x}{3}=3\)

  2. \(\displaystyle 7-\dfrac{2x}{3}=11\)

Exercise Group.

For Problems 19–20, use the graph to estimate the solution of the equation. Then use a calculator to help you verify the solution algebraically. Do you think your estimate was too big or too small?

19.
\(37.21-8.4t=24.61\)
grid
20.
\(-26.4=-3.65+9.1x\)
grid