Skip to main content
Mathematics LibreTexts

24.6: E1.05- Graphs Part 1

  • Page ID
    51748
  • \( \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}}\)

    Section 3. Graphs

    First we’ll investigate how to use a spreadsheet to graph one formula onto a rectangular coordinate system, just like the graphs you have done by hand in algebra classes. You MUST put the values for the input variable and the output variable in two columns, with the input variable on the left.   Some of the details of exactly what menus to use after that may vary from one spreadsheet program to another. The description here is for Excel. Ask for help about the exact sequence to use if you have a different spreadsheet program, such as Open Office. (The Microsoft Works spreadsheet program will not graph.)

    Then, in Excel, choose the Insert > Chart

    Example 7. Graph y=4+2{{(x-3)}^{2}} on the values using a rectangular coordinate system and connecting the points with a line/curve.

    Solution:

    • First enter the x-values in the first column, including the label at the top of the column. There is no clear answer about exactly how many values to enter here, but be sure they include some at each end of the range of x-values.
    • Second, enter the formula as described in Section 2, Example 4, including the label at the top of the column. (Look back at that example to see the values.)
    • Select the cells that contain the labels and the data to graph.
    • In the menus at the top of the page, choose Insert>Chart to begin a graph.
    • Choose X-Y Scatter for the type. (Gives the rectangular coordinate system that we want.)
    • You’ll have a choice of connected or unconnected lines. In this case, choose the connected lines. Sometimes in this course we’ll choose unconnected lines.
    • Go through the rest of the choices quickly, not changing anything, and click Finish.
    118.png

    Check: In this course, you will graph many formulas that you haven’t seen before, so you won’t know what they are supposed to look like. The best way to check this is to evaluate at least one of the values by hand (using a calculator) as we did when entering the formula, just to be sure you have done what you intended when you put the formula in. But, if you have entered the formula correctly, then those values will be correct and this will be the correct graph. 

    Example 8. Graph y=4+2{{(x-3)}^{2}} on the values 0\le{x}\le12 and, on the same axes, graph y=10x. Determine what range of x-values has the first formula value smaller than the second formula value. (Where is the curved graph below the straight line?)

    Solution:

    • Repeat the first few steps in the previous example to obtain the first formula values. This time extend the x-values to 12.
    • In the third column of the spreadsheet, put the values for the formula y=10x.
    • Select all three columns of numbers, as far down as you have values.
    • Use Insert>Chart and choose X-Y Scatter. Choose the connected lines. I encourage you to experiment a bit.
      A B C
    1 x y=4+2(x-3)^2 y=10x
    2 0 22 0
    3 1 12 10
    4 2 6 20
    5 3 4 30
    6 4 6 40
    7 5 12 50
    8 6 22 60
    9 7 36 70
    10 8 54 80
    11 9 76 90
    12 10 102 100
    13 11 132 110
    14 12 166 120
    28.png

    The range of values is about x=1 to x=10 for which the values of the curved graph are below the values of the straight-line graph.

     

     

    CC licensed content, Shared previously
    • Mathematics for Modeling. Authored by: Mary Parker and Hunter Ellinger. License: CC BY: Attribution

    24.6: E1.05- Graphs Part 1 is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?