# 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

The relationships that satisfy the condition that for each **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

We want to examine properties of functions such as function notation, their domain and range (the sets of

Let’s start with the notation we use to describe functions. Consider the example of the linear function *of* *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**

*domain***refers to the set of**

*range*
*Linear Function*

*Quadratic Function*

*Polynomial Function*

We first note that we could insert any real number for an

**Example 2:**

Determine the domain and range of the function.

**Solution:**

We note that the condition for each **(Answer: division by** **is not defined for real numbers.)** Hence the set of all permissible

From the graph, we see that every

*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*

\begin{align*}f(x) = x\end{align*}

** Domain** \begin{align*}=\end{align*}

*All reals*
** Range** \begin{align*}=\end{align*}

*All reals*

*Square (Quadratic)*

\begin{align*}f(x) = x^2\end{align*}

** Domain** \begin{align*}=\end{align*}

*All reals*
** Range** \begin{align*}= \left \{ y \ge 0 \right \}\end{align*}

*Cube (Polynomial)*

\begin{align*}f(x)=x^3\end{align*}

** Domain** \begin{align*}=\end{align*}

*All reals*
** Range** \begin{align*}=\end{align*}

*All reals*

*Square Root*

\begin{align*}f(x) = \sqrt{x}\end{align*}

** Domain** \begin{align*}=\left \{ x \ge 0 \right \}\end{align*}

** Range** \begin{align*}= \left \{ y \ge 0 \right \}\end{align*}

*Absolute Value*

\begin{align*}f(x) = |x|\end{align*}

** Domain** \begin{align*}=\end{align*}

*All reals*
** Range** \begin{align*}=\left \{ y \ge 0 \right \}\end{align*}

*Reciprocal*

\begin{align*}f(x) = 1/x\end{align*}

** Domain** \begin{align*}=\left \{ x \neq 0 \right \}\end{align*}

** Range** \begin{align*}=\left \{ y \neq 0 \right \}\end{align*}

*Sine*

\begin{align*}f(x) = \sin x\end{align*}

** Domain** \begin{align*}=\end{align*}

*All reals*
** Range** \begin{align*}= \left \{ -1 \le y \le 1 \right \}\end{align*}

*Cosine*

\begin{align*}f(x) = \cos x\end{align*}

** Domain** \begin{align*}=\end{align*}

*All reals*
** Range** \begin{align*}= \left \{ -1 \le y \le 1 \right \}\end{align*}

*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 \begin{align*}f(x),\end{align*} and \begin{align*}c\end{align*} is some constant value, then the graph of \begin{align*}f(x - c)\end{align*} is just the graph of \begin{align*}f(x)\end{align*} shifted \begin{align*}c\;\mathrm{units}\end{align*} to the right. Similarly, the graph of \begin{align*}f(x + c)\end{align*} is just the graph of \begin{align*}f(x)\end{align*} shifted \begin{align*}c\;\mathrm{units}\end{align*} to the left.

**Example 3:**

\begin{align*}f(x) = x^2\end{align*}

\begin{align*}f(x) = (x - 2)^2\end{align*}

In addition, we can shift graphs up and down. In general, if we have \begin{align*}f(x),\end{align*} and \begin{align*}c\end{align*} is some constant value, then the graph of \begin{align*}f(x)+ c\end{align*} is just the graph of \begin{align*}f(x)\end{align*} shifted \begin{align*}c\;\mathrm{units}\end{align*} up on the \begin{align*}y-\end{align*}axis. Similarly, the graph of \begin{align*}f(x)-c\end{align*} is just the graph of \begin{align*}f(x)\end{align*} shifted \begin{align*}c\;\mathrm{units}\end{align*} down on the \begin{align*}y-\end{align*}axis.

**Example 4:**

\begin{align*}f(x) = \sqrt{x}\end{align*}

\begin{align*}f(x) = \sqrt{x} + 3\end{align*}

We can also flip graphs in the \begin{align*}x-\end{align*}axis by multiplying by a negative coefficient.

\begin{align*}f(x) = x^2\end{align*}

\begin{align*}f(x) = - x^2\end{align*}

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

**Example 5:**

\begin{align*}f(x) = -(x-2)^2 + 3.\end{align*} The graph will be generated by taking \begin{align*}f(x) = x^2,\end{align*} flipping in the \begin{align*}y-\end{align*}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:

\begin{align*} x \rightarrow -(x-2)^2 \rightarrow -(x-2)^2 + 3\end{align*}

We can think of it as the application of two functions. First, \begin{align*}g(x)\end{align*} takes \begin{align*}x\end{align*} to \begin{align*}-(x-2)^2\end{align*} and then we apply a second function, \begin{align*}f(x)\end{align*} to those \begin{align*}y-\end{align*}values, with the second function adding \begin{align*}+3\end{align*} to each output. We would write the functions as

\begin{align*}f(g(x)) = -(x -2)^2+3\end{align*} where \begin{align*}g(x) = -(x -2)^2\end{align*} and \begin{align*}f(x)= x + 3.\end{align*} We call this operation the composing of \begin{align*}f\end{align*} with \begin{align*}g\end{align*} and use notation \begin{align*}f \circ g.\end{align*} Note that in this example, \begin{align*}f \circ g \neq g \circ f.\end{align*} Verify this fact by computing \begin{align*}g \circ f\end{align*} right now. (Note: this fact can be verified algebraically, by showing that the expressions \begin{align*}f \circ g\end{align*} and \begin{align*}g \circ f\end{align*} 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.

- \begin{align*}f(x)= \frac {3x^2}{x^2 - 1}\end{align*}
- \begin{align*}y = \sqrt{-x + 3}\end{align*}
- \begin{align*}f(x) = |2x -3|-2\end{align*}

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

- \begin{align*}f(x) = -(x + 2)^2 + 5\end{align*}
- \begin{align*}f(x) = -\frac {1}{x - 2} +3\end{align*}
- \begin{align*}y = -\sqrt {-x - 2} +3\end{align*}
- Find the composites, \begin{align*}f \circ g\end{align*} and \begin{align*}g \circ f\end{align*} for the following functions. \begin{align*}f(x) = -3x + 2, g(x)=\sqrt{x}\end{align*}
- Find the composites, \begin{align*}f \circ g\end{align*} and \begin{align*}g \circ f\end{align*} for the following functions. \begin{align*}f(x) = x^2, g(x) = \sqrt {x}\end{align*}

### Image Attributions

## Description

## Tags:

## Subjects:

## Search Keywords:

## Date Created:

Feb 23, 2012## Last Modified:

Oct 30, 2015**Save or share your relevant files like activites, homework and worksheet.**

To add resources, you must be the owner of the section. Click Customize to make your own copy.