During a course of algebra, teachers discuss functions and the composition of functions. The topics can be confusing to many students, who also don’t see any practical uses beyond the classroom. The next few paragraphs will clear any confusion you have on these topics.

Suppose we wish to represent the function *g* (*x*) by a token machine. The token machine yields one token for every quarter that is deposited into the machine. The tokens can be used to purchase prizes. We think of the quarters as the input *x* and the number of tokens as the output *g* (*x*). Suppose further that there is another machine that requires the use of tokens to obtain prizes. A certain number of tokens are needed to purchase each prize. We’ll define the prize machine as *f* (*x*). The input is the number of tokens, which we defined as *g* (*x*). Notice that purchasing a prize out of the second machine is dependent on the number of tokens from the first machine. Such dependence can be interpreted in mathematical terms as composition of functions.

In the previous example, the domain *x* yields *g* (*x*), the number of tokens. Then *g* (*x*) becomes the input into *f* (*x*) to produce the output, which is the prize purchased. The end result ist the composite function *f* º *g* , also noted as *f* (*g* (*x* )). It’s called a composite function because its composition is from functions *f* and *g*.

Next, notice the composite function *f* º *g* , also noted as *f* (*g* (*x* )), joining the two machines together as one machine which automatically deposits tokens into the prize generator, which ejects the appropriate prize corresponding to the number of tokens generated.

Here’s a practical example using the composition of functions. A meteorologist predicts a low pressure area to move across the region over the next 36 hours. The current temperature of 60 degrees Fahrenheit is forecast to drop 1 degree every 3 hours. What is the composition function that expresses the Celsius temperature as a function of the number of hours from now? Note that expresses the Celsius temperature as a function of the number of hours from now? Note that *C* = (5/9)( *F* – 32).

To solve this we need to know the current temperature and the rate of change of the temperature. We know the current temperature is 60 and there is a 1/3 degree drop expected every hour. We will represent time in hours since the temperature is 60 degrees at *t.* The temperature in Fahrenheit at time *t* will be expressed by the function *F* (*t* ). The temperature at time *t* expressed in Celsius will be given by the composite function *C* (*F*(*t* )).

The above example is just one application of composite functions in real life situations. The goal of the article was to explain composition of functions as far as their structure is concerned and to show a real life application. I believe my explanation will clear questions one might have on these topics.