## Creating and Evaluating Composite Functions

Composite functions are combinations of functions. This section will teach you how to manipulate composite functions algebraically, define their domain and range, and graph them.

### Evaluating Composite Functions

Once we compose a new function from two existing functions, we need to be able to evaluate it for any input in its domain. We will do this with specific numerical inputs for functions expressed as tables, graphs, and formulas and with variables as inputs to functions expressed as formulas. In each case, we evaluate the inner function using the starting input and then use the inner function's output as the input for the outer function.

#### Evaluating Composite Functions Using Tables

When working with functions given as tables, we read input and output values from the table entries and always work from the inside to the outside. We evaluate the inside function first and then use the output of the inside function as the input to the outside function.

#### EXAMPLE 5

##### Using a Table to Evaluate a Composite Function

1 | 6 | 3 |

2 | 8 | 5 |

3 | 3 | 2 |

4 | 1 | 7 |

**Table 1**

##### Solution

To evaluate , we start from the inside with the input value 3. We then evaluate the inside expression using the table that defines the function . We can then use that result as the input to the function , so is replaced by 2 and we get . Then, using the table that defines the function , we find that .

To evaluate , we first evaluate the inside expression using the first table: . Then, using the table for , we can evaluate

Table 2 shows the composite functions and as tables.

3 | 2 | 8 | 3 | 2 |

**Table 2**

#### TRY IT #3

#### Evaluating Composite Functions Using Graphs

When we are given individual functions as graphs, the procedure for evaluating composite functions is similar to the process we use for evaluating tables. We read the input and output values, but this time, from the - and axes of the graphs.

#### HOW TO

Given a composite function and graphs of its individual functions, evaluate it using the information provided by the graphs.

- Locate the given input to the inner function on the - axis of its graph.
- Read off the output of the inner function from the - axis of its graph.
- Locate the inner function output on the - axis of the graph of the outer function.
- Read the output of the outer function from the - axis of its graph. This is the output of the composite function.

#### EXAMPLE 6

##### Using a Graph to Evaluate a Composite Function

**Figure 1**

##### Solution

To evaluate , we start with the inside evaluation. See Figure 2.

Figure 2

We evaluate using the graph of , finding the input of 1 on the -axis and finding the output value of the graph at that input. Here, . We use this value as the input to the function .

We can then evaluate the composite function by looking to the graph of , finding the input of 3 on the - axis and reading the output value of the graph at this input. Here, , so .

##### Analysis

Figure 3 shows how we can mark the graphs with arrows to trace the path from the input value to the output value.

**Figure 3**

#### TRY IT #4

#### Evaluating Composite Functions Using Formulas

When evaluating a composite function where we have either created or been given formulas, the rule of working from the inside out remains the same. The input value to the outer function will be the output of the inner function, which may be a numerical value, a variable name, or a more complicated expression.

While we can compose the functions for each individual input value, it is sometimes helpful to find a single formula that will calculate the result of a composition . To do this, we will extend our idea of function evaluation. Recall that, when we evaluate a function like , we substitute the value inside the parentheses into the formula wherever we see the input variable.

#### HOW TO

##### Given a formula for a composite function, evaluate the function.

1. Evaluate the inside function using the input value or variable provided.

2. Use the resulting output as the input to the outside function.

#### EXAMPLE 7

##### Evaluating a Composition of Functions Expressed as Formulas with a Numerical Input

##### Solution

Because the inside expression is , we start by evaluating at 1.

Then , so we evaluate at an input of 5.

##### Analysis

It makes no difference what the input variables and were called in this problem because we evaluated for specific numerical values.