<< Chapter < Page | Chapter >> Page > |
You are working in the school cafeteria, making peanut butter sandwiches for today’s lunch.
...and so on. Each sentence in this little story is a function. Mathematically, if is the number of classes and is the number of children, then the first sentence asserts the existence of a function .
The principal walks up to you at the beginning of the year and says “We’re considering expanding the school. If we expand to 70 classes, how much money do we need to budget? What if we expand to 75? How about 80?” For each of these numbers, you have to calculate each number from the previous one, until you find the final budget number.
But going through this process each time is tedious. What you want is one function that puts the entire chain together: “You tell me the number of classes, and I will tell you the budget.”
This is a composite function —a function that represents in one function, the results of an entire chain of dependent functions . Since such chains are very common in real life, finding composite functions is a very important skill.
We can consider how to build composite functions into the function game that we played on the first day. Suppose Susan takes any number you give her, quadruples it, and adds 6. Al takes any number you give him and divides it by 2. Mathematically, we can represent the two functions like this:
To create a chain like the one above, we give a number to Susan; she acts on it, and gives the resulting number to Al; and he then acts on it and hands back a third number.
In this example, we are plugging —in other words, 18— into Al’s function. In general, for any that comes in, we are plugging into . So we could represent the entire process as . This notation for composite functions is really nothing new: it means that you are plugging into the function.
But in this case, recall that . So we can write:
What happened? We’ve just discovered a shortcut for the entire process. When you perform the operation —that is, when you perform the Al function on the result of the Susan function—you are, in effect, doubling and adding 3. For instance, we saw earlier that when we started with a 3, we ended with a 9. Our composite function does this in one step:
Understanding the meaning of composite functions requires real thought. It requires understanding the idea that this variable depends on that variable, which in turn depends on the other variable; and how that idea is translated into mathematics. Finding composite functions, on the other hand, is a purely mechanical process—it requires practice, but no creativity. Whenever you are asked for , just plug the function into the function and then simplify.
What is ?
It worked!
There is a different notation that is sometimes used for composite functions. This book will consistently use which very naturally conveys the idea of “plugging into .” However, you will sometimes see the same thing written as , which more naturally conveys the idea of “doing one function, and then the other, in sequence.” The two notations mean the same thing.
Notification Switch
Would you like to follow the 'Advanced algebra ii: conceptual explanations' conversation and receive update notifications?