Functions can be added, subtracted, multiplied and divided creating new functions and graphs that are complicated combinations of the various original functions. One important way to transform functions is through function composition. Function composition allows you to line up two or more functions that act on an input in tandem.

Is function composition essentially the same as multiplying the two functions together?

#### Watch This

http://www.youtube.com/watch?v=qxBmISCJSME James Sousa: Composite Functions

#### Guidance

A common way to describe functions is a mapping from the domain space to the range space:

Function composition means that you have two or more functions and the range of the first function becomes the domain of the second function.

There are two notations used to describe function composition. In each case the order of the functions matters because arithmetically the outcomes will be different. Squaring a number and then doubling the result will be different from doubling a number and then squaring the result. In the diagram above, occurs first and occurs second. This can be written as:

or

You should read this “ of of .” In both cases notice that the is closer to the and operates on the values first.

In the following three examples you will practice function composition with these functions:

**
Example A
**

Show

**
Solution:
**

**
**

**
**

In order to truly show they are not equal it is best to find a specific counter example of a number where they differ. Sometimes algebraic expressions may look different, but are actually the same. You should notice that is undefined when because then there would be zero in the denominator. on the other hand is defined at . Since the two function compositions differ, you can conclude:

**
Example B
**

What is ?

*
Note that it is difficult to write and read an exponential function with a large fraction in the exponent. In order to make it easier to work with you can use
instead of
which allows more space and easier readability.
*

**
Example C
**

What is ?

**
Solution:
**
These functions are
*
nested
*
within the arguments of the other functions. Sometimes functions simplify significantly when composed together, as
and
do in this case. It makes sense to evaluate those two functions first together and keep them on the outside of the argument.

Notice how the composition of and produced just the argument itself?

Thus,

**
Concept Problem Revisited
**

Function composition is not the same as multiplying two functions together. With function composition there is an outside function and an inside function. Suppose the two functions were doubling and squaring. It is clear just by looking at the example input of the number 5 that 50 (squaring then doubling) is different from 100 (doubling then squaring). Both 50 and 100 are examples of function composition, while 250 (five doubled multiplied by five squared) is an example of the product of two separate functions happening simultaneously.

#### Vocabulary

**
Function composition
**
is when there are two or more functions and the range of the first function becomes the domain of the second function.

**
Nesting
**
refers to a function being operated on or in the argument of another function.

A
**
counterexample
**
is a specific instance that contradicts a statement. When you are asked to show a statement is not true, it is best to find a counterexample to the statement.

#### Guided Practice

For the three guided practice problems use the following functions.

1. Compose and graph the result. Describe the transformation.

2. Compose and graph the result. Describe the transformation.

3. Compose and graph the result. Describe the transformation.

**
Answers:
**

1.

The positive portion of the exponential graph has been mirrored over the axis and the negative portion of the exponential graph has been entirely truncated.

2.

The exponential graph has been reflected over the -axis.

3.

The negative portion of the exponential graph has been mirrored over the -axis and the positive portion of the exponential graph has been truncated.

#### Practice

For questions 1-9, use the following three functions: .

1. Graph and .

2. Find algebraically.

3. Graph and describe the transformation.

4. Find algebraically.

5. Graph and describe the transformation.

6. Find algebraically.

7. Graph and describe the transformation.

8. Find algebraically.

9. Graph and describe the transformation.

For 10-16, use the following three functions: .

10. Graph and .

11. Find algebraically.

12. Graph and describe the transformation.

13. Find algebraically.

14. Graph and describe the transformation.

15. Find algebraically.

16. Graph and describe the transformation.