# 1.2: Relations and Functions

**At Grade**Created by: CK-12

## Learning Objectives

A student will be able to:

- Identify functions from various relationships.
- Review function notation.
- Determine domains and ranges of particular functions.
- Identify key properties of some basic functions.
- Sketch graphs of basic functions.
- Sketch variations of basic functions using transformations.
- Compose functions.

## Introduction

In our last lesson we examined a variety of mathematical equations that expressed mathematical relationships. In this lesson we will focus on a particular class of relationships called functions, and examine their key properties. We will then review how to sketch graphs of some basic functions that we will revisit later in this class. Finally, we will examine a way to combine functions that will be important as we develop the key concepts of calculus.

Let’s begin our discussion by reviewing four types of equations we examined in our last lesson.

**Example 1:**

Of these, the circle has a quality that the other graphs do not share. Do you know what it is?

**Solution:**

The circle’s graph includes points where a particular value has two points associated with it; for example, the points and are both solutions to the equation For each of the other relationships, a particular value has exactly one value associated with it.

The relationships that satisfy the condition that for each value there is a unique value are called **functions**. Note that we could have determined whether the relationship satisfied this condition by a graphical test, the vertical line test. Recall the relationships of the circle, which is not a function. Let’s compare it with the parabola, which is a function.

If we draw vertical lines through the graphs as indicated, we see that the condition of a particular value having exactly one value associated with it is equivalent to having at most one point of intersection with any vertical line. The lines on the circle intersect the graph in more than one point, while the lines drawn on the parabola intersect the graph in exactly one point. So this vertical line test is a quick and easy way to check whether or not a graph describes a function.

We want to examine properties of functions such as function notation, their domain and range (the sets of and values that define the function), graph sketching techniques, how we can combine functions to get new functions, and also survey some of the basic functions that we will deal with throughout the rest of this book.

Let’s start with the notation we use to describe functions. Consider the example of the linear function We could also describe the function using the symbol and read as " *of* " to indicate the value of the function for a particular value. In particular, for this function we would write and indicate the value of the function at a particular value, say as and find its value as follows: This statement corresponds to the solution as a point on the graph of the function. It is read, " *of* *is* ."

We can now begin to discuss the properties of functions, starting with the ** domain** and the

**of a function. The**

*range***refers to the set of values that are inputs in the function, while the**

*domain***refers to the set of values that the function takes on. Recall our examples of functions:**

*range*
*Linear Function*

*Quadratic Function*

*Polynomial Function*

We first note that we could insert any real number for an value and a well-defined value would come out. Hence each function has the set of all real numbers as a domain and we indicate this in interval form as . Likewise we see that our graphs could extend up in a positive direction and down in a negative direction without end in either direction. Hence we see that the set of values, or the range, is the set of all real numbers

**Example 2:**

Determine the domain and range of the function.

**Solution:**

We note that the condition for each value is a fraction that includes an term in the denominator. In deciding what set of values we can use, we need to exclude those values that make the denominator equal to Why? **(Answer: division by** **is not defined for real numbers.)** Hence the set of all permissible values, is all real numbers except for the numbers which yield division by zero. So on our graph we will not see any points that correspond to these values. It is more difficult to find the range, so let’s find it by using the graphing calculator to produce the graph.

From the graph, we see that every value in (or "All real numbers") is represented; hence the range of the function is This is because a fraction with a non-zero numerator never equals zero.

*Eight Basic Functions*

We now present some basic functions that we will work with throughout the course. We will provide a list of eight basic functions with their graphs and domains and ranges. We will then show some techniques that you can use to graph variations of these functions.

*Linear*

*Domain**All reals*

*Range**All reals*

*Square (Quadratic)*

*Domain**All reals*

*Range*

*Cube (Polynomial)*

*Domain**All reals*

*Range**All reals*

*Square Root*

*Domain*

*Range*

*Absolute Value*

*Domain**All reals*

*Range*

*Reciprocal*

*Domain*

*Range*

*Sine*

*Domain**All reals*

*Range*

*Cosine*

*Domain**All reals*

*Range*

*Graphing by Transformations*

Once we have the basic functions and each graph in our memory, we can easily sketch variations of these. In general, if we have and is some constant value, then the graph of is just the graph of shifted to the right. Similarly, the graph of is just the graph of shifted to the left.

**Example 3:**

In addition, we can shift graphs up and down. In general, if we have and is some constant value, then the graph of is just the graph of shifted up on the axis. Similarly, the graph of is just the graph of shifted down on the axis.

**Example 4:**

We can also flip graphs in the axis by multiplying by a negative coefficient.

Finally, we can combine these transformations into a single example as follows.

**Example 5:**

The graph will be generated by taking flipping in the axis, and moving it two units to the right and up three units.

**Function Composition**

The last topic for this lesson involves a way to combine functions called **function composition**. Composition of functions enables us to consider the effects of one function followed by another. Our last example of graphing by transformations provides a nice illustration. We can think of the final graph as the effect of taking the following steps:

We can think of it as the application of two functions. First, takes to and then we apply a second function, to those values, with the second function adding to each output. We would write the functions as

where and We call this operation the composing of with and use notation Note that in this example, Verify this fact by computing right now. (Note: this fact can be verified algebraically, by showing that the expressions and differ, or by showing that the different function decompositions are not equal for a specific value.)

## Lesson Summary

- Learned to identify functions from various relationships.
- Reviewed the use of function notation.
- Determined domains and ranges of particular functions.
- Identified key properties of basic functions.
- Sketched graphs of basic functions.
- Sketched variations of basic functions using transformations.
- Learned to compose functions.

## Review Questions

In problems 1 - 2, determine if the relationship is a function. If it is a function, give the domain and range of the function.

In problems 3 - 5, determine the domain and range of the function and sketch the graph if no graph is provided.

In problems 6 - 8, sketch the graph using transformations of the graphs of basic functions.

- Find the composites, and for the following functions.
- Find the composites, and for the following functions.

## Review Answers

- The relationship is a function. Domain is All Real Numbers and range
- The relationship is not a function.
- The domain is Use the graph and view the table of solutions to determine the range. Using your graphing calculator, enter the relationship on the
**Y=**menu. Viewing the table shows that range - ,
- This is the basic absolute value function shifted to the right and down two units. Domain is All Reals and range is
- Reflect and shift the general quadratic function as indicated here:
- Reflect and shift the general reciprocal function as indicated here:
- Reflect and shift the general radical function as indicated here:
- any functions where are called inverses; in this problem and are inverses of one another. Note that the domain for is restricted to only positive numbers and zero.