Search the courses, subjects, tracks, games and features, or jump straight to a page.
Learn it your way
A short class with Sarah and her students. The other ways are under More.
Sign up free to listen. Transcripts are free to read.
Today, we're going to learn about composition of functions. Can anyone tell me what they think that means?
Does it mean we're putting two functions together?
Exactly! When we say we are composing functions, we take one function and apply it to the output of another function. For instance, if we have functions f and g, we can create a new function g(f(x)).
So it's like nesting functions?
Yes, great analogy! Think of it as putting one function inside another. Just remember, the order is important. Let’s summarize this concept: 'Composition is about putting functions together, like stacking!'
Let’s explore a concrete example. Suppose f(x) = x + 2 and g(x) = 3x. What would g(f(x)) look like?
It would be g(f(x)) = g(x + 2)?
Exactly! Now, substituting x + 2 into g gives us g(x + 2) = 3(x + 2). Can anyone simplify that?
It becomes 3x + 6!
Right! Now let’s also consider f(g(x)). What do we get here?
That would be f(g(x)) = f(3x) = 3x + 2!
Fantastic! Do you see how g(f(x)) and f(g(x)) are different? It’s all about the order!
Now, let’s think about where we might see function composition in the real world. Can someone think of an example?
Maybe in finance, like calculating total interest on an investment?
Absolutely! You could have one function that calculates the interest accrued over time, and another function that adds that to your principal amount. So you replace the output of one function into another—just like we’ve learned.
So in finance, the first function could be the interest rate, and the second could be the total amount after including the interest?
Precisely! That’s how powerful the concept of function composition can be in simplifying complex calculations.
Two functions in a row, output then in tow, compose and you'll see, the results can vary!
Imagine a chef who prepares a dish (f), then sends it to a waiter (g) who adds the final garnish. The final dish is the composition of both.
FOG: First outer function, then inner function.
COF: Composition of Functions.
Term
What is function composition?
Click to flip
Term
What does g(f(x)) mean?
Click to flip
The process of combining two functions where the output of one function becomes the input of another.
A new function created by applying one function to the output of another.
The set of input values for which a function is defined.
The set of potential output values of a function.
This section explores the concept of composing functions to create a new function from two given functions.
In this section, students learn how to compose functions, combining two functions to form a new composite function. The importance of understanding composition in different mathematical contexts is highlighted to aid in solving complex problems.
Composition of functions is a fundamental operation in mathematics that combines two functions into one new function. Given two functions, say
the composition of functions is denoted as g(f(x)), meaning we first apply function f to input x, and then apply function g to the output of f. Thus, the composition results in a function that maps the set A directly to the set C. It's crucial to note that the order of functions in composition matters, as g(f(x)) is generally not equal to f(g(x)).
Understanding the composition of functions is essential as it lays the groundwork for higher-level concepts in calculus and algebra, making it pivotal in courses involving mathematical logic and advanced mathematics.