A method of testing whether a graph represents a function

Learning Outcomes

  • Verify a function using the vertical line test
  • Verify a one-to-one function with the horizontal line test
  • Identify the graphs of the toolkit functions

As we have seen in examples above, we can represent a function using a graph. Graphs display many input-output pairs in a small space. The visual information they provide often makes relationships easier to understand. We typically construct graphs with the input values along the horizontal axis and the output values along the vertical axis.

The most common graphs name the input value [latex]x[/latex] and the output value [latex]y[/latex], and we say [latex]y[/latex] is a function of [latex]x[/latex], or [latex]y=f\left(x\right)[/latex] when the function is named [latex]f[/latex]. The graph of the function is the set of all points [latex]\left(x,y\right)[/latex] in the plane that satisfies the equation [latex]y=f\left(x\right)[/latex]. If the function is defined for only a few input values, then the graph of the function is only a few points, where the x-coordinate of each point is an input value and the y-coordinate of each point is the corresponding output value. For example, the black dots on the graph in the graph below tell us that [latex]f\left(0\right)=2[/latex] and [latex]f\left(6\right)=1[/latex]. However, the set of all points [latex]\left(x,y\right)[/latex] satisfying [latex]y=f\left(x\right)[/latex] is a curve. The curve shown includes [latex]\left(0,2\right)[/latex] and [latex]\left(6,1\right)[/latex] because the curve passes through those points.

A method of testing whether a graph represents a function

The vertical line test can be used to determine whether a graph represents a function. A vertical line includes all points with a particular [latex]x[/latex] value. The [latex]y[/latex] value of a point where a vertical line intersects a graph represents an output for that input [latex]x[/latex] value. If we can draw any vertical line that intersects a graph more than once, then the graph does not define a function because that [latex]x[/latex] value has more than one output. A function has only one output value for each input value.

A method of testing whether a graph represents a function

How To: Given a graph, use the vertical line test to determine if the graph represents a function.

  1. Inspect the graph to see if any vertical line drawn would intersect the curve more than once.
  2. If there is any such line, the graph does not represent a function.
  3. If no vertical line can intersect the curve more than once, the graph does represent a function.

Which of the graphs represent(s) a function [latex]y=f\left(x\right)?[/latex]

A method of testing whether a graph represents a function

Does the graph below represent a function?

A method of testing whether a graph represents a function

The Horizontal Line Test

Once we have determined that a graph defines a function, an easy way to determine if it is a one-to-one function is to use the horizontal line test. Draw horizontal lines through the graph. A horizontal line includes all points with a particular [latex]y[/latex] value. The [latex]x[/latex] value of a point where a vertical line intersects a function represents the input for that output [latex]y[/latex] value. If we can draw any horizontal line that intersects a graph more than once, then the graph does not represent a function because that [latex]y[/latex] value has more than one input.

How To: Given a graph of a function, use the horizontal line test to determine if the graph represents a one-to-one function.

  1. Inspect the graph to see if any horizontal line drawn would intersect the curve more than once.
  2. If there is any such line, the function is not one-to-one.
  3. If no horizontal line can intersect the curve more than once, the function is one-to-one.

Consider the functions (a), and (b)shown in the graphs below.

A method of testing whether a graph represents a function

Are either of the functions one-to-one?

Identifying Basic Toolkit Functions

In this text we explore functions—the shapes of their graphs, their unique characteristics, their algebraic formulas, and how to solve problems with them. When learning to read, we start with the alphabet. When learning to do arithmetic, we start with numbers. When working with functions, it is similarly helpful to have a base set of building-block elements. We call these our “toolkit functions,” which form a set of basic named functions for which we know the graph, formula, and special properties. Some of these functions are programmed to individual buttons on many calculators. For these definitions we will use [latex]x[/latex] as the input variable and [latex]y=f\left(x\right)[/latex] as the output variable.

We will see these toolkit functions, combinations of toolkit functions, their graphs, and their transformations frequently throughout this book. It will be very helpful if we can recognize these toolkit functions and their features quickly by name, formula, graph, and basic table properties. The graphs and sample table values are included with each function shown below.

Toolkit Functions
Name Function Graph
Constant [latex]f\left(x\right)=c[/latex], where [latex]c[/latex] is a constant
A method of testing whether a graph represents a function
Identity [latex]f\left(x\right)=x[/latex]
A method of testing whether a graph represents a function
Absolute value [latex]f\left(x\right)=|x|[/latex]
A method of testing whether a graph represents a function
Quadratic [latex]f\left(x\right)={x}^{2}[/latex]
A method of testing whether a graph represents a function
Cubic [latex]f\left(x\right)={x}^{3}[/latex]
A method of testing whether a graph represents a function
Reciprocal/ Rational [latex]f\left(x\right)=\frac{1}{x}[/latex]
A method of testing whether a graph represents a function
Reciprocal / Rational squared [latex]f\left(x\right)=\frac{1}{{x}^{2}}[/latex]
A method of testing whether a graph represents a function
Square root [latex]f\left(x\right)=\sqrt{x}[/latex]
A method of testing whether a graph represents a function
Cube root [latex]f\left(x\right)=\sqrt[3]{x}[/latex]
A method of testing whether a graph represents a function

In this exercise, you will graph the toolkit functions using an online graphing tool.

  1. Graph each toolkit function using function notation.
  2. Make a table of values that references the function and includes at least the interval [-5,5].

Contribute!

Did you have an idea for improving this content? We’d love your input.

Improve this pageLearn More

Determine the sum of the first 30 terms of the sequence whose first term is 5x common difference is 3x.

A display of cans in a grocery shelf consist of 28 cans at the bottom,25 cans in the next row and so on if there are 9 rows in a shelf. A.How many ca … ns are there in 9th row B.How many cans in total are in the display

6+7×8 please answer ​

A rectangular garden has an area of 2x²+7x+3 square meter if the length represented by 2x+1 find a binomial that represents the width?A. x-1B. x-3 C. … x+3D. x+1​

Write the subtraction sentence for each item to solve. ​

for the following figure , what is the decimal representation of the orange shaded portion of the blue figure?​

cite your experience in Calculating Word Problems when you are in basic Education. Write ot in a paragraph form. The concrete details are appreciated … sana matulungan nyoko

what is the next number in the sequence 1,3,8,19,49,89,​

what is the sum of first 10 term of the sequence whose first term 15 and common difference is -2?​

Determine the direction in which the parabola opens, locate the vertex, focus, axis of symmetry and directrix. Sketch the graph of parabola. 1. y²=12x … The parabola opens:_______vertex at ______a= ________axis of symmetry: ________directrix:___________2. x²+12y=0The parabola opens:_______vertex at ______a= ________axis of symmetry: ________directrix:___________3. y²=12xThe parabola opens:_______vertex at ______a= ________axis of symmetry: ________directrix:___________4. 6x²+48y=0The parabola opens:_______vertex at ______a= ________axis of symmetry: ________directrix:___________​