Skip to main content
Mathematics LibreTexts

2.7: Putting It Together- Graphing

  • Page ID
    51452
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Suppose you are a semiprofessional blogger who writes about media (you’d really like to be a paid film critic, but no one has offered yet). Recently you posted a short blog piece complaining about the number of ads on TV these days, compared to when you were younger. You weren’t very scientific about it, and a couple of your readers disputed your claim and tried to start an argument with you.

    Well, that got your attention. It made you wonder whether your perception of there being “way more” TV ads was accurate. You get online and do a little research, and you find a website that reports some interesting data on the number of minutes of TV commercials per hour since 2009, shown below:

    Years since 2009 Minutes
    0 8.5
    1 9.25
    2 10
    3 10.75
    4 11.5
    5 12.25
    6 13

    The data show that, yes, there are more commercials now than in 2009, but the table isn’t very exciting, and you doubt that your readers will care. You may not be a famous film critic yet, but you realize you can use what you’ve learned in math class to present this information as a graph—the perfect thing to post on your blog and convince your skeptical readers!

    You get to work.

    What information do you need to draw a graph of the line that represents the change in the number of minutes of commercials in one hour of TV since 2009?

    The Cartesian Coordinate Plane

    You remember that the coordinate plane gives your graph structure and meaning. A straight line on a page won’t tell your readers much. You draw the axes and label the horizontal one “Years Since 2009,” because that’s the first data point you have. You label the vertical axis from 1 to 18 because your minute data range from 8.5 to 13 minutes, and that will give you room on either side.

    A graph, with the y-axis representing the number of minutes of commercials in one hour of television and the x-axis representing years since 2009. The y-axis is numbered 0 through 18 by twos, and the x-axis is labeled 0 through 8 by ones.

    Then you plot the ordered pairs from your table of values on your coordinate plane, as below.

    The previous graph, with added points: the point (0,8.5), the point (1, 9.25), the point (2,10), the point (3,10.75), the point (4,11.5), the point (5,12.25), and the point (6,13).

    The points give you a guide for drawing your line, which you do, as below.

    An upward-sloping line drawn through the point (0,8.5), the point (1, 9.25), the point (2,10), the point (3,10.75), the point (4,11.5), the point (5,12.25), and the point (6,13).

    Things are looking pretty good, so you post your graph to your blog to show people how much more time they are being exposed to commercials in one hour of TV watching since 2009.

    Then, it happens . . .

    One of your readers asks if you can guess how many minutes of commercials will be in one hour of television ten years from now (assuming the current trend continues). After thinking about the question for a while, you realize you don’t have to guess! You have all the information you need to write the equation of the line you drew, and you recall that, with an equation, you can put in any value for the years since 2009.

    Finding the Equation

    You remember that knowing the slope and y-intercept of a line can help you write the equation of the line. You realize you have the y-intercept: \((0,8.5)\). Now, you just need the slope.

    You check your math notes to find the definition of slope, and use two of your data points to calculate it:

    \(\begin{array}{l} \text{Slope}=\frac{\text{rise}}{\text{run}}\\\\m=\frac

    ParseError: colon expected (click for details)
    Callstack:
        at (Courses/Lumen_Learning/Beginning_Algebra_(Lumen)/02:_Graphing/2.07:_Putting_It_Together-_Graphing), /content/body/div[3]/p[3]/span[1], line 1, column 3
    
    ParseError: colon expected (click for details)
    Callstack:
        at (Courses/Lumen_Learning/Beginning_Algebra_(Lumen)/02:_Graphing/2.07:_Putting_It_Together-_Graphing), /content/body/div[3]/p[3]/span[2], line 1, column 3
    
    \\\\m=\frac
    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/Lumen_Learning/Beginning_Algebra_(Lumen)/02:_Graphing/2.07:_Putting_It_Together-_Graphing), /content/body/div[3]/p[3]/span[3], line 1, column 5
    
    ParseError: EOF expected (click for details)
    Callstack:
        at (Courses/Lumen_Learning/Beginning_Algebra_(Lumen)/02:_Graphing/2.07:_Putting_It_Together-_Graphing), /content/body/div[3]/p[3]/span[4], line 1, column 2
    
    \\\\m=\frac0.751 = 0.75\end{array}\)

    Now you have the two pieces of information you need to write the equation of the line that represents how many minutes of commercials will be in one hour of TV in any year before or after 2009.

    First choose your variables: x = the year and y = the number of minutes. You can substitute the values for m and b into the slope-intercept form of a line:

    \(\begin{array}{l}{ y }= {m x} + {b}\\{ y }= {0.75 x} + {8.5}\end{array}\)

    Remembering that the whole point of this exercise was to answer your reader’s question, next you figure out what 10 years from now would be in relation to 0 representing 2009 on your graph. If 10 years from now is 2026, then it’s 17 years from 2009. The x value you need in order to answer the question is 17.

    \(\begin{array}{l}{ y }= {0.75 (17)} + {8.5}\\\\{ y }= {12.75} + {8.5}\\\\{ y }= {21.25}\end{array}\)

    You have a new data point: \((17,21.25)\). This means that in 2026 there will be more than 20 minutes of commercials in one hour of TV. Yuck!


    2.7: Putting It Together- Graphing is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?