The composite function gf relates the input x straight to the output gf(x).
The composite function is denoted gf(x), (g ∘ f)(x) or g(f(x)).A Real Example of a Composite Function
It is easier to understand composite functions with an example.f(x) = 2x and g(x) = x + 1
Consider two functions:f(x) = 2x
g(x) = x + 1
- The function f(x) = 2x takes each input and doubles it.
- The function g(x) = x + 1 takes each input and adds 1 to it.
The Composite Function gf(x)
Now let's consider the composite function of f(x) = 2x and g(x) = x + 1.- The function f relates an input x to an output 2x (it doubles the input).
- The output 2x is the input of the function g, which relates it to an output 2x + 1 (it adds 1 to the input).
The composite of f(x) = 2x and g(x) = x + 1 is:The Order of Composite Functions Matter
In the example above, the output of f(x) became the input of g(x). The composite function was gf(x) = 2x + 1. Consider what happens if the output of g(x) became the input of f(x).- The function g relates an input x to an output x + 1 (it adds 1 to the input).
- The output x + 1 is the input of the function f, which relates it to an output 2(x + 1) (it doubles the input).
The composite of g(x) = x + 1 and f(x) = 2x is:
gf(x) ≠ fg(x)
A Note on Notation
The image below shows a composite function gf(x), where a function f is passed to a function g:
The composite function is gf(x).
- f is applied to the input x.
- g is applied to the function f.
- start with the input x
- write the f that is applied to it to its left
- write the g that is applied to it to its left
...the composite function is fg(x).
Composite Functions with More Than Two Functions
A composite function can be made from more than two functions Imagine there are three functions: f(x), g(x) and h(x). If f is passed into g, which is passed into h...
→ f( ) → g( ) → h( ) →
The composite function will be hgf(x) or (h ∘ g ∘ f)(x) or h(g(f(x))).
Composite Function of a Function and its Inverse
If a composite function is made of a function and its inverse function, the output is the input x:
ff−1 = f−1f = x
You might also like...
functionsfinding x-intercepts of a functionfinding a composite functionevaluating a composite function
Help Us Improve Mathematics Monster
- Do you disagree with something on this page?
- Did you spot a typo?
Find Us Quicker!
- When using a search engine (e.g., Google, Bing), you will find Mathematics Monster quicker if you add #mm to your search term.
Share This Page
If you like Mathematics Monster (or this page in particular), please link to it or share it with others.
If you do, please tell us. It helps us a lot!
Create a QR Code
Use our handy widget to create a QR code for this page...or any page.


