# Explainer: Composite Functions

In this explainer, we will learn how to form a composite function by composing two or more linear, quadratic, exponential, or radical functions.

A cycling tour takes you along a mountainous path. Your position after minutes of cycling is given by the expression . Suppose that what we are really interested in terms of “position” is just your altitude, say , in meters above sea level. So, gives your altitude minutes into your cycle.

Suppose, also, that in the region where you are cycling, the temperature (in degrees Celsius) depends only on altitude. So, no matter where exactly you are, your altitude determines your temperature. In other words, the temperature is a function of altitude .

If, after 12 minutes, you are at altitude 335 m and it is know that the temperature at 335 m is , it follows that the temperature you experience after 12 minutes is .

We can “compose” these two functions to give the temperature around you at time by that gives us the new function which is given the “name” that is read as “ of ”.

In terms of expressions, if while , then is produced by “substituting” every occurrence of in with :

### Example 1: Evaluating Composite Functions at a Given Value

Given that and , find .

By definition, . So, here

So, .

Note that we could have worked out the expression and found and then gotten . This, however, does more than is asked of us.

The next example is not very different in principle.

### Example 2: Evaluating Composite Functions at a Given Value

Set , and so on, so that and , and so on. Suppose that . Find .

Finding the expression for first looks like hard work. We will instead “follow” the values:

Observe that there are different ways of representing functions. One of them is by ordered pairs. For example, consider the two functions and given by and

We can determine each of

1. ,
2. ,
3. .

Indeed,

and

And for , we will return another list of ordered pairs. The domain of is the same as the domain of , so . The range will be a subset of the range of , which is the same set.

From the above, we found that , so is one of these pairs. We complete this to

Another way to represent functions is graphically.

### Example 3: Evaluating Composite Functions at a Given Value From Their Graphs

In the figure, the red graph represents while the blue graph represents .

What is ?