OP - Composition of Functions Lesson
Composition of Functions
The next thing to look at is composite functions.
Composition of functions is when we are given two functions, their composite (combined function) uses the output from one function as the input for the other function. We will see the common notation of f(x) and g(x), representing the two different functions.
Notation for composite functions is f∘g or f(g(x)).
The second notation allows us to see what the input is and what the output is.
In f(g(x)), the output for the function g(x) is used as the input for f(x).
In g(f(x)), the output for the function f(x) is used as the input for g(x).
The purpose of composing functions is often to evaluate the result for a specific number.
For example, if f(x)=2x+3 and
g(x)=x2−x, we might want to find
(f∘g)(3)or(f(g(3))).
To do this, we don't have to find f(g(x)). We can simply follow order of operation, doing what is in the ( ) first.
So we find g(3) by putting 3 in for x in the g(x) function.
g(3)=32−3=9−3=6
Now we take g(3) which is 6 and put it in for x in the f(x) function.
f(g(3))=f(6)=2(6)+3=15
Let's see how this is used.
IMAGES CREATED BY GAVS