Graphs of Functions
Learning Objectives
- Graph linear functions using a table of values
- Graph a quadratic function using a table of values
- Identify how multiplication can change the graph of a radical function
| x | f(x) |
|---|---|
| x | f(x) |
|---|---|
| [latex]−2[/latex] | |
| [latex]−1[/latex] | |
| [latex]0[/latex] | |
| [latex]1[/latex] | |
| [latex]3[/latex] |
| x | f(x) |
| [latex]−2[/latex] | [latex]−4[/latex] |
| [latex]−1[/latex] | [latex]−1[/latex] |
| [latex]0[/latex] | [latex]2[/latex] |
| [latex]1[/latex] | [latex]5[/latex] |
| [latex]3[/latex] | [latex]11[/latex] |
| x | f(x) |
| [latex]−2[/latex] | [latex]−4[/latex] |
| [latex]−1[/latex] | [latex]−1[/latex] |
| [latex]0[/latex] | [latex]2[/latex] |
| [latex]1[/latex] | [latex]5[/latex] |
| [latex]3[/latex] | [latex]11[/latex] |
Since the points lie on a line, use a straight edge to draw the line. Try to go through each point without moving the straight edge.
Let’s try another one. Before you look at the answer, try to make the table yourself and draw the graph on a piece of paper.
Example
Graph [latex]f(x)=−x+1[/latex].Answer: Start with a table of values. You can choose different values for x, but once again, it’s helpful to include 0, some positive values, and some negative values. If you think of f(x) as y, each row forms an ordered pair that you can plot on a coordinate grid.
[latex]f(−2)=−(−2)+1=2+1=3\\f(−1)=−(−1)+1=1+1=2\\f(0)=−(0)+1=0+1=1\\f(1)=−(1)+1=−1+1=0\\f(2)=−(2)+1=−2+1=−1[/latex]
| x | f(x) |
| [latex]−2[/latex] | [latex]3[/latex] |
| [latex]−1[/latex] | [latex]2[/latex] |
| [latex]0[/latex] | [latex]1[/latex] |
| [latex]1[/latex] | [latex]0[/latex] |
| [latex]2[/latex] | [latex]−1[/latex] |
Answer
Since the points lie on a line, use a straight edge to draw the line. Try to go through each point without moving the straight edge.
A General Note: Linear Function
A linear function is a function whose graph is a line. Linear functions can be written in the slope-intercept form of a line [latex-display]f\left(x\right)=mx+b[/latex-display] where [latex]b[/latex] is the initial or starting value of the function (when input, [latex]x=0[/latex]), and [latex]m[/latex] is the constant rate of change, or slope of the function. The y-intercept is at [latex]\left(0,b\right)[/latex].Graph Quadratic Functions
Quadratic functions can also be graphed. It’s helpful to have an idea what the shape should be, so you can be sure that you’ve chosen enough points to plot as a guide. Let’s start with the most basic quadratic function, [latex]f(x)=x^{2}[/latex]. Graph [latex]f(x)=x^{2}[/latex]. Start with a table of values. Then think of the table as ordered pairs.| x | f(x) |
|---|---|
| [latex]−2[/latex] | [latex]4[/latex] |
| [latex]−1[/latex] | [latex]1[/latex] |
| [latex]0[/latex] | [latex]0[/latex] |
| [latex]1[/latex] | [latex]1[/latex] |
| [latex]2[/latex] | [latex]4[/latex] |
Since the points are not on a line, you can’t use a straight edge. Connect the points as best you can, using a smooth curve (not a series of straight lines). You may want to find and plot additional points (such as the ones in blue here). Placing arrows on the tips of the lines implies that they continue in that direction forever.
Notice that the shape is like the letter U. This is called a parabola. One-half of the parabola is a mirror image of the other half. The line that goes down the middle is called the line of reflection, in this case that line is they y-axis. The lowest point on this graph is called the vertex.
In the following video we show an example of plotting a quadratic function using a table of values.
https://youtu.be/wYfEzOJugS8
The equations for quadratic functions have the form [latex]f(x)=ax^{2}+bx+c[/latex] where [latex] a\ne 0[/latex]. In the basic graph above, [latex]a=1[/latex], [latex]b=0[/latex], and [latex]c=0[/latex].
Changing a changes the width of the parabola and whether it opens up ([latex]a>0[/latex]) or down ([latex]a<0[/latex]). If a is positive, the vertex is the lowest point, if a is negative, the vertex is the highest point. In the following example, we show how changing the value of a will affect the graph of the function.
Example
Match the following functions with their graph. a) [latex] \displaystyle f(x)=3{{x}^{2}}[/latex] b) [latex] \displaystyle f(x)=-3{{x}^{2}}[/latex] c)[latex] \displaystyle f(x)=\frac{1}{2}{{x}^{2}}[/latex] a)
b)
c)
Answer:
Function a) [latex] \displaystyle f(x)=3{{x}^{2}}[/latex] means that inputs are squared and then multiplied by three, so the outputs will be greater than they would have been for [latex]f(x)=x^2[/latex]. This results in a parabola that has been squeezed, so the graph b) is the best match for this function.
Function b) [latex] \displaystyle f(x)=-3{{x}^{2}}[/latex] means that inputs are squared and then multiplied by negative three, so the outputs will be greater than they would have been for [latex]f(x)=x^2[/latex] so graph a) is the best match for this function.
Function c) [latex] \displaystyle f(x)=\frac{1}{2}{{x}^{2}}[/latex] means that inputs are squared then multiplied by [latex]\frac{1}{2}[/latex], so the outputs are less than they would be for [latex]f(x)=x^2[/latex]. This results in a parabola that has been opened wider than[latex]f(x)=x^2[/latex]. Graph c) is the best match for this function.
Answer
Function a) matches graph b) Function b) matches graph a) Function c) matches graph c)Example
Match the following functions with their graph. a) [latex] \displaystyle f(x)={{x}^{2}}+3[/latex] b) [latex] \displaystyle f(x)={{x}^{2}}-3[/latex] a)
b)
Answer:
Function a) [latex] \displaystyle f(x)={{x}^{2}}+3[/latex] means square the inputs then add three, so every output will be moved up 3 units. the graph that matches this function best is b)
Function b) [latex] \displaystyle f(x)={{x}^{2}}-3[/latex] means square the inputs then subtract three, so every output will be moved down 3 units. the graph that matches this function best is a)
Licenses & Attributions
CC licensed content, Original
- Graph a Quadratic Function Using a Table of Value and the Vertex. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. License: CC BY: Attribution.
- Revision and Adaptation. Provided by: Lumen Learning License: CC BY: Attribution.
CC licensed content, Shared previously
- Ex: Graph a Linear Function Using a Table of Values (Function Notation). Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
- Unit 17: Functions, from Developmental Math: An Open Program. Provided by: Monterey Institute of Technology and Education Located at: https://www.nroc.org/. License: CC BY: Attribution.
- Ex: Graph a Quadratic Function Using a Table of Values. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.
- Determine if a Relation Given as a Table is a One-to-One Function. Authored by: James Sousa (Mathispower4u.com) for Lumen Learning. License: CC BY: Attribution.
- Ex 1: Use the Vertical Line Test to Determine if a Graph Represents a Function. Authored by: James Sousa (Mathispower4u.com) . License: CC BY: Attribution.